1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  | Quintiq file version 2.0 
 |  #parent: Toolbar/btnOk 
 |  Response OnClick () id:Response_Toolbar_btnOk_OnClick 
 |  { 
 |    #keys: '[11766.0.1489423700]' 
 |    Body: 
 |    [* 
 |      Dialog.EndModal(1); 
 |    *] 
 |    DefinitionID: 'Responsedef_GUIButtonBase_OnClick' 
 |    Precondition: 
 |    [* 
 |      return PeriodTaskOperation::GetHasValidDestinationQuantity( Dialog.Data(), 
 |                                                                DataHolderDestinationNewSupply.Data(), 
 |                                                                ApplicationLibMacroPlanner.FormatStringToReal( EditorQuantity.Text() ), 
 |                                                                feedback ); 
 |    *] 
 |  } 
 |  
  |