Merge branch 'dev' into dev_yx
# Conflicts:
# _Main/BL/Type_GlobalDTOTable/StaticMethod_SynchronizationAllMappingBrokerAndAPI.qbl
已重命名3个文件
已添加68个文件
已修改99个文件
已删除2个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation OrganCode_BusinessType_BusinessType_OrganCode |
| | | { |
| | | #keys: '1[412960.0.276650038]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide BusinessType |
| | | { |
| | | #keys: '3[412960.0.276650040][412960.0.276650039][412960.0.276650041]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: OrganCode |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide OrganCode |
| | | { |
| | | #keys: '3[412960.0.276650043][412960.0.276650042][412960.0.276650044]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: BusinessType |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
| | |
| | | Attribute BusinessTypeName |
| | | { |
| | | #keys: '3[414382.0.361554811][414382.0.361554810][414382.0.361554812]' |
| | | Description: 'äºä¸é¨åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DisplayType |
| | | { |
| | | #keys: '3[412960.0.276650024][412960.0.276650023][412960.0.276650025]' |
| | | Description: 'æ¾ç¤ºç±»å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ScenarioName |
| | | { |
| | | #keys: '3[412960.0.276650011][412960.0.276650010][412960.0.276650012]' |
| | | Description: 'åºæ¯åç§°' |
| | | ValueType: String |
| | | } |
ÎļþÃû´Ó _Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetBusinessNameStr ( |
| | | StaticMethod GetScenarioNamesStr ( |
| | | GlobalOTDTable owner |
| | | ) as String |
| | | { |
| | |
| | | // NBoTk Sep-7-2023 (created) |
| | | // è·åbusinessType éå |
| | | result := ""; |
| | | businessTypeList := construct( structured[String]); |
| | | scenarioNameList := construct( structured[String]); |
| | | |
| | | traverse( owner,BusinessType,b) |
| | | { |
| | | businessTypeList.Add( b.BusinessTypeName()); |
| | | scenarioNameList.Add( b.ScenarioName() ); |
| | | } |
| | | |
| | | // 妿åå¨businessTypeæ°æ® åè¿å : a,b,c |
| | | |
| | | if( not isnull( businessTypeList ) ) |
| | | if( not isnull( scenarioNameList ) ) |
| | | { |
| | | result := businessTypeList.Concatenate( ";" ); |
| | | result := scenarioNameList.Concatenate( ";" ); |
| | | } |
| | | |
| | | // æµè¯æ°æ® |
| | |
| | | // æ°å¢/æ´æ° |
| | | result := CustomerOrder::FindById( macroPlan, id ); |
| | | if( isnull( result ) ) { |
| | | CustomerOrder::Create( product, stockingPoint, id, orderDate, quantity, price, |
| | | result := CustomerOrder::Create( product, stockingPoint, id, orderDate, quantity, price, |
| | | priorityName, salesSegmentName, currencyId, unitOfMeasureName, |
| | | false, customerName, customerId, orderId, orderLineId, true, true, true ); |
| | | } else { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID |
| | | { |
| | | #keys: '3[414702.0.525344991][414702.0.525344990][414702.0.525344992]' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
| | |
| | | Attribute OrderType |
| | | { |
| | | #keys: '3[414382.0.394820190][414382.0.394820189][414382.0.394820191]' |
| | | Description: '订åç±»åå
æ¬ï¼åç¾ãææï¼' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute State |
| | | { |
| | | #keys: '3[414702.0.533501330][414702.0.533501329][414702.0.533501331]' |
| | | Description: 'ç¶æï¼æªå²åãå·²å²åï¼' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | TypeIndex FillingCapacityOrderTypeIndex |
| | | { |
| | | Attributes: |
| | | [ |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: ID |
| | | } |
| | | ] |
| | | } |
| | |
| | | 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 ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SynchronizeDataToMacroPlan ( |
| | | MacroPlan macroPlan, |
| | | Boolean isUnitOfMeasure_MP |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | if ( isUnitOfMeasure_MP ) { |
| | | Global_MappingUnitOfMeasure_MP::SynchronizeMacroPlanData( this, macroPlan ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | globalOTDTable.Global_MappingCustomerGrade( relflush ); |
| | | // 年度产éé¢ç®ä¸é´è¡¨ |
| | | globalOTDTable.Global_MappingAnnualBudgetData( 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(); |
| | | // 年度产éé¢ç®ä¸é´è¡¨ |
| | | globalOTDTable.GlobalOTDTable_AnnualBudgetData().AsyncExecute(); |
| | | // æ ¹æ®Global_MappingOperationBOMå·GlobalOTDTable_AnnualBudgetDataçOrgCodeFromBom |
| | |
| | | { |
| | | #keys: '5[414702.0.83354588][414702.0.83354586][0.0.0][414702.0.83354587][414702.0.83354589]' |
| | | BaseType: Object |
| | | OnCreate: |
| | | [* |
| | | this.BusinessType( relnew, BusinessTypeName := "ææºäºä¸é¨OLED" ); |
| | | this.BusinessType( relnew, BusinessTypeName := "ä¸ä¸æ¾ç¤ºäºä¸é¨" ); |
| | | this.BusinessType( relnew, BusinessTypeName := "å¤åCELLOLED" ); |
| | | this.BusinessType( relnew, BusinessTypeName := "ææºäºä¸é¨" ); |
| | | this.BusinessType( relnew, BusinessTypeName := "汽车çµåäºä¸é¨" ); |
| | | this.BusinessType( relnew, BusinessTypeName := "ç¹ç§æ¾ç¤º" ); |
| | | this.BusinessType( relnew, BusinessTypeName := "è¿å¨å¥åº·äºä¸é¨" ); |
| | | this.BusinessType( relnew, BusinessTypeName := "车载æ¾ç¤ºäºä¸é¨" ); |
| | | this.BusinessType( relnew, BusinessTypeName := "ITäºä¸é¨" ); |
| | | *] |
| | | StructuredName: 'GlobalOTDTables' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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: |
| | | [* |
| | | æ§è¡ç¶æ |
| | | InOperation |
| | | Complete |
| | | *] |
| | | 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 SynchronizeMacroPlanData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | MacroPlan macroPlan |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | global_BrokerExecuteLog := globalOTDTable.Global_BrokerExecuteLog( relnew, |
| | | Name := "忥å使°æ®", |
| | | IsSuccess := true |
| | | ); |
| | | |
| | | try { |
| | | traverse ( globalOTDTable, Global_MappingUnitOfMeasure_MP, gmuommp ) { |
| | | unitOfMeasure_MP := select( macroPlan, UnitOfMeasure_MP, tempUOMMP, tempUOMMP.Name() = gmuommp.Name() ); |
| | | if ( isnull( unitOfMeasure_MP ) ) { |
| | | unitOfMeasure_MP := UnitOfMeasure_MP::Create( macroPlan, gmuommp.Name(), false, false ); |
| | | } |
| | | if ( gmuommp.IsDefault() ) { |
| | | unitOfMeasure_MP.SetAsDefault(); |
| | | } |
| | | } |
| | | } onerror { |
| | | global_BrokerExecuteLog.IsSuccess( false ); |
| | | global_BrokerExecuteLog.ErrorNo( e.ErrorNr() ); |
| | | global_BrokerExecuteLog.ErrorMessage( e.GeneralInformation() ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | *] |
| | | } |
| | |
| | | TextBody: |
| | | [* |
| | | // renhao Aug-14-2023 (created) |
| | | listtodeal := selectset( globalOTDTable,Global_MappingActualProductInStockingPointInPeriod,actual,actual.ActualInventoryLevelEnd() > 0 ); |
| | | organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, businessTypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() ); |
| | | listtodeal := selectset( globalOTDTable, |
| | | Global_MappingActualProductInStockingPointInPeriod, |
| | | actual, |
| | | ( actual.ActualInventoryLevelEnd() > 0 ) and |
| | | ( organcodelist.Find( actual.StockingPointID().SubString( 0, 3 ) ) >= 0 ) ); |
| | | totalcount := listtodeal.Size(); |
| | | info( "ActualPISPIP has " + totalcount.AsQUILL() + " rows in total" ); |
| | | |
| | |
| | | if( not isnull(businessTypes)){ |
| | | |
| | | for( i :=0 ;i < businessTypes.Size();i++ ){ |
| | | businessType := businessTypes.Element( i); |
| | | businessType := businessTypes.Element( i ); |
| | | if( product.BusinessType() = businessType and not product.IsCommon()){ |
| | | ActualProductInStockingPointInPeriod::CreateOrUpdate( this, |
| | | actual.ProductID(), |
| | |
| | | if( isnull( businessTypes ) or businessTypes.Size() = 0 ) { |
| | | listToDeal := selectset( globalOTDTable, Global_MappingCustomOrder, item, true ); |
| | | } else { |
| | | listToDeal := selectset( globalOTDTable, Global_MappingCustomOrder, item, businessTypes.Find( item.BusinessType() ) <> -1 ); |
| | | organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, businessTypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() ); |
| | | listToDeal := selectset( globalOTDTable, |
| | | Global_MappingCustomOrder, |
| | | item, |
| | | ( businessTypes.Find( item.BusinessType() ) <> -1 ) and |
| | | ( organcodelist.Find( item.StockingPointID().SubString( 0, 3 ) ) >= 0 ) ); |
| | | } |
| | | queryStartDate := guard( min( this, Period_MP, item, true, item.StartDate() ) - Duration::Days( 30 ), DateTime::MinDateTime() ).Date(); |
| | | queryEndDate := guard( max( this, Period_MP, item, true, item.EndDate() ), Date::MaxDate() ); |
| | |
| | | // renhao Aug-14-2023 (created) |
| | | queryStartDate := guard( min( this, Period_MP, item, true, item.StartDate() ) - Duration::Days( 30 ), DateTime::MinDateTime() ).Date(); |
| | | queryEndDate := guard( max( this, Period_MP, item, true, item.EndDate() ), Date::MaxDate() ); |
| | | listtodeal := selectset( globalOTDTable,Global_MappingInventorySupply,externalSupply, externalSupply.UserQuantity()>0 and externalSupply.Date() >= queryStartDate /*and externalSupply.Date() <= queryEndDate*/); |
| | | organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, businessTypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() ); |
| | | listtodeal := selectset( globalOTDTable, |
| | | Global_MappingInventorySupply, |
| | | externalSupply, |
| | | ( externalSupply.UserQuantity()>0 ) and |
| | | ( externalSupply.Date() >= queryStartDate ) and |
| | | ( organcodelist.Find( externalSupply.StockingPointID().SubString( 0, 3 ) ) >= 0 )/*and externalSupply.Date() <= queryEndDate*/); |
| | | totalcount := listtodeal.Size(); |
| | | description := "å¨éå¨å¶"; |
| | | info( "ExternalSupply has " + totalcount.AsQUILL() + " rows in total" ); |
| | |
| | | if( not isnull(businessTypes)){ |
| | | |
| | | for( i :=0 ;i < businessTypes.Size();i++ ){ |
| | | businessType := businessTypes.Element( i); |
| | | businessType := businessTypes.Element( i ); |
| | | if( product.BusinessType() = businessType and not product.IsCommon()){ |
| | | InventorySupply::CreateOrUpdate( externalSupply.ID(), |
| | | productMP, |
| | |
| | | if( isnull( businessTypes ) or businessTypes.Size() = 0 ) { |
| | | listToDeal := selectset( globalOTDTable, Global_MappingForecast, item, item.Quantity() > 0 ); |
| | | } else { |
| | | listToDeal := selectset( globalOTDTable, Global_MappingForecast, item, businessTypes.Find( item.BusinessType() ) <> -1 and item.Quantity()>0 ); |
| | | organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, businessTypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() ); |
| | | listToDeal := selectset( globalOTDTable, |
| | | Global_MappingForecast, |
| | | item, |
| | | ( businessTypes.Find( item.BusinessType() ) <> -1 ) and |
| | | ( item.Quantity()>0 ) and |
| | | ( organcodelist.Find( item.StockingPointID().SubString( 0, 3 ) ) >= 0 ) ); |
| | | } |
| | | queryStartDate := guard( min( this, Period_MP, item, true, item.StartDate() ) - Duration::Days( 30 ), DateTime::MinDateTime() ).Date(); |
| | | queryEndDate := guard( max( this, Period_MP, item, true, item.EndDate() ), Date::MaxDate() ); |
| | |
| | | if( isKeyProduct ) { |
| | | keyProductList := selectuniquevalues( globalOTDTable, Global_MappingProduct_MP, item, item.ProductMajorType()="æå" or item.ProductMajorType()="åæå", item.ID() ); |
| | | } |
| | | organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, businessTypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() ); |
| | | bomList := selectsortedset( globalOTDTable, Global_MappingOperationBOM, item, |
| | | ifexpr( isnull( businessTypes ) or businessTypes.Size() = 0, |
| | | true, |
| | | // businessTypes.Difference( businessTypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0 ) |
| | | businessTypes.Find( item.BusinessType() ) >= 0 ) |
| | | ( businessTypes.Find( item.BusinessType() ) >= 0 ) and |
| | | ( organcodelist.Find( item.OrganCode() ) >= 0 ) ) |
| | | // and ifexpr( isKeyProduct, |
| | | // keyProductList.Size() > 0 and keyProductList.Find( item.ComponentCode() ) >= 0, |
| | | // true ) |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method MappingOperationCostData ( |
| | | GlobalOTDTable globalOTDTable, |
| | | Strings businesstypes |
| | | ) |
| | | { |
| | |
| | | if( isnull( businesstypes ) or businesstypes.Size() = 0 ) { |
| | | listtodeal := selectset( this, MappingOperation, item, true ); |
| | | } else { |
| | | listtodeal := selectset( this, MappingOperation, item, businesstypes.Find( item.BusinessType() ) <> -1 ); |
| | | organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, businesstypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() ); |
| | | listtodeal := selectset( this, |
| | | MappingOperation, |
| | | item, |
| | | ( businesstypes.Find( item.BusinessType() ) <> -1 ) and |
| | | ( organcodelist.Find( item.OrganCode() ) >= 0 ) ); |
| | | } |
| | | |
| | | // Get the list to deal with max sequence number |
| | |
| | | // è·åæåºçå¾
å¤çè®°å½ |
| | | toDealList := construct( Global_MappingOperations ) ; |
| | | if( not isnull( businessTypes ) and businessTypes.Size() > 0 ) { |
| | | organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, businessTypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() ); |
| | | toDealList := selectsortedset( globalOTDTable, Global_MappingOperation, item, |
| | | businessTypes.Find( item.BusinessType() ) >= 0, |
| | | ( businessTypes.Find( item.BusinessType() ) >= 0 ) and |
| | | ( organcodelist.Find( item.OrganCode() ) >= 0 ), |
| | | // businessTypes.Difference( businessTypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0, |
| | | item.SequenceNumber() ); |
| | | } else { |
| | |
| | | } |
| | | } else { |
| | | if( iskeyproduct = true ){ |
| | | listToDeal := selectset( globalOTDTable, Global_MappingProduct_MP, item, item.KeyProduct() = true and businesstypes.Find( item.BusinessType()) >= 0 ); |
| | | listToDeal := selectset( globalOTDTable, Global_MappingProduct_MP, item, item.KeyProduct() = true and businesstypes.Find( item.BusinessType() ) >= 0 ); |
| | | } |
| | | else{ |
| | | listToDeal := selectset( globalOTDTable, Global_MappingProduct_MP, item, businesstypes.Find( item.BusinessType()) >= 0 ); |
| | | listToDeal := selectset( globalOTDTable, Global_MappingProduct_MP, item, businesstypes.Find( item.BusinessType() ) >= 0 ); |
| | | } |
| | | } |
| | | totalcount := listToDeal.Size(); |
| | |
| | | if( isnull( businessTypes ) or businessTypes.Size() = 0 ) { |
| | | listToDeal := selectset( globalOTDTable, Global_MappingSalesSegment_MP, item, true ); |
| | | } else { |
| | | listToDeal := selectset( globalOTDTable, Global_MappingSalesSegment_MP, item, businessTypes.Find( item.BusinessType() ) <> -1 ); |
| | | listToDeal := selectset( globalOTDTable, |
| | | Global_MappingSalesSegment_MP, |
| | | item, |
| | | businessTypes.Find( item.BusinessType() ) <> -1 ); |
| | | } |
| | | //nameList := construct( structured[String] ); |
| | | //nameList := selectvalues( listToDeal, Elements, item, true, item.Name() ); |
| | |
| | | if( isnull( businesstypes ) or businesstypes.Size() = 0 ) { |
| | | listtodeal := selectset( globalOTDTable, Global_MappingOperation, item, true ); |
| | | } else { |
| | | organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, businesstypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() ); |
| | | listtodeal := selectset( globalOTDTable, Global_MappingOperation, item, |
| | | // businesstypes.Difference( businesstypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0 |
| | | businesstypes.Find( item.BusinessType() ) >= 0 |
| | | ( businesstypes.Find( item.BusinessType() ) >= 0 ) and |
| | | ( organcodelist.Find( item.OrganCode() ) >= 0 ) |
| | | ); |
| | | } |
| | | |
| | |
| | | |
| | | // todo å¶é ææ¬-16 |
| | | info( "InventoryCost Finished, Start OperationCost Mapping" ); |
| | | macroPlan.MappingOperationCostData( businessTypes ); |
| | | macroPlan.MappingOperationCostData( globalOTDTable, businessTypes ); |
| | | |
| | | // 订å颿µ-17 |
| | | Forecast::DoSync( macroPlan, businessTypes ,globalOTDTable); |
| | |
| | | |
| | | xmlDOMSerializer := xmlDOMImplementation.CreateSerializer(); |
| | | xmlTableString := xmlDOMSerializer.WriteToString( xmlDOMDocument ); |
| | | |
| | | info( xmlTableString ); |
| | | tableHandle := TableHandle::ImportXML( BinaryValue::Construct( xmlTableString ) ); |
| | | tableGroupHandle := TableGroupHandle::Create( "ç©ææ ç¾" ); |
| | | tableGroupHandle.Add( tableHandle ); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrganCodeName |
| | | { |
| | | #keys: '3[412960.0.276650052][412960.0.276650051][412960.0.276650053]' |
| | | Description: 'ç»ç»ç¼ç åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type OrganCode |
| | | { |
| | | #keys: '5[412960.0.276650035][412960.0.276650033][0.0.0][412960.0.276650034][412960.0.276650036]' |
| | | BaseType: Object |
| | | Description: 'äºä¸é¨å¯¹åºçç»ç»ç¼ç éå' |
| | | StructuredName: 'OrganCodes' |
| | | } |
| | |
| | | // NBoTk Sep-21-2023 (created) |
| | | |
| | | data := selectobject( owner,PriorityFactor,p, |
| | | p.BusinessType() = businessType and p.Name() = name |
| | | p.Name() = name |
| | | ) |
| | | |
| | | return data.Coefficient(); |
| | |
| | | value := ""; |
| | | |
| | | strList := selectuniquevalues( owner,PriorityFactor,p, |
| | | p.BusinessType() = businessType, |
| | | p.Name() |
| | | ); |
| | | |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod InitData ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | MacroPlan owner |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | // NBoTk Sep-15-2023 (created) |
| | | // businessType |
| | | // result := "éå¢é¢æ¿;ä¸ä¸æ¾ç¤ºäºä¸é¨;å¤åCELL;éæ¾;è¿å¨å¥åº·;è¿å¨å¥åº·äºä¸é¨;ææºäºä¸é¨;ç¹ç§æ¾ç¤º;汽车çµåäºä¸é¨;车载æ¾ç¤ºäºä¸é¨;ITäºä¸é¨"; |
| | | // æ·»å äºä¸é¨å¯¹åºçé¢å¶ä¼å
级å åæ°æ® |
| | | owner.PriorityFactor(relnew,Name := "客æ·çç¥" ,Desc := "å°äºä¸é¨è®¡ç®çä¼å
çº§ï¼æè¯¥ç»å项æ¯ä¾é¶æ¢¯ç¡®å®è¯¥é¡¹å¾åãå¦ï¼81%â¤Xâ¤100% 5åï¼61%â¤Xâ¤80% 4å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "客æ·ç级" ,Desc := "æ ¹æ®éæ±æ°æ®ä¸å®¢æ·ï¼å¹é
客æ·ç级",BusinessType := businessType); |
| | | owner.PriorityFactor(relnew,Name := "å¤§å¼ ç婿°´å¹³" ,Desc := "1ãè·å客æ·*SKUå¤§å¼ ç婿° 2ãå®ä¹å®¢æ·*SKUå¤§å¼ ç婿°é¶æ¢¯å¾å 3ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKUæ°æ®ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "ç»åå¸åºç级" ,Desc := "1ãè·å客æ·*SKU对åºç»åå¸åºç级 2ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKU对åºç»åå¸åºè¯åç级ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "éæ±ç±»å" ,Desc := "å¹é
ä¸åéæ±ç§ç±»ï¼å¾å°å¯¹åºå¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "订åä¸åæ¶é´" ,Desc := "æ ¹æ®éæ±è®¢åä¸ä¸åæ¶é´ä¸éæ±æ¶é´å·®å¼ï¼å¹é
é¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "产åç级" ,Desc := "1ãè·å客æ·*SKU DOI&DSIæ° 2ãå®ä¹å®¢æ·*SKUDOI&DSIæ°é¶æ¢¯å¾å 3ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKUæ°æ®ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "DOI" ,Desc := "1ãè·å客æ·*SKU DOI&DSIæ° 2ãå®ä¹å®¢æ·*SKUDOI&DSIæ°é¶æ¢¯å¾å 3ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKUæ°æ®ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "DSI" ,Desc := "1ãè·å客æ·*SKU DOI&DSIæ° 2ãå®ä¹å®¢æ·*SKUDOI&DSIæ°é¶æ¢¯å¾å 3ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKUæ°æ®ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | |
| | | // ä¼å
级å åç»å |
| | | priorityFactorList := selectset( owner,PriorityFactor,p, |
| | | p.BusinessType() = businessType |
| | | ); |
| | | businessType := ""; |
| | | |
| | | traverse( priorityFactorList,Elements,e) |
| | | // 妿已ç»åå¨ä¼å
çº§æ°æ® åä¸åå¤ç |
| | | list := selectset( owner,PriorityFactor,p,true); |
| | | if( list.Size() = 0 ) |
| | | { |
| | | PriorityFactorDetails::InitData( owner,e); |
| | | |
| | | // æ·»å äºä¸é¨å¯¹åºçé¢å¶ä¼å
级å åæ°æ® |
| | | owner.PriorityFactor(relnew,Name := "客æ·çç¥" ,Desc := "å°äºä¸é¨è®¡ç®çä¼å
çº§ï¼æè¯¥ç»å项æ¯ä¾é¶æ¢¯ç¡®å®è¯¥é¡¹å¾åãå¦ï¼81%â¤Xâ¤100% 5åï¼61%â¤Xâ¤80% 4å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "客æ·ç级" ,Desc := "æ ¹æ®éæ±æ°æ®ä¸å®¢æ·ï¼å¹é
客æ·ç级",BusinessType := businessType); |
| | | owner.PriorityFactor(relnew,Name := "å¤§å¼ ç婿°´å¹³" ,Desc := "1ãè·å客æ·*SKUå¤§å¼ ç婿° 2ãå®ä¹å®¢æ·*SKUå¤§å¼ ç婿°é¶æ¢¯å¾å 3ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKUæ°æ®ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "ç»åå¸åºç级" ,Desc := "1ãè·å客æ·*SKU对åºç»åå¸åºç级 2ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKU对åºç»åå¸åºè¯åç级ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "éæ±ç±»å" ,Desc := "å¹é
ä¸åéæ±ç§ç±»ï¼å¾å°å¯¹åºå¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "订åä¸åæ¶é´" ,Desc := "æ ¹æ®éæ±è®¢åä¸ä¸åæ¶é´ä¸éæ±æ¶é´å·®å¼ï¼å¹é
é¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "产åç级" ,Desc := "1ãè·å客æ·*SKU DOI&DSIæ° 2ãå®ä¹å®¢æ·*SKUDOI&DSIæ°é¶æ¢¯å¾å 3ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKUæ°æ®ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "DOI" ,Desc := "1ãè·å客æ·*SKU DOI&DSIæ° 2ãå®ä¹å®¢æ·*SKUDOI&DSIæ°é¶æ¢¯å¾å 3ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKUæ°æ®ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | owner.PriorityFactor(relnew,Name := "DSI" ,Desc := "1ãè·å客æ·*SKU DOI&DSIæ° 2ãå®ä¹å®¢æ·*SKUDOI&DSIæ°é¶æ¢¯å¾å 3ãå¹é
éæ±æ°æ®ä¸å®¢æ·åSKUæ°æ®ï¼å¾å°å¯¹åºé¶æ¢¯å¾å", BusinessType := businessType ); |
| | | |
| | | // ä¼å
级å åç»å |
| | | priorityFactorList := selectset( owner,PriorityFactor,p, |
| | | p.BusinessType() = businessType |
| | | ); |
| | | |
| | | traverse( priorityFactorList,Elements,e) |
| | | { |
| | | PriorityFactorDetails::InitData( owner,e); |
| | | } |
| | | |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetCalcFormula ( |
| | | MacroPlan macroPlan, |
| | | String formula |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Oct-7-2023 (created) |
| | | priorityFactor := null( PriorityFactor); |
| | | traverse( macroPlan,PriorityFactor,p) |
| | | { |
| | | if( formula.StartsWith( p.Name()) ) |
| | | { |
| | | priorityFactor := p; |
| | | } |
| | | } |
| | | value := priorityFactor.Name() + "[" + [String]priorityFactor.Coefficient() +"*L]"; |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetCalcStr ( |
| | | MacroPlan macroPlan, |
| | | String formula, |
| | | String lastCalcStr |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Oct-7-2023 (created) |
| | | |
| | | calcStr := ""; |
| | | remindFormula := formula; |
| | | |
| | | // éåä¼å
级å åé
ç½® |
| | | if( not remindFormula = '' ) |
| | | { |
| | | // ä»èµ·å§ä½ç½®å¼å§å¹é
|
| | | if(remindFormula.StartsWith( "+" )) |
| | | { |
| | | remindFormula := remindFormula.SubString( 1,remindFormula.Length()-1); |
| | | calcStr := PriorityPolicy::GetCalcFormula(macroPlan,remindFormula); |
| | | calcStr := lastCalcStr + "+" + calcStr; |
| | | |
| | | // æªåæå·²ç»è®¡ç®çä¼å
级å å éå½è®¡ç® |
| | | remindFormula := PriorityResult::GetRemindFormula( remindFormula,macroPlan); |
| | | PriorityPolicy::GetCalcStr( macroPlan,remindFormula,calcStr); |
| | | } |
| | | else if( remindFormula.StartsWith( "-" )) |
| | | { |
| | | remindFormula := remindFormula.SubString( 1,remindFormula.Length()-1); |
| | | calcStr := PriorityPolicy::GetCalcFormula(macroPlan,remindFormula); |
| | | calcStr := lastCalcStr + "-" + calcStr; |
| | | |
| | | // æªåæå·²ç»è®¡ç®çä¼å
级å å éå½è®¡ç® |
| | | remindFormula := PriorityResult::GetRemindFormula( remindFormula,macroPlan); |
| | | PriorityPolicy::GetCalcStr( macroPlan,remindFormula,calcStr); |
| | | } |
| | | else if( remindFormula.StartsWith( "*" ) ) |
| | | { |
| | | remindFormula := remindFormula.SubString( 1,remindFormula.Length()-1); |
| | | calcStr := PriorityPolicy::GetCalcFormula(macroPlan,remindFormula); |
| | | calcStr := lastCalcStr + "*" + calcStr; |
| | | |
| | | // æªåæå·²ç»è®¡ç®çä¼å
级å å éå½è®¡ç® |
| | | remindFormula := PriorityResult::GetRemindFormula( remindFormula,macroPlan); |
| | | PriorityPolicy::GetCalcStr( macroPlan,remindFormula,calcStr); |
| | | } |
| | | else if( remindFormula.StartsWith( "/" ) ) |
| | | { |
| | | remindFormula := remindFormula.SubString( 1,remindFormula.Length()-1); |
| | | calcStr := PriorityPolicy::GetCalcFormula(macroPlan,remindFormula); |
| | | calcStr := lastCalcStr + "/" + calcStr; |
| | | |
| | | // æªåæå·²ç»è®¡ç®çä¼å
级å å éå½è®¡ç® |
| | | remindFormula := PriorityResult::GetRemindFormula( remindFormula,macroPlan); |
| | | PriorityPolicy::GetCalcStr( macroPlan,remindFormula,calcStr); |
| | | } |
| | | else if( remindFormula.StartsWith( "(" ) ) |
| | | { |
| | | remindFormula := remindFormula.SubString( 1,remindFormula.Length()-1); |
| | | calcStr := PriorityPolicy::GetCalcFormula(macroPlan,remindFormula); |
| | | calcStr := lastCalcStr + "{" + calcStr; |
| | | |
| | | // æªåæå·²ç»è®¡ç®çä¼å
级å å éå½è®¡ç® |
| | | remindFormula := PriorityResult::GetRemindFormula( remindFormula,macroPlan); |
| | | PriorityPolicy::GetCalcStr( macroPlan,remindFormula,calcStr); |
| | | } |
| | | else if( remindFormula.StartsWith( ")" ) ) |
| | | { |
| | | remindFormula := remindFormula.SubString( 1,remindFormula.Length()-1); |
| | | calcStr := PriorityPolicy::GetCalcFormula(macroPlan,remindFormula); |
| | | calcStr := lastCalcStr + ")" + calcStr; |
| | | |
| | | // æªåæå·²ç»è®¡ç®çä¼å
级å å éå½è®¡ç® |
| | | remindFormula := PriorityResult::GetRemindFormula( remindFormula,macroPlan); |
| | | PriorityPolicy::GetCalcStr( macroPlan,remindFormula,calcStr); |
| | | } |
| | | else |
| | | { |
| | | // 䏿¯ç¬¦å· ç´æ¥è·å计ç®åçæ°å¼ |
| | | calcStr := PriorityPolicy::GetCalcFormula(macroPlan,remindFormula); |
| | | |
| | | // æªåæå·²ç»è®¡ç®çä¼å
级å å éå½è®¡ç® |
| | | remindFormula := PriorityResult::GetRemindFormula( remindFormula,macroPlan); |
| | | PriorityPolicy::GetCalcStr( macroPlan,remindFormula,calcStr); |
| | | } |
| | | |
| | | } |
| | | |
| | | return calcStr; |
| | | *] |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | nameList := PriorityFactor::GetDataByBusinessType( owner,businessType); |
| | | nameList := PriorityFactor::GetDataByBusinessType( owner,""); |
| | | traverse( nameList,Elements,e) |
| | | { |
| | | nameText := e.Name() + "[" + [String]e.Coefficient() + "*L]" |
| | |
| | | [* |
| | | // NBoTk Sep-21-2023 (created) |
| | | value := stringData; |
| | | |
| | | symbolList := construct( structured[String]); |
| | | symbolList.Add( "+") |
| | | symbolList.Add( "-") |
| | |
| | | } |
| | | } |
| | | |
| | | nameList := PriorityFactor::GetDataByBusinessType( owner,businessType); |
| | | nameList := PriorityFactor::GetDataByBusinessType( owner,""); |
| | | traverse( nameList,Elements,e) |
| | | { |
| | | if( stringData.EndsWith( e.Name())) |
| | |
| | | value := stringData.SubString( 0,end); |
| | | } |
| | | } |
| | | |
| | | return value; |
| | | *] |
| | | } |
| | |
| | | remindFormula := formula; |
| | | |
| | | // éåä¼å
级å åé
ç½® |
| | | |
| | | if( not remindFormula = '' ) |
| | | { |
| | | // ä»èµ·å§ä½ç½®å¼å§å¹é
|
| | |
| | | PriorityResult::CalculateBracketScore(calcStr,customerOrder,businessType,macroPlan,globalOTDTable); |
| | | |
| | | // æªå ) åçå符继ç»è¿è¡è®¡ç® |
| | | remindFormula := remindFormula.SubString( rightBracket,remindFormula.Length()); |
| | | remindFormula := remindFormula.SubString( rightBracket,remindFormula.Length()-1); |
| | | } |
| | | else |
| | | { |
| | |
| | | } |
| | | |
| | | // 没æå¹é
å
¬å¼è®¡ç®å®æ |
| | | return lastScore; |
| | | return score; |
| | | *] |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | info( "remindStr = " + str ); |
| | | return str; |
| | | *] |
| | | } |
| | |
| | | { |
| | | // äºä¸é¨ä¿¡æ¯ |
| | | businessType := e.BusinessType(); |
| | | //businessType := "ææºäºä¸é¨"; |
| | | |
| | | // è·å对åºäºä¸é¨è®¡ç®å
¬å¼ |
| | | priorityPolicys := selectobject( macroPlan,PriorityPolicy,p,p.BusinessType() = businessType and p.Name() = priorityPolicyName); |
| | |
| | | |
| | | // éå½å¤ç计ç®å
¬å¼ è·åå½å订åçå¾å |
| | | value := PriorityResult::CalculateScore( formula,e,businessType,macroPlan,0.0,globalOTDTable); |
| | | |
| | | // çæä¼å
级å åè·åç»æ |
| | | priorityResult := macroPlan.PriorityResult(relnew,CustomerOrderID := e.ID(),BusinessType := businessType,Customer := e.CustomerName(),CustomerID := e.CustomerID(), |
| | | DemandDate := e.EndDate(),ProductID := e.ProductID(),Quantity := e.Quantity(),SalesSegmentName := e.SalesSegmentName(), |
| | |
| | | result.PriorityResultScore() |
| | | ) |
| | | |
| | | // Quintiqä¼å
级å10级 éè¦åæ®µè®¡ç® |
| | | subLevel := resultList.Size() div 10; |
| | | subLevelCount := 0; |
| | | |
| | | priorityValue := 1; |
| | | traverse( resultList,Elements,e) |
| | | { |
| | |
| | | |
| | | // å建ä¼å
çº§æ°æ® éè¦å
æ¸
é¤ä¸ä¸æ¬¡ç计ç®ç»æ |
| | | // 夿å½åcustomerOrderæ¯å¦åå¨ |
| | | oldPriority := selectobject( macroPlan,Priority,p,p.Name() = obj.OrderID()); |
| | | if(not isnull( oldPriority ) ) |
| | | oldPriority := selectobject( macroPlan,Priority,p,p.Name() = [String]priorityValue); |
| | | if(isnull( oldPriority ) ) |
| | | { |
| | | macroPlan.Priority(reldelete, oldPriority); |
| | | } |
| | | macroPlan.Priority(relnew,Weight := priorityValue,Name := obj.OrderID()); |
| | | priorityValue := priorityValue + 1; |
| | | macroPlan.Priority(relnew,Weight := priorityValue,Name := [String]priorityValue); |
| | | } |
| | | } |
| | | |
| | | // å¤æè®¡ç®å段æ°éä¸Quintiqåå§ä¼å
级 |
| | | subLevelCount := subLevelCount + 1; |
| | | if( subLevelCount = subLevel ) |
| | | { |
| | | // å½å°è¾¾å段æ°éå ä¼å
级+1 åæ®µè®¡æ°ä»0å¼å§ |
| | | if( priorityValue < 10 ) |
| | | { |
| | | priorityValue := priorityValue + 1; |
| | | } |
| | | subLevelCount := 0; |
| | | } |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ScenarioName |
| | | { |
| | | #keys: '3[412960.0.288500040][412960.0.288500039][412960.0.288500041]' |
| | | Description: 'åºæ¯åç§°ï¼å¯¹åºäºä¸é¨&ç»ç»ç¼ç ç»´æ¤ä¸ç»´æ¤çåºæ¯åç§°' |
| | | ValueType: String |
| | | } |
ÎļþÃû´Ó _Main/BL/Type_ScenarioManager/StaticMethod_AvailableBusinessTypes.qbl ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod AvailableBusinessTypes ( |
| | | StaticMethod AvailableScenarioNames ( |
| | | GlobalOTDTable globalOTDTable |
| | | ) as String |
| | | { |
| | |
| | | //} |
| | | |
| | | // 使ç¨businessTypeè·åæ°æ® |
| | | strings := BusinessType::GetBusinessNameStr( globalOTDTable); |
| | | strings := BusinessType::GetScenarioNamesStr( globalOTDTable); |
| | | |
| | | return strings; |
| | | *] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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: |
| | | [ |
| | | DataBinding: 'DataHolderBusinessType.Data.BusinessTypeName' |
| | | Label: 'Business Type Name' |
| | | Description: 'äºä¸é¨åç§°è¾å
¥' |
| | | Label: 'äºä¸é¨åç§°' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component editScenarioName |
| | | { |
| | | #keys: '[412960.0.275480603]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderBusinessType.Data.ScenarioName' |
| | | Description: 'åºæ¯åç§°ç¼è¾' |
| | | Label: 'åºæ¯åç§°' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component editDisplayType |
| | | { |
| | | #keys: '[412960.0.278321833]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderBusinessType.Data.DisplayType' |
| | | Description: 'æ¾ç¤ºç±»åç¼è¾' |
| | | Label: 'æ¾ç¤ºç±»å' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | |
| | | businessType := DataHolderBusinessType.Data().BusinessTypeName(); |
| | | DataHolderBusinessType.Data().Commit(); |
| | | |
| | | |
| | | PriorityFactor::InitData( MacroPlan,businessType); |
| | | |
| | | this.Close(); |
| | | *] |
| | |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderDialogData.Data.BusinessType' |
| | | Label: 'BusinessType' |
| | | DataBinding: 'DataHolderDialogData.Data.ScenarioName' |
| | | Label: 'Scenario Name' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | |
| | | data.Name( versionname ); |
| | | } |
| | | |
| | | // Get Business Type from Scenario Name |
| | | businesstype := select( globalotdtable, |
| | | BusinessType, |
| | | b, |
| | | b.ScenarioName()=data.ScenarioName() ).BusinessTypeName(); |
| | | data.BusinessType( businesstype ); |
| | | |
| | | // Copy scenario |
| | | if( isnull( data.WrappedInstance() ) ) |
| | | { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method New ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) id:Method_DialogEditPriorityFactor_New |
| | | { |
| | | #keys: '[414382.0.593002251]' |
| | | Body: |
| | | [* |
| | | data := owner.PriorityFactor(relshadow); |
| | | data.BusinessType(businessType); |
| | | |
| | | DataHolderEditPriorityFactor.Data(&data); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
| | |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.ProductID' |
| | | Enabled: false |
| | | Label: 'ååç¼ç ' |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component dropDownStringListSalesSegmentName id:dropDownStringListSalesSegmentName_325 |
| | |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesSegmentName' |
| | | Enabled: false |
| | | Label: 'éå®é¨é¨' |
| | | Taborder: 1 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component dropDownStringListStockPointID id:dropDownStringListStockPointID_801 |
| | |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.StockingPointID' |
| | | Enabled: false |
| | | Label: 'åºåç¹' |
| | | Taborder: 2 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component dropDownStringListCustomer id:dropDownStringListCustomer_957 |
| | |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.Customer' |
| | | Enabled: false |
| | | Label: '客æ·' |
| | | Taborder: 3 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component edtQuantity id:edtQuantity_995 |
| | |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.Quantity' |
| | | Label: 'æ°é' |
| | | Mask: 'REAL' |
| | | Taborder: 4 |
| | | Taborder: 12 |
| | | ] |
| | | } |
| | | Component dropDownStringListUnitOfMeasureName id:dropDownStringListUnitOfMeasureName_750 |
| | |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.UnitOfMeasureName' |
| | | Enabled: false |
| | | Label: 'æ°éåä½' |
| | | Strings: 'UnitName' |
| | | Taborder: 5 |
| | | Taborder: 4 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component edtSalesAmount id:edtSalesAmount_608 |
| | |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesAmount' |
| | | Label: 'éå®é¢' |
| | | Mask: 'NUMBER' |
| | | Taborder: 6 |
| | | Taborder: 13 |
| | | ] |
| | | } |
| | | Component dsDemandDate |
| | |
| | | [ |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.DemandDate' |
| | | Label: 'éæ±æ¥æ' |
| | | Taborder: 8 |
| | | Taborder: 15 |
| | | ] |
| | | } |
| | | Component dsForecastDemandDate |
| | |
| | | [ |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.ForecastDemandDate' |
| | | Label: 'é¢æéæ±æ¥æ' |
| | | Taborder: 14 |
| | | ] |
| | | } |
| | | Component ddlSalesSegment |
| | | { |
| | | #keys: '[414702.0.525040441]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'SalesSegment_MP' |
| | | Children: |
| | | [ |
| | | Component deSalesSegment |
| | | { |
| | | #keys: '[414702.0.525040443]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[SalesSegment_MP]' |
| | | FixedFilter: 'object.Child(relsize)=0' |
| | | Source: 'ApplicationMacroPlanner.DataHolderSalesSegment' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'Name' |
| | | Label: 'éå®é¨é¨' |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component ddlProduct_MP |
| | | { |
| | | #keys: '[414702.0.525462899]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'Product_MP' |
| | | Children: |
| | | [ |
| | | Component deContent |
| | | { |
| | | #keys: '[414702.0.525462901]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[Product_MP]' |
| | | FixedFilter: 'not object.IsSystem()' |
| | | Source: 'ApplicationMacroPlanner.DataHolderProduct' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'Name' |
| | | Label: '产å' |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | Component ddlStockingPoint_MP |
| | | { |
| | | #keys: '[414702.0.525462922]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'StockingPoint_MP' |
| | | Children: |
| | | [ |
| | | Component deContent345 |
| | | { |
| | | #keys: '[414702.0.525462924]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[StockingPoint_MP]' |
| | | FixedFilter: 'not object.IsSystem()' |
| | | Source: 'ApplicationMacroPlanner.DataHolderStockingPoint' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'Name' |
| | | Label: 'åºåç¹' |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | Component ddlBusinessType |
| | | { |
| | | #keys: '[414702.0.525012300]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'BusinessType' |
| | | Children: |
| | | [ |
| | | Component deContent989 |
| | | { |
| | | #keys: '[414702.0.525012302]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | Taborder: 0 |
| | | Transformation: 'BusinessType' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'BusinessTypeName' |
| | | Label: 'äºä¸é¨' |
| | | Taborder: 8 |
| | | ] |
| | | } |
| | | Component ddlUnitOfMeasure_MP |
| | | { |
| | | #keys: '[414702.0.525669735]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'UnitOfMeasure_MP' |
| | | Children: |
| | | [ |
| | | Component deContent703 |
| | | { |
| | | #keys: '[414702.0.525669737]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'UnitOfMeasure_MP' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | DisplayField: 'Name' |
| | | Label: 'åä½' |
| | | Taborder: 9 |
| | | ] |
| | | } |
| | | Component efCustomerName |
| | | { |
| | | #keys: '[414702.0.525734924]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.Customer' |
| | | Label: 'Customer name' |
| | | Taborder: 10 |
| | | ] |
| | | } |
| | | Component efCustomID |
| | | { |
| | | #keys: '[414702.0.525734943]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: 'Customer ID' |
| | | Taborder: 11 |
| | | ] |
| | | } |
| | | Component ddslOrderType |
| | | { |
| | | #keys: '[414702.0.526239841]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.OrderType' |
| | | Label: '订åç±»å' |
| | | Strings: 'åç¾;ææ' |
| | | Taborder: 16 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | [* |
| | | // Disabled button to prevent the possibility of multiple firing |
| | | |
| | | btnOk.Enabled(false,''); |
| | | //btnOk.Enabled(false,''); |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | |
| | | DataHolderFillingCapacityOrder.Data().Commit(); |
| | | //DataHolderFillingCapacityOrder.Data().Commit(); |
| | | |
| | | //if( not isnull( DataHolderForm.Data() ) ) |
| | | //{ |
| | |
| | | |
| | | DataHolderFillingCapacityOrder.Data( &data ); |
| | | |
| | | salesSegment_MP := select( MacroPlan, SalesSegment_MP, tempSSMP, tempSSMP.Name() = selection.SalesSegmentName() ); |
| | | ddlSalesSegment.Data( salesSegment_MP ); |
| | | |
| | | product_MP := select( MacroPlan, Product_MP, tempPMP, tempPMP.ID() = selection.ProductID() ); |
| | | ddlProduct_MP.Data( product_MP ); |
| | | |
| | | stockingPoint_MP := select( MacroPlan, StockingPoint_MP, tempSPMP, tempSPMP.ID() = selection.StockingPointID() ); |
| | | ddlStockingPoint_MP.Data( stockingPoint_MP ); |
| | | |
| | | businessType := select( GlobalOTDTable, BusinessType, tempBT, tempBT.BusinessTypeName() = selection.BusinessType() ); |
| | | ddlBusinessType.Data( businessType ); |
| | | |
| | | unitOfMeasure_MP := select( MacroPlan, UnitOfMeasure_MP, tempUOMMP, tempUOMMP.Name() = selection.UnitOfMeasureName() ); |
| | | ddlUnitOfMeasure_MP.Data( unitOfMeasure_MP ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
| | |
| | | Body: |
| | | [* |
| | | |
| | | data := owner.FillingCapacityOrder(relshadow); |
| | | data.OrderType("ææ") |
| | | data := owner.FillingCapacityOrder( relshadow ); |
| | | //data.OrderType("ææ") |
| | | |
| | | DataHolderFillingCapacityOrder.Data(&data); |
| | | DataHolderFillingCapacityOrder.Data( &data ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | feedback := Translations::FilllingCapacity_ValidateInput(); |
| | | |
| | | checkValue := not dropDownStringListProductID.Text() = '' and not dropDownStringListSalesSegmentName.Text() = '' |
| | | and not dropDownStringListStockPointID.Text() = '' and not dropDownStringListCustomer.Text() = '' |
| | | and not edtQuantity.Text() = '' and not dropDownStringListUnitOfMeasureName.Text() = '' |
| | | and not edtSalesAmount.Text() = '' |
| | | |
| | | return checkValue; |
| | | //feedback := Translations::FilllingCapacity_ValidateInput(); |
| | | // |
| | | //checkValue := not dropDownStringListProductID.Text() = '' and not dropDownStringListSalesSegmentName.Text() = '' |
| | | // and not dropDownStringListStockPointID.Text() = '' and not dropDownStringListCustomer.Text() = '' |
| | | // and not edtQuantity.Text() = '' and not dropDownStringListUnitOfMeasureName.Text() = '' |
| | | // and not edtSalesAmount.Text() = '' |
| | | // |
| | | //return checkValue; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOk() |
| | | Form.ApplyChanges(); |
| | | |
| | | data := guard( DataHolderFillingCapacityOrder.Data().WrappedInstance(), null( FillingCapacityOrder ) );; |
| | | if ( isnull( data ) ) { |
| | | MacroPlan.FillingCapacityOrder( relnew, |
| | | ID := OS::GenerateGUIDAsString(), |
| | | ProductID := guard( ddlProduct_MP.Data().ID(), "null" ), |
| | | BusinessType := guard( ddlBusinessType.Data().BusinessTypeName(), "null" ), |
| | | SalesSegmentName := guard( ddlSalesSegment.Data().Name(), "null" ), |
| | | StockingPointID := guard( ddlStockingPoint_MP.Data().ID(), "null" ), |
| | | Customer := efCustomerName.Text(), |
| | | Quantity := [Real]edtQuantity.Text(), |
| | | UnitOfMeasureName := ddlUnitOfMeasure_MP.Data().Name(), |
| | | ForecastDemandDate := dsForecastDemandDate.Date(), |
| | | DemandDate := dsDemandDate.Date(), |
| | | OrderType := ddslOrderType.Text(), |
| | | SalesAmount := [Number]edtSalesAmount.Text() |
| | | ); |
| | | } else { |
| | | data.ProductID( guard( ddlProduct_MP.Data().ID(), "null" ) ); |
| | | data.BusinessType( guard( ddlBusinessType.Data().BusinessTypeName(), "null" ) ); |
| | | data.SalesSegmentName( guard( ddlSalesSegment.Data().Name(), "null" ) ); |
| | | data.StockingPointID( guard( ddlStockingPoint_MP.Data().ID(), "null" ) ); |
| | | data.Customer( efCustomerName.Text() ); |
| | | data.Quantity( [Real]edtQuantity.Text() ); |
| | | data.UnitOfMeasureName( ddlUnitOfMeasure_MP.Data().Name() ); |
| | | data.ForecastDemandDate( dsForecastDemandDate.Date() ); |
| | | data.DemandDate( dsDemandDate.Date() ); |
| | | data.OrderType( ddslOrderType.Text() ); |
| | | data.SalesAmount( [Number]edtSalesAmount.Text() ); |
| | | } |
| | | |
| | | Form.Close(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Edit ( |
| | | PriorityPolicy selection |
| | | ) id:Method_DialogNewPriorityPolicy_Edit |
| | | { |
| | | #keys: '[414382.0.603040472]' |
| | | Body: |
| | | [* |
| | | data := shadow( selection ); |
| | | |
| | | DataHolderNewPriorityPolicy.Data( &data); |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[412960.0.278371059]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[412960.0.278371063]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[412960.0.278371065]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[412960.0.278371057]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component editOrganCodeName |
| | | { |
| | | #keys: '[412960.0.280135212]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderOrganCode.Data.OrganCodeName' |
| | | Description: 'ç»ç»ç¼ç åç§°ç¼è¾' |
| | | Label: 'ç»ç»ç¼ç ' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method ClickBtnOk () id:Method_DialogOrganCode_ClickBtnOk |
| | | { |
| | | #keys: '[412960.0.279955432]' |
| | | Body: |
| | | [* |
| | | // Disabled button to prevent the possibility of multiple firing |
| | | |
| | | btnOk.Enabled(false,''); |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | |
| | | DataHolderOrganCode.Data().Commit(); |
| | | |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Edit ( |
| | | OrganCode selection |
| | | ) id:Method_DialogOrganCode_Edit |
| | | { |
| | | #keys: '[412960.0.279955433]' |
| | | Body: |
| | | [* |
| | | // Edits assumption |
| | | data := shadow( selection ); |
| | | |
| | | DataHolderOrganCode.Data( &data ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method New ( |
| | | BusinessType owner |
| | | ) id:Method_DialogOrganCode_New |
| | | { |
| | | #keys: '[412960.0.279955435]' |
| | | Body: |
| | | [* |
| | | data := owner.OrganCode(relshadow); |
| | | DataHolderOrganCode.Data( &data); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[412960.0.278371069]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[412960.0.278371068]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOk() |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogOrganCode |
| | | { |
| | | #keys: '[412960.0.278371055]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component DataHolderOrganCode |
| | | { |
| | | #keys: '[412960.0.279955517]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[OrganCode]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Description: 'ç»ç»ç¼ç è¾¹çå¼¹çª' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'ç»ç»ç¼ç ç¼è¾' |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessTypeName","title":"BusinessTypeName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessTypeName"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessTypeName","title":"BusinessTypeName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessTypeName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DisplayType","title":"DisplayType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DisplayType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ScenarioName","title":"ScenarioName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ScenarioName"}}]' |
| | | ContextMenu: 'listContextMenuBusinessType655' |
| | | Taborder: 2 |
| | | ] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListOrganCode |
| | | { |
| | | #keys: '[412960.0.278370451]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorOrganCode |
| | | { |
| | | #keys: '[412960.0.278370452]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'BusinessType' |
| | | Description: 'ç»ç»ç¼ç ' |
| | | ExtractionMode: 'Selected' |
| | | Source: 'ListBusinessType' |
| | | Taborder: 0 |
| | | Transformation: 'OrganCode' |
| | | ] |
| | | } |
| | | #child: listActionBarPageOrganCode |
| | | Component DataSetLevelOrganCode |
| | | { |
| | | #keys: '[412960.0.278370457]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuBusinessType |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrganCodeName","title":"OrganCodeName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrganCodeName"}}]' |
| | | ContextMenu: 'listContextMenuBusinessType' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'ç»ç»ç¼ç ' |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListOrganCode_WebMenu_OnClick |
| | | { |
| | | #keys: '[412960.0.280046014]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[507.0.16811226]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelBusinessType |
| | | { |
| | | #keys: '[412960.0.278370440]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: ListOrganCode |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageOrganCode |
| | | { |
| | | #keys: '[412960.0.278370454]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuBusinessType |
| | | { |
| | | #keys: '[412960.0.278370459]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuEdit526 |
| | | { |
| | | #keys: '[412960.0.278370780]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'PENCIL' |
| | | Taborder: 3 |
| | | Title: 'Edit' |
| | | ] |
| | | } |
| | | Component MenuDelete267 |
| | | { |
| | | #keys: '[412960.0.278370833]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'DELETE' |
| | | Taborder: 4 |
| | | Title: 'Delete' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | |
| | | Title: 'Delete' |
| | | ] |
| | | } |
| | | Component MenuNewOrganCode |
| | | { |
| | | #keys: '[412960.0.280077335]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Description: 'æ°å»ºç»ç»ç¼ç ' |
| | | Image: 'EARTH_ADD' |
| | | Taborder: 6 |
| | | Title: 'Add Organ Code' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListBusinessType |
| | | Response OnClick ( |
| | | BusinessType selection |
| | | ) id:Response_ListBusinessType_MenuNewOrganCode_OnClick |
| | | { |
| | | #keys: '[412960.0.280105097]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuNewOrganCode' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogOrganCode ); |
| | | dlg.New( selection ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListOrganCode |
| | | Response OnClick ( |
| | | OrganCode selection |
| | | ) id:Response_ListOrganCode_MenuDelete267_OnClick |
| | | { |
| | | #keys: '[412960.0.280046423]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListOrganCode/Responsedef_ListOrganCode_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuDelete267' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.Delete(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListOrganCode |
| | | Response OnClick ( |
| | | OrganCode selection |
| | | ) id:Response_ListOrganCode_MenuEdit526_OnClick |
| | | { |
| | | #keys: '[412960.0.280046170]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListOrganCode/Responsedef_ListOrganCode_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuEdit526' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogOrganCode ); |
| | | dlg.Edit( selection ); |
| | | *] |
| | | } |
| | | } |
| | |
| | | Children: |
| | | [ |
| | | #child: ListBusinessType |
| | | #child: PanelBusinessType |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: 'Business Type' |
| | | Title: 'äºä¸é¨&ç»ç»ç¼ç ç»´æ¤' |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | Taborder: 1 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelFillingCapacityOrder |
| | | { |
| | | #keys: '[414702.0.526129526]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ButtonDeduct |
| | | { |
| | | #keys: '[414702.0.523642357]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'EDITOR_ACCESSIBILITY_LOCAL' |
| | | Label: 'å²å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | BindOnDoubleClick: true |
| | | Image: 'PENCIL' |
| | | Taborder: 4 |
| | | Title: 'Edit' |
| | |
| | | Children: |
| | | [ |
| | | #child: ListFillingCapacityOrder |
| | | #child: PanelFillingCapacityOrder |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | ] |
| | | 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() |
| | | CheckboxUnitOfMeasure_MP.Checked() |
| | | ); |
| | | |
| | | WebMessageBox::Success( "忥æåï¼", true ); |
| | |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelInterfaceOptions |
| | | #child: PanelInterfaceOption1 |
| | | #child: PanelInterfaceTest |
| | | #child: PanelInterfaceTest981 |
| | | #child: PanelInterfaceGlobal_BrokerExecuteLog |
| | | #child: PanelInterfaceOption2 |
| | | #child: PanelInterfaceOption3 |
| | | #child: PanelInterfaceOption4 |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_EDIT' |
| | | Taborder: 3 |
| | | Taborder: 4 |
| | | Title: 'ç¼è¾' |
| | | ] |
| | | } |
| | | Component MenuNew |
| | | { |
| | | #keys: '[414382.0.593001800]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_ADD' |
| | | Taborder: 3 |
| | | Title: 'æ°å¢' |
| | | ] |
| | | } |
| | | Component MenuDel |
| | | { |
| | | #keys: '[414382.0.593001811]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_DELETE' |
| | | Taborder: 5 |
| | | Title: 'å é¤' |
| | | ] |
| | | } |
| | | Component MenuInit |
| | | { |
| | | #keys: '[414382.0.600301960]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_NEW' |
| | | Taborder: 6 |
| | | Title: 'åå§å' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: DataHolderPriorityFactorSelect |
| | | Response OnDataChanged () id:Response_FormPriorityFactor_DataHolderPriorityFactorSelect_OnDataChanged |
| | | { |
| | | #keys: '[414382.0.593010798]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnDataChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | data := selectset( MacroPlan,PriorityFactor,p,true); |
| | | this.Data(&data); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | //strings := BusinessType::GetBusinessNameStr( GlobalOTDTable ); |
| | | //this.Strings(strings); |
| | | info( "create" + DropDownStringListBusinessType.Text()); |
| | | list := PriorityFactor::GetDataByBusinessType( MacroPlan, DropDownStringListBusinessType.Text()); |
| | | DataHolderPriorityFactorSelect.Data(&list); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | info( "selection" ); |
| | | info( "selection" + DropDownStringListBusinessType.Text()); |
| | | list := PriorityFactor::GetDataByBusinessType( MacroPlan, DropDownStringListBusinessType.Text()); |
| | | DataHolderPriorityFactorSelect.Data(&list); |
| | | *] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactor |
| | | Response OnClick ( |
| | | PriorityFactor selection |
| | | ) id:Response_ListPriorityFactor_MenuDel_OnClick |
| | | { |
| | | #keys: '[414382.0.593002800]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityFactor/Responsedef_ListPriorityFactor_WebMenu_OnClick |
| | | Initiator: 'MenuDel' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.Delete(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactor |
| | | Response OnClick () id:Response_ListPriorityFactor_MenuInit_OnClick |
| | | { |
| | | #keys: '[414382.0.600302015]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityFactor/Responsedef_ListPriorityFactor_WebMenu_OnClick |
| | | Initiator: 'MenuInit' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // åå§åä¼å
级å å |
| | | PriorityFactor::InitData( MacroPlan); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactor |
| | | Response OnClick () id:Response_ListPriorityFactor_MenuNew_OnClick |
| | | { |
| | | #keys: '[414382.0.593002709]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityFactor/Responsedef_ListPriorityFactor_WebMenu_OnClick |
| | | Initiator: 'MenuNew' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogEditPriorityFactor ); |
| | | businessType := DropDownStringListBusinessType.Text(); |
| | | dlg.New( MacroPlan, businessType); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | [ |
| | | Label: 'äºä¸é¨:' |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
| | | #child: ListPriorityFactor |
| | |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[PriorityPolicy]' |
| | | Source: 'DataHolderPriorityPolicy' |
| | | Source: 'DataHolderPriorityPolicyShowList' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | Taborder: 3 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | Taborder: 4 |
| | | Title: 'ä¼å
级çç¥é
ç½®' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: DataHolderPriorityPolicy |
| | | Response OnCreated () id:Response_FormPriorityPolicy_DataHolderPriorityPolicy_OnCreated |
| | | { |
| | | #keys: '[414382.0.594152096]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | data := this.Data(); |
| | | businessType := PriorityPolicyBusinessType.Text(); |
| | | list := selectset( data,Elements,e,e.BusinessType() = businessType); |
| | | DataHolderPriorityPolicyShowList.Data(&list); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | #parent: DataHolderPriorityPolicy |
| | | Response OnDataChanged () id:Response_FormPriorityPolicy_DataHolderPriorityPolicy_OnDataChanged |
| | | { |
| | | #keys: '[414382.0.502145694]' |
| | | #keys: '[414382.0.595379026]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnDataChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | list := PriorityPolicy::GetDataByBusinessType( MacroPlan, PriorityPolicyBusinessType.Text()); |
| | | this.Data(&list); |
| | | data := this.Data(); |
| | | businessType := PriorityPolicyBusinessType.Text(); |
| | | list := selectset( data,Elements,e,e.BusinessType() = businessType); |
| | | DataHolderPriorityPolicyShowList.Data(&list); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | PanelPriorityPolicyOperation.Visible(true); |
| | | dlg := construct( DialogNewPriorityPolicy ); |
| | | businessType := PriorityPolicyBusinessType.Text(); |
| | | dlg.Edit( selection); |
| | | |
| | | PanelPriorityPolicyOperationName.Text(selection.Name()); |
| | | |
| | | businessType := PriorityPolicyBusinessType.Text(); |
| | | str := PriorityFactor::GetNameList( MacroPlan, businessType); |
| | | DropDownStringList.Strings(str); |
| | | |
| | | LabelFormula.Text(selection.Formula()); |
| | | LabelCalculateValue.Text(selection.CalculateValue()); |
| | | |
| | | data := shadow( selection ); |
| | | DataHolderEditPriorityPolicy.Data( &data ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | strings := BusinessType::GetBusinessNameStr( GlobalOTDTable ); |
| | | strings := BusinessType::GetScenarioNamesStr( GlobalOTDTable ); |
| | | this.Strings(strings); |
| | | |
| | | list := PriorityPolicy::GetDataByBusinessType( MacroPlan, PriorityPolicyBusinessType.Text()); |
| | | DataHolderPriorityPolicyShowList.Data(&list); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | //list := PriorityPolicy::GetDataByBusinessType( MacroPlan, PriorityPolicyBusinessType.Text()); |
| | | //DataHolderPriorityPolicy.Data(&list); |
| | | list := PriorityPolicy::GetDataByBusinessType( MacroPlan, PriorityPolicyBusinessType.Text()); |
| | | DataHolderPriorityPolicyShowList.Data(&list); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | #keys: '[414382.0.487792124]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[PriorityPolicy]*' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPriorityPolicy216 |
| | | { |
| | | #keys: '[414382.0.593061574]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'PriorityPolicy' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | #child: ListPriorityPolicy |
| | |
| | | Databinding: 'shadow[PriorityPolicy]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component DataHolderPriorityPolicyBusinessType |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | Component DataHolderPriorityPolicyFactor |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 6 |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | Component DataHolderPriorityPolicyShowList |
| | | { |
| | | #keys: '[414382.0.593062135]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[PriorityPolicy]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | |
| | | dlg := construct( DialogCreateEditScenario ); |
| | | dlg.checkboxEnableSync().Visible( true ); |
| | | dlg.dropDownStringListGeneral().Visible( true ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableBusinessTypes(GlobalOTDTable) ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableScenarioNames( GlobalOTDTable ) ); |
| | | dlg.checkboxIsKeyProduct().Visible( true ); |
| | | dlg.checkboxCreatePurchaseSupplyProduct().Visible( true ); |
| | | dlg.NewScenario( ScenarioManager, selection, true ); |
| | |
| | | dlg := construct( DialogCreateEditScenario ); |
| | | dlg.checkboxEnableSync().Visible( true ); |
| | | dlg.dropDownStringListGeneral().Visible( true ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableBusinessTypes(GlobalOTDTable) ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableScenarioNames( GlobalOTDTable ) ); |
| | | dlg.checkboxIsKeyProduct().Visible( true ); |
| | | dlg.checkboxCreatePurchaseSupplyProduct().Visible( true ); |
| | | parent := selection.Element( 0 ).Parent(); |
| | |
| | | dlg.checkboxEnableSync().Checked( false ); |
| | | dlg.checkboxEnableSync().Visible( false ); |
| | | dlg.dropDownStringListGeneral().Visible( false ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableBusinessTypes(GlobalOTDTable) ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableScenarioNames( GlobalOTDTable ) ); |
| | | dlg.checkboxIsKeyProduct().Visible( false ); |
| | | dlg.checkboxCreatePurchaseSupplyProduct().Visible( false ); |
| | | dlg.NewScenario( ScenarioManager, selection ); |
| | |
| | | dlg.checkboxEnableSync().Checked( false ); |
| | | dlg.checkboxEnableSync().Visible( false ); |
| | | dlg.dropDownStringListGeneral().Visible( false ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableBusinessTypes(GlobalOTDTable) ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableScenarioNames( GlobalOTDTable ) ); |
| | | dlg.checkboxIsKeyProduct().Visible( false ); |
| | | dlg.checkboxCreatePurchaseSupplyProduct().Visible( false ); |
| | | parent := selection.Element( 0 ).Parent(); |
| | |
| | | // Edit scenario |
| | | dlg := construct( DialogCreateEditScenario ); |
| | | dlg.dropDownStringListGeneral().Visible( selection.EnableSync() ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableBusinessTypes(GlobalOTDTable) ); |
| | | dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableScenarioNames( GlobalOTDTable ) ); |
| | | dlg.checkboxIsKeyProduct().Visible( selection.EnableSync() ); |
| | | dlg.checkboxCreatePurchaseSupplyProduct().Visible( selection.EnableSync() ); |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | forms |
| | | { |
| | | form_legacy_1 |
| | | { |
| | | title: 'Scenario manager' |
| | | shown: true |
| | | componentID: 'FormScenarioManager' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 8 |
| | | columnPosition: 1 |
| | | columnSpan: 5 |
| | | } |
| | | components |
| | | { |
| | | FormScenarioManager_ListScenario |
| | | { |
| | | } |
| | | FormScenarioManager_DataSetLevelScenario |
| | | { |
| | | groupDepth: -1 |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | title: 'All constraints' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 90 |
| | | } |
| | | column_Name |
| | | { |
| | | columnId: 'Name' |
| | | dataPath: 'Name' |
| | | dataType: 'string' |
| | | title: 'åç§°' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 277 |
| | | } |
| | | column_ChangedBy |
| | | { |
| | | columnId: 'ChangedBy' |
| | | dataPath: 'ChangedBy' |
| | | dataType: 'string' |
| | | title: 'Changed by' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 106 |
| | | } |
| | | column_ChangedOn |
| | | { |
| | | columnId: 'ChangedOn' |
| | | dataPath: 'ChangedOn' |
| | | dataType: 'datetime' |
| | | title: 'Changed on' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 99 |
| | | } |
| | | column_StorageMode |
| | | { |
| | | columnId: 'StorageMode' |
| | | dataPath: 'StorageMode' |
| | | dataType: 'string' |
| | | title: 'StorageMode' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 40 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_legacy_2 |
| | | { |
| | | title: 'Assumptions' |
| | | shown: true |
| | | componentID: 'FormAssumptions' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 9 |
| | | rowSpan: 8 |
| | | columnPosition: 1 |
| | | columnSpan: 5 |
| | | } |
| | | components |
| | | { |
| | | FormAssumptions_ListAssumptions |
| | | { |
| | | } |
| | | FormAssumptions_DataSetLevelAssumptions |
| | | { |
| | | groupDepth: -1 |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | title: 'All constraints' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | title: 'ç±»å«' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 108 |
| | | } |
| | | column_Importance |
| | | { |
| | | columnId: 'Importance' |
| | | dataPath: 'Importance' |
| | | dataType: 'string' |
| | | title: 'éè¦æ§' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 110 |
| | | } |
| | | column_Title |
| | | { |
| | | columnId: 'Title' |
| | | dataPath: 'Title' |
| | | dataType: 'string' |
| | | title: 'æ é¢' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ChangedBy |
| | | { |
| | | columnId: 'ChangedBy' |
| | | dataPath: 'ChangedBy' |
| | | dataType: 'string' |
| | | title: 'Changed by' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_CreatedOn |
| | | { |
| | | columnId: 'CreatedOn' |
| | | dataPath: 'CreatedOn' |
| | | dataType: 'datetime' |
| | | title: 'Created on' |
| | | index: 5 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormScenariosKPIsComparison |
| | | { |
| | | title: 'QLibMacroPlannerWebUI::FormScenariosKPIsComparison' |
| | | shown: true |
| | | componentID: 'QLibMacroPlannerWebUI::FormScenariosKPIsComparison' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 16 |
| | | columnPosition: 6 |
| | | columnSpan: 7 |
| | | } |
| | | components |
| | | { |
| | | FormScenariosKPIsComparison_MatrixEditorFinancialKPIs |
| | | { |
| | | gridColor: '#c4c4c4' |
| | | totalHeaderWidth: 200 |
| | | attributeHeaderWidthRatio: 0.6 |
| | | nameHeaderWidthRatio: 0.4 |
| | | columnWidth: 100 |
| | | horizontalGrid: true |
| | | verticalGrid: true |
| | | backendState |
| | | { |
| | | componentId: 'QLibMacroPlannerWebUI::FormScenariosKPIsComparison.MatrixEditorFinancialKPIs' |
| | | state |
| | | { |
| | | cells |
| | | { |
| | | attributes |
| | | { |
| | | attribute_DisplayValue |
| | | { |
| | | type: 'MatrixEditorWebApiCellDataModelInterest' |
| | | index: 0 |
| | | rowsubtotal: '' |
| | | columnsubtotal: '' |
| | | attribute: 'DisplayValue' |
| | | } |
| | | } |
| | | } |
| | | columns |
| | | { |
| | | sorting |
| | | { |
| | | criteria: '' |
| | | } |
| | | } |
| | | rows |
| | | { |
| | | sorting |
| | | { |
| | | criteria: "datamember:'KPISetting.DisplayIndex'" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 0 |
| | | } |
| | | components |
| | | { |
| | | FormOptimizerPuzzles_ListOptimizerPuzzles |
| | | { |
| | | } |
| | | FormOptimizerPuzzles_DataSetLevelOptimizerPuzzles |
| | | { |
| | | groupDepth: -1 |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | title: 'All constraints' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Name |
| | | { |
| | | columnId: 'Name' |
| | | dataPath: 'Name' |
| | | dataType: 'string' |
| | | title: 'åç§°' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 109 |
| | | } |
| | | column_Description |
| | | { |
| | | columnId: 'Description' |
| | | dataPath: 'Description' |
| | | dataType: 'string' |
| | | title: 'æè¿°' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 207 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormKPI |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: true |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 1 |
| | | } |
| | | components |
| | | { |
| | | FormKPI_PanelKPI |
| | | { |
| | | sizeRatio: 1 |
| | | activeChild: 'PanelKPISelection' |
| | | } |
| | | FormKPI_PanelKPIDashboard |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormKPI_PanelKPISelection |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormKPI_ListKPISelection |
| | | { |
| | | QuillViewData |
| | | { |
| | | Food_KPISetting: 'Cost of sales;Fulfillment;Fulfillment target;Inventory holding cost;Labor cost;Margin;Safety stock;Sales;Sourcing cost;Total CO2 emission;Transportation cost;Volume' |
| | | } |
| | | } |
| | | FormKPI_DataSetLevelKPISelection |
| | | { |
| | | groupDepth: -1 |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | title: 'All constraints' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Name |
| | | { |
| | | columnId: 'Name' |
| | | dataPath: 'Name' |
| | | dataType: 'string' |
| | | title: 'åç§°' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 200 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | index: 3 |
| | | image: 'ELEMENTS_TREE_EDIT' |
| | | page: 'applicationDevelopmentActionBarPageDef' |
| | | group: '' |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'Business_Type_Maintain' |
| | | name: 'Business Type Maintain' |
| | | isglobal: false |
| | | isroot: true |
| | | } |
| | |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 10 |
| | | rowSpan: 16 |
| | | columnPosition: 1 |
| | | columnSpan: 6 |
| | | } |
| | | components |
| | | { |
| | | FormInterfaceTest_PanelInterfaceOptions |
| | | FormInterfaceTest_PanelInterfaceOption1 |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormInterfaceTest_PanelInterfaceOption2 |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormInterfaceTest_PanelInterfaceOption3 |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormInterfaceTest_PanelInterfaceOption4 |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormInterfaceTest_PanelInterfaceTest981 |
| | | FormInterfaceTest_PanelInterfaceGlobal_BrokerExecuteLog |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | |
| | | FormInterfaceTest_DataSetLevelInterfaceTest |
| | | { |
| | | groupDepth: -1 |
| | | column_BrokerName |
| | | sort: 'IsSuccess' |
| | | column_ImageExecutionStatus |
| | | { |
| | | columnId: 'BrokerName' |
| | | dataPath: 'BrokerName' |
| | | columnId: 'ImageExecutionStatus' |
| | | dataPath: 'ImageExecutionStatus' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 150 |
| | | width: 37 |
| | | } |
| | | column_ElementTotal |
| | | column_ExecuteUser |
| | | { |
| | | columnId: 'ElementTotal' |
| | | dataPath: 'ElementTotal' |
| | | dataType: 'number' |
| | | columnId: 'ExecuteUser' |
| | | dataPath: 'ExecuteUser' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ErrorDateTime |
| | | { |
| | | columnId: 'ErrorDateTime' |
| | | dataPath: 'ErrorDateTime' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ErrorMessage |
| | | { |
| | | columnId: 'ErrorMessage' |
| | | dataPath: 'ErrorMessage' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ErrorNo |
| | | { |
| | | columnId: 'ErrorNo' |
| | | dataPath: 'ErrorNo' |
| | | dataType: 'number' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 150 |
| | | width: 110 |
| | | } |
| | | column_IsSuccess |
| | | { |
| | | columnId: 'IsSuccess' |
| | | dataPath: 'IsSuccess' |
| | | dataType: 'boolean' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 96 |
| | | } |
| | | column_BrokerName |
| | | { |
| | | columnId: 'BrokerName' |
| | | dataPath: 'BrokerName' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 229 |
| | | } |
| | | column_ElementTotal |
| | | { |
| | | columnId: 'ElementTotal' |
| | | dataPath: 'ElementTotal' |
| | | dataType: 'number' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 87 |
| | | } |
| | | column_ErrorDateTime |
| | | { |
| | | columnId: 'ErrorDateTime' |
| | | dataPath: 'ErrorDateTime' |
| | | dataType: 'string' |
| | | index: 5 |
| | | subtotals: '' |
| | | width: 150 |
| | | width: 121 |
| | | } |
| | | column_ErrorMessage |
| | | { |
| | | columnId: 'ErrorMessage' |
| | | dataPath: 'ErrorMessage' |
| | | dataType: 'string' |
| | | index: 6 |
| | | subtotals: '' |
| | | width: 86 |
| | | } |
| | | column_ErrorNo |
| | | { |
| | | columnId: 'ErrorNo' |
| | | dataPath: 'ErrorNo' |
| | | dataType: 'number' |
| | | index: 7 |
| | | subtotals: '' |
| | | width: 86 |
| | | } |
| | | column_Name |
| | | { |
| | | columnId: 'Name' |
| | | dataPath: 'Name' |
| | | dataType: 'string' |
| | | index: 6 |
| | | index: 8 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | |
| | | columnId: 'SuccessDateTime' |
| | | dataPath: 'SuccessDateTime' |
| | | dataType: 'string' |
| | | index: 7 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormBusinessType |
| | | { |
| | | title: 'QTIANMA_JITUAN::FormBusinessType' |
| | | shown: true |
| | | componentID: 'QTIANMA_JITUAN::FormBusinessType' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 11 |
| | | rowSpan: 6 |
| | | columnPosition: 1 |
| | | columnSpan: 6 |
| | | } |
| | | components |
| | | { |
| | | FormBusinessType_ListBusinessType |
| | | { |
| | | } |
| | | FormBusinessType_DataSetLevelBusinessType |
| | | { |
| | | groupDepth: -1 |
| | | column_BusinessTypeName |
| | | { |
| | | columnId: 'BusinessTypeName' |
| | | dataPath: 'BusinessTypeName' |
| | | dataType: 'string' |
| | | index: 0 |
| | | index: 9 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | |
| | | columnPosition: 7 |
| | | columnSpan: 6 |
| | | } |
| | | components: null |
| | | components |
| | | { |
| | | FormShowInterfaceData_MatrixEditorShowInterfaceData |
| | | { |
| | | gridColor: '#c4c4c4' |
| | | totalHeaderWidth: 200 |
| | | attributeHeaderWidthRatio: 0.6 |
| | | nameHeaderWidthRatio: 0.4 |
| | | columnWidth: 100 |
| | | horizontalGrid: true |
| | | verticalGrid: true |
| | | backendState |
| | | { |
| | | componentId: 'QTIANMA_JITUAN::FormShowInterfaceData.MatrixEditorShowInterfaceData' |
| | | state |
| | | { |
| | | cells |
| | | { |
| | | attributes |
| | | { |
| | | attribute_Value |
| | | { |
| | | type: 'MatrixEditorWebApiCellDataModelInterest' |
| | | index: 0 |
| | | rowsubtotal: '' |
| | | columnsubtotal: '' |
| | | attribute: 'Value' |
| | | } |
| | | } |
| | | } |
| | | columns |
| | | { |
| | | sorting |
| | | { |
| | | criteria: "datamember:'ColumnIndex'" |
| | | } |
| | | } |
| | | rows |
| | | { |
| | | sorting |
| | | { |
| | | criteria: "datamember:'RowNr'" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |