Quintiq file version 2.0
|
#parent: ListScenario
|
Response OnClick (
|
ScenarioNode selection
|
) id:Response_ListScenario_MenuCreateScenario_OnClick_549 #extension
|
{
|
Precondition:
|
[*
|
return not isnull( ScenarioManager ) and selection.CanCreate( feedback, true );
|
*]
|
QuillAction #extension
|
{
|
Body:
|
[*
|
// Create a new scenario
|
dlg := construct( DialogCreateEditScenario );
|
dlg.checkboxEnableSync().Checked( false );
|
dlg.checkboxEnableSync().Visible( false );
|
dlg.DropDownListGeneral().Visible( false );
|
dlg.checkboxIsKeyProduct().Visible( false );
|
dlg.checkboxCreatePurchaseSupplyProduct().Visible( false );
|
dlg.NewScenario( ScenarioManager, selection );
|
*]
|
}
|
}
|