1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  | Quintiq file version 2.0 
 |  #parent: pnlActions/btnOk 
 |  Response OnClick () id:Response_pnlActions_btnOk_OnClick 
 |  { 
 |    #keys: '[135040.0.213301913]' 
 |    CanBindMultiple: false 
 |    DefinitionID: 'Responsedef_WebButton_OnClick' 
 |    Precondition: 
 |    [* 
 |      // pre-cond for Product_MP onOK 
 |      product := guard( DataHolderDialogData.Data().WrappedInstance(), null(  Product_MP ) ); 
 |       
 |      sanitycheckfeedback := ''; 
 |      return Product_MP::ValidateInput( feedback, 
 |                                        sanitycheckfeedback , 
 |                                        MacroPlan, 
 |                                        EditFieldID.Text(), 
 |                                        EditFieldName.Text(), 
 |                                        DropDownListUOM.Data(), 
 |                                        CheckBoxHasShelfLife.Checked(), 
 |                                        ApplicationMacroPlanner.FormatStringToReal( EditFieldShelfLife.Text() ), 
 |                                        CheckBoxHasMaturation.Checked(), 
 |                                        ApplicationMacroPlanner.FormatStringToReal( EditFieldMaturation.Text() ), 
 |                                        product, 
 |                                        true, 
 |                                        guard( DataHolderDialogDatas.Data(), null( Product_MPs)) ); 
 |    *] 
 |    QuillAction 
 |    { 
 |      Body: 
 |      [* 
 |        Form.OnOK(); 
 |      *] 
 |      GroupServerCalls: false 
 |    } 
 |  } 
 |  
  |