Quintiq file version 2.0 #parent: #root Method EnableDisableComponents () id:Method_ScenarioManager_DialogCreateEditMPScenario_EnableDisableComponents { #keys: '[133968.0.324568341]' Body: [* // Enable / disable components // Disable storage tab page if both database and datasetstore are disabled if( not Domain.MDSStorageDefinitionManager().DatasetStoreEnabled() and not Domain.MDSStorageDefinitionManager().DatabaseEnabled() ) { TabPageStorage.DisableWithUserFeedback( Translations::MP_Designer_DisableStorageManager() ); } // Show supply chain wizard checkbox at scenario creation isnew := isnull( Dialog.Data() ); CheckBoxLaunchSupplyChainWizard.Visible( isnew ); if( isnew ) { // Set user preference CheckBoxLaunchSupplyChainWizard.Checked( ScenarioManager.LaunchInitializationWizardAtScenarioCreation() ); } *] }