| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method Initialize ( |  |   FinancialSalesColumn column, |  |   Product_MP product, |  |   String unit |  | ) |  | { |  |   Description: '初始化单元格' |  |   TextBody: |  |   [* |  |     // 甄兰鸽 Jun-24-2024 (created)  |  |     cell := column.FinancialSalesCell( relnew, Value := '' ); |  |      |  |     this.FinancialSalesCell( relinsert, cell ); |  |     if( unit <> FinancialProductionReport::GetDefaultAllUnit() ){ |  |       importdata := product.MacroPlan().FSImportData( relnew, Generation := product.Generation() |  |                                                       , MqbMlb := product.MQBMLB() |  |                                                       , Power := product.Power() |  |                                                       , ProductID := product.ID() |  |                                                       , StartDate := column.Period() |  |                                                       , Unit := unit ); |  |       importdata.Cell( relset, cell ); |  |     } |  |   *] |  | } | 
 |