文件名从 _Main/UI/MacroPlannerWebApp/Component_FormFinancialSalesReport/Response_PanelFinancialSalesReportOperation_ButtonSalesImport_OnClick.def 修改 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelFinancialSalesReportOperation/ButtonSalesImport |
| | | Response OnClick () id:Response_PanelFinancialSalesReportOperation_ButtonSalesImport_OnClick |
| | | #parent: PanelOperation/ButtonSalesImport |
| | | Response OnClick () id:Response_PanelOperation_ButtonSalesImport_OnClick |
| | | { |
| | | #keys: '[415136.0.858621764]' |
| | | #keys: '[415136.0.1193322030]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | |
| | | if( not source.IsExistFutureMonthData() or |
| | | ( source.IsExistFutureMonthData() and WebMessageBox::Question( this, Translations::MP_FinancialProductionReport_Question(), 'Yes|No' ) = 0 ) ){ |
| | | source.AfterImport(); |
| | | DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | FinancialSalesSource::InitiateSearch( MacroPlan ); |
| | | } |
| | | |
| | | WebMessageBox::Success( Translations::A_VWED_Success() ); |