1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| Quintiq file version 2.0
| #parent: #root
| Method InitializeCell (
| FinancialSalesReport table,
| DateTime startdate,
| DateTime enddate
| )
| {
| TextBody:
| [*
| // 甄兰鸽 Jun-28-2024 (created)
| for( start := startdate; start < enddate; start := start.StartOfNextMonth() ){
| periodtime := start.Date();
| periodname := periodtime.Format( "M2/D2/Y" );
| column := selectobject( table, FinancialSalesColumn, column, column.Name() = periodname and column.Period() = periodtime );
|
| this.Initialize( column, this.Unit() );
| }
| *]
| }
|
|