Quintiq file version 2.0
#parent: #root
Method DisableComponentForDBExport () id:Method_DialogEDIExportDEV_DisableComponentForDBExport
{
  #keys: '[110880.5.413838774]'
  Body:
  [*
    // Disable components for database export
    
    // Disable individual checkbox instead of group panels because the images will be disabled togther with group panel, thus
    // the tooltip of image is not shown.
    /*
    feedback := Translations::MP_Designer_DialogEDIExport_DisableCheckboxes();
    
    //Disable/enable Parameters and settings child
    Dialog.CheckBoxGlobalParameters().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxPeriods().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxGeneral().DisableWithUserFeedback( feedback );
    
    //Disable/enable Product related child
    Dialog.CheckBoxDisaggregationFactors().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxInventorySpecifications().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxInventorySupplies().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxProducts().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxSalesDemands().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxServiceLevel().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxRecipes().DisableWithUserFeedback( feedback );
    
    //Disable/enable Supply chain entities
    Dialog.CheckBoxCampaigns().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxRoutings().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxLanes().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxEntityCosts().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxStockingPointCapacities().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxUnitCapacities().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxSupplySpecifications().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxEntities().DisableWithUserFeedback( feedback );
    Dialog.CheckBoxTransitions().DisableWithUserFeedback( feedback );
  *]
}
