已重命名1个文件
已修改45个文件
已添加31个文件
已删除1个文件
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_AIPISPIP", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "å®é
åºåæ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_AIPISPIP", "å®é
åºåæ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_ConversionFactor", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "åä½è½¬æ¢å åæ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_ConversionFactor", "åä½è½¬æ¢å åæ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_CustomOrder", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "è®¢åæ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_CustomOrder", "è®¢åæ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_CustomerGrade", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "客æ·ççº§æ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_CustomerGrade", "客æ·ççº§æ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_DOI_DSI", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "DOI_DSIæ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_DOI_DSI", "DOI_DSIæ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_Forecast", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "颿µæ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_Forecast", "颿µæ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_InventorySupply", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "åºåä¾åºæ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_InventorySupply", "åºåä¾åºæ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_Operation", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "æä½æ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_Operation", "æä½æ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_OperationBOM", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "æä½BOMæ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_OperationBOM", "æä½BOMæ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_OperationCost", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "æä½ææ¬æ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_OperationCost", "æä½ææ¬æ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_Product_MP", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "äº§åæ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_Product_MP", "äº§åæ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_SalesSegment_MP", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "éå®é¨é¨", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_SalesSegment_MP", "éå®é¨é¨" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_StockingPointCost", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "åºåç¹ææ¬æ°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_StockingPointCost", "åºåç¹ææ¬æ°æ®" );' |
| | | } |
| | |
| | | String errorMessage |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_UnitOfMeasure_MP", |
| | | ElementTotal := 0, |
| | | ErrorMessage := errorMessage, |
| | | IsSuccess := false, |
| | | Name := "å使°æ®", |
| | | ErrorNo := errorNo, |
| | | ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_UnitOfMeasure_MP", "å使°æ®" );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_AIPISPIP |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_AIPISPIP", |
| | | ElementTotal := this.Global_MappingActualProductInStockingPointInPeriod( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "å®é
åºåæ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_AIPISPIP", "å®é
åºåæ°æ®", this.Global_MappingActualProductInStockingPointInPeriod( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_ConversionFactor |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_ConversionFactor", |
| | | ElementTotal := this.Global_MappingConversionFactor( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "åä½è½¬æ¢å åæ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_ConversionFactor", "åä½è½¬æ¢å åæ°æ®", this.Global_MappingConversionFactor( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_CustomOrder |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_CustomOrder", |
| | | ElementTotal := this.Global_MappingCustomOrder( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "è®¢åæ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_CustomOrder", "è®¢åæ°æ®", this.Global_MappingCustomOrder( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_CustomerGrade |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_CustomerGrade", |
| | | ElementTotal := this.Global_MappingCustomerGrade( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "客æ·ççº§æ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_CustomerGrade", "客æ·ççº§æ°æ®", this.Global_MappingCustomerGrade( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_DOI_DSI |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_DOI_DSI", |
| | | ElementTotal := this.Global_MappingDOI_DSI( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "DOI_DSIæ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_DOI_DSI", "DOI_DSIæ°æ®", this.Global_MappingDOI_DSI( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_Forecast |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_Forecast", |
| | | ElementTotal := this.Global_MappingForecast( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "颿µæ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_Forecast", "颿µæ°æ®", this.Global_MappingForecast( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_InventorySupply |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_InventorySupply", |
| | | ElementTotal := this.Global_MappingInventorySupply( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "åºåä¾åºæ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_InventorySupply", "åºåä¾åºæ°æ®", this.Global_MappingInventorySupply( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_Operation |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_Operation", |
| | | ElementTotal := this.Global_MappingOperation( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "æä½æ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_Operation", "æä½æ°æ®", this.Global_MappingOperation( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_OperationBOM |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_OperationBOM", |
| | | ElementTotal := this.Global_MappingOperationBOM( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "æä½BOMæ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_OperationBOM", "æä½BOMæ°æ®", this.Global_MappingOperationBOM( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_OperationCost |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_OperationCost", |
| | | ElementTotal := this.Global_MappingOperationCost( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "æä½ææ¬æ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_OperationCost", "æä½ææ¬æ°æ®", this.Global_MappingOperationCost( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_ProductInLane |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_ProductInLane", |
| | | ElementTotal := this.Global_MappingProductInLane( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "产åå¨è½¦éæ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_ProductInLane", "产åå¨è½¦éæ°æ®", this.Global_MappingProductInLane( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_Product_MP |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_Product_MP", |
| | | ElementTotal := this.Global_MappingProduct_MP( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "äº§åæ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_Product_MP", "äº§åæ°æ®", this.Global_MappingProduct_MP( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_SalesSegment_MP |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_SalesSegment_MP", |
| | | ElementTotal := this.Global_MappingSalesSegment_MP( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "éå®é¨é¨", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_SalesSegment_MP", "éå®é¨é¨", this.Global_MappingSalesSegment_MP( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_StockingPointCost |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_StockingPointCost", |
| | | ElementTotal := this.Global_MappingStockingPointCost( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "åºåç¹ææ¬æ°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_StockingPointCost", "åºåç¹ææ¬æ°æ®", this.Global_MappingStockingPointCost( relsize ) );' |
| | | } |
| | |
| | | #parent: #root |
| | | Method OnAsyncExecute_GlobalOTDTable_UnitOfMeasure_MP |
| | | { |
| | | TextBody: |
| | | [* |
| | | this.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "GlobalOTDTable_UnitOfMeasure_MP", |
| | | ElementTotal := this.Global_MappingUnitOfMeasure_MP( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "å使°æ®", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | *] |
| | | TextBody: 'this.SettingSuccessfulDetails( "GlobalOTDTable_UnitOfMeasure_MP", "å使°æ®", this.Global_MappingUnitOfMeasure_MP( relsize ) );' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SettingFailureDetails ( |
| | | Number errorNo, |
| | | String errorMessage, |
| | | String brokerName, |
| | | String name |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | gbel := select( this, Global_BrokerExecuteLog, tempGBEL, tempGBEL.ExecutionStatus() = "InOperation" and |
| | | tempGBEL.BrokerName() = brokerName ); |
| | | |
| | | gbel.ExecutionStatus( "Complete" ); |
| | | gbel.ElementTotal( 0 ); |
| | | gbel.ErrorMessage( errorMessage ); |
| | | gbel.IsSuccess( false ); |
| | | gbel.Name( name ); |
| | | gbel.ErrorNo( errorNo ); |
| | | gbel.ErrorDateTime( DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SettingSuccessfulDetails ( |
| | | String brokerName, |
| | | String name, |
| | | Number elementTotal |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | gbel := select( this, Global_BrokerExecuteLog, tempGBEL, tempGBEL.ExecutionStatus() = "InOperation" and |
| | | tempGBEL.BrokerName() = brokerName ); |
| | | |
| | | gbel.ExecutionStatus( "Complete" ); |
| | | gbel.ElementTotal( elementTotal ); |
| | | gbel.IsSuccess( true ); |
| | | gbel.Name( name ); |
| | | gbel.SuccessDateTime( DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) ); |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SynchronizationAllMappingBrokerAndAPIByOption ( |
| | | String executionUser, |
| | | Boolean isCustomOrder, |
| | | Boolean isForeacst |
| | | Boolean isForeacst, |
| | | Boolean isUnitOfMeasure_MP, |
| | | Boolean isSalesSegment_MP, |
| | | Boolean isProduct_MP, |
| | | Boolean isConversionFactor, |
| | | Boolean isOperation, |
| | | Boolean isOperationBOM, |
| | | Boolean isProductInLane, |
| | | Boolean isAIPISPIP, |
| | | Boolean isInventorySupply, |
| | | Boolean isStockingPointCost, |
| | | Boolean isOperationCost, |
| | | Boolean isDOI_DSI, |
| | | Boolean isCustomerGrade, |
| | | Boolean isStockingPoint_MP, |
| | | Boolean isCurrency_MP, |
| | | Boolean isCurrencyRate_MP, |
| | | Boolean isLane, |
| | | Boolean isLaneLeg |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | if ( isCustomOrder ) { |
| | | this.Global_MappingCustomOrder( relflush ); |
| | | this.GlobalOTDTable_CustomOrder().AsyncExecute(); |
| | | Global_MappingCustomOrder::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_CustomOrder" ); |
| | | } |
| | | |
| | | if ( isForeacst ) { |
| | | this.Global_MappingForecast( relflush ); |
| | | this.GlobalOTDTable_Forecast().AsyncExecute(); |
| | | Global_MappingForecast::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_Forecast" ); |
| | | } |
| | | |
| | | if ( isUnitOfMeasure_MP ) { |
| | | Global_MappingUnitOfMeasure_MP::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_UnitOfMeasure_MP" ); |
| | | } |
| | | |
| | | if ( isSalesSegment_MP ) { |
| | | Global_MappingSalesSegment_MP::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_SalesSegment_MP" ); |
| | | } |
| | | |
| | | if ( isProduct_MP ) { |
| | | Global_MappingProduct_MP::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_Product_MP" ); |
| | | } |
| | | |
| | | if ( isConversionFactor ) { |
| | | Global_MappingConversionFactor::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_ConversionFactor" ); |
| | | } |
| | | |
| | | if ( isOperation ) { |
| | | Global_MappingOperation::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_Operation" ); |
| | | } |
| | | |
| | | if ( isOperationBOM ) { |
| | | Global_MappingOperationBOM::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_OperationBOM" ); |
| | | } |
| | | |
| | | if ( isProductInLane ) { |
| | | Global_MappingProductInLane::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_ProductInLane" ); |
| | | } |
| | | |
| | | if ( isAIPISPIP ) { |
| | | Global_MappingActualProductInStockingPointInPeriod::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_AIPISPIP" ); |
| | | } |
| | | |
| | | if ( isInventorySupply ) { |
| | | Global_MappingInventorySupply::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_InventorySupply" ); |
| | | } |
| | | |
| | | if ( isStockingPointCost ) { |
| | | Global_MappingStockingPointCost::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_StockingPointCost" ); |
| | | } |
| | | |
| | | if ( isOperationCost ) { |
| | | Global_MappingOperationCost::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_OperationCost" ); |
| | | } |
| | | |
| | | if ( isDOI_DSI ) { |
| | | Global_MappingDOI_DSI::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_DOI_DSI" ); |
| | | } |
| | | |
| | | if ( isCustomerGrade ) { |
| | | Global_MappingCustomerGrade::SynchronizeInterfaceData( this, executionUser, "GlobalOTDTable_CustomerGrade" ); |
| | | } |
| | | |
| | | if ( isStockingPoint_MP ) { |
| | | this.Global_MappingStockingPoint_MP( relflush ); |
| | | Global_BrokerExecuteLog::CreateInOperation( this, "StockingPoint_MP", executionUser ); |
| | | this -> OnException( this -> Global_MappingStockingPoint_MP::CreateByAPI() -> Exception(), this ); |
| | | } |
| | | |
| | | if ( isCurrency_MP ) { |
| | | this.Global_MappingCurrency_MP( relflush ); |
| | | Global_BrokerExecuteLog::CreateInOperation( this, "Currency_MP", executionUser ); |
| | | this -> OnException( this -> Global_MappingCurrency_MP::CreateByAPI() -> Exception(), this ); |
| | | } |
| | | |
| | | if ( isCurrencyRate_MP ) { |
| | | this.Global_MappingCurrencyRate_MP( relflush ); |
| | | Global_BrokerExecuteLog::CreateInOperation( this, "CurrencyRate_MP", executionUser ); |
| | | this -> OnException( this -> Global_MappingCurrencyRate_MP::CreateByAPI() -> Exception(), this ); |
| | | } |
| | | |
| | | if ( isLane ) { |
| | | this.Global_MappingLane( relflush ); |
| | | Global_BrokerExecuteLog::CreateInOperation( this, "Lane", executionUser ); |
| | | this -> OnException( this -> Global_MappingLane::CreateByAPI() -> Exception(), this ); |
| | | } |
| | | |
| | | if ( isLaneLeg ) { |
| | | this.Global_MappingLaneLeg( relflush ); |
| | | Global_BrokerExecuteLog::CreateInOperation( this, "LaneLeg", executionUser ); |
| | | this -> OnException( this -> Global_MappingLaneLeg::CreateByAPI() -> Exception(), this ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | #parent: #root |
| | | Method SynchronizeDataToMacroPlan ( |
| | | MacroPlan macroPlan, |
| | | Strings businessTypes, |
| | | Boolean isCustomOrder, |
| | | Boolean isForecast |
| | | ) |
| | |
| | | TextBody: |
| | | [* |
| | | if ( isCustomOrder ) { |
| | | macroPlan.MappingCustomerOrderData( businessTypes, this ); |
| | | // macroPlan.MappingCustomerOrderData( businessTypes, this ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | globalOTDTable.Global_MappingDOI_DSI( relflush ); |
| | | globalOTDTable.Global_MappingCustomerGrade( relflush ); |
| | | |
| | | globalOTDTable.GlobalOTDTable_UnitOfMeasure_MP().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_SalesSegment_MP().AsyncExecute(); |
| | | globalOTDTable -> OnException( globalOTDTable -> Global_MappingStockingPoint_MP::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | globalOTDTable -> OnException( globalOTDTable -> Global_MappingCurrency_MP::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | globalOTDTable -> OnException( globalOTDTable -> Global_MappingCurrencyRate_MP::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | globalOTDTable.GlobalOTDTable_Product_MP().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_ConversionFactor().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_Operation().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_OperationBOM().AsyncExecute(); |
| | | globalOTDTable -> OnException( globalOTDTable -> Global_MappingLane::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | globalOTDTable -> OnException( globalOTDTable -> Global_MappingLaneLeg::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | globalOTDTable.GlobalOTDTable_ProductInLane().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_AIPISPIP().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_InventorySupply().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_StockingPointCost().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_OperationCost().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_Forecast().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_CustomOrder().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_DOI_DSI().AsyncExecute(); |
| | | globalOTDTable.GlobalOTDTable_CustomerGrade().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_UnitOfMeasure_MP().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_SalesSegment_MP().AsyncExecute(); |
| | | //globalOTDTable -> OnException( globalOTDTable -> Global_MappingStockingPoint_MP::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | //globalOTDTable -> OnException( globalOTDTable -> Global_MappingCurrency_MP::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | //globalOTDTable -> OnException( globalOTDTable -> Global_MappingCurrencyRate_MP::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | //globalOTDTable.GlobalOTDTable_Product_MP().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_ConversionFactor().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_Operation().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_OperationBOM().AsyncExecute(); |
| | | //globalOTDTable -> OnException( globalOTDTable -> Global_MappingLane::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | //globalOTDTable -> OnException( globalOTDTable -> Global_MappingLaneLeg::CreateByAPI() -> Exception(), globalOTDTable ); |
| | | //globalOTDTable.GlobalOTDTable_ProductInLane().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_AIPISPIP().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_InventorySupply().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_StockingPointCost().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_OperationCost().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_Forecast().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_CustomOrder().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_DOI_DSI().AsyncExecute(); |
| | | //globalOTDTable.GlobalOTDTable_CustomerGrade().AsyncExecute(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ExecuteUser |
| | | { |
| | | #keys: '3[414702.0.498264673][414702.0.498264672][414702.0.498264674]' |
| | | Description: 'æ§è¡ç¨æ·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ExecutionStatus |
| | | { |
| | | #keys: '3[414702.0.498264686][414702.0.498264685][414702.0.498264687]' |
| | | Description: 'æ§è¡ç¶æ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CanRun ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String brokerName |
| | | ) as Boolean |
| | | { |
| | | TextBody: |
| | | [* |
| | | isCanRun := exists( globalOTDTable, Global_BrokerExecuteLog, tempGBEL, tempGBEL.BrokerName() = brokerName and |
| | | tempGBEL.ExecutionStatus() = "InOperation" |
| | | ); |
| | | |
| | | return isCanRun; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateInOperation ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String brokerName, |
| | | String executionUser |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := brokerName, |
| | | ExecuteUser := executionUser, |
| | | ExecutionStatus := "InOperation" ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingActualProductInStockingPointInPeriod( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_AIPISPIP().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingConversionFactor( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_ConversionFactor().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | globalOTDTable.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "", |
| | | ElementTotal := globalOTDTable.Global_MappingCurrencyRate_MP( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "æ¥å£æ°æ®ï¼è´§å¸æ±çï¼", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | gbel := select( globalOTDTable, Global_BrokerExecuteLog, tempGBEL, tempGBEL.ExecutionStatus() = "InOperation" and |
| | | tempGBEL.BrokerName() = "CurrencyRate_MP" ); |
| | | gbel.ExecutionStatus( "Complete" ); |
| | | gbel.ElementTotal( globalOTDTable.Global_MappingCurrencyRate_MP( relsize ) ); |
| | | gbel.IsSuccess( true ); |
| | | gbel.Name( "æ¥å£æ°æ®ï¼è´§å¸æ±çï¼" ); |
| | | gbel.SuccessDateTime( DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) ); |
| | | *] |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | globalOTDTable.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "", |
| | | ElementTotal := globalOTDTable.Global_MappingCurrency_MP( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "æ¥å£æ°æ®ï¼è´§å¸ï¼", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | gbel := select( globalOTDTable, Global_BrokerExecuteLog, tempGBEL, tempGBEL.ExecutionStatus() = "InOperation" and |
| | | tempGBEL.BrokerName() = "Currency_MP" ); |
| | | gbel.ExecutionStatus( "Complete" ); |
| | | gbel.ElementTotal( globalOTDTable.Global_MappingCurrency_MP( relsize ) ); |
| | | gbel.IsSuccess( true ); |
| | | gbel.Name( "æ¥å£æ°æ®ï¼è´§å¸ï¼" ); |
| | | gbel.SuccessDateTime( DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingCustomOrder( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_CustomOrder().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingCustomerGrade( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_CustomerGrade().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingDOI_DSI( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_DOI_DSI().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingForecast( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_Forecast().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingInventorySupply( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_InventorySupply().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | globalOTDTable.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "", |
| | | ElementTotal := globalOTDTable.Global_MappingLane( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "æ¥å£æ°æ®ï¼è½¦éï¼", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | |
| | | gbel := select( globalOTDTable, Global_BrokerExecuteLog, tempGBEL, tempGBEL.ExecutionStatus() = "InOperation" and |
| | | tempGBEL.BrokerName() = "Lane" ); |
| | | gbel.ExecutionStatus( "Complete" ); |
| | | gbel.ElementTotal( globalOTDTable.Global_MappingLane( relsize ) ); |
| | | gbel.IsSuccess( true ); |
| | | gbel.Name( "æ¥å£æ°æ®ï¼è½¦éï¼" ); |
| | | gbel.SuccessDateTime( DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) ); |
| | | *] |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | globalOTDTable.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "", |
| | | ElementTotal := globalOTDTable.Global_MappingLaneLeg( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "æ¥å£æ°æ®ï¼è½¦éæ¯æ¶ï¼", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | gbel := select( globalOTDTable, Global_BrokerExecuteLog, tempGBEL, tempGBEL.ExecutionStatus() = "InOperation" and |
| | | tempGBEL.BrokerName() = "LaneLeg" ); |
| | | gbel.ExecutionStatus( "Complete" ); |
| | | gbel.ElementTotal( globalOTDTable.Global_MappingLaneLeg( relsize ) ); |
| | | gbel.IsSuccess( true ); |
| | | gbel.Name( "æ¥å£æ°æ®ï¼è½¦éæ¯æ¶ï¼" ); |
| | | gbel.SuccessDateTime( DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingOperation( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_Operation().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingOperationBOM( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_OperationBOM().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingProductInLane( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_ProductInLane().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingProduct_MP( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_Product_MP().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingSalesSegment_MP( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_SalesSegment_MP().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingStockingPointCost( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_StockingPointCost().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | globalOTDTable.Global_BrokerExecuteLog( relnew, |
| | | BrokerName := "", |
| | | ElementTotal := globalOTDTable.Global_MappingStockingPoint_MP( relsize ), |
| | | ErrorMessage := "", |
| | | IsSuccess := true, |
| | | Name := "æ¥å£æ°æ®ï¼åºåç¹ï¼", |
| | | SuccessDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" ), |
| | | ErrorNo := 0 |
| | | ); |
| | | gbel := select( globalOTDTable, Global_BrokerExecuteLog, tempGBEL, tempGBEL.ExecutionStatus() = "InOperation" and |
| | | tempGBEL.BrokerName() = "StockingPoint_MP" ); |
| | | gbel.ExecutionStatus( "Complete" ); |
| | | gbel.ElementTotal( globalOTDTable.Global_MappingStockingPoint_MP( relsize ) ); |
| | | gbel.IsSuccess( true ); |
| | | gbel.Name( "æ¥å£æ°æ®ï¼åºåç¹ï¼" ); |
| | | gbel.SuccessDateTime( DateTime::ActualTime().Format( "Y-M-D H2:m:s" ) ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingOperationCost( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_OperationCost().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SynchronizeInterfaceData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String executionUser, |
| | | String brokerName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.Global_MappingUnitOfMeasure_MP( relflush ); |
| | | isCanRun := Global_BrokerExecuteLog::CanRun( globalOTDTable, brokerName ); |
| | | if ( not isCanRun ) { |
| | | Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, brokerName, executionUser ); |
| | | globalOTDTable.GlobalOTDTable_UnitOfMeasure_MP().AsyncExecute(); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateShowData_CustomOrder ( |
| | | GlobalOTDTable globalOTDTable |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | businessTypeColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 0, "äºä¸é¨" ); |
| | | currencyIDColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 1, "è´§å¸" ); |
| | | customerColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 2, "客æ·åç§°" ); |
| | | customerIDColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 3, "客æ·ID" ); |
| | | idColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 4, "å¯ä¸æ è¯" ); |
| | | orderDateColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 5, "è®¢åæ¥æ" ); |
| | | orderIDColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 6, "订åå·" ); |
| | | orderLineIDColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 7, "订åè¡å·" ); |
| | | priceColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 8, "åä»·" ); |
| | | priorityNameColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 9, "ä¼å
级åç§°" ); |
| | | productIDColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 10, "产åç¼ç " ); |
| | | stockingPointIDColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 11, "åºåç¹ç¼ç " ); |
| | | salesegmentNameColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 12, "éå®é¨é¨åç§°" ); |
| | | quantityColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 13, "æ°é" ); |
| | | unitofmeasureNameColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 14, "åä½" ); |
| | | orderTypeColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 15, "订åç±»å" ); |
| | | isAvailableColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 16, "æ¯å¦å¯ç¨" ); |
| | | productGradeColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 17, "产åç级" ); |
| | | segmentPriorityColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 18, "ç»åå¸åºä¼å
级" ); |
| | | sheetProfitabilityColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 19, "å¤§å¼ çå©" ); |
| | | orderTimeColumn := Global_ShowColumn::CreateColumn( globalOTDTable, 20, "订åä¸åæ¶é´" ); |
| | | i := 1; |
| | | traverse ( globalOTDTable, Global_MappingCustomOrder, gmco ) { |
| | | gloabal_ShowRow := globalOTDTable.Global_ShowRow( relnew, RowNr := i ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.BusinessType(), businessTypeColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.CurrencyID(), currencyIDColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.Customer(), customerColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.CustomerID(), customerIDColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.ID(), idColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, guard( gmco.OrderDate().Format( "Y-M2-D2" ), "æ¶é´æ ¼å¼é误" ), orderDateColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.OrderID(), orderIDColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.OrderLineID(), orderLineIDColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, [String]gmco.Price(), priceColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.PriorityName(), priorityNameColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.ProductID(), productIDColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.StockingPointID(), stockingPointIDColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.SalesSegmentName(), salesegmentNameColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, [String]gmco.Quantity(), quantityColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.UnitOfMeasureName(), unitofmeasureNameColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.OrderType(), orderTypeColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, [String]gmco.IsAvailable(), isAvailableColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.ProductGrade(), productGradeColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.SegmentPriority(), segmentPriorityColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, gmco.SheetProfitability(), sheetProfitabilityColumn, gloabal_ShowRow ); |
| | | Global_ShowCell::SetColumnsAndRows( globalOTDTable, guard( gmco.OrderTime().Format( "Y-M2-D2" ), "æ¶é´æ ¼å¼é误" ), orderTimeColumn, gloabal_ShowRow ); |
| | | |
| | | i++; |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SetColumnsAndRows ( |
| | | GlobalOTDTable globalOTDTable, |
| | | String value, |
| | | Global_ShowColumn global_ShowColumn, |
| | | Global_ShowRow global_ShowRow |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | global_ShowCell := globalOTDTable.Global_ShowCell( relnew, Value := value ); |
| | | global_ShowCell.Global_ShowColumn( relset, global_ShowColumn ); |
| | | global_ShowCell.Global_ShowRow( relset, global_ShowRow ); |
| | | *] |
| | | } |
| | |
| | | TextBody: |
| | | [* |
| | | if ( global_BrokerExecuteLog.BrokerName() = "GlobalOTDTable_CustomOrder" ) { |
| | | businessTypeColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 0, ColumnName := "äºä¸é¨" ); |
| | | currencyIDColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 1, ColumnName := "è´§å¸" ); |
| | | customerColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 2, ColumnName := "客æ·åç§°" ); |
| | | customerIDColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 3, ColumnName := "客æ·ID" ); |
| | | idColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 4, ColumnName := "å¯ä¸æ è¯" ); |
| | | orderDateColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 5, ColumnName := "è®¢åæ¥æ" ); |
| | | orderIDColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 6, ColumnName := "订åå·" ); |
| | | orderLineIDColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 7, ColumnName := "订åè¡å·" ); |
| | | priceColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 8, ColumnName := "åä»·" ); |
| | | priorityNameColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 9, ColumnName := "ä¼å
级åç§°" ); |
| | | productIDColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 10, ColumnName := "产åç¼ç " ); |
| | | stockingPointIDColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 11, ColumnName := "åºåç¹ç¼ç " ); |
| | | salesegmentNameColumn :=globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 12, ColumnName := "éå®é¨é¨åç§°" ); |
| | | quantityColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 13, ColumnName := "æ°é" ); |
| | | unitofmeasureNameColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 14, ColumnName := "åä½" ); |
| | | orderTypeColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 15, ColumnName := "订åç±»å" ); |
| | | isAvailableColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 16, ColumnName := "æ¯å¦å¯ç¨" ); |
| | | productGradeColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 17, ColumnName := "产åç级" ); |
| | | segmentPriorityColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 18, ColumnName := "ç»åå¸åºä¼å
级" ); |
| | | sheetProfitabilityColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 19, ColumnName := "å¤§å¼ çå©" ); |
| | | orderTimeColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := 20, ColumnName := "订åä¸åæ¶é´" ); |
| | | i := 1; |
| | | traverse ( globalOTDTable, Global_MappingCustomOrder, gmco ) { |
| | | gloabal_ShowRow := globalOTDTable.Global_ShowRow( relnew, RowNr := i ); |
| | | |
| | | businessTypeCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.BusinessType() ); |
| | | businessTypeCell.Global_ShowColumn( relset, businessTypeColumn ); |
| | | businessTypeCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | currencyIDCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.CurrencyID() ); |
| | | currencyIDCell.Global_ShowColumn( relset, currencyIDColumn ); |
| | | currencyIDCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | customerCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.Customer() ); |
| | | customerCell.Global_ShowColumn( relset, customerColumn ); |
| | | customerCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | customerIDCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.CustomerID() ); |
| | | customerIDCell.Global_ShowColumn( relset, customerIDColumn ); |
| | | customerIDCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | idCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.ID() ); |
| | | idCell.Global_ShowColumn( relset, idColumn ); |
| | | idCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | orderDateCell := globalOTDTable.Global_ShowCell( relnew, Value := guard( gmco.OrderDate().Format( "Y-M2-D2" ), "æ¶é´æ ¼å¼é误" ) ); |
| | | orderDateCell.Global_ShowColumn( relset, orderDateColumn ); |
| | | orderDateCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | orderIDCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.OrderID() ); |
| | | orderIDCell.Global_ShowColumn( relset, orderIDColumn ); |
| | | orderIDCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | orderLineIDCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.OrderLineID() ); |
| | | orderLineIDCell.Global_ShowColumn( relset, orderLineIDColumn ); |
| | | orderLineIDCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | priceCell := globalOTDTable.Global_ShowCell( relnew, Value := [String]gmco.Price() ); |
| | | priceCell.Global_ShowColumn( relset, priceColumn ); |
| | | priceCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | priorityNameCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.PriorityName() ); |
| | | priorityNameCell.Global_ShowColumn( relset, priorityNameColumn ); |
| | | priorityNameCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | productIDCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.ProductID() ); |
| | | productIDCell.Global_ShowColumn( relset, productIDColumn ); |
| | | productIDCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | stockingPointIDCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.StockingPointID() ); |
| | | stockingPointIDCell.Global_ShowColumn( relset, stockingPointIDColumn ); |
| | | stockingPointIDCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | salesegmentNameCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.SalesSegmentName() ); |
| | | salesegmentNameCell.Global_ShowColumn( relset, salesegmentNameColumn ); |
| | | salesegmentNameCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | quantityCell := globalOTDTable.Global_ShowCell( relnew, Value := [String]gmco.Quantity() ); |
| | | quantityCell.Global_ShowColumn( relset, quantityColumn ); |
| | | quantityCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | unitofmeasureNameCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.UnitOfMeasureName() ); |
| | | unitofmeasureNameCell.Global_ShowColumn( relset, unitofmeasureNameColumn ); |
| | | unitofmeasureNameCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | orderTypeCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.OrderType() ); |
| | | orderTypeCell.Global_ShowColumn( relset, orderTypeColumn ); |
| | | orderTypeCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | isAvailableCell := globalOTDTable.Global_ShowCell( relnew, Value := [String]gmco.IsAvailable() ); |
| | | isAvailableCell.Global_ShowColumn( relset, isAvailableColumn ); |
| | | isAvailableCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | productGradeCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.ProductGrade() ); |
| | | productGradeCell.Global_ShowColumn( relset, productGradeColumn ); |
| | | productGradeCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | segmentPriorityCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.SegmentPriority() ); |
| | | segmentPriorityCell.Global_ShowColumn( relset, segmentPriorityColumn ); |
| | | segmentPriorityCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | sheetProfitabilityCell := globalOTDTable.Global_ShowCell( relnew, Value := gmco.SheetProfitability() ); |
| | | sheetProfitabilityCell.Global_ShowColumn( relset, sheetProfitabilityColumn ); |
| | | sheetProfitabilityCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | orderTimeCell := globalOTDTable.Global_ShowCell( relnew, Value := guard( gmco.OrderTime().Format( "Y-M2-D2" ), "æ¶é´æ ¼å¼é误" ) ); |
| | | orderTimeCell.Global_ShowColumn( relset, orderTimeColumn ); |
| | | orderTimeCell.Global_ShowRow( relset, gloabal_ShowRow ); |
| | | |
| | | i++; |
| | | } |
| | | Global_ShowCell::CreateShowData_CustomOrder( globalOTDTable ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateColumn ( |
| | | GlobalOTDTable globalOTDTable, |
| | | Number columnIndex, |
| | | String columnName |
| | | ) as Global_ShowColumn |
| | | { |
| | | TextBody: |
| | | [* |
| | | global_ShowColumn := globalOTDTable.Global_ShowColumn( relnew, ColumnIndex := columnIndex, ColumnName := columnName ); |
| | | |
| | | return global_ShowColumn; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | TypeDataInterface Global_BrokerExecuteLog |
| | | { |
| | | TypeKey: '[414702.0.265587041]' |
| | | ImageDataMember ImageExecutionStatus |
| | | { |
| | | #keys: '1[414702.0.496052017]' |
| | | ImageSpecifications: |
| | | [ |
| | | ImageDataMemberImageSpecification |
| | | { |
| | | Image: 'MEDIA_PLAY_GREEN' |
| | | Quill: 'object.ExecutionStatus() = "InOperation"' |
| | | Value: 'InOperation' |
| | | } |
| | | ImageDataMemberImageSpecification |
| | | { |
| | | Image: 'CHECK' |
| | | Quill: 'object.ExecutionStatus() = "Complete"' |
| | | Value: 'ImageExecutionStatus2' |
| | | } |
| | | ] |
| | | } |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BrokerName","title":"BrokerName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BrokerName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ElementTotal","title":"ElementTotal","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ElementTotal"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ErrorDateTime","title":"ErrorDateTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ErrorDateTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ErrorMessage","title":"ErrorMessage","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ErrorMessage"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ErrorNo","title":"ErrorNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ErrorNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsSuccess","title":"IsSuccess","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsSuccess"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Name","title":"Name","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SuccessDateTime","title":"SuccessDateTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SuccessDateTime"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ImageExecutionStatus","title":"è¿è¡ç¶æ","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ImageExecutionStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ExecuteUser","title":"æ§è¡ç¨æ·","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ExecuteUser"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsSuccess","title":"æ¯å¦æå","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsSuccess"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BrokerName","title":"Brokeråç§°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BrokerName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ElementTotal","title":"æ°æ®å¤§å°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ElementTotal"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ErrorDateTime","title":"é误æ¶é´","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ErrorDateTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ErrorMessage","title":"éè¯¯æ¶æ¯","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ErrorMessage"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ErrorNo","title":"é误å·","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ErrorNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Name","title":"æ¥å¿åç§°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SuccessDateTime","title":"æåæ¶é´","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SuccessDateTime"}}]' |
| | | ContextMenu: 'listContextMenuInterfaceTest' |
| | | Taborder: 2 |
| | | ] |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Component_PanelInterfaceTest981.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelInterfaceTest981 |
| | | Component PanelInterfaceGlobal_BrokerExecuteLog |
| | | { |
| | | #keys: '[414702.0.459917264]' |
| | | BaseType: 'WebPanel' |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | Taborder: 5 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelInterfaceOption1 |
| | | { |
| | | #keys: '[414702.0.459752107]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component CheckboxCustomOrder |
| | | { |
| | | #keys: '[414702.0.459786494]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'CustomOrder' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component CheckboxForecast |
| | | { |
| | | #keys: '[414702.0.459501981]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'Forecast' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component CheckboxUnitOfMeasure_MP |
| | | { |
| | | #keys: '[414702.0.500042972]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'UnitOfMeasure_MP' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component CheckboxSalesSegment_MP |
| | | { |
| | | #keys: '[414702.0.498882706]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'SalesSegment_MP' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component CheckboxProduct_MP |
| | | { |
| | | #keys: '[414702.0.500281942]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'Product_MP' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelInterfaceOption2 |
| | | { |
| | | #keys: '[414702.0.500233382]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component CheckboxConversionFactor |
| | | { |
| | | #keys: '[414702.0.501770364]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'ConversionFactor' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component CheckboxOperation |
| | | { |
| | | #keys: '[414702.0.501791718]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'Operation' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component CheckboxOperationBOM |
| | | { |
| | | #keys: '[414702.0.501742364]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'OperationBOM' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component CheckboxProductInLane |
| | | { |
| | | #keys: '[414702.0.501792106]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'ProductInLane' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component CheckboxAIPISPIP |
| | | { |
| | | #keys: '[414702.0.503110868]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'AIPISPIP' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelInterfaceOption3 |
| | | { |
| | | #keys: '[414702.0.501742781]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component CheckboxInventorySupply |
| | | { |
| | | #keys: '[414702.0.503576372]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'InventorySupply' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component CheckboxStockingPointCost |
| | | { |
| | | #keys: '[414702.0.503748797]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'StockingPointCost' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component CheckboxOperationCost |
| | | { |
| | | #keys: '[414702.0.503158219]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'OperationCost' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component CheckboxDOI_DSI |
| | | { |
| | | #keys: '[414702.0.503158880]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'DOI_DSI' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component CheckboxCustomerGrade |
| | | { |
| | | #keys: '[414702.0.503159013]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'CustomerGrade' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelInterfaceOption4 |
| | | { |
| | | #keys: '[414702.0.504229568]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component CheckboxStockingPoint_MP |
| | | { |
| | | #keys: '[414702.0.501794917]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'StockingPoint_MP' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component CheckboxCurrency_MP |
| | | { |
| | | #keys: '[414702.0.504229987]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'Currency_MP' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component CheckboxCurrencyRate_MP |
| | | { |
| | | #keys: '[414702.0.503787453]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'CurrencyRate_MP' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component CheckboxLane |
| | | { |
| | | #keys: '[414702.0.503787560]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'Lane' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component CheckboxLaneLeg |
| | | { |
| | | #keys: '[414702.0.503787710]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Label: 'LaneLeg' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | |
| | | Title: 'æ¾ç¤ºæ°æ®' |
| | | ] |
| | | } |
| | | Component MenuDelete |
| | | { |
| | | #keys: '[414702.0.495675965]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'DELETE' |
| | | Taborder: 4 |
| | | Title: 'å é¤' |
| | | ] |
| | | } |
| | | Component MenuSelectionAll |
| | | { |
| | | #keys: '[414702.0.494390825]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'SELECTION' |
| | | Shortcut: 'Ctrl+A' |
| | | Taborder: 5 |
| | | Title: 'å
¨é' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListInterfaceTest |
| | | Response OnClick ( |
| | | Global_BrokerExecuteLog selection |
| | | ) id:Response_ListInterfaceTest_MenuDelete_OnClick |
| | | { |
| | | #keys: '[414702.0.494333825]' |
| | | DefinitionID => /ListInterfaceTest/Responsedef_ListInterfaceTest_WebMenu_OnClick |
| | | Initiator: 'MenuDelete' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.Delete(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListInterfaceTest |
| | | Response OnClick () id:Response_ListInterfaceTest_MenuSelectionAll_OnClick |
| | | { |
| | | #keys: '[414702.0.494351350]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListInterfaceTest/Responsedef_ListInterfaceTest_WebMenu_OnClick |
| | | Initiator: 'MenuSelectionAll' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.SelectAll(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | GlobalOTDTable.SynchronizationAllMappingBrokerAndAPIByOption( CheckboxCustomOrder.Checked(), |
| | | CheckboxForecast.Checked() ); |
| | | 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() ); |
| | | |
| | | WebMessageBox::Success( "æåæåï¼", true ); |
| | | WebMessageBox::Information( "æ°æ®å¼å§æåä¸ï¼ï¼ä»
éä¸äººæä½ï¼", true ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | businessTypes := construct( Strings ); |
| | | businessTypes.Add( DropDownListBusinessType.Data().BusinessTypeName() ); |
| | | GlobalOTDTable.SynchronizeDataToMacroPlan( MacroPlan, |
| | | businessTypes, |
| | | CheckboxCustomOrder.Checked(), |
| | | CheckboxForecast.Checked() |
| | | ); |
| | |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelInterfaceOptions |
| | | #child: PanelInterfaceOption1 |
| | | #child: PanelInterfaceTest |
| | | #child: PanelInterfaceTest981 |
| | | #child: PanelInterfaceGlobal_BrokerExecuteLog |
| | | #child: PanelInterfaceOption2 |
| | | #child: PanelInterfaceOption3 |
| | | #child: PanelInterfaceOption4 |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | ProjectProperties |
| | | { |
| | | ApplicationComponentName: 'ApplicationMacroPlanner' |
| | | BuildVersion: '2022.3.0.32' |
| | | BuildVersion: '2022.3.0.84' |
| | | Description: 'Quintiq Macro Planner' |
| | | ProjectKind: 'WebClient' |
| | | } |