Quintiq file version 2.0
#parent: PanelButton/ButtonGeneratePlannedData_167
Response OnClick () id:Response_FormIssueWorkOrder_ButtonGeneratePlannedData_OnClick_124
{
  #keys: '[414702.0.222545839]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan ) and not isnull( GlobalOTDTable );
  *]
  QuillAction
  {
    Body:
    [*
      MasterPlanReleaseWorkOrder::GenerateAndDistributeWorkOrders( MacroPlan, GlobalOTDTable );
      
      WebMessageBox::Success( "生成成功！", true );
    *]
    GroupServerCalls: false
  }
}
