Quintiq file version 2.0
#parent: #root
Method EnableDisableComponentsForDataManager () derived id:Method_DialogEDIExport_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();
  *]
}
