Quintiq file version 2.0
#parent: pHeader/bAdd
Response OnClick () id:Response_pHeader_bAdd_OnClick
{
  #keys: '[413988.0.1401876560]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not exists( MacroPlan, PackagingPlanLotSize, tempPPLS, true, tempPPLS.Factory() = ddslFactory.Text() and
                       tempPPLS.ProductID() = ddlProductID.Data().ID() );
  *]
  QuillAction
  {
    Body:
    [*
      MacroPlan.PackagingPlanLotSize( relnew, Factory := ddslFactory.Text(), ProductID := ddlProductID.Data().ID(), LotSize := [Number]npQuantity.Number() );
    *]
    GroupServerCalls: false
  }
}
