Quintiq file version 2.0
#parent: pHeader/bConfirm_978
Response OnClick () id:Response_pHeader_bConfirm_OnClick
{
  #keys: '[413988.0.1657320536]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan ) and not isnull( InterfaceDataset )/* and MacroPlan.A_PreviousScenaioName() <> MacroPlan.ScenarioName()*/;
  *]
  QuillAction
  {
    Body:
    [*
      // 同步到周期任务
      NewOfflinePlanCell::SynchronizeToNewSupply( MacroPlan, dhNewOfflinePlanTable.Data(), dhSelectedDetailNewOfflinePlanRow.Data() );
      
      // 设置按钮（除下载）不可用
      //MacroPlan.A_PreviousScenaioName( MacroPlan.ScenarioName() );
      
      WebMessageBox::Success( Translations::A_VWED_Success() );
    *]
    GroupServerCalls: false
  }
}
