haorenhui
2023-10-25 a5530f694660a51af01c7d9fc6e7453c2286309d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Quintiq file version 2.0
#parent: #root
Method InitializeData () id:Method_FormGeneralSettings_InitializeData
{
  #keys: '[145730.0.1954880569]'
  Body:
  [*
    // Set labels
    // Populate selection with all available operation lead time calculation options
    DropDownStringListOperationLeadTimeLogic.Strings( GlobalParameters_MP::GetAllOperationLeadTimeLogic() );
    
    // Populate selection with all available lane lead time calculation options
    DropDownStringListLaneLeadTimeLogic.Strings( GlobalParameters_MP::GetAllLaneLeadTimeLogic() );
    
    // Populate selection with all available forecast netting rule options
    DropDownStringListForecastNetting.Strings ( GlobalParameters_MP::GetAllForecastNettingRule() );
    
    // Populate string selection with all available unit of measurement in MP dataset
    allUoM := ifexpr( isnull( MacroPlan ), '', MacroPlan.GetAllUnitOfMeasureString() );
    DropDownStringListCO2UoM.Strings( allUoM );
    DropDownStringListCO2ProcessUoM.Strings( allUoM );
  *]
}