Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[139394.1.1043773231]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    feedbacks := construct( Strings );
    sanitycheckfeedbacks := construct( Strings ); 
    
    isvalid := ActualProductInStockingPointInPeriod::ValidateInput( feedbacks,
                                                                    sanitycheckfeedbacks,
                                                                    MacroPlan,
                                                                    guard( DataHolderDialogData.Data().ProductInStockingPoint_MP().Product_MP(), null( Product_MP ) ),
                                                                    guard( DataHolderDialogData.Data().ProductInStockingPoint_MP().StockingPoint_MP(), null( StockingPoint_MP ) ),
                                                                    guard( DataHolderDialogData.Data().WrappedInstance(), null( ActualProductInStockingPointInPeriod ) ),
                                                                    ApplicationMacroPlanner.FormatStringToReal( efQuantity.Text() ),
                                                                    dsDate.Date(),
                                                                    dsManufacturedDate.Date() );
    
    feedback := feedbacks.ToString( String::NewLine() );
    
    return isvalid;
  *]
  QuillAction
  {
    Body:
    [*
      // On ok
      Form.OnOk();
    *]
    GroupServerCalls: false
  }
}
