1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  | Quintiq file version 2.0 
 |  #parent: pnlActions/btnOK 
 |  Response OnClick () id:Response_pnlActions_btnOK_OnClick #extension 
 |  { 
 |    Precondition: 
 |    [* 
 |      data := DataHolderDialogData.Data(); 
 |      return not isnull( data ) 
 |             and Scenario::ValidateInput( feedback, 
 |                                          ScenarioManager, 
 |      //                                    edtName.Text(), 
 |                                          "for version",  
 |                                          data.WrappedInstance(), 
 |                                          '', 
 |                                          GlobalParameters_MP::GetKB_New(), 
 |                                          'Test', 
 |                                          RadioButtonGroupStorageState.BoundValue(), 
 |                                          Domain.MDSStorageDefinitionManager().Enabled(), 
 |                                          Domain.MDSStorageDefinitionManager().DatasetStoreEnabled(), 
 |                                          Domain.MDSStorageDefinitionManager().DatabaseEnabled() ); 
 |    *] 
 |  } 
 |  
  |