Quintiq file version 2.0
#parent: PanelInterfaceTest/ButtonPullInterfaceDataToIntermediateTable
Response OnClick () id:Response_PanelInterfaceTest_ButtonPullInterfaceDataToIntermediateTable_OnClick
{
  #keys: '[414702.0.459947783]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    flag := not isnull( GlobalOTDTable );
    
    if ( not isnull( GlobalOTDTable ) ) {
      
    }
    
    return flag;
  *]
  QuillAction
  {
    Body:
    [*
      WebMessageBox::Information( "数据开始拉取中！（仅限一人操作）", true );
      
      GlobalOTDTable.SynchronizationAllMappingBrokerAndAPIByOption( ApplicationMacroPlanner.GetUserName(),
                                                                    CheckboxCustomOrder.Checked(),
                                                                    CheckboxForecast.Checked(),
                                                                    CheckboxUnitOfMeasure_MP.Checked(),
                                                                    CheckboxSalesSegment_MP.Checked(),
                                                                    CheckboxProduct_MP.Checked(),
                                                                    CheckboxConversionFactor.Checked(),
                                                                    CheckboxOperation.Checked(),
                                                                    CheckboxOperationBOM.Checked(),
                                                                    CheckboxProductInLane.Checked(),
                                                                    CheckboxAIPISPIP.Checked(),
                                                                    CheckboxInventorySupply.Checked(),
                                                                    CheckboxStockingPointCost.Checked(),
                                                                    CheckboxOperationCost.Checked(),
                                                                    CheckboxDOI_DSI.Checked(),
                                                                    CheckboxCustomerGrade.Checked(),
                                                                    CheckboxStockingPoint_MP.Checked(),
                                                                    CheckboxCurrency_MP.Checked(),
                                                                    CheckboxCurrencyRate_MP.Checked(),
                                                                    CheckboxLane.Checked(),
                                                                    CheckboxLaneLeg.Checked(),
                                                                    CheckboxSummaryOfInboundTransaction.Checked(),
                                                                    CheckAnnualBudgetData.Checked() );
    *]
    GroupServerCalls: false
  }
}
