| Quintiq file version 2.0 | 
| #parent: pnlActions/btnOk | 
| Response OnClick () id:Response_pnlActions_btnOk_OnClick | 
| { | 
|   #keys: '[139394.0.1870655752]' | 
|   DefinitionID: 'Responsedef_WebButton_OnClick' | 
|   Precondition: | 
|   [* | 
|     sanitycheckfeedback := ''; | 
|     return PostponedSalesDemandCost::ValidateInput( feedback, | 
|                                                     sanitycheckfeedback, | 
|                                                     guard( DropDownListProduct.Data(), null( Product_MP ) ), | 
|                                                     guard( DropDownListStockingPoint.Data(), null( StockingPoint_MP ) ), | 
|                                                     DateSelectorStart.Date(), | 
|                                                     ApplicationMacroPlanner.FormatStringToReal( EditFieldPenalty.Text() ), | 
|                                                     guard( DataHolderDialogData.Data().WrappedInstance(), null( PostponedSalesDemandCost ) ), | 
|                                                     true /*checkunique*/ ); | 
|   *] | 
|   QuillAction | 
|   { | 
|     Body: | 
|     [* | 
|       // On ok | 
|       Form.OnOK(); | 
|     *] | 
|     GroupServerCalls: false | 
|   } | 
| } |