Quintiq file version 2.0
#parent: PanelOrderLockHeader_545/ButtonOrderLockHeaderFresh
Response OnClick () id:Response_PanelOrderLockHeader_545_ButtonOrderLockHeaderFresh_OnClick
{
  #keys: '[412960.0.259721886]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      macroplan := MacroPlan;
      global := GlobalOTDTable;
      businesstypes := DataHolderOrderLockGlobal.Data().BusinessType().Tokenize( ',' );
      organcodelist := selectvalues( global, BusinessType.OrganCode, organ, businesstypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() );
      CustomerOrder::DoSync( macroplan, businesstypes, global, organcodelist );
    *]
  }
}
