yanweiyuan3
2023-08-09 98db93a55d7079e89c706c18b15eeaecd0ec539a
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
27
Quintiq file version 2.0
#parent: #root
Method EnableDisableComponentsForDataManager () derived id:Method_DialogEDIExportDEV_EnableDisableComponentsForDataManager
{
  #keys: '[124808.0.727502177]'
  BaseType => //DialogEDIImportExport/Method_DialogEDIImportExport_EnableDisableComponentsForDataManager
  Body:
  [*
    // Configure components for data manager
    
    // Sales demand
    SelectionSalesDemand.Enabled( CheckBoxSalesDemandsDM.Checked()
                                  and not CheckBoxNewSalesDemandsSet.Checked() );
    EditorSalesDemand.Enabled( CheckBoxSalesDemandsDM.Checked()
                               and CheckBoxNewSalesDemandsSet.Checked() );
    CheckBoxNewSalesDemandsSet.Enabled( CheckBoxSalesDemandsDM.Checked() );
    
    // MP Plan
    SelectionMPSPlan.Enabled( CheckBoxMPSPlanDM.Checked()
                              and not CheckBoxNewMPSPlanSet.Checked() );
    EditorMPSPlan.Enabled( CheckBoxMPSPlanDM.Checked()
                           and CheckBoxNewMPSPlanSet.Checked() );
    CheckBoxNewMPSPlanSet.Enabled( CheckBoxMPSPlanDM.Checked() );
    
    Dialog.SetValueForEditors();
  *]
}