Merge remote-tracking branch 'refs/remotes/origin/dev'
已重命名1个文件
已复制2个文件
已修改100个文件
已添加525个文件
已删除45个文件
| | |
| | | **/LibUserSettings/** |
| | | |
| | | /.idea |
| | | _Main/UI/MacroPlannerWebApp/_ROOT_Project_MacroPlannerWebApp.qp |
| | | *.properties |
| | |
| | | { |
| | | DefaultText: 'Revert' |
| | | } |
| | | InfoMessage Scenario_General_IsReleased |
| | | { |
| | | DefaultText: 'Not allowed on a released scenario' |
| | | } |
| | | InfoMessage Strategy_CampaignOptimizer_DisableTooltip |
| | | { |
| | | DefaultText: 'When disabled, the optimizer is only allowed to replan the quantities of the campaigns based on the constraints of the campaigns created manually.' |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsReleased |
| | | { |
| | | #keys: '3[412960.0.172790038][412960.0.172790037][412960.0.172790039]' |
| | | Description: 'è¯¥çæ¬æ¯å¦å·²åå¸' |
| | | ValueType: Boolean |
| | | InterfaceProperties { Accessibility: 'Module' } |
| | | } |
| | |
| | | { |
| | | feedback_o := Translations::Scenario_General_IsDeleted(); |
| | | } |
| | | else if( this.IsReleased() ){ |
| | | feedback_o := Translations::Scenario_General_IsReleased(); |
| | | } |
| | | |
| | | return feedback_o = ''; |
| | | *] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SetReleased |
| | | { |
| | | Description: '设置æåºæ¯çåå¸ç¶æ' |
| | | IsAbstract: true |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-15-2023 (created) |
| | | this.IsReleased( true ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | MethodOverride SetReleased |
| | | { |
| | | TextBody: 'this.IsReleased( true );' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | EDIBroker Broker_OTD_VersionControl |
| | | { |
| | | MDSDefinition: GlobalOTDTable |
| | | TimeZone: 'ACT' |
| | | UseOSTimeZone: false |
| | | EDIModelLink.Destination MappingVersionControl |
| | | { |
| | | EDIMLTable MappingVersionControl |
| | | { |
| | | PrimaryKeyColumns: EndTime |
| | | PrimaryKeyColumns: ProductID |
| | | PrimaryKeyColumns: StartTime |
| | | PrimaryKeyColumns: StockingPointID |
| | | PrimaryKeyColumns: VersionID |
| | | TargetType: MappingVersionControl |
| | | TypeIndex: TypeIndexVersionControl |
| | | EDIMLColumn CreateTime { Attribute: CreateTime ValueType: DateTime } |
| | | EDIMLColumn DataFrom { Attribute: DataFrom ValueType: String } |
| | | EDIMLColumn DataTo { Attribute: DataTo ValueType: String } |
| | | EDIMLColumn EndTime { Attribute: EndTime ValueType: DateTime } |
| | | EDIMLColumn ProductID { Attribute: ProductID ValueType: String } |
| | | EDIMLColumn Qty { Attribute: Qty ValueType: Real } |
| | | EDIMLColumn ReleaseTime { Attribute: ReleaseTime ValueType: DateTime } |
| | | EDIMLColumn StartTime { Attribute: StartTime ValueType: DateTime } |
| | | EDIMLColumn StockingPointID { Attribute: StockingPointID ValueType: String } |
| | | EDIMLColumn User { Attribute: User ValueType: String } |
| | | EDIMLColumn VersionID { Attribute: VersionID ValueType: String } |
| | | EDIMLColumn VersionName { Attribute: VersionName ValueType: String } |
| | | } |
| | | } |
| | | EDIODBCLink.Source MID_VERSIONCONTROL |
| | | { |
| | | DataIntegrityStrategy: 'Disabled' |
| | | SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle' |
| | | EDIODBCLinkTable MID_VERSIONCONTROL |
| | | { |
| | | OthersMayCreateTable: true |
| | | OthersMayDeleteRow: true |
| | | OthersMayDropTable: true |
| | | OthersMayFlushTable: true |
| | | OthersMayInsertRow: true |
| | | Parameters: '/owner="TIANMA"' |
| | | PrimaryKeyColumns: ENDTIME |
| | | PrimaryKeyColumns: ID |
| | | PrimaryKeyColumns: PRODUCTID |
| | | PrimaryKeyColumns: STARTTIME |
| | | PrimaryKeyColumns: STOCKINGPOINTID |
| | | RecordModificationHintStrategy: 'None' |
| | | EDIODBCLinkColumn CREATETIME |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn DATAFROM |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn DATATO |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn ENDTIME |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn ID |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn NAME |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn PRODUCTID |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn QTY |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: Real |
| | | } |
| | | EDIODBCLinkColumn RELEASETIME |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn STARTTIME |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn STOCKINGPOINTID |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn USER |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | } |
| | | } |
| | | EDITransformation.Transformation TransformationVersionControl |
| | | { |
| | | EDITableTransformation |
| | | { |
| | | InputTable: MID_VERSIONCONTROL |
| | | OutputTable: MappingVersionControl |
| | | EDIColumnMatch { InputColumn: CREATETIME OutputColumn: CreateTime } |
| | | EDIColumnMatch { InputColumn: DATAFROM OutputColumn: DataFrom } |
| | | EDIColumnMatch { InputColumn: DATATO OutputColumn: DataTo } |
| | | EDIColumnMatch { InputColumn: ENDTIME OutputColumn: EndTime } |
| | | EDIColumnMatch { InputColumn: ID OutputColumn: VersionID } |
| | | EDIColumnMatch { InputColumn: NAME OutputColumn: VersionName } |
| | | EDIColumnMatch { InputColumn: PRODUCTID OutputColumn: ProductID } |
| | | EDIColumnMatch { InputColumn: QTY OutputColumn: Qty } |
| | | EDIColumnMatch { InputColumn: RELEASETIME OutputColumn: ReleaseTime } |
| | | EDIColumnMatch { InputColumn: STARTTIME OutputColumn: StartTime } |
| | | EDIColumnMatch { InputColumn: STOCKINGPOINTID OutputColumn: StockingPointID } |
| | | EDIColumnMatch { InputColumn: USER OutputColumn: User } |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | EDIBroker Broker_OTD_VersionControlToDB |
| | | { |
| | | MDSDefinition: GlobalOTDTable |
| | | TimeZone: 'ACT' |
| | | UseOSTimeZone: false |
| | | EDIModelLink.Source MappingVersionControlToDB |
| | | { |
| | | EDIMLTable MappingVersionControl |
| | | { |
| | | PrimaryKeyColumns: EndTime |
| | | PrimaryKeyColumns: ProductID |
| | | PrimaryKeyColumns: StartTime |
| | | PrimaryKeyColumns: StockingPointID |
| | | PrimaryKeyColumns: VersionID |
| | | TargetType: MappingVersionControl |
| | | TypeIndex: TypeIndexVersionControl |
| | | EDIMLColumn CreateTime { Attribute: CreateTime ValueType: DateTime } |
| | | EDIMLColumn DataFrom { Attribute: DataFrom ValueType: String } |
| | | EDIMLColumn DataTo { Attribute: DataTo ValueType: String } |
| | | EDIMLColumn EndTime { Attribute: EndTime ValueType: DateTime } |
| | | EDIMLColumn ProductID { Attribute: ProductID ValueType: String } |
| | | EDIMLColumn Qty { Attribute: Qty ValueType: Real } |
| | | EDIMLColumn ReleaseTime { Attribute: ReleaseTime ValueType: DateTime } |
| | | EDIMLColumn StartTime { Attribute: StartTime ValueType: DateTime } |
| | | EDIMLColumn StockingPointID { Attribute: StockingPointID ValueType: String } |
| | | EDIMLColumn User { Attribute: User ValueType: String } |
| | | EDIMLColumn VersionID { Attribute: VersionID ValueType: String } |
| | | EDIMLColumn VersionName { Attribute: VersionName ValueType: String } |
| | | } |
| | | } |
| | | EDIODBCLink.Destination MID_VERSIONCONTROLTODB |
| | | { |
| | | DataIntegrityStrategy: 'Disabled' |
| | | SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle' |
| | | EDIODBCLinkTable MID_VERSIONCONTROL |
| | | { |
| | | MayCreateTable: true |
| | | MayDeleteRow: true |
| | | MayDropTable: true |
| | | MayFlushTable: true |
| | | MayInsertRow: true |
| | | Parameters: '/owner="TIANMA"' |
| | | PrimaryKeyColumns: ENDTIME |
| | | PrimaryKeyColumns: ID |
| | | PrimaryKeyColumns: PRODUCTID |
| | | PrimaryKeyColumns: STARTTIME |
| | | PrimaryKeyColumns: STOCKINGPOINTID |
| | | RecordModificationHintStrategy: 'None' |
| | | EDIODBCLinkColumn CREATETIME |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn DATAFROM |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn DATATO |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn ENDTIME |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn ID |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn NAME |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn PRODUCTID |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn QTY |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: Real |
| | | } |
| | | EDIODBCLinkColumn RELEASETIME |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn STARTTIME |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn STOCKINGPOINTID |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | EDIODBCLinkColumn USER |
| | | { |
| | | MayUpdateColumn: true |
| | | ValueType: String |
| | | } |
| | | } |
| | | } |
| | | EDITransformation.Transformation TransformationVersionControlToDB |
| | | { |
| | | EDITableTransformation |
| | | { |
| | | InputTable: MappingVersionControl |
| | | OutputTable: MID_VERSIONCONTROL |
| | | EDIColumnMatch { InputColumn: CreateTime OutputColumn: CREATETIME } |
| | | EDIColumnMatch { InputColumn: DataFrom OutputColumn: DATAFROM } |
| | | EDIColumnMatch { InputColumn: DataTo OutputColumn: DATATO } |
| | | EDIColumnMatch { InputColumn: EndTime OutputColumn: ENDTIME } |
| | | EDIColumnMatch { InputColumn: ProductID OutputColumn: PRODUCTID } |
| | | EDIColumnMatch { InputColumn: Qty OutputColumn: QTY } |
| | | EDIColumnMatch { InputColumn: ReleaseTime OutputColumn: RELEASETIME } |
| | | EDIColumnMatch { InputColumn: StartTime OutputColumn: STARTTIME } |
| | | EDIColumnMatch { InputColumn: StockingPointID OutputColumn: STOCKINGPOINTID } |
| | | EDIColumnMatch { InputColumn: User OutputColumn: USER } |
| | | EDIColumnMatch { InputColumn: VersionID OutputColumn: ID } |
| | | EDIColumnMatch { InputColumn: VersionName OutputColumn: NAME } |
| | | } |
| | | } |
| | | } |
| | |
| | | #parent: #root |
| | | InfoMessages id:#InfoMessages #extension |
| | | { |
| | | } |
| | | InfoMessage FilllingCapacity_NotRelease |
| | | { |
| | | DefaultText: 'other scheme is already released.' |
| | | } |
| | | InfoMessage FilllingCapacity_ValidateInput |
| | | { |
| | | DefaultText: 'Please input validate value !' |
| | | } |
| | | } |
| | |
| | | #parent: #root |
| | | ContentMapperProcessor ContentMapperReponse |
| | | { |
| | | DefaultMappingName: 'PanelMaterialResponseResult' |
| | | PosX: 330 |
| | | PosY: 450 |
| | | ReplyChannelOutputs: QuintiqEndpoint |
| | | ConditionalMapping |
| | | { |
| | | ExpectedValue: '/panelMaterial/send' |
| | | MappingName: 'PanelMaterialResponseResult1' |
| | | SourceMessagePath |
| | | { |
| | | Path: 'Header' |
| | | } |
| | | SourceMessagePath |
| | | { |
| | | Path: 'path' |
| | | SequenceNr: 1 |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CapacityAllocationResults_GlobalOTDTable_GlobalOTDTable_CapacityAllocationResults |
| | | { |
| | | #keys: '1[414702.0.340560333]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDTable |
| | | { |
| | | #keys: '3[414702.0.340560335][414702.0.340560334][414702.0.340560336]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CapacityAllocationResults |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide CapacityAllocationResults |
| | | { |
| | | #keys: '3[414702.0.340560338][414702.0.340560337][414702.0.340560339]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDTable |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CapacityAndSaleBudgeFilterBusinessType_MPSync_MPSync_CapacityAndSaleBudgeFilterBusinessType |
| | | { |
| | | #keys: '1[414384.0.873958122]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MPSync |
| | | { |
| | | #keys: '3[414384.0.873958124][414384.0.873958123][414384.0.873958125]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CapacityAndSaleBudgeFilterBusinessType |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide CapacityAndSaleBudgeFilterBusinessType |
| | | { |
| | | #keys: '3[414384.0.873958127][414384.0.873958126][414384.0.873958128]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MPSync |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CapacityAndSaleBudgeFilterPlaceOfProductionOfArray_MPSync_MPSync_CapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | { |
| | | #keys: '1[414384.0.873958138]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MPSync |
| | | { |
| | | #keys: '3[414384.0.873958140][414384.0.873958139][414384.0.873958141]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide CapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | { |
| | | #keys: '3[414384.0.873958143][414384.0.873958142][414384.0.873958144]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MPSync |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation H_MaterialHedgingResult_MacroPlan_MacroPlan_H_MaterialHedgingResult |
| | | { |
| | | #keys: '1[414724.0.133544606]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414724.0.133544608][414724.0.133544607][414724.0.133544609]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: H_MaterialHedgingResult |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide H_MaterialHedgingResult |
| | | { |
| | | #keys: '3[414724.0.133544611][414724.0.133544610][414724.0.133544612]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation MappingAnnualBudget_MPSync_MPSync_MappingAnnualBudget |
| | | { |
| | | #keys: '1[414384.0.874289921]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MPSync |
| | | { |
| | | #keys: '3[414384.0.874289923][414384.0.874289922][414384.0.874289924]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: MappingAnnualBudget |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide MappingAnnualBudget |
| | | { |
| | | #keys: '3[414384.0.874289926][414384.0.874289925][414384.0.874289927]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MPSync |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation MappingVersionControl_GlobalOTDTable_GlobalOTDTable_MappingVersionControl |
| | | { |
| | | #keys: '1[412960.0.150120043]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDTable |
| | | { |
| | | #keys: '3[412960.0.150120045][412960.0.150120044][412960.0.150120046]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: MappingVersionControl |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide MappingVersionControl |
| | | { |
| | | #keys: '3[412960.0.150120048][412960.0.150120047][412960.0.150120049]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDTable |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation OrderLockLog_MacroPlan_MacroPlan_OrderLockLog |
| | | { |
| | | #keys: '1[412960.0.217504333]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[412960.0.217504335][412960.0.217504334][412960.0.217504336]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: OrderLockLog |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide OrderLockLog |
| | | { |
| | | #keys: '3[412960.0.217504338][412960.0.217504337][412960.0.217504339]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
| | |
| | | #keys: '3[414382.0.444850087][414382.0.444850086][414382.0.444850088]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: PriorityFactor |
| | | OwningSide: 'Reference' |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation PriorityFactor_MacroPlan_MacroPlan_PriorityFactor |
| | | { |
| | | #keys: '1[414382.0.475830114]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414382.0.475830116][414382.0.475830115][414382.0.475830117]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: PriorityFactor |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide PriorityFactor |
| | | { |
| | | #keys: '3[414382.0.475830119][414382.0.475830118][414382.0.475830120]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation PriorityPolicy_MacroPlan_MacroPlan_PriorityPolicy |
| | | { |
| | | #keys: '1[414382.0.488041940]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414382.0.488041942][414382.0.488041941][414382.0.488041943]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: PriorityPolicy |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide PriorityPolicy |
| | | { |
| | | #keys: '3[414382.0.488041945][414382.0.488041944][414382.0.488041946]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation PriorityResultBusinessTypeDetail_PriorityResult_PriorityResult_PriorityResultBusinessTypeDetail |
| | | { |
| | | #keys: '1[414382.0.504275181]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide PriorityResult |
| | | { |
| | | #keys: '3[414382.0.504275183][414382.0.504275182][414382.0.504275184]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: PriorityResultBusinessTypeDetail |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide PriorityResultBusinessTypeDetail |
| | | { |
| | | #keys: '3[414382.0.504275186][414382.0.504275185][414382.0.504275187]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: PriorityResult |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation PriorityResultGroupDetail_PriorityResult_PriorityResult_PriorityResultGroupDetail |
| | | { |
| | | #keys: '1[414382.0.504275195]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide PriorityResult |
| | | { |
| | | #keys: '3[414382.0.504275197][414382.0.504275196][414382.0.504275198]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: PriorityResultGroupDetail |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide PriorityResultGroupDetail |
| | | { |
| | | #keys: '3[414382.0.504275200][414382.0.504275199][414382.0.504275201]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: PriorityResult |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation PriorityResult_MacroPlan_MacroPlan_PriorityResult |
| | | { |
| | | #keys: '1[414382.0.504275161]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414382.0.504275163][414382.0.504275162][414382.0.504275164]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: PriorityResult |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide PriorityResult |
| | | { |
| | | #keys: '3[414382.0.504275166][414382.0.504275165][414382.0.504275167]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation VersionControl_GlobalOTDTable_GlobalOTDTable_VersionControl |
| | | { |
| | | #keys: '1[412960.0.134860006]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDTable |
| | | { |
| | | #keys: '3[412960.0.134860008][412960.0.134860007][412960.0.134860009]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: VersionControl |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide VersionControl |
| | | { |
| | | #keys: '3[412960.0.134860011][412960.0.134860010][412960.0.134860012]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDTable |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation VersionStatusDetail_VersionStatus_VersionStatus_VersionStatusDetail |
| | | { |
| | | #keys: '1[412960.0.143214355]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide VersionStatus |
| | | { |
| | | #keys: '3[412960.0.143214357][412960.0.143214356][412960.0.143214358]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: VersionStatusDetail |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide VersionStatusDetail |
| | | { |
| | | #keys: '3[412960.0.143214360][412960.0.143214359][412960.0.143214361]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: VersionStatus |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation VersionStatus_GlobalOTDTable_GlobalOTDTable_VersionStatus |
| | | { |
| | | #keys: '1[412960.0.134830056]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDTable |
| | | { |
| | | #keys: '3[412960.0.134830058][412960.0.134830057][412960.0.134830059]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: VersionStatus |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide VersionStatus |
| | | { |
| | | #keys: '3[412960.0.134830061][412960.0.134830060][412960.0.134830062]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDTable |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Division |
| | | { |
| | | #keys: '3[414702.0.340560478][414702.0.340560477][414702.0.340560479]' |
| | | Description: 'äºä¸é¨' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ModuleBase |
| | | { |
| | | #keys: '3[414702.0.340560468][414702.0.340560467][414702.0.340560469]' |
| | | Description: '模ç»åºå°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ModuleMaterialCode |
| | | { |
| | | #keys: '3[414702.0.340560429][414702.0.340560428][414702.0.340560430]' |
| | | Description: '模ç»ç©æç¼ç ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ModuleMeasurementUnit |
| | | { |
| | | #keys: '3[414702.0.340560458][414702.0.340560457][414702.0.340560459]' |
| | | Description: '模ç»åä½' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute NumberOfModules |
| | | { |
| | | #keys: '3[414702.0.340560442][414702.0.340560441][414702.0.340560443]' |
| | | Description: 'æ¨¡ç»æ°é' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute NumberOfPanels |
| | | { |
| | | #keys: '3[414702.0.340560391][414702.0.340560390][414702.0.340560392]' |
| | | Description: '颿¿æ°é' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PanelBase |
| | | { |
| | | #keys: '3[414702.0.340560371][414702.0.340560370][414702.0.340560372]' |
| | | Description: '颿¿åºå°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PanelMaterialCode |
| | | { |
| | | #keys: '3[414702.0.340560381][414702.0.340560380][414702.0.340560382]' |
| | | Description: '颿¿ç©æç¼ç ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PanelMeasurementUnit |
| | | { |
| | | #keys: '3[414702.0.340560404][414702.0.340560403][414702.0.340560405]' |
| | | Description: '颿¿åä½' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute RequirementDate |
| | | { |
| | | #keys: '3[414702.0.340560506][414702.0.340560505][414702.0.340560507]' |
| | | Description: 'éæ±æ¥æ' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionNumber |
| | | { |
| | | #keys: '3[414702.0.340560355][414702.0.340560354][414702.0.340560356]' |
| | | Description: 'çæ¬å·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateDate ( |
| | | GlobalOTDTable globalOTDTable, |
| | | MacroPlan macroPlan |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.CapacityAllocationResults( relflush ); |
| | | |
| | | finaleProduct_MPs := CapacityAllocationResults::ObtainTheFinalOutputProduct( macroPlan ); |
| | | |
| | | period_MPS := null( Period_MPs ); |
| | | traverse ( macroPlan, PeriodSpecification_MP, psmp, psmp.ID() = "Planning periods" ) { |
| | | period_MPS := selectsortedset( psmp, PeriodSpecificationPeriod.Period_MP, pmp, not pmp.IsHistorical(), pmp.StartDate() ); |
| | | } |
| | | |
| | | traverse ( finaleProduct_MPs, Elements, fpmp/*, fpmp.ID() = "ProXOver 1 D2.6 A"*/ ) { |
| | | traverse ( fpmp, ProductInStockingPoint_MP, pisp, /*pisp.Name() = "ProXOver 1 D2.6 A in Finished Cars (France)" and*/ not pisp.IsSystem() ) { |
| | | traverse ( period_MPS, Elements, pmp ) { |
| | | CapacityAllocationResults::IterativeGeneration( globalOTDTable, pisp, 1, null( NewSupply ), -1.0, pmp.StartDate() ); |
| | | } |
| | | // info( pisp.Name() ); |
| | | } |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod IterativeGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | ProductInStockingPoint_MP pisp, |
| | | Number numberOfLayers, |
| | | NewSupply finaleNewSupply, |
| | | Real finaleDependentDemand, |
| | | Date targetDate |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | traverse ( pisp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ), pispippl, pispippl.Start().Date() = targetDate ) { |
| | | traverse ( pispippl, NewSupply, ns, ns.Quantity() > 0 ) { |
| | | // info( "çæç产åï¼", pisp.ProductID(), " 产åå¨åºåç¹ï¼", pisp.Name(), " 屿°ï¼", numberOfLayers, " æ»ç产éï¼", ns.Quantity(), " æç»ä¾èµç©ææ°éï¼", finaleDependentDemand ); |
| | | if ( finaleDependentDemand < 0 ) { |
| | | finaleDependentDemand := ns.Quantity(); |
| | | } |
| | | if ( isnull( finaleNewSupply ) ) { |
| | | finaleNewSupply := ns; |
| | | } |
| | | if ( guard( ns.PeriodTask_MP().astype( PeriodTaskOperation ).DependentDemand( relsize ) > 0, false ) ) { |
| | | numberOfLayers++; |
| | | traverse ( ns, PeriodTask_MP.astype( PeriodTaskOperation ).DependentDemand, dd ) { |
| | | oo := ns.ProcessOutput().astype( OperationOutput ); |
| | | oi := dd.ProcessInput().astype( OperationInput ); |
| | | finaleDependentDemand := finaleDependentDemand * oo.Quantity() * oi.Quantity(); |
| | | // info( "ä¾èµéæ±äº§åIDï¼", dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), " ä¾èµæ°éï¼", dd.Quantity(), " å½å卿任å¡Keyï¼", dd.PeriodTask_MP().astype( PeriodTaskOperation ).Key() ); |
| | | CapacityAllocationResults::IterativeGeneration( globalOTDTable, dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(), numberOfLayers, finaleNewSupply, finaleDependentDemand, targetDate ); |
| | | } |
| | | // info( "----------------------------------------------------" ); |
| | | } else { |
| | | // info( "æ ä¾èµéæ±ï¼éè¦çæäº§è½åé
ç»æããã" ); |
| | | // info( "======" ); |
| | | pispPanel := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(); |
| | | pispModule := finaleNewSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(); |
| | | globalOTDTable.CapacityAllocationResults( relnew, |
| | | PanelBase := pispPanel.StockingPointID(), |
| | | PanelMaterialCode := pispPanel.ProductID(), |
| | | NumberOfPanels := finaleDependentDemand, |
| | | PanelMeasurementUnit := pispPanel.UnitOfMeasure_MP().Name(), |
| | | ModuleMaterialCode := pispModule.ProductID(), |
| | | NumberOfModules := finaleNewSupply.Quantity(), |
| | | ModuleMeasurementUnit := pispModule.UnitOfMeasure_MP().Name(), |
| | | ModuleBase := pispModule.StockingPointID(), |
| | | RequirementDate := finaleNewSupply.Start().Date() |
| | | ); |
| | | } |
| | | finaleNewSupply := null( NewSupply ); |
| | | } |
| | | numberOfLayers := 1; |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ObtainTheFinalOutputProduct ( |
| | | MacroPlan macroPlan |
| | | ) as owning Product_MPs |
| | | { |
| | | TextBody: |
| | | [* |
| | | finaleProducts := construct( Product_MPs ); |
| | | |
| | | traverse ( macroPlan, Product_MP, pmp, pmp.IsLeaf() ) { |
| | | flag := true; |
| | | traverse ( macroPlan, Routing.RoutingStep.Operation.OperationInput, oi, flag ) { |
| | | if ( pmp = oi.ProductInStockingPoint_MP().Product_MP() ) { |
| | | flag := false; |
| | | } |
| | | } |
| | | if ( flag ) { |
| | | finaleProducts.Add( pmp ); |
| | | } |
| | | } |
| | | |
| | | return &finaleProducts; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type CapacityAllocationResults |
| | | { |
| | | #keys: '5[414702.0.340560330][414702.0.340560328][0.0.0][414702.0.340560329][414702.0.340560331]' |
| | | BaseType: Object |
| | | Description: '产è½åé
ç»ææ¥è¡¨' |
| | | StructuredName: 'CapacityAllocationResultss' |
| | | } |
| | |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414384.0.810464687][414384.0.810464686][414384.0.810464688]' |
| | | Description: 'ä¸å¡ç±»å' |
| | | Description: 'ä¸å¡ç±»å(äºä¸é¨)' |
| | | ValueType: String |
| | | } |
| | |
| | | { |
| | | #keys: '5[414384.0.810464639][414384.0.810464637][0.0.0][414384.0.810464638][414384.0.810464640]' |
| | | BaseType: Object |
| | | Description: '产éé¢ç®' |
| | | Description: '产éé¢ç® ï¼ï¼ï¼å¼ç¨ï¼ï¼ï¼' |
| | | StructuredName: 'CapacityAndSaleBudges' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessTypeOrPlaceOfProductionOfArray |
| | | { |
| | | #keys: '3[414384.0.852466562][414384.0.852466561][414384.0.852466563]' |
| | | Description: 'äºä¸é¨/颿¿åºå°' |
| | | ValueType: String |
| | | } |
| | |
| | | for( j := 1; j <= 12; j := j + 1 ) { |
| | | monthString := "MONTH" + ifexpr( j < 10, "0" + [String]j, [String]j ); |
| | | scenarioManager.CapacityAndSaleBudgeChartElement( relnew, |
| | | BusinessTypeOrOrgCode := businessTypeString, |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessTypeString, |
| | | TimeStringAndScenarioName := monthString + " - " + scenarioName, |
| | | Quantity := Real::Random( 20.0, 30.0 ) ); |
| | | } |
| | |
| | | Attribute PlaceOfProductionOfArray |
| | | { |
| | | #keys: '3[414384.0.850180083][414384.0.850180082][414384.0.850180084]' |
| | | Description: 'ç»ç»ç¼ç ' |
| | | Description: '颿¿åºå°' |
| | | ValueType: String |
| | | } |
| | |
| | | #parent: #root |
| | | StaticMethod GetProductCodesByBusinessType ( |
| | | CapacityAndSaleBudgeChartRows list, |
| | | String businessTyoe |
| | | String businessType |
| | | ) as owning Strings |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-20-2023 (created) |
| | | return selectuniquevalues( list, Elements, item, |
| | | item.BusinessType() = businessTyoe, |
| | | item.BusinessType() ); |
| | | result := construct( Strings ); |
| | | rowList := selectset( list, Elements, item, item.BusinessType() = businessType ); |
| | | traverse( rowList, Elements, row ) { |
| | | result := result.Union( selectvalues( row, CapacityAndSaleBudgeChartRowProduct, cell, cell.ProductCode() ) ); |
| | | } |
| | | return &result; |
| | | *] |
| | | } |
| | |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-20-2023 (created) |
| | | return selectuniquevalues( list, Elements, item, |
| | | item.PlaceOfProductionOfArray() = placeOfProductionOfArray, |
| | | item.PlaceOfProductionOfArray() ); |
| | | result := construct( Strings ); |
| | | rowList := selectset( list, Elements, item, item.PlaceOfProductionOfArray() = placeOfProductionOfArray ); |
| | | traverse( rowList, Elements, row ) { |
| | | result := result.Union( selectvalues( row, CapacityAndSaleBudgeChartRowProduct, cell, cell.ProductCode() ) ); |
| | | } |
| | | return &result; |
| | | *] |
| | | } |
| | |
| | | // yypsybs Sep-18-2023 (created) |
| | | value := select( parent, CapacityAndSaleBudgeChartRowProduct, item, item.ProductCode() = productCode ); |
| | | if( isnull( value ) ) { |
| | | parent.CapacityAndSaleBudgeChartRowProduct( relnew, ProductCode := productCode ); |
| | | value := parent.CapacityAndSaleBudgeChartRowProduct( relnew, ProductCode := productCode ); |
| | | } |
| | | return value; |
| | | *] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PlaceOfProductionOfArray |
| | | { |
| | | #keys: '3[414384.0.864360344][414384.0.864360343][414384.0.864360345]' |
| | | Description: '颿¿åºå°' |
| | | ValueType: String |
| | | } |
| | |
| | | StaticMethod CreateIfNotExist ( |
| | | ScenarioManager scenarioManager, |
| | | String businessType, |
| | | String orgCode |
| | | String placeOfProductionOfArray |
| | | ) as CapacityAndSaleBudgeCompareItemRow |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | value := select( scenarioManager, CapacityAndSaleBudgeCompareItemRow, row, row.BusinessType() = businessType and row.OrgCode() = orgCode ); |
| | | value := select( scenarioManager, CapacityAndSaleBudgeCompareItemRow, row, row.BusinessType() = businessType and row.PlaceOfProductionOfArray() = placeOfProductionOfArray ); |
| | | if( isnull( value ) ) { |
| | | value := scenarioManager.CapacityAndSaleBudgeCompareItemRow( relnew, BusinessType := businessType, OrgCode := orgCode ); |
| | | value := scenarioManager.CapacityAndSaleBudgeCompareItemRow( relnew, BusinessType := businessType, PlaceOfProductionOfArray := placeOfProductionOfArray ); |
| | | } |
| | | return value; |
| | | *] |
| | |
| | | // yypsybs Sep-18-2023 (created) |
| | | value := select( parent, CapacityAndSaleBudgeCompareItemRowProduct, item, item.ProductCode() = productCode ); |
| | | if( isnull( value ) ) { |
| | | parent.CapacityAndSaleBudgeCompareItemRowProduct( relnew, ProductCode := productCode ); |
| | | value := parent.CapacityAndSaleBudgeCompareItemRowProduct( relnew, ProductCode := productCode ); |
| | | } |
| | | return value; |
| | | *] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414384.0.874249290][414384.0.874249289][414384.0.874249291]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateIfNotExist ( |
| | | MPSync parent, |
| | | String value |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-15-2023 (created) |
| | | old := select( parent, CapacityAndSaleBudgeFilterBusinessType, item, item.BusinessType() = value ); |
| | | if( isnull( old ) ) { |
| | | parent.CapacityAndSaleBudgeFilterBusinessType( relnew, |
| | | BusinessType := value ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type CapacityAndSaleBudgeFilterBusinessType |
| | | { |
| | | #keys: '5[414384.0.874249287][414384.0.874249285][0.0.0][414384.0.874249286][414384.0.874249288]' |
| | | BaseType: Object |
| | | Description: '对æ¯äºä¸é¨' |
| | | StructuredName: 'CapacityAndSaleBudgeFilterBusinessTypes' |
| | | } |
| | |
| | | ScenarioManager parent |
| | | ) |
| | | { |
| | | Description: 'åå§åæä»½' |
| | | Description: 'åå§å年份' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-15-2023 (created) |
| | |
| | | if( existList.Find( i ) = -1 ) { |
| | | parent.CapacityAndSaleBudgeFilterMonth( relnew, |
| | | MonthNo := i ); |
| | | } |
| | | } |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PlaceOfProductionOfArray |
| | | { |
| | | #keys: '3[414384.0.873958113][414384.0.873958112][414384.0.873958114]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateIfNotExist ( |
| | | MPSync parent, |
| | | String value |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-15-2023 (created) |
| | | old := select( parent, CapacityAndSaleBudgeFilterPlaceOfProductionOfArray, item, item.PlaceOfProductionOfArray() = value ); |
| | | if( isnull( old ) ) { |
| | | parent.CapacityAndSaleBudgeFilterPlaceOfProductionOfArray( relnew, |
| | | PlaceOfProductionOfArray := value ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type CapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | { |
| | | #keys: '5[414384.0.873958110][414384.0.873958108][0.0.0][414384.0.873958109][414384.0.873958111]' |
| | | BaseType: Object |
| | | Description: '对æ¯äºä¸é¨' |
| | | StructuredName: 'CapacityAndSaleBudgeFilterPlaceOfProductionOfArrays' |
| | | } |
| | |
| | | // yypsybs Sep-15-2023 (created) |
| | | existList := selectuniquevalues( parent, CapacityAndSaleBudgeFilterYear, item, item.YearNo() ); |
| | | nowYear := Date::Today().Year(); |
| | | for( i := nowYear; i <= nowYear + 10; i++ ) { |
| | | for( i := nowYear - 10; i <= nowYear; i++ ) { |
| | | if( existList.Find( i ) = -1 ) { |
| | | parent.CapacityAndSaleBudgeFilterYear( relnew, |
| | | YearNo := i ); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesSegmentName |
| | | { |
| | | #keys: '3[414382.0.475811339][414382.0.475811338][414382.0.475811340]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[414382.0.475811360][414382.0.475811359][414382.0.475811361]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: StockingPointID |
| | | } |
| | |
| | | |
| | | owner.FillingCapacityOrder(relnew,ProductID := data.ProductID(),BusinessType := data.BusinessType(),Customer := data.Customer(),CustomerID := data.CustomerID(), |
| | | Quantity := data.Quantity(),UnitOfMeasureName := data.UnitOfMeasureName(),PanelBigSheetQuantity := data.PanelBigSheetQuantity(),SalesAmount := data.SalesAmount(), |
| | | ForecastDemandDate := data.ForecastDemandDate(),DemandDate := data.DemandDate(),VerNo := data.VerNo() |
| | | ForecastDemandDate := data.ForecastDemandDate(),DemandDate := data.DemandDate(),VerNo := data.VerNo(),SalesSegmentName := data.SalesSegmentName() |
| | | ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsLocked |
| | | { |
| | | #keys: '3[412960.0.250388873][412960.0.250388872][412960.0.250388874]' |
| | | Description: 'æ¯å¦è¢«éå®' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LastModify |
| | | { |
| | | #keys: '3[412960.0.217504307][412960.0.217504306][412960.0.217504308]' |
| | | Description: 'æåä¿®æ¹äºº' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LastModifyTime |
| | | { |
| | | #keys: '3[412960.0.217504317][412960.0.217504316][412960.0.217504318]' |
| | | Description: 'æåæä½æ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod LockUnlock ( |
| | | MacroPlan owner, |
| | | CustomerOrders customerorders, |
| | | Boolean lock |
| | | ) |
| | | { |
| | | Description: 'éå®/è§£é订å' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-21-2023 (created) |
| | | lastmodifytime := DateTime::ActualTime(); |
| | | lastmodify := QuintiqUser::CurrentUser().Username(); |
| | | if( lock ){ |
| | | traverse( customerorders, Elements, order ){ |
| | | order.IsLocked( lock ); |
| | | order.LastModify( lastmodify ); |
| | | order.LastModifyTime( lastmodifytime ); |
| | | owner.OrderLockLog( relnew, |
| | | CustomerName := order.CustomerName(), |
| | | End := order.First().AsPlanningBaseSalesDemandInPeriod().End().Date(), |
| | | EndDate := order.EndDate(), |
| | | IsLocked := order.IsLocked(), |
| | | LastModify := order.LastModify(), |
| | | LastModifyTime := order.LastModifyTime(), |
| | | OrderID := order.OrderID(), |
| | | Price := order.Price(), |
| | | ProductID := order.ProductID(), |
| | | Quantity := order.Quantity(), |
| | | SalesSegmentName := order.SalesSegmentName(), |
| | | StockingPointID := order.StockingPointID(), |
| | | UnitOfMeasureName := order.UnitOfMeasureName(), |
| | | Notes := "æ·»å éå®" ); |
| | | } |
| | | }else{ |
| | | traverse( customerorders, Elements, order ){ |
| | | order.IsLocked( lock ); |
| | | order.LastModify( lastmodify ); |
| | | order.LastModifyTime( lastmodifytime ); |
| | | owner.OrderLockLog( relnew, |
| | | CustomerName := order.CustomerName(), |
| | | End := order.First().AsPlanningBaseSalesDemandInPeriod().End().Date(), |
| | | EndDate := order.EndDate(), |
| | | IsLocked := order.IsLocked(), |
| | | LastModify := order.LastModify(), |
| | | LastModifyTime := order.LastModifyTime(), |
| | | OrderID := order.OrderID(), |
| | | Price := order.Price(), |
| | | ProductID := order.ProductID(), |
| | | Quantity := order.Quantity(), |
| | | SalesSegmentName := order.SalesSegmentName(), |
| | | StockingPointID := order.StockingPointID(), |
| | | UnitOfMeasureName := order.UnitOfMeasureName(), |
| | | Notes := "è§£é¤éå®" ); |
| | | } |
| | | } |
| | | *] |
| | | } |
| | |
| | | filllingCapacityOrderScheme := owner.FilllingCapacityOrderScheme(relnew,SchemeName := schemeName,SchemeDate := schemeDate,BusinessType := businessType,Customer := customer,CustomerID := customerID, |
| | | SalesSegmentName := salesSegmentName); |
| | | |
| | | |
| | | traverse( fillingCapacityOrders,Elements,e) |
| | | { |
| | | e.SchemeName(schemeName); |
| | | e.IsFilling(true); |
| | | filllingCapacityOrderScheme.FillingCapacityOrder(relinsert, e); |
| | | } |
| | | |
| | | // çæ¬å· |
| | | verNoOrder := select( filllingCapacityOrderScheme,FillingCapacityOrder,o, |
| | | o.VerNo() <> '' |
| | | ) |
| | | |
| | | // éè¦å°éå®è®¢ååé¢å®è®¢ååæ¶ä¿åå°æ¹æ¡ä¸ |
| | | traverse( owner,CustomerAndForecastOrder,order) |
| | | { |
| | | |
| | | fillingOrder := owner.FillingCapacityOrder(relnew,BusinessType := order.BusinessType(),Customer := order.Customer(),CustomerID := order.CustomerID(), |
| | | DemandDate := order.DemandDate(),ForecastDemandDate := order.ForecastDemandDate(),IsFilling := true, |
| | | OrderType := 'ææ',PanelBigSheetQuantity := order.PanelBigSheetQuantity(),ProductID := order.ProductID(), |
| | | Quantity := order.Quantity(),SalesSegmentName := order.SalesSegmentName(),SalesAmount := order.SalesAmount(), |
| | | SchemeName := schemeName,StockingPointID := order.StockingPointID(),UnitOfMeasureName := order.UnitOfMeasureName(), |
| | | VerNo := verNoOrder.VerNo() |
| | | ); |
| | | |
| | | filllingCapacityOrderScheme.FillingCapacityOrder(relinsert, fillingOrder); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod HasAlreadyRelease ( |
| | | MacroPlan owner |
| | | ) as Boolean |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-19-2023 (created) |
| | | check := false; |
| | | value := selectobject( owner,FilllingCapacityOrderScheme,scheme, |
| | | scheme.IsRelease() |
| | | ) |
| | | |
| | | |
| | | |
| | | if(not isnull( value) ) |
| | | { |
| | | check := true; |
| | | } |
| | | return check; |
| | | *] |
| | | } |
| | |
| | | MatAttrSettingAndPlanStrategyDetail::CreateIfNotExist( mat2, "PROD_2", 1777.0, "PROD_2_DESC" ); |
| | | MatAttrSettingAndPlanStrategy::CreateIfNotExist( this, 3, "ææºäºä¸é¨", "MAT_3", "MAT_3", "TYPE_1", 233.0, "éç¨", "ç卿" ); |
| | | MatAttrSettingAndPlanStrategy::CreateIfNotExist( this, 4, "ææºäºä¸é¨", "MAT_4", "MAT_4", "TYPE_2", 233.0, "ä¸ç¨", "ç卿" ); |
| | | |
| | | |
| | | // yypsybs Sep-15-2023 (created) |
| | | info( "CapacityAndSaleBudge::InitTestData" ) |
| | | this.CapacityAndSaleBudge( relflush ); |
| | | for( i := 1; i < 100; i := i + 1 ) { |
| | | row := this.CapacityAndSaleBudge( relnew, |
| | | PlaceOfProductionOfArray := "颿¿åºå°" + [String]Number::Random( 1, 10 ), |
| | | BusinessType := "äºä¸é¨" + [String]Number::Random( 1, 10 ), |
| | | CapacityInPCSInMonth1 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth2 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth3 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth4 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth5 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth6 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth7 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth8 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth9 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth10 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth11 := Number::Random( 1, 10000 ), |
| | | CapacityInPCSInMonth12 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth1 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth2 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth3 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth4 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth5 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth6 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth7 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth8 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth9 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth10 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth11 := Number::Random( 1, 10000 ), |
| | | CapacityInSheetInMonth12 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth1 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth2 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth3 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth4 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth5 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth6 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth7 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth8 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth9 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth10 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth11 := Number::Random( 1, 10000 ), |
| | | SaleAmountInMonth12 := Number::Random( 1, 10000 ) |
| | | ); |
| | | row.CapacityInPCSTotal( row.GetCapacityInPCSInYear() ); |
| | | row.CapacityInSheetTotal( row.GetCapacityInSheetInYear() ); |
| | | row.SaleAmountTotal( row.GetSaleAmountInYear() ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | |
| | | replynvt := LibInt_MessageAccessor::CreateEmptyMessage(); |
| | | LibInt_MessageAccessor::SetHeaderProperty( replynvt, "Content-Type", "application/json" ); |
| | | LibInt_MessageAccessor::SetHeaderProperty( replynvt, "path", "/panelMaterial/send" ); |
| | | |
| | | rootNamedValue := replynvt.Root(); |
| | | bodyHandle := replynvt.GetHandle( "Body" ); |
| | | petHandle := replynvt.GetHandle( "Pet" ); |
| | | |
| | | //petHandle := replynvt.GetHandle( "Pet" ); |
| | | bodyNamedValue := rootNamedValue.Child( bodyHandle ); |
| | | petNamedValue := bodyNamedValue.AddChild( petHandle ); |
| | | categoryHandle := replynvt.GetHandle( "Category" ); |
| | | categoryNamedValue := petNamedValue.AddChild( categoryHandle ); |
| | | categoryIDHandle := replynvt.GetHandle( "Id" ); |
| | | categoryIDNamedValue := categoryNamedValue.AddChild( categoryIDHandle ); |
| | | categoryIDNamedValue.SetValue( 3 ); |
| | | categoryNameHandle := replynvt.GetHandle( "Name" ); |
| | | categoryNameNamedValue := categoryNamedValue.AddChild( categoryNameHandle ); |
| | | categoryNameNamedValue.SetValue( "Cat" ); |
| | | petNameHandle := replynvt.GetHandle( "Name" ); |
| | | petNameValue := petNamedValue.AddChild( petNameHandle ); |
| | | petNameValue.SetValue( "Pet1" ); |
| | | petIdHandle := replynvt.GetHandle( "PetId" ); |
| | | petIdNameValue := petNamedValue.AddChild( petIdHandle ); |
| | | petIdNameValue.SetValue( 1 ); |
| | | codeHandler := replynvt.GetHandle( "code" ); |
| | | codeNamedValue := bodyNamedValue.AddChild( codeHandler ); |
| | | codeNamedValue.SetValue( 200 ); |
| | | |
| | | photoUrlHandle := replynvt.GetHandle( "PhotoUrl" ); |
| | | photoUrlNameValue := petNamedValue.AddChild( photoUrlHandle ); |
| | | urlHandle := replynvt.GetHandle( "Url" ); |
| | | photoUrlNameValue.AddChild( urlHandle, "url1" ); |
| | | |
| | | statusHandle := replynvt.GetHandle( "Status" ); |
| | | statusNameValue := petNamedValue.AddChild( statusHandle ); |
| | | statusNameValue.SetValue( "available" ); |
| | | |
| | | tagHandle := replynvt.GetHandle( "Tag" ); |
| | | tagNameValue := petNamedValue.AddChild( tagHandle ); |
| | | tagIdHandle := replynvt.GetHandle( "Id" ); |
| | | tagNameValue.AddChild( tagIdHandle, 123 ); |
| | | tagNameHandle := replynvt.GetHandle( "Name" ); |
| | | tagNameValue.AddChild( tagNameHandle, "tag1" ); |
| | | |
| | | |
| | | info( "ååº------------------------------------------------------------" ); |
| | | info( replynvt.ToString() ); |
| | | |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetBusinessTypeName ( |
| | | String name |
| | | ) as String |
| | | { |
| | | Description: 'ä»äºä¸é¨ä¸æåç§°å°ç¼©åç转æ¢' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | result := ""; |
| | | if( name = "éå¢" ){ |
| | | result := "TM"; |
| | | }else if( name = "ææºäºä¸é¨" ){ |
| | | result := "SJ"; |
| | | }else if( name = "ITäºä¸é¨" ){ |
| | | result := "IT"; |
| | | }else if( name = "车载äºä¸é¨" ){ |
| | | result := "CZ"; |
| | | }else if( name = "汽车çµåäºä¸é¨" ){ |
| | | result := "QD"; |
| | | }else if( name = "䏿¾äºä¸é¨" ){ |
| | | result := "ZX"; |
| | | }else if( name = "ç©¿æ´äºä¸é¨" ){ |
| | | result := "CD"; |
| | | }else if( name = "颿¿" ){ |
| | | result := "MB"; |
| | | } |
| | | |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetNextCalType ( |
| | | String latestcaltype, |
| | | String businesstype |
| | | ) as String |
| | | { |
| | | Description: 'è·åä¸ä¸ä¸ªè®¡ç®æ¥éª¤' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | result := ""; |
| | | if( businesstype = "TM"){ |
| | | if( latestcaltype = "" ){ |
| | | result := "SCENE"; |
| | | }else if( latestcaltype = "SCENE" ){ |
| | | result := "TM_SOP_R1"; |
| | | }else if( latestcaltype = "TM_SOP_R1" ){ |
| | | result := "TM_SOP_R2"; |
| | | }else if( latestcaltype = "TM_SOP_R2" ){ |
| | | error( "This version is ended" ); |
| | | } |
| | | }else{ |
| | | if( latestcaltype = "TM_SOP_R1" ){ |
| | | result := businesstype + "_SOP_R1"; |
| | | }else if( latestcaltype = "TM_SOP_R2" ){ |
| | | result := businesstype + "_MPS_R1"; |
| | | }else if( latestcaltype = businesstype + "_MPS_R1" ){ |
| | | result := businesstype + "_MRP_R1"; |
| | | }else if( latestcaltype = businesstype + "_MRP_R1" ){ |
| | | result := businesstype + "_MPS_R2"; |
| | | }else if( latestcaltype = businesstype + "_MPS_R2" ){ |
| | | result := businesstype + "_MRP_R2"; |
| | | }else if( latestcaltype = businesstype + "_MRP_R2" ){ |
| | | error( "This version is ended" ); |
| | | } |
| | | } |
| | | |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetOutputVersionData ( |
| | | GlobalOTDTable owner, |
| | | MacroPlan macroplan, |
| | | String businessname |
| | | ) |
| | | { |
| | | Description: 'å½¢æå¹¶åéçæ¬æ°æ®' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-14-2023 (created) |
| | | businesstype := GlobalOTDTable::GetBusinessTypeName( businessname ); |
| | | |
| | | // Clean exist data |
| | | traverse( owner, MappingVersionControl, mpc, true ){ |
| | | mpc.Delete(); |
| | | } |
| | | |
| | | // Get Latest version |
| | | latestversion := VersionControl::FindLatestUpdateVersion( owner, businesstype ); |
| | | createtime := latestversion.CreateTime(); |
| | | datafrom := businesstype; |
| | | releasetime := latestversion.ReleaseTime(); |
| | | versionid := latestversion.VersionID() + "-" + latestversion.CalType(); |
| | | info( versionid ); |
| | | versionname := latestversion.LongVersionName(); |
| | | user := latestversion.User(); |
| | | |
| | | // Get Data list to deal |
| | | listtodeal := selectset( macroplan, |
| | | Product_MP.ProductInStockingPoint_MP.ProductInStockingPointInPeriod, |
| | | pispip, |
| | | pispip.SalesDemandQuantity() > 0 ); |
| | | |
| | | if( latestversion.CalType() = "TM_SOP_R1" ){ |
| | | listtodeal := selectset( macroplan, |
| | | Product_MP.ProductInStockingPoint_MP.ProductInStockingPointInPeriod, |
| | | pispip, |
| | | pispip.ProductInStockingPoint_MP().ProductID().StartsWith( "C1" ) ); |
| | | } |
| | | |
| | | traverse( listtodeal, Elements, item, true ){ |
| | | endtime := item.End(); |
| | | productid := item.ProductInStockingPoint_MP().ProductID(); |
| | | qty := item.SalesDemandQuantity(); |
| | | starttime := item.Start(); |
| | | stockingpointid := item.StockingPointInPeriod().StockingPointID(); |
| | | datato := "TM"; |
| | | if( businesstype <> "TM" ){ |
| | | datato := "TM"; |
| | | } |
| | | owner.MappingVersionControl( relnew, |
| | | CreateTime := createtime, |
| | | DataFrom := datafrom, |
| | | DataTo := datato, |
| | | EndTime := endtime, |
| | | ProductID := productid, |
| | | Qty := qty, |
| | | ReleaseTime := releasetime, |
| | | StartTime := starttime, |
| | | StockingPointID := stockingpointid, |
| | | User := user, |
| | | VersionID := versionid, |
| | | VersionName := versionname ) |
| | | } |
| | | |
| | | // Send Data To DB |
| | | owner.Broker_OTD_VersionControlToDB().Execute(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetVersionData ( |
| | | GlobalOTDTable owner, |
| | | String businessname |
| | | ) |
| | | { |
| | | Description: 'æ½åå¹¶å¤ççæ¬æ°æ®' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-14-2023 (created) |
| | | businesstype := GlobalOTDTable::GetBusinessTypeName( businessname ); |
| | | releasetime := DateTime::ActualTime(); |
| | | // Clean exist data |
| | | traverse( owner, MappingVersionControl, mpc, true ){ |
| | | mpc.Delete(); |
| | | } |
| | | |
| | | // Get Data From DB |
| | | owner.Broker_OTD_VersionControl().Execute(); |
| | | |
| | | // Get Data list to deal |
| | | listtodeal := selectset( owner, MappingVersionControl, item, item.DataTo() = businesstype ); |
| | | |
| | | traverse( listtodeal, Elements, item, true ){ |
| | | versionid := item.VersionID(); |
| | | existversion := VersionControl::FindByFullVersionID( owner, versionid ); |
| | | if( isnull( existversion ) ){ |
| | | longversionname := item.VersionName(); |
| | | longversionnamelist := longversionname.Tokenize( "-" ); |
| | | shortversionname := longversionnamelist.Element( longversionnamelist.Size() - 1 ); |
| | | caltype := shortversionname.SubString( 0, 10 ); |
| | | shortversionid := versionid.ReplaceAll( "-" + caltype, "" ); |
| | | newversioncontrol := VersionControl::Create( owner, |
| | | item.DataFrom(), |
| | | caltype, |
| | | item.CreateTime(), |
| | | shortversionid, |
| | | longversionname, |
| | | shortversionname, |
| | | item.User() ); |
| | | newversioncontrol.IsReleased( true ); |
| | | newversioncontrol.ReleaseTime( releasetime ); |
| | | } |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SM_GetNextFriday () as Date |
| | | { |
| | | Description: 'è·åä¸ä¸ä¸ªææ5çæ¥æ' |
| | | TextBody: |
| | | [* |
| | | /**********************è·åä¸ä¸ä¸ªå¨5çæ¥æ******************* |
| | | *å建人ï¼yunying |
| | | *åå»ºæ¥æï¼2023-09-21 |
| | | *æè¿°ï¼å¾å°ä¸ä¸ä¸ªææ5çæ¥æï¼å¦æå½å¤©æ¶ææäºï¼åè¿åå½å¤©æ¥æï¼å建订åä½¿ç¨ |
| | | **********************************************************/ |
| | | //å®ä¹ä¸ä¸ä¸ªææ |
| | | nTargetWeenNum := 5; |
| | | nTodayWeekNum := Date::ActualDate().DayOfWeek(); |
| | | // åååç§»å¤©æ° |
| | | nAddDays := 0; |
| | | if( nTodayWeekNum <= nTargetWeenNum) |
| | | { |
| | | nAddDays := nTargetWeenNum-nTodayWeekNum; |
| | | } |
| | | else |
| | | { |
| | | nAddDays := 7 - nTodayWeekNum+nTargetWeenNum; |
| | | } |
| | | // ä¸ä¸ä¸ªææçæ¥æ |
| | | return Date::ActualDate() + nAddDays; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SM_InitialForcastData ( |
| | | MacroPlan Owner |
| | | ) as owning JSON |
| | | { |
| | | Description: 'åå§å订å颿µä¿¡æ¯' |
| | | TextBody: |
| | | [* |
| | | /**********************************åå§å订å颿µä¿¡æ¯*************************************** |
| | | *æ³¨ï¼æªç¡®å®ä¸æ¸¸é¢æµè®¢åæ´æ°é»è¾åæ°æ®æææ§ï¼è¿éè¿è¡äºæ¬¡å¤çï¼æ°çæä¸ä¸ªå表ï¼é¿å
䏿¸¸ä¿¡æ¯åå¨ä¸¥é |
| | | * å½±ååè½ |
| | | * |
| | | *****************************************************************************************/ |
| | | // åå§åç»æ |
| | | bStatus := false; |
| | | strMsg :=""; |
| | | |
| | | try{ |
| | | // 颿µæ°æ®2æ¤å¤çï¼çé+客æ·åç§°æåï¼ |
| | | if(Owner.H_Forecast(relget ).Size()>0) |
| | | { |
| | | traverse( Owner,H_Forecast,Obj,not isnull( Obj)) |
| | | { |
| | | Owner.H_Forecast(reldelete, Obj); |
| | | } |
| | | } |
| | | AllData:= selectset( Owner, Product_MP.SalesDemand.astype( Forecast ),object,object.EndDate().DateTime().Date() >= Date::ActualDate().StartOfMonth() |
| | | and object.EndDate().DateTime().Date() <= Date::ActualDate().StartOfNextMonth().StartOfNextMonth().StartOfNextMonth().StartOfNextMonth() |
| | | and object.Quantity()>0 ); |
| | | |
| | | CustomName:=""; |
| | | DepartMent:=""; |
| | | idx:=0; |
| | | traverse( AllData,Elements,Obj,not isnull(Obj)) |
| | | { |
| | | idx:=Obj.SalesSegmentName().FindString( "-",0); |
| | | if(idx>0) |
| | | { |
| | | DepartMent:=Obj.SalesSegmentName().SubString( 0,idx); |
| | | CustomName := Obj.SalesSegmentName().SubString( idx+1, Obj.SalesSegmentName().Length() - (idx+1)); |
| | | } |
| | | else |
| | | { |
| | | CustomName :=Obj.SalesSegmentName(); |
| | | DepartMent := Obj.SalesSegmentName(); |
| | | } |
| | | |
| | | Owner.H_Forecast(relnew,OrderCode := H_FunctionClass::SM_GenerateID( "OF"), |
| | | SKU := Obj.ProductID(), |
| | | CustomCode := CustomName, |
| | | CustomName := CustomName, |
| | | Util:=Obj.UnitOfMeasureName(), |
| | | NeedTime:=Obj.EndDate(), |
| | | ForecastQty:=[Number]Obj.Quantity().Round( 0), |
| | | Department:=DepartMent); |
| | | } |
| | | bStatus := true; |
| | | strMsg :="订å颿µåå§åæå!"; |
| | | } |
| | | onerror |
| | | { |
| | | strMsg :="订å颿µåå§å失败ï¼å¯è½å½±åå²å计ç®ï¼è¯·è系系ç»ç®¡çåï¼"; |
| | | Owner.H_ErrorLogs(relnew,EClassName := "H_FunctionClass",EDateTime := DateTime::ActualGMTTime(),EFunctionName := "SM_InitialForcastData", |
| | | DeveloperInformation := e.DeveloperInformation(),ErrorNr := e.ErrorNr(),DetailedInformation := e.DetailedInformation(), |
| | | GeneralInformation := e.GeneralInformation()); |
| | | } |
| | | return JSON::Object().Add( "Status",bStatus) |
| | | .Add( "Msg",strMsg).Build(); |
| | | *] |
| | | } |
| | |
| | | // è·å颿µæ°éï¼å®¢æ·+SKU+æä»½ çè®ºæ¯æ²¡æç©æé¢æµï¼ |
| | | OrderForecast := select(Owner, H_OrderForecastRealQty , Obj, Obj.SKU() = SKU |
| | | and Obj.CustomID() = CustomerCode |
| | | and Obj.Month().Format( "YM2") = Date::ActualDate().Format( "YM2")); |
| | | and Obj.Month().Format( "YM2") = Date::ActualDate().Format( "YM2")); |
| | | if ( not isnull(OrderForecast)) |
| | | { |
| | | nForecastQtyOld := OrderForecast.ForecatsRealQty(); |
| | |
| | | Owner.H_ReverseRealQty(relnew,ID := H_FunctionClass::SM_GenerateID( "RQ"),SKU := SKU,Unit := "éè¿SKUè·å",ReverseRealQty := nReverseQtyNew); |
| | | } |
| | | |
| | | |
| | | MaterialResult := selectset( Owner,H_MaterialHedgingResult,Obj,Obj.SKU() = SKU); |
| | | if( MaterialResult.Size()=0) |
| | | { |
| | | Owner.H_MaterialHedgingResult(relnew, |
| | | ID := H_FunctionClass::SM_GenerateID( "MR"), |
| | | SKU:=SKU, |
| | | ForecastQty := nForecastQtyNew, |
| | | ReverseQty := nReverseQtyNew, |
| | | AuthorizeQty := 0, |
| | | CustomerCode := CustomerCode, |
| | | CustomerName := "", |
| | | Unit := "", |
| | | MType := "ç©æ/åæå"); |
| | | } |
| | | else |
| | | { |
| | | traverse( MaterialResult,Elements,Obj,not isnull( Obj)) |
| | | { |
| | | Obj.ReverseQty( nReverseQtyNew); |
| | | } |
| | | } |
| | | // éæ¾éè´ |
| | | Owner.H_MaterialPurchase(relnew,ID := H_FunctionClass::SM_GenerateID( "MP"),VCode:=VCode, DemandTime := DateTime::ActualTime(), |
| | | H_HedgingRecord_ID := HRID,SKU := SKU,ProductSubclassType := "ç©æç±»åï¼ç¨SKUæç©æè¡¨å¾å°",Qty := OperateQty,Unit := "éè¿SKUæ", |
| | |
| | | AuthorizeRealQty :=nAuthorizeQtyNew, |
| | | Unit := "SKU å°ç©æè¡¨è·å"); |
| | | } |
| | | |
| | | //æ´æ°ç»æ |
| | | MaterialResult := selectset( Owner,H_MaterialHedgingResult,Obj,Obj.SKU() = SKU); |
| | | if( MaterialResult.Size()=0) |
| | | { |
| | | // æ·»å 䏿¡åç¾è®°å½ |
| | | Owner.H_MaterialHedgingResult(relnew, |
| | | ID := H_FunctionClass::SM_GenerateID( "MR"), |
| | | SKU:=SKU, |
| | | ForecastQty := nForecastQtyNew, |
| | | ReverseQty := nReverseQtyNew, |
| | | AuthorizeQty := 0, |
| | | CustomerCode := CustomerCode, |
| | | CustomerName := "", |
| | | Unit := "", |
| | | MType := "ç©æ/åæå"); |
| | | |
| | | // æ·»å 䏿¡ææè®°å½ |
| | | Owner.H_MaterialHedgingResult(relnew, |
| | | ID := H_FunctionClass::SM_GenerateID( "MR"), |
| | | SKU:=SKU, |
| | | ForecastQty := nForecastQtyNew, |
| | | ReverseQty := nReverseQtyNew, |
| | | AuthorizeQty := nAuthorizeQtyNew, |
| | | CustomerCode := CustomerCode, |
| | | Unit := "",MType := "ç©æ/åæå", |
| | | CustomerName := CustomerCode); |
| | | } |
| | | else |
| | | { |
| | | traverse( MaterialResult,Elements,Obj,not isnull( Obj)) |
| | | { |
| | | Obj.ReverseQty( nReverseQtyNew); |
| | | if( Obj.CustomerCode()= CustomerCode) |
| | | { |
| | | Obj.AuthorizeQty(nAuthorizeQtyNew); |
| | | Obj.ForecastQty(nForecastQtyNew); |
| | | } |
| | | } |
| | | } |
| | | |
| | | // éæ¾éè´ |
| | | nMid_R :=OperateQty - nReverseQtyOld; |
| | | if( nMid_R > 0) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute AuthorizeQty |
| | | { |
| | | #keys: '3[414724.0.133544641][414724.0.133544640][414724.0.133544642]' |
| | | Description: 'ææå©ä½æ°é' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerCode |
| | | { |
| | | #keys: '3[414724.0.133544653][414724.0.133544652][414724.0.133544654]' |
| | | Description: '客æ·ID' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerName |
| | | { |
| | | #keys: '3[414724.0.133544660][414724.0.133544659][414724.0.133544661]' |
| | | Description: '客æ·åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ForecastQty |
| | | { |
| | | #keys: '3[414724.0.133544656][414724.0.133544655][414724.0.133544657]' |
| | | Description: '彿颿µå©ä½æ°é' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID |
| | | { |
| | | #keys: '3[414724.0.133544626][414724.0.133544625][414724.0.133544627]' |
| | | Description: 'KEY' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MType |
| | | { |
| | | #keys: '3[414724.0.134572562][414724.0.134572561][414724.0.134572563]' |
| | | Description: ' ç©æç±»å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ReverseQty |
| | | { |
| | | #keys: '3[414724.0.133544623][414724.0.133544622][414724.0.133544624]' |
| | | Description: 'åç¾å©ä½æ°é' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SKU |
| | | { |
| | | #keys: '3[414724.0.133544644][414724.0.133544643][414724.0.133544645]' |
| | | Description: 'SKUç¼ç ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Serial |
| | | { |
| | | #keys: '3[414724.0.133544647][414724.0.133544646][414724.0.133544648]' |
| | | Description: 'åºå·ï¼ä¸ä¸å®ä½¿ç¨' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Unit |
| | | { |
| | | #keys: '3[414724.0.133544673][414724.0.133544672][414724.0.133544674]' |
| | | Description: 'åä½' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: CustomerCode |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: SKU |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type H_MaterialHedgingResult |
| | | { |
| | | #keys: '5[414724.0.133544603][414724.0.133544601][0.0.0][414724.0.133544602][414724.0.133544604]' |
| | | BaseType: Object |
| | | Description: 'ç©æåç¾ææç»æ' |
| | | StructuredName: 'H_MaterialHedgingResults' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ValueJsonString |
| | | { |
| | | #keys: '3[414724.0.138457270][414724.0.138457269][414724.0.138457271]' |
| | | Description: 'Jsonæ ¼å¼åç¬¦ä¸²æ ¼å¼çValue' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method CapacityAndSaleBudgeBusinessTypeString () as owning String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-19-2023 (created) |
| | | result := selectuniquevalues( this, MappingCapacityAndSaleBudge, item, true, item.BusinessType() ); |
| | | return result.Concatenate( ";" ) ; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method CapacityAndSaleBudgePlaceOfProductionOfArrayString () as owning String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-19-2023 (created) |
| | | result := selectuniquevalues( this, MappingCapacityAndSaleBudge, item, true, item.PlaceOfProductionOfArray() ); |
| | | return result.Concatenate( ";" ) ; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method RefreshCapacityAndSaleBudgeFilter ( |
| | | Boolean deleteBeforeCreate |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | if( deleteBeforeCreate ) { |
| | | this.CapacityAndSaleBudgeFilterBusinessType( relflush ); |
| | | this.CapacityAndSaleBudgeFilterPlaceOfProductionOfArray( relflush ); |
| | | } |
| | | this.RefreshCapacityAndSaleBudgeFilter(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method RefreshCapacityAndSaleBudgeFilter |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-21-2023 (created) |
| | | info( "=====RefreshCapacityAndSaleBudgeFilter====" ); |
| | | businessTypes := selectuniquevalues( this, MappingCapacityAndSaleBudge, item, item.BusinessType() ); |
| | | info( [String]businessTypes.Size() ); |
| | | traverse( businessTypes, Elements, businessType ) { |
| | | CapacityAndSaleBudgeFilterBusinessType::CreateIfNotExist( this, businessType ); |
| | | } |
| | | placeOfProductionOfArrays := selectuniquevalues( this, MappingCapacityAndSaleBudge, item, item.PlaceOfProductionOfArray() ); |
| | | info( [String]placeOfProductionOfArrays.Size() ); |
| | | traverse( placeOfProductionOfArrays, Elements, placeOfProductionOfArray ) { |
| | | CapacityAndSaleBudgeFilterPlaceOfProductionOfArray::CreateIfNotExist( this, placeOfProductionOfArray ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CapacityAndSaleBudgeYearsString () as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-19-2023 (created) |
| | | years := construct( Strings );; |
| | | for( i := Date::ActualDate().Year() - 10; i <= Date::ActualDate().Year(); i := i + 1 ) { |
| | | years.Add( [String]i ); |
| | | } |
| | | return ifexpr( years.Size() > 0, years.Concatenate( ";" ), "" ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod TestData ( |
| | | MPSync mpSync, |
| | | MacroPlan macroPlan |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-20-2023 (created) |
| | | |
| | | info( "MPSync::TestData" ); |
| | | |
| | | productCodeList := selectuniquevalues( macroPlan, Product_MP, item, item.ID() ); |
| | | info( "productCodeList : " + [String]productCodeList.Size() ); |
| | | |
| | | mpSync.MappingCapacityAndSaleBudge( relflush ); |
| | | for( year := Date::ActualDate().Year() - 10; year <= Date::ActualDate().Year(); year := year + 1 ) { |
| | | for( i := 1; i <= productCodeList.Size(); i := i + 1 ) { |
| | | productCode := productCodeList.Element( i - 1 ); |
| | | mappingCapacityAndSaleBudge := mpSync.MappingCapacityAndSaleBudge( relnew, |
| | | YearNo := year, |
| | | ProductCode := productCode, |
| | | BusinessType := "äºä¸é¨" + [String](productCode.Length() mod 3 + 1), |
| | | PlaceOfProductionOfArray := "颿¿åºå°" + [String](productCode.Length() mod 4 + 1) |
| | | ); |
| | | for( month := 1; month <= 12; month := month + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "CapacityInPCSInMonth" + [String]month ); |
| | | field.Set( mappingCapacityAndSaleBudge, Real::Random( 20000.0, 30000.0 ) ); |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "CapacityInSheetInMonth" + [String]month ); |
| | | field.Set( mappingCapacityAndSaleBudge, Real::Random( 20000.0, 30000.0 ) ); |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "SaleAmountInMonth" + [String]month ); |
| | | field.Set( mappingCapacityAndSaleBudge, Real::Random( 20000.0, 30000.0 ) ); |
| | | } |
| | | mappingCapacityAndSaleBudge.CapacityInPCSTotal( mappingCapacityAndSaleBudge.GetCapacityInPCSInYear() ); |
| | | mappingCapacityAndSaleBudge.CapacityInSheetTotal( mappingCapacityAndSaleBudge.GetCapacityInSheetInYear() ); |
| | | mappingCapacityAndSaleBudge.SaleAmountTotal( mappingCapacityAndSaleBudge.GetSaleAmountInYear() ); |
| | | } |
| | | } |
| | | result1 := selectset( mpSync, MappingCapacityAndSaleBudge, item, true ); |
| | | info( "test MappingCapacityAndSaleBudge size : " + [String]result1.Size() ); |
| | | |
| | | mpSync.MappingAnnualBudget( relflush ); |
| | | for( year := Date::ActualDate().Year() - 10; year <= Date::ActualDate().Year(); year := year + 1 ) { |
| | | for( i := 1; i <= productCodeList.Size(); i := i + 1 ) { |
| | | productCode := productCodeList.Element( i - 1 ); |
| | | mappingAnnualBudget := mpSync.MappingAnnualBudget( relnew, |
| | | YearNo := year, |
| | | ProductId := productCode |
| | | ); |
| | | for( month := 1; month <= 12; month := month + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlyModCapacity" + [String]month ); |
| | | field.Set( mappingAnnualBudget, Real::Random( 20000.0, 30000.0 ) ); |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlySheetCapacity" + [String]month ); |
| | | field.Set( mappingAnnualBudget, Real::Random( 20000.0, 30000.0 ) ); |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlySales" + [String]month ); |
| | | field.Set( mappingAnnualBudget, Real::Random( 20000.0, 30000.0 ) ); |
| | | } |
| | | } |
| | | } |
| | | result2 := selectset( mpSync, MappingAnnualBudget, item, true ); |
| | | info( "test MappingAnnualBudget size : " + [String]result2.Size() ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414384.0.874289974][414384.0.874289973][414384.0.874289975]' |
| | | Description: 'ä¸å¡ç±»å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity1 |
| | | { |
| | | #keys: '3[414384.0.874289977][414384.0.874289976][414384.0.874289978]' |
| | | Description: '1ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity10 |
| | | { |
| | | #keys: '3[414384.0.874290004][414384.0.874290003][414384.0.874290005]' |
| | | Description: '10ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity11 |
| | | { |
| | | #keys: '3[414384.0.874290007][414384.0.874290006][414384.0.874290008]' |
| | | Description: '11ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity12 |
| | | { |
| | | #keys: '3[414384.0.874290010][414384.0.874290009][414384.0.874290011]' |
| | | Description: '12ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity2 |
| | | { |
| | | #keys: '3[414384.0.874289980][414384.0.874289979][414384.0.874289981]' |
| | | Description: '2ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity3 |
| | | { |
| | | #keys: '3[414384.0.874289983][414384.0.874289982][414384.0.874289984]' |
| | | Description: '3ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity4 |
| | | { |
| | | #keys: '3[414384.0.874289986][414384.0.874289985][414384.0.874289987]' |
| | | Description: '4ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity5 |
| | | { |
| | | #keys: '3[414384.0.874289989][414384.0.874289988][414384.0.874289990]' |
| | | Description: '5ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity6 |
| | | { |
| | | #keys: '3[414384.0.874289992][414384.0.874289991][414384.0.874289993]' |
| | | Description: '6ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity7 |
| | | { |
| | | #keys: '3[414384.0.874289995][414384.0.874289994][414384.0.874289996]' |
| | | Description: '7ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity8 |
| | | { |
| | | #keys: '3[414384.0.874289998][414384.0.874289997][414384.0.874289999]' |
| | | Description: '8ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlyModCapacity9 |
| | | { |
| | | #keys: '3[414384.0.874290001][414384.0.874290000][414384.0.874290002]' |
| | | Description: '9ææ¨¡ç»äº§è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales1 |
| | | { |
| | | #keys: '3[414384.0.874290049][414384.0.874290048][414384.0.874290050]' |
| | | Description: '1æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales10 |
| | | { |
| | | #keys: '3[414384.0.874290076][414384.0.874290075][414384.0.874290077]' |
| | | Description: '10æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales11 |
| | | { |
| | | #keys: '3[414384.0.874290079][414384.0.874290078][414384.0.874290080]' |
| | | Description: '11æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales12 |
| | | { |
| | | #keys: '3[414384.0.874290082][414384.0.874290081][414384.0.874290083]' |
| | | Description: '12æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales2 |
| | | { |
| | | #keys: '3[414384.0.874290052][414384.0.874290051][414384.0.874290053]' |
| | | Description: '2æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales3 |
| | | { |
| | | #keys: '3[414384.0.874290055][414384.0.874290054][414384.0.874290056]' |
| | | Description: '3æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales4 |
| | | { |
| | | #keys: '3[414384.0.874290058][414384.0.874290057][414384.0.874290059]' |
| | | Description: '4æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales5 |
| | | { |
| | | #keys: '3[414384.0.874290061][414384.0.874290060][414384.0.874290062]' |
| | | Description: '5æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales6 |
| | | { |
| | | #keys: '3[414384.0.874290064][414384.0.874290063][414384.0.874290065]' |
| | | Description: '6æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales7 |
| | | { |
| | | #keys: '3[414384.0.874290067][414384.0.874290066][414384.0.874290068]' |
| | | Description: '7æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales8 |
| | | { |
| | | #keys: '3[414384.0.874290070][414384.0.874290069][414384.0.874290071]' |
| | | Description: '8æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySales9 |
| | | { |
| | | #keys: '3[414384.0.874290073][414384.0.874290072][414384.0.874290074]' |
| | | Description: '9æéå®é¢' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity1 |
| | | { |
| | | #keys: '3[414384.0.874290013][414384.0.874290012][414384.0.874290014]' |
| | | Description: '1æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity10 |
| | | { |
| | | #keys: '3[414384.0.874290040][414384.0.874290039][414384.0.874290041]' |
| | | Description: '10æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity11 |
| | | { |
| | | #keys: '3[414384.0.874290043][414384.0.874290042][414384.0.874290044]' |
| | | Description: '11æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity12 |
| | | { |
| | | #keys: '3[414384.0.874290046][414384.0.874290045][414384.0.874290047]' |
| | | Description: '12æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity2 |
| | | { |
| | | #keys: '3[414384.0.874290016][414384.0.874290015][414384.0.874290017]' |
| | | Description: '2æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity3 |
| | | { |
| | | #keys: '3[414384.0.874290019][414384.0.874290018][414384.0.874290020]' |
| | | Description: '3æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity4 |
| | | { |
| | | #keys: '3[414384.0.874290022][414384.0.874290021][414384.0.874290023]' |
| | | Description: '4æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity5 |
| | | { |
| | | #keys: '3[414384.0.874290025][414384.0.874290024][414384.0.874290026]' |
| | | Description: '5æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity6 |
| | | { |
| | | #keys: '3[414384.0.874290028][414384.0.874290027][414384.0.874290029]' |
| | | Description: '6æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity7 |
| | | { |
| | | #keys: '3[414384.0.874290031][414384.0.874290030][414384.0.874290032]' |
| | | Description: '7æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity8 |
| | | { |
| | | #keys: '3[414384.0.874290034][414384.0.874290033][414384.0.874290035]' |
| | | Description: '8æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MonthlySheetCapacity9 |
| | | { |
| | | #keys: '3[414384.0.874290037][414384.0.874290036][414384.0.874290038]' |
| | | Description: '9æå®æ°å¤§å¼ 产è½' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductId |
| | | { |
| | | #keys: '3[414384.0.874289946][414384.0.874289945][414384.0.874289947]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute YearNo |
| | | { |
| | | #keys: '3[414384.0.874290125][414384.0.874290124][414384.0.874290126]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetCapacityInPCSInYear () as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | for( i := 1; i <= 12; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlyModCapacity" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetCapacityInSheetInHalfYear ( |
| | | Number halfNo |
| | | ) as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | fromMonth := 1 + ( halfNo - 1 ) * 6; |
| | | toMonth := 6 + ( halfNo - 1 ) * 6; |
| | | for( i := fromMonth; i <= toMonth; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlySheetCapacity" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetCapacityInSheetInSeason ( |
| | | Number seasonNo |
| | | ) as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | fromMonth := 1 + ( seasonNo - 1 ) * 3; |
| | | toMonth := 3 + ( seasonNo - 1 ) * 3; |
| | | for( i := fromMonth; i <= toMonth; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlySheetCapacity" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetCapacityInSheetInYear () as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | for( i := 1; i <= 12; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlySheetCapacity" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetSaleAmountInYear () as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | for( i := 1; i <= 12; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlySales" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSaleByMonth ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo, |
| | | Number monthNo |
| | | ) as Real |
| | | { |
| | | Description: 'éå®é¢ï¼Wï¼' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlySales" + [String]monthNo ); |
| | | value := sum( parent, |
| | | MappingAnnualBudget, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductId() ) > -1, |
| | | field.GetReal( item ) ); |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSaleByYear ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo |
| | | ) as Real |
| | | { |
| | | Description: 'éå®é¢ï¼Wï¼' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := sum( parent, |
| | | MappingAnnualBudget, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductId() ) > -1, |
| | | item.GetSaleAmountInYear() ); |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSheetByHalfYear ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo, |
| | | Number halfNo |
| | | ) as Real |
| | | { |
| | | Description: 'äº§è½ - 宿°å¤§å¼ ' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := sum( parent, |
| | | MappingAnnualBudget, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductId() ) > -1, |
| | | item.GetCapacityInSheetInHalfYear( halfNo ) ); |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSheetByMonth ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo, |
| | | Number monthNo |
| | | ) as Real |
| | | { |
| | | Description: '产è½-宿°å¤§å¼ ' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | field := Reflection::FindAttribute( "MappingAnnualBudget", "MonthlySheetCapacity" + [String]monthNo ); |
| | | value := sum( parent, |
| | | MappingAnnualBudget, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductId() ) > -1, |
| | | field.GetReal( item ) ); |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSheetBySeason ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo, |
| | | Number seasonNo |
| | | ) as Real |
| | | { |
| | | Description: 'äº§è½ - 宿°å¤§å¼ ' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := sum( parent, |
| | | MappingAnnualBudget, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductId() ) > -1, |
| | | item.GetCapacityInSheetInSeason( seasonNo ) ); |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSheetByYear ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo |
| | | ) as Real |
| | | { |
| | | Description: 'äº§è½ - 宿°å¤§å¼ ' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := sum( parent, |
| | | MappingAnnualBudget, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductId() ) > -1, |
| | | item.GetCapacityInSheetInYear() ); |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type MappingAnnualBudget |
| | | { |
| | | #keys: '5[414384.0.874289918][414384.0.874289916][0.0.0][414384.0.874289917][414384.0.874289919]' |
| | | BaseType: Object |
| | | Description: '年度é¢ç®æ°æ®' |
| | | StructuredName: 'MappingAnnualBudgets' |
| | | } |
| | |
| | | StaticMethod CreateTestData ( |
| | | MacroPlan parent, |
| | | String businessType, |
| | | String orgCode |
| | | String orgCode, |
| | | String productCode |
| | | ) as MappingBOM |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | value := select( parent, MappingBOM, bom, bom.BusinessType() = businessType and bom.OrganCode() = orgCode ); |
| | | value := select( parent, MappingBOM, bom, bom.BusinessType() = businessType and bom.OrganCode() = orgCode and bom.ProductCode() = productCode ); |
| | | if( isnull( value ) ) { |
| | | value := parent.MappingBOM( relnew, |
| | | BusinessType := businessType, |
| | | OrganCode := orgCode, |
| | | ProductCode := productCode, |
| | | ProcessSection := "", |
| | | ProductCode := "", |
| | | ComponentCode := "", |
| | | AlternativeMaterialCode := "" ); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetNewSupplyByHalfYear ( |
| | | Strings productNo, |
| | | MacroPlan macroPlan, |
| | | Number yearNo, |
| | | Number halfNo |
| | | ) as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | fromMonth := 1 + ( halfNo - 1 ) * 6; |
| | | toMonth := 6 + ( halfNo - 1 ) * 6; |
| | | result := 0.0; |
| | | for( i := fromMonth; i <= toMonth; i := i + 1 ) { |
| | | result := result + MappingCustomerOrder::GetNewSupplyByMonth( productNo, macroPlan, yearNo, i ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetNewSupplyByMonth ( |
| | | Strings productNo, |
| | | MacroPlan macroPlan, |
| | | Number yearNo, |
| | | Number monthNo |
| | | ) as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := sum( macroPlan, |
| | | MappingCustomerOrder, |
| | | item, |
| | | productNo.Find( item.ProductID() ) > -1 |
| | | and item.OrderDate().Year() = yearNo |
| | | and item.OrderDate().Month() = monthNo, |
| | | item.Quantity() * item.Price() ); |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetNewSupplyBySeason ( |
| | | Strings productNo, |
| | | MacroPlan macroPlan, |
| | | Number yearNo, |
| | | Number seasonNo |
| | | ) as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | fromMonth := 1 + ( seasonNo - 1 ) * 3; |
| | | toMonth := 3 + ( seasonNo - 1 ) * 3; |
| | | result := 0.0; |
| | | for( i := fromMonth; i <= toMonth; i := i + 1 ) { |
| | | result := result + MappingCustomerOrder::GetNewSupplyByMonth( productNo, macroPlan, yearNo, i ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetNewSupplyByYear ( |
| | | Strings productNo, |
| | | MacroPlan macroPlan, |
| | | Number yearNo |
| | | ) as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-21-2023 (created) |
| | | result := 0.0; |
| | | for( i := 1; i <= 12; i := i + 1 ) { |
| | | result := result + MappingCustomerOrder::GetNewSupplyByMonth( productNo, macroPlan, yearNo, i ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityEquivalent |
| | | { |
| | | #keys: '3[414384.0.867241217][414384.0.867241216][414384.0.867241218]' |
| | | Description: '产è½å½é' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth1 |
| | | { |
| | | #keys: '3[414384.0.864360392][414384.0.864360391][414384.0.864360393]' |
| | | Description: '1æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth10 |
| | | { |
| | | #keys: '3[414384.0.864360398][414384.0.864360397][414384.0.864360399]' |
| | | Description: '10æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth11 |
| | | { |
| | | #keys: '3[414384.0.864360395][414384.0.864360394][414384.0.864360396]' |
| | | Description: '11æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth12 |
| | | { |
| | | #keys: '3[414384.0.864360386][414384.0.864360385][414384.0.864360387]' |
| | | Description: '12æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth2 |
| | | { |
| | | #keys: '3[414384.0.864360371][414384.0.864360370][414384.0.864360372]' |
| | | Description: '2æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth3 |
| | | { |
| | | #keys: '3[414384.0.864360374][414384.0.864360373][414384.0.864360375]' |
| | | Description: '3æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth4 |
| | | { |
| | | #keys: '3[414384.0.864360377][414384.0.864360376][414384.0.864360378]' |
| | | Description: '4æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth5 |
| | | { |
| | | #keys: '3[414384.0.864360380][414384.0.864360379][414384.0.864360381]' |
| | | Description: '5æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth6 |
| | | { |
| | | #keys: '3[414384.0.864360401][414384.0.864360400][414384.0.864360402]' |
| | | Description: '6æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth7 |
| | | { |
| | | #keys: '3[414384.0.864360383][414384.0.864360382][414384.0.864360384]' |
| | | Description: '7æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth8 |
| | | { |
| | | #keys: '3[414384.0.864360368][414384.0.864360367][414384.0.864360369]' |
| | | Description: '8æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSInMonth9 |
| | | { |
| | | #keys: '3[414384.0.864360389][414384.0.864360388][414384.0.864360390]' |
| | | Description: '9æäº§è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInPCSTotal |
| | | { |
| | | #keys: '3[414384.0.867241226][414384.0.867241225][414384.0.867241227]' |
| | | Description: '年产è½ï¼PCSï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth1 |
| | | { |
| | | #keys: '3[414384.0.864360406][414384.0.864360405][414384.0.864360407]' |
| | | Description: '1æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth10 |
| | | { |
| | | #keys: '3[414384.0.864360430][414384.0.864360429][414384.0.864360431]' |
| | | Description: '10æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth11 |
| | | { |
| | | #keys: '3[414384.0.864360427][414384.0.864360426][414384.0.864360428]' |
| | | Description: '11æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth12 |
| | | { |
| | | #keys: '3[414384.0.864360439][414384.0.864360438][414384.0.864360440]' |
| | | Description: '12æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth2 |
| | | { |
| | | #keys: '3[414384.0.864360409][414384.0.864360408][414384.0.864360410]' |
| | | Description: '2æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth3 |
| | | { |
| | | #keys: '3[414384.0.864360421][414384.0.864360420][414384.0.864360422]' |
| | | Description: '3æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth4 |
| | | { |
| | | #keys: '3[414384.0.864360415][414384.0.864360414][414384.0.864360416]' |
| | | Description: '4æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth5 |
| | | { |
| | | #keys: '3[414384.0.864360412][414384.0.864360411][414384.0.864360413]' |
| | | Description: '5æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth6 |
| | | { |
| | | #keys: '3[414384.0.864360424][414384.0.864360423][414384.0.864360425]' |
| | | Description: '6æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth7 |
| | | { |
| | | #keys: '3[414384.0.864360433][414384.0.864360432][414384.0.864360434]' |
| | | Description: '7æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth8 |
| | | { |
| | | #keys: '3[414384.0.864360436][414384.0.864360435][414384.0.864360437]' |
| | | Description: '8æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetInMonth9 |
| | | { |
| | | #keys: '3[414384.0.864360418][414384.0.864360417][414384.0.864360419]' |
| | | Description: '9æäº§è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CapacityInSheetTotal |
| | | { |
| | | #keys: '3[414384.0.867241232][414384.0.867241231][414384.0.867241233]' |
| | | Description: '年产è½ï¼Sheetï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Deleted |
| | | { |
| | | #keys: '3[414384.0.867241223][414384.0.867241222][414384.0.867241224]' |
| | | Description: 'å·²å é¤' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DisplayTechnology |
| | | { |
| | | #keys: '3[414384.0.867241208][414384.0.867241207][414384.0.867241209]' |
| | | Description: 'æ¾ç¤ºææ¯åç±»' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute NumberOfCut |
| | | { |
| | | #keys: '3[414384.0.867241229][414384.0.867241228][414384.0.867241230]' |
| | | Description: 'å岿°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute NumberOfMask |
| | | { |
| | | #keys: '3[414384.0.867241241][414384.0.867241240][414384.0.867241242]' |
| | | Description: 'maskæ°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrgCode |
| | | { |
| | | #keys: '3[414384.0.867241214][414384.0.867241213][414384.0.867241215]' |
| | | Description: 'ä¸å¡é¨é¨' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PlaceOfProductionOfArray |
| | | { |
| | | #keys: '3[414384.0.864360358][414384.0.864360357][414384.0.864360359]' |
| | | Description: '颿¿åºå°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PlaceOfProductionOfEvaporation |
| | | { |
| | | #keys: '3[414384.0.867241211][414384.0.867241210][414384.0.867241212]' |
| | | Description: 'è¸é产å°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Resolution |
| | | { |
| | | #keys: '3[414384.0.867241235][414384.0.867241234][414384.0.867241236]' |
| | | Description: 'å辨ç' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth1 |
| | | { |
| | | #keys: '3[414384.0.864360470][414384.0.864360469][414384.0.864360471]' |
| | | Description: '1æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth10 |
| | | { |
| | | #keys: '3[414384.0.864360449][414384.0.864360448][414384.0.864360450]' |
| | | Description: '10æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth11 |
| | | { |
| | | #keys: '3[414384.0.864360443][414384.0.864360442][414384.0.864360444]' |
| | | Description: '11æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth12 |
| | | { |
| | | #keys: '3[414384.0.864360455][414384.0.864360454][414384.0.864360456]' |
| | | Description: '12æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth2 |
| | | { |
| | | #keys: '3[414384.0.864360461][414384.0.864360460][414384.0.864360462]' |
| | | Description: '2æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth3 |
| | | { |
| | | #keys: '3[414384.0.864360467][414384.0.864360466][414384.0.864360468]' |
| | | Description: '3æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth4 |
| | | { |
| | | #keys: '3[414384.0.864360464][414384.0.864360463][414384.0.864360465]' |
| | | Description: '4æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth5 |
| | | { |
| | | #keys: '3[414384.0.864360476][414384.0.864360475][414384.0.864360477]' |
| | | Description: '5æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth6 |
| | | { |
| | | #keys: '3[414384.0.864360458][414384.0.864360457][414384.0.864360459]' |
| | | Description: '6æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth7 |
| | | { |
| | | #keys: '3[414384.0.864360473][414384.0.864360472][414384.0.864360474]' |
| | | Description: '7æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth8 |
| | | { |
| | | #keys: '3[414384.0.864360446][414384.0.864360445][414384.0.864360447]' |
| | | Description: '8æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountInMonth9 |
| | | { |
| | | #keys: '3[414384.0.864360452][414384.0.864360451][414384.0.864360453]' |
| | | Description: '9æéå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SaleAmountTotal |
| | | { |
| | | #keys: '3[414384.0.867241220][414384.0.867241219][414384.0.867241221]' |
| | | Description: 'å¹´éå®é¢ï¼ä¸ï¼' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ShippingForm |
| | | { |
| | | #keys: '3[414384.0.867241244][414384.0.867241243][414384.0.867241245]' |
| | | Description: 'åºè´§å½¢æ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute YearNo |
| | | { |
| | | #keys: '3[414384.0.874271421][414384.0.874271420][414384.0.874271422]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: CapacityEquivalent |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: DisplayTechnology |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: NumberOfCut |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: NumberOfMask |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: OrgCode |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: PlaceOfProductionOfEvaporation |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Resolution |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ShippingForm |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetCapacityInPCSInYear () as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | for( i := 1; i <= 12; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "CapacityInPCSInMonth" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetCapacityInSheetInHalfYear ( |
| | | Number halfNo |
| | | ) as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | fromMonth := 1 + ( halfNo - 1 ) * 6; |
| | | toMonth := 6 + ( halfNo - 1 ) * 6; |
| | | for( i := fromMonth; i <= toMonth; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "CapacityInSheetInMonth" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetCapacityInSheetInSeason ( |
| | | Number seasonNo |
| | | ) as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | fromMonth := 1 + ( seasonNo - 1 ) * 3; |
| | | toMonth := 3 + ( seasonNo - 1 ) * 3; |
| | | for( i := fromMonth; i <= toMonth; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "CapacityInSheetInMonth" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetCapacityInSheetInYear () as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | for( i := 1; i <= 12; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "CapacityInSheetInMonth" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetSaleAmountInYear () as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := 0.0; |
| | | for( i := 1; i <= 12; i := i + 1 ) { |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "SaleAmountInMonth" + [String]i ); |
| | | result := result + field.GetReal( this ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSaleByMonth ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo, |
| | | Number monthNo |
| | | ) as Real |
| | | { |
| | | Description: 'éå®é¢ï¼Wï¼' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "SaleAmountInMonth" + [String]monthNo ); |
| | | value := sum( parent, |
| | | MappingCapacityAndSaleBudge, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductCode() ) > -1, |
| | | field.GetReal( item ) ); |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSaleByYear ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo |
| | | ) as Real |
| | | { |
| | | Description: 'éå®é¢ï¼Wï¼' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := sum( parent, |
| | | MappingCapacityAndSaleBudge, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductCode() ) > -1, |
| | | item.GetSaleAmountInYear() ); |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSheetByHalfYear ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo, |
| | | Number halfNo |
| | | ) as Real |
| | | { |
| | | Description: 'äº§è½ - 宿°å¤§å¼ ' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := sum( parent, |
| | | MappingCapacityAndSaleBudge, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductCode() ) > -1, |
| | | item.GetCapacityInSheetInHalfYear( halfNo ) ); |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSheetByMonth ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo, |
| | | Number monthNo |
| | | ) as Real |
| | | { |
| | | Description: '产è½-宿°å¤§å¼ ' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | field := Reflection::FindAttribute( "MappingCapacityAndSaleBudge", "CapacityInSheetInMonth" + [String]monthNo ); |
| | | value := sum( parent, |
| | | MappingCapacityAndSaleBudge, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductCode() ) > -1, |
| | | field.GetReal( item ) ); |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSheetBySeason ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo, |
| | | Number seasonNo |
| | | ) as Real |
| | | { |
| | | Description: 'äº§è½ - 宿°å¤§å¼ ' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := sum( parent, |
| | | MappingCapacityAndSaleBudge, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductCode() ) > -1, |
| | | item.GetCapacityInSheetInSeason( seasonNo ) ); |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSheetByYear ( |
| | | Strings productNo, |
| | | MPSync parent, |
| | | Number yearNo |
| | | ) as Real |
| | | { |
| | | Description: 'äº§è½ - 宿°å¤§å¼ ' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-18-2023 (created) |
| | | result := sum( parent, |
| | | MappingCapacityAndSaleBudge, |
| | | item, |
| | | item.YearNo() = yearNo and productNo.Find( item.ProductCode() ) > -1, |
| | | item.GetCapacityInSheetInYear() ); |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CreateTime |
| | | { |
| | | #keys: '3[412960.0.150120147][412960.0.150120146][412960.0.150120148]' |
| | | Description: 'å建æ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DataFrom |
| | | { |
| | | #keys: '3[412960.0.150120067][412960.0.150120066][412960.0.150120068]' |
| | | Description: 'æ°æ®ååºçé¨é¨åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DataTo |
| | | { |
| | | #keys: '3[412960.0.150120077][412960.0.150120076][412960.0.150120078]' |
| | | Description: 'æ¥æ¶æ°æ®çé¨é¨åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute EndTime |
| | | { |
| | | #keys: '3[412960.0.150120127][412960.0.150120126][412960.0.150120128]' |
| | | Description: 'ç»ææ¶é´' |
| | | IsReadOnly: true |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[412960.0.150120087][412960.0.150120086][412960.0.150120088]' |
| | | Description: 'ç©æç¼ç ' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Qty |
| | | { |
| | | #keys: '3[412960.0.150120097][412960.0.150120096][412960.0.150120098]' |
| | | Description: 'æ°é' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ReleaseTime |
| | | { |
| | | #keys: '3[412960.0.150120157][412960.0.150120156][412960.0.150120158]' |
| | | Description: 'å叿¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StartTime |
| | | { |
| | | #keys: '3[412960.0.150120117][412960.0.150120116][412960.0.150120118]' |
| | | Description: 'å¼å§æ¶é´' |
| | | IsReadOnly: true |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[412960.0.150120107][412960.0.150120106][412960.0.150120108]' |
| | | Description: 'åºåç¹ç¼ç ' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute User |
| | | { |
| | | #keys: '3[412960.0.150120137][412960.0.150120136][412960.0.150120138]' |
| | | Description: 'ç¨æ·åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionID |
| | | { |
| | | #keys: '3[412960.0.150120057][412960.0.150120056][412960.0.150120058]' |
| | | Description: 'æ°æ®åºæ½åçå
¨éçæ¬å·' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionName |
| | | { |
| | | #keys: '3[412960.0.150124918][412960.0.150124917][412960.0.150124919]' |
| | | Description: 'çæ¬åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | TypeIndex TypeIndexVersionControl |
| | | { |
| | | Attributes: |
| | | [ |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: VersionID |
| | | } |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: EndTime |
| | | } |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: StockingPointID |
| | | } |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: StartTime |
| | | } |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: ProductID |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type MappingVersionControl |
| | | { |
| | | #keys: '5[412960.0.150120040][412960.0.150120038][0.0.0][412960.0.150120039][412960.0.150120041]' |
| | | BaseType: Object |
| | | Description: 'çæ¬æ§å¶ä¸é´è¡¨' |
| | | StructuredName: 'MappingVersionControls' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerName |
| | | { |
| | | #keys: '3[412960.0.217504426][412960.0.217504425][412960.0.217504427]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute End |
| | | { |
| | | #keys: '3[412960.0.217504488][412960.0.217504487][412960.0.217504489]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute EndDate |
| | | { |
| | | #keys: '3[412960.0.217504467][412960.0.217504466][412960.0.217504468]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsLocked |
| | | { |
| | | #keys: '3[412960.0.217504477][412960.0.217504476][412960.0.217504478]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LastModify |
| | | { |
| | | #keys: '3[412960.0.217504501][412960.0.217504500][412960.0.217504502]' |
| | | Description: 'æåä¿®æ¹äºº' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LastModifyTime |
| | | { |
| | | #keys: '3[412960.0.217504498][412960.0.217504497][412960.0.217504499]' |
| | | Description: 'æåæä½æ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Notes |
| | | { |
| | | #keys: '3[412960.0.250388891][412960.0.250388890][412960.0.250388892]' |
| | | Description: '夿³¨' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderID |
| | | { |
| | | #keys: '3[412960.0.217504386][412960.0.217504385][412960.0.217504387]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Price |
| | | { |
| | | #keys: '3[412960.0.217504457][412960.0.217504456][412960.0.217504458]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[412960.0.217504396][412960.0.217504395][412960.0.217504397]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Quantity |
| | | { |
| | | #keys: '3[412960.0.217504437][412960.0.217504436][412960.0.217504438]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesSegmentName |
| | | { |
| | | #keys: '3[412960.0.217504406][412960.0.217504405][412960.0.217504407]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[412960.0.217504416][412960.0.217504415][412960.0.217504417]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute UnitOfMeasureName |
| | | { |
| | | #keys: '3[412960.0.217504447][412960.0.217504446][412960.0.217504448]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: LastModify |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type OrderLockLog |
| | | { |
| | | #keys: '5[412960.0.217504330][412960.0.217504328][0.0.0][412960.0.217504329][412960.0.217504331]' |
| | | BaseType: Object |
| | | Description: '订åé宿使¥å¿' |
| | | StructuredName: 'OrderLockLogs' |
| | | } |
| | |
| | | tableElement:= xmlDOMDocument.GetElementByTagName( "table", 0 ); |
| | | |
| | | traverse ( toExportList, Elements, toExport ) { |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductID(), "ç©æç¼ç " ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductName(), "ç©æåç§°" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.IsPanelMaterial(), "颿¿ç©ææ è¯" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.ProduceRequiredDate() = Date::MinDate(), "", dateToString.Convert( toExport.ProduceRequiredDate() ) ), "äº¤è´§æ¥æ" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.PRSuggestionDate() = Date::MinDate(), "", dateToString.Convert( toExport.PRSuggestionDate() ) ), "PRå»ºè®®æ¥æ" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, [String]toExport.Quantity(), "交货æ°é" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.MRPCalverNo(), "MRP计ç®çæ¬å·" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.BusinessType(), "ä¸å¡ç±»å" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.OrganCode(), "ç»ç»ç¼ç " ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.IsLongLeadItem(), "æ¯å¦é¿å¨æ" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.IsGenericMaterial(), "æ¯å¦ä¸ç¨æ" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.MaterialMRPType(), "ç©æè®¡åçç¥" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, [String]toExport.LeadTime(), "æåæ" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProviderCode(), "ä¾åºå代ç " ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProviderName(), "ä¾åºååç§°" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.StockingPointID(), "æ¶è´§åºåç¹" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.UnitOfMeasure(), "计éåä½" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendStatus(), "PRæ°æ®åéç¶æ" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendTimeString(), "åéæ¶é´" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendBy(), "åé人" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductID(), "ç©æç¼ç " ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductName(), "ç©æåç§°" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.IsPanelMaterial(), "颿¿ç©ææ è¯" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.ProduceRequiredDate() = Date::MinDate(), "", dateToString.Convert( toExport.ProduceRequiredDate() ) ), "äº¤è´§æ¥æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.PRSuggestionDate() = Date::MinDate(), "", dateToString.Convert( toExport.PRSuggestionDate() ) ), "PRå»ºè®®æ¥æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, [String]toExport.Quantity(), "交货æ°é" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.MRPCalverNo(), "MRP计ç®çæ¬å·" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.BusinessType(), "ä¸å¡ç±»å" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.OrganCode(), "ç»ç»ç¼ç " ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.IsLongLeadItem(), "æ¯å¦é¿å¨æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.IsGenericMaterial(), "æ¯å¦ä¸ç¨æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.MaterialMRPType(), "ç©æè®¡åçç¥" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, [String]toExport.LeadTime(), "æåæ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProviderCode(), "ä¾åºå代ç " ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProviderName(), "ä¾åºååç§°" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.StockingPointID(), "æ¶è´§åºåç¹" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.UnitOfMeasure(), "计éåä½" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendStatus(), "PRæ°æ®åéç¶æ" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendTimeString(), "åéæ¶é´" ); |
| | | PRData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendBy(), "åé人" ); |
| | | } |
| | | |
| | | xmlDOMSerializer := xmlDOMImplementation.CreateSerializer(); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GeneratesTheSpecifiedXMLColumn ( |
| | | XMLDOMDocument xmlDOMDocument, |
| | | XMLDOMElement tableElement, |
| | | String value, |
| | | String columnName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | columnElements := tableElement.GetElementsByTagName( "column" ); |
| | | |
| | | traverse ( columnElements, Elements, ce ) { |
| | | nameElement := ce.GetElementByTagName( "name", 0 ); |
| | | if ( nameElement.TextContent() = columnName ) { |
| | | cell := xmlDOMDocument.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", value ); |
| | | ce.AppendChild( cell ); |
| | | } |
| | | } |
| | | *] |
| | | } |
| | |
| | | tableElement:= xmlDOMDocument.GetElementByTagName( "table", 0 ); |
| | | |
| | | traverse ( toExportList, Elements, toExport ) { |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductID(), "é¶ä»¶å·" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductName(), "é¶ä»¶åç§°" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.ProduceRequiredDate() = Date::MinDate(), "", dateToString.Convert( toExport.ProduceRequiredDate() ) ), "äº¤è´§æ¥æ" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, [String]toExport.Quantity(), "éæ±æ°é" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.MRPCalverNo(), "MRP计ç®çæ¬å·" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.BusinessType(), "äºä¸é¨" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.OrganCode(), "ç»ç»ç¼ç " ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProviderCode(), "ä¾åºå代ç " ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProviderName(), "ä¾åºååç§°" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.StockingPointID(), "æ¶è´§åºåç¹" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.UnitOfMeasure(), "计éåä½" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendStatus(), "PRæ°æ®åéç¶æ" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendTimeString(), "åéæ¶é´" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ReleaseBy(), "åé人" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ReceiveTimeString(), "ERPæ¥æ¶æ¶é´" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ReceiveStatus(), "ERPæ¥æ¶ç¶æ" ); |
| | | MatAttrSettingAndPlanStrategy::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ReceiveError(), "éè¯¯ä¿¡æ¯æè¿°" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductID(), "é¶ä»¶å·" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProductName(), "é¶ä»¶åç§°" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, ifexpr( toExport.ProduceRequiredDate() = Date::MinDate(), "", dateToString.Convert( toExport.ProduceRequiredDate() ) ), "äº¤è´§æ¥æ" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, [String]toExport.Quantity(), "éæ±æ°é" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.MRPCalverNo(), "MRP计ç®çæ¬å·" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.BusinessType(), "äºä¸é¨" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.OrganCode(), "ç»ç»ç¼ç " ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProviderCode(), "ä¾åºå代ç " ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ProviderName(), "ä¾åºååç§°" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.StockingPointID(), "æ¶è´§åºåç¹" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.UnitOfMeasure(), "计éåä½" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendStatus(), "PRæ°æ®åéç¶æ" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.SendTimeString(), "åéæ¶é´" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ReleaseBy(), "åé人" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ReceiveTimeString(), "ERPæ¥æ¶æ¶é´" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ReceiveStatus(), "ERPæ¥æ¶ç¶æ" ); |
| | | PRHistoryData::GeneratesTheSpecifiedXMLColumn( xmlDOMDocument, tableElement, toExport.ReceiveError(), "éè¯¯ä¿¡æ¯æè¿°" ); |
| | | } |
| | | |
| | | xmlDOMSerializer := xmlDOMImplementation.CreateSerializer(); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GeneratesTheSpecifiedXMLColumn ( |
| | | XMLDOMDocument xmlDOMDocument, |
| | | XMLDOMElement tableElement, |
| | | String value, |
| | | String columnName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | columnElements := tableElement.GetElementsByTagName( "column" ); |
| | | |
| | | traverse ( columnElements, Elements, ce ) { |
| | | nameElement := ce.GetElementByTagName( "name", 0 ); |
| | | if ( nameElement.TextContent() = columnName ) { |
| | | cell := xmlDOMDocument.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", value ); |
| | | ce.AppendChild( cell ); |
| | | } |
| | | } |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute coefficient |
| | | Attribute Coefficient |
| | | { |
| | | #keys: '3[414382.0.456067070][414382.0.456067069][414382.0.456067071]' |
| | | Description: 'ä¼å
å åç³»æ°' |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetCoeffcientByName ( |
| | | MacroPlan owner, |
| | | String businessType, |
| | | String name |
| | | ) as Real |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-21-2023 (created) |
| | | |
| | | data := selectobject( owner,PriorityFactor,p, |
| | | p.BusinessType() = businessType and p.Name() = name |
| | | ) |
| | | |
| | | return data.Coefficient(); |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetDataByBusinessType ( |
| | | GlobalOTDTable owner, |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) as owning PriorityFactors |
| | | { |
| | |
| | | list := selectset( owner,PriorityFactor,p, |
| | | p.BusinessType() = businessType |
| | | ); |
| | | info("list size :" + [String]list.Size()); |
| | | return &list; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetNameList ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-21-2023 (created) |
| | | value := ""; |
| | | |
| | | strList := selectuniquevalues( owner,PriorityFactor,p, |
| | | p.BusinessType() = businessType, |
| | | p.Name() |
| | | ); |
| | | |
| | | if( not isnull( strList ) ) |
| | | { |
| | | value := strList.Concatenate( ";" ); |
| | | } |
| | | |
| | | return value; |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod InitData ( |
| | | GlobalOTDTable owner |
| | | MacroPlan owner |
| | | ) |
| | | { |
| | | TextBody: |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute GradeDesc |
| | | { |
| | | #keys: '3[414382.0.475830209][414382.0.475830208][414382.0.475830210]' |
| | | ValueType: String |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ClearTestData ( |
| | | GlobalOTDTable owner |
| | | MacroPlan owner |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-18-2023 (created) |
| | | |
| | | info(1111 ); |
| | | owner.PriorityFactorDetails(relflush ); |
| | | info(2222); |
| | | owner.PriorityFactor(relflush ); |
| | | info(3333 ); |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateTestData ( |
| | | GlobalOTDTable owner |
| | | MacroPlan owner |
| | | ) |
| | | { |
| | | TextBody: |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetDataByPriorityFactor ( |
| | | PriorityFactor priorityFactor, |
| | | MacroPlan owner |
| | | ) as owning PriorityFactorDetailss |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-18-2023 (created) |
| | | |
| | | list := selectset( owner,PriorityFactor.PriorityFactorDetails,p, |
| | | p.BusinessType() = priorityFactor.BusinessType() and priorityFactor.Name() = p.PriorityFactorName() |
| | | ); |
| | | |
| | | return &list; |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod InitData ( |
| | | GlobalOTDTable owner |
| | | MacroPlan owner |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | |
| | | |
| | | |
| | | traverse( owner, PriorityFactor , p) |
| | | traverse( owner, PriorityFactor , p) |
| | | { |
| | | isBusinessType := false; |
| | | if( p.BusinessType() <> "éå¢é¢æ¿" ) |
| | | { |
| | | isBusinessType := true; |
| | | isBusinessType := true; |
| | | } |
| | | |
| | | owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := 5, |
| | | p.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := 5, |
| | | IsRange := false,GradingName := "大ç",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); |
| | | owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := 3, |
| | | p.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := 3, |
| | | IsRange := false,GradingName := "å°ç",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); |
| | | owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := 0, |
| | | p.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := 0, |
| | | IsRange := false,GradingName := "æå¹³",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); |
| | | owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := -3, |
| | | p.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := -3, |
| | | IsRange := false,GradingName := "å°äº",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); |
| | | owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := -5, |
| | | p.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := -5, |
| | | IsRange := false,GradingName := "大äº",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); |
| | | } |
| | | *] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414382.0.488041999][414382.0.488041998][414382.0.488042000]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CalculateValue |
| | | { |
| | | #keys: '3[414382.0.488041974][414382.0.488041973][414382.0.488041975]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Desc |
| | | { |
| | | #keys: '3[414382.0.488042011][414382.0.488042010][414382.0.488042012]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Formula |
| | | { |
| | | #keys: '3[414382.0.488041964][414382.0.488041963][414382.0.488041965]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Name |
| | | { |
| | | #keys: '3[414382.0.488041954][414382.0.488041953][414382.0.488041955]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetDataByBusinessType ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) as owning PriorityPolicys |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-20-2023 (created) |
| | | |
| | | list := selectset( owner,PriorityPolicy,p, |
| | | p.BusinessType() = businessType |
| | | ); |
| | | |
| | | return &list; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod RollBackStr ( |
| | | MacroPlan owner, |
| | | String businessType, |
| | | String stringData |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-21-2023 (created) |
| | | value := stringData; |
| | | |
| | | symbolList := construct( structured[String]); |
| | | symbolList.Add( "+") |
| | | symbolList.Add( "-") |
| | | symbolList.Add( "x") |
| | | symbolList.Add( "/") |
| | | symbolList.Add( "(") |
| | | symbolList.Add( ")") |
| | | |
| | | traverse( symbolList,Elements,e) |
| | | { |
| | | if( stringData.EndsWith( e )) |
| | | { |
| | | end := stringData.Length() - e.Length(); |
| | | value := stringData.SubString( 0,end); |
| | | } |
| | | } |
| | | |
| | | nameList := PriorityFactor::GetDataByBusinessType( owner,businessType); |
| | | traverse( nameList,Elements,e) |
| | | { |
| | | if( stringData.EndsWith( e.Name())) |
| | | { |
| | | end := stringData.Length() - e.Name().Length(); |
| | | value := stringData.SubString( 0,end); |
| | | } |
| | | } |
| | | |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type PriorityPolicy |
| | | { |
| | | #keys: '5[414382.0.488041937][414382.0.488041935][0.0.0][414382.0.488041936][414382.0.488041938]' |
| | | BaseType: Object |
| | | Description: 'ä¼å
级çç¥' |
| | | StructuredName: 'PriorityPolicys' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414382.0.504275379][414382.0.504275378][414382.0.504275380]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Customer |
| | | { |
| | | #keys: '3[414382.0.504275376][414382.0.504275375][414382.0.504275377]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerID |
| | | { |
| | | #keys: '3[414382.0.504275385][414382.0.504275384][414382.0.504275386]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DemandDate |
| | | { |
| | | #keys: '3[414382.0.504275370][414382.0.504275369][414382.0.504275371]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PriorityResultScore |
| | | { |
| | | #keys: '3[414382.0.504275396][414382.0.504275395][414382.0.504275397]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[414382.0.504275367][414382.0.504275366][414382.0.504275368]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Quantity |
| | | { |
| | | #keys: '3[414382.0.504275361][414382.0.504275360][414382.0.504275362]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesSegmentName |
| | | { |
| | | #keys: '3[414382.0.504275382][414382.0.504275381][414382.0.504275383]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[414382.0.504275364][414382.0.504275363][414382.0.504275365]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute UnitOfMeasureName |
| | | { |
| | | #keys: '3[414382.0.504275373][414382.0.504275372][414382.0.504275374]' |
| | | ValueType: String |
| | | } |
copy from _Main/BL/Type_CapacityAndSaleBudgeChartRow/DefaultValue_BusinessType.qbl
copy to _Main/BL/Type_PriorityResult/DefaultValue_BusinessType.qbl
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Customer |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: CustomerID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: SalesSegmentName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: StockingPointID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: UnitOfMeasureName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Function CalcPriorityResultScore |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-21-2023 (created) |
| | | |
| | | businessTypeScore := max( this,PriorityResultBusinessTypeDetail,p, |
| | | p.PriorityTotalScore() |
| | | ); |
| | | |
| | | groupScore := max( this,PriorityResultGroupDetail,p, |
| | | p.PriorityTotalScore() |
| | | ); |
| | | |
| | | value := maxvalue( businessTypeScore,groupScore); |
| | | |
| | | this.PriorityResultScore( value ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type PriorityResult |
| | | { |
| | | #keys: '5[414382.0.504275125][414382.0.504275123][0.0.0][414382.0.504275124][414382.0.504275126]' |
| | | BaseType: Object |
| | | StructuredName: 'PriorityResults' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CheckCanTopping ( |
| | | PriorityResultBusinessTypeDetail businessTypeDetails |
| | | ) as Boolean |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-21-2023 (created) |
| | | groupDetails := selectset( businessTypeDetails.PriorityResult(),PriorityResultGroupDetail,p,true); |
| | | |
| | | return isnull( groupDetails); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod EmergencyTopping ( |
| | | MacroPlan owner, |
| | | PriorityResultBusinessTypeDetail businessTypeDetails |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-21-2023 (created) |
| | | |
| | | |
| | | maxPriorityResult := max( owner,PriorityResult,p, |
| | | p.PriorityResultScore() |
| | | ); |
| | | |
| | | topScore := maxPriorityResult + 1; |
| | | businessTypeDetails.PriorityTotalScore(topScore); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | TypeSpecialization PriorityResultBusinessTypeDetail |
| | | { |
| | | #keys: '2[414382.0.504275146][414382.0.504275145]' |
| | | Description: 'äºä¸é¨ä¼å
çº§ç»ææç»' |
| | | Parent: PriorityResultDetail |
| | | StructuredName: 'PriorityResultBusinessTypeDetails' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414382.0.504275420][414382.0.504275419][414382.0.504275421]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Customer |
| | | { |
| | | #keys: '3[414382.0.504275411][414382.0.504275410][414382.0.504275412]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerID |
| | | { |
| | | #keys: '3[414382.0.504275429][414382.0.504275428][414382.0.504275430]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DemandDate |
| | | { |
| | | #keys: '3[414382.0.504275423][414382.0.504275422][414382.0.504275424]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PriorityFactorGradingName |
| | | { |
| | | #keys: '3[414382.0.504275468][414382.0.504275467][414382.0.504275469]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PriorityFactorName |
| | | { |
| | | #keys: '3[414382.0.504275458][414382.0.504275457][414382.0.504275459]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PriorityPolicyName |
| | | { |
| | | #keys: '3[414382.0.504275439][414382.0.504275438][414382.0.504275440]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PriorityResultScore |
| | | { |
| | | #keys: '3[414382.0.504275426][414382.0.504275425][414382.0.504275427]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PriorityTotalScore |
| | | { |
| | | #keys: '3[414382.0.504275485][414382.0.504275484][414382.0.504275486]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Quantity |
| | | { |
| | | #keys: '3[414382.0.504275414][414382.0.504275413][414382.0.504275415]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesSegmentName |
| | | { |
| | | #keys: '3[414382.0.504275435][414382.0.504275434][414382.0.504275436]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[414382.0.504275417][414382.0.504275416][414382.0.504275418]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute UnitOfMeasureName |
| | | { |
| | | #keys: '3[414382.0.504275432][414382.0.504275431][414382.0.504275433]' |
| | | ValueType: String |
| | | } |
copy from _Main/BL/Type_CapacityAndSaleBudgeChartRow/DefaultValue_BusinessType.qbl
copy to _Main/BL/Type_PriorityResultDetail/DefaultValue_BusinessType.qbl
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Customer |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: CustomerID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: SalesSegmentName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: StockingPointID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: UnitOfMeasureName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type PriorityResultDetail |
| | | { |
| | | #keys: '5[414382.0.504275135][414382.0.504275133][0.0.0][414382.0.504275134][414382.0.504275136]' |
| | | BaseType: Object |
| | | StructuredName: 'PriorityResultDetails' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | TypeSpecialization PriorityResultGroupDetail |
| | | { |
| | | #keys: '2[414382.0.504275155][414382.0.504275154]' |
| | | Description: 'éå¢ä¼å
çº§ç»ææç»' |
| | | Parent: PriorityResultDetail |
| | | StructuredName: 'PriorityResultGroupDetails' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsCreateNewVersion |
| | | { |
| | | #keys: '3[412960.0.155630021][412960.0.155630020][412960.0.155630022]' |
| | | Description: 'æ¯å¦å建ä»éå¢SOPå¼å§çå
¨æ°çæ¬' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsOrderLocked |
| | | { |
| | | #keys: '3[412960.0.212420059][412960.0.212420058][412960.0.212420060]' |
| | | Description: '订åéå®çæ¯å¦éå®ç鿡件' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionID |
| | | { |
| | | #keys: '3[412960.0.150120035][412960.0.150120034][412960.0.150120036]' |
| | | Description: 'å½ååºæ¯å¯¹åºççæ¬å·ï¼äºåå»ºçæ¬æ¶ç¡®å®' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: VersionID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SetReleased #extension |
| | | { |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method CapacityAndSaleBudgeChart ( |
| | | MacroPlans macroPlans, |
| | | Boolean isCapacity, |
| | | String groupBy, |
| | | String byBusinessTypeOrByOrgCode, |
| | | CapacityAndSaleBudgeFilterBusinessTypes businessTypes, |
| | | CapacityAndSaleBudgeFilterPlaceOfProductionOfArrays placeOfProductionOfArrays, |
| | | CapacityAndSaleBudgeFilterYears years, |
| | | CapacityAndSaleBudgeFilterMonths months, |
| | | MPSync mpSync, |
| | | GlobalOTDTable otdTable, |
| | | MacroPlan mappingParent |
| | | ) |
| | | { |
| | | Description: 'æå
¥åå¤çæ°æ®ï¼äº§çéè¦çCapacityAndSaleBudgeChartElement' |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-19-2023 (created) |
| | | // true, false |
| | | info( isCapacity ); |
| | | // æ;å£åº¦;åå¹´;å¹´ |
| | | info( groupBy ); |
| | | // 颿¿åºå°;äºä¸é¨ |
| | | info( byBusinessTypeOrByOrgCode ); |
| | | traverse( businessTypes, Elements, businessType ) { |
| | | info( "businessType : " + businessType.BusinessType() ); |
| | | } |
| | | traverse( placeOfProductionOfArrays, Elements, placeOfProductionOfArray ) { |
| | | info( "placeOfProductionOfArray : " + placeOfProductionOfArray.PlaceOfProductionOfArray() ); |
| | | } |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | info( "macroPlan : " + macroPlan.ScenarioName() ); |
| | | } |
| | | // 年份ä¸éæ¶å
¨é |
| | | if( years.Size() = 0 ) { |
| | | years := selectsortedset( this, CapacityAndSaleBudgeFilterYear, item, true, item.YearNo() ); |
| | | } |
| | | traverse( years, Elements, year ) { |
| | | info( "yearNo : " + [String]year.YearNo() ); |
| | | } |
| | | // æä»½ä¸éæ¶å
¨é |
| | | if( months.Size() = 0 ) { |
| | | months := selectsortedset( this, CapacityAndSaleBudgeFilterMonth, item, true, item.MonthNo() ); |
| | | } |
| | | traverse( months, Elements, month ) { |
| | | info( "monthNo : " + [String]month.MonthNo() ); |
| | | } |
| | | |
| | | // ====æ¸
çæ§æ°æ®==== |
| | | this.CapacityAndSaleBudgeChartRow( relflush ); |
| | | this.CapacityAndSaleBudgeChartElement( relflush ); |
| | | |
| | | // ====æé¢æ¿åºå°åäºä¸é¨å¯¹äº§åè¿è¡çéåç»==== |
| | | historyData := selectset( mpSync, MappingCapacityAndSaleBudge, item, true ); |
| | | if( businessTypes.Size() > 0 ) { |
| | | businessTypeStrings := selectuniquevalues( businessTypes, Elements, item, true, item.BusinessType() ); |
| | | historyData := selectset( historyData, Elements, item, businessTypeStrings.Find( item.BusinessType() ) > -1 ); |
| | | } |
| | | if( placeOfProductionOfArrays.Size() > 0 ) { |
| | | placeOfProductionOfArrayStrings := selectuniquevalues( placeOfProductionOfArrays, Elements, item, true, item.PlaceOfProductionOfArray() ); |
| | | historyData := selectset( historyData, Elements, item, placeOfProductionOfArrayStrings.Find( item.PlaceOfProductionOfArray() ) > -1 ); |
| | | } |
| | | //info( "historyData : " + [String]historyData.Size() ); |
| | | traverse( historyData, Elements, item ) { |
| | | row := CapacityAndSaleBudgeChartRow::CreateIfNotExist( this, item.BusinessType(), item.PlaceOfProductionOfArray() ); |
| | | // è®°å½æ¯è¡å
å«åªäºproduct |
| | | CapacityAndSaleBudgeChartRowProduct::CreateIfNotExist( row, item.ProductCode() ); |
| | | } |
| | | rows := selectset( this, CapacityAndSaleBudgeChartRow, item, true ); |
| | | //info( "rows : " + [String]rows.Size() ); |
| | | placeOfProductionOfArrayList := selectuniquevalues( historyData, Elements, item, item.PlaceOfProductionOfArray() ); |
| | | businessTypeList := selectuniquevalues( historyData, Elements, item, item.BusinessType() ); |
| | | // çæå¾è¡¨å
ç´ |
| | | traverse( years, Elements, year ) { |
| | | info( "process year start : " + [String]year.YearNo() ); |
| | | if( byBusinessTypeOrByOrgCode = "颿¿åºå°" and groupBy = "å¹´" ) { |
| | | // ç®æ |
| | | traverse( placeOfProductionOfArrayList, Elements, placeOfProductionOfArray ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByPlaceOfProductionOfArray( rows, placeOfProductionOfArray ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | MappingCapacityAndSaleBudge::GetSheetByYear( productCodeList, mpSync, year.YearNo() ), |
| | | MappingAnnualBudget::GetSheetByYear( productCodeList, mpSync, year.YearNo() ) ) |
| | | ); |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByYear( productCodeList, macroPlan, year.YearNo() ), |
| | | MappingCustomerOrder::GetNewSupplyByYear( productCodeList, macroPlan, year.YearNo() ) |
| | | ) |
| | | ); |
| | | } |
| | | } |
| | | } |
| | | if ( byBusinessTypeOrByOrgCode = "颿¿åºå°" and groupBy = "åå¹´" ) { |
| | | for( halfNo := 1; halfNo <= 2; halfNo := halfNo + 1 ) { |
| | | traverse( placeOfProductionOfArrayList, Elements, placeOfProductionOfArray ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByPlaceOfProductionOfArray( rows, placeOfProductionOfArray ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-" + ifexpr( halfNo = 1, "ä¸", "ä¸" ) + "åå¹´-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | MappingCapacityAndSaleBudge::GetSheetByHalfYear( productCodeList, mpSync, year.YearNo(), halfNo ), |
| | | MappingAnnualBudget::GetSheetByHalfYear( productCodeList, mpSync, year.YearNo(), halfNo ) ) |
| | | ); |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-" + ifexpr( halfNo = 1, "ä¸", "ä¸" ) + "åå¹´-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByHalfYear( productCodeList, macroPlan, year.YearNo(), halfNo ), |
| | | MappingCustomerOrder::GetNewSupplyByHalfYear( productCodeList, macroPlan, year.YearNo(), halfNo ) |
| | | ) |
| | | ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | if ( byBusinessTypeOrByOrgCode = "颿¿åºå°" and groupBy = "å£åº¦" ) { |
| | | for( seasonNo := 1; seasonNo <= 4; seasonNo := seasonNo + 1 ) { |
| | | traverse( placeOfProductionOfArrayList, Elements, placeOfProductionOfArray ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByPlaceOfProductionOfArray( rows, placeOfProductionOfArray ); |
| | | // info( "productCodeList : " + [String]productCodeList.Size() ); |
| | | // info( "MappingCapacityAndSaleBudge::GetSheetBySeason : " + [String]MappingCapacityAndSaleBudge::GetSheetBySeason( productCodeList, mpSync, [Number]year, seasonNo ) ); |
| | | // info( "seasonNo : " + [String]seasonNo ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-第" + [String]seasonNo + "å£åº¦-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | MappingCapacityAndSaleBudge::GetSheetBySeason( productCodeList, mpSync, year.YearNo(), seasonNo ), |
| | | MappingAnnualBudget::GetSheetBySeason( productCodeList, mpSync, year.YearNo(), seasonNo ) ) |
| | | ); |
| | | // info( "productCodeList : " + [String]productCodeList.Size() ); |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-第" + [String]seasonNo + "å£åº¦-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyBySeason( productCodeList, macroPlan, year.YearNo(), seasonNo ), |
| | | MappingCustomerOrder::GetNewSupplyBySeason( productCodeList, macroPlan, year.YearNo(), seasonNo ) |
| | | ) |
| | | ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | if ( byBusinessTypeOrByOrgCode = "颿¿åºå°" and groupBy = "æ" ) { |
| | | traverse( months, Elements, month ) { |
| | | info( "process month start : " + [String]month.MonthNo() ); |
| | | monthNoString := ifexpr( month.MonthNo() <= 9, "0" + [String]month.MonthNo(), [String]month.MonthNo() ); |
| | | traverse( placeOfProductionOfArrayList, Elements, placeOfProductionOfArray ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByPlaceOfProductionOfArray( rows, placeOfProductionOfArray ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-第" + monthNoString + "æ-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | MappingCapacityAndSaleBudge::GetSheetByMonth( productCodeList, mpSync, year.YearNo(), month.MonthNo() ), |
| | | MappingAnnualBudget::GetSheetByMonth( productCodeList, mpSync, year.YearNo(), month.MonthNo() ) ) |
| | | ); |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-第" + monthNoString + "æ-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByMonth( productCodeList, macroPlan, year.YearNo(), month.MonthNo() ), |
| | | MappingCustomerOrder::GetNewSupplyByMonth( productCodeList, macroPlan, year.YearNo(), month.MonthNo() ) |
| | | ) |
| | | ); |
| | | } |
| | | } |
| | | info( "process month end : " + [String]month.MonthNo() ); |
| | | } |
| | | } |
| | | if( byBusinessTypeOrByOrgCode = "äºä¸é¨" and groupBy = "å¹´" ) { |
| | | // ç®æ |
| | | traverse( businessTypeList, Elements, businessType ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByBusinessType( rows, businessType ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | MappingCapacityAndSaleBudge::GetSheetByYear( productCodeList, mpSync, year.YearNo() ), |
| | | MappingAnnualBudget::GetSheetByYear( productCodeList, mpSync, year.YearNo() ) ) |
| | | ); |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByYear( productCodeList, macroPlan, year.YearNo() ), |
| | | MappingCustomerOrder::GetNewSupplyByYear( productCodeList, macroPlan, year.YearNo() ) |
| | | ) |
| | | ); |
| | | } |
| | | } |
| | | } |
| | | if ( byBusinessTypeOrByOrgCode = "äºä¸é¨" and groupBy = "åå¹´" ) { |
| | | for( halfNo := 1; halfNo <= 2; halfNo := halfNo + 1 ) { |
| | | traverse( businessTypeList, Elements, businessType ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByBusinessType( rows, businessType ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-" + ifexpr( halfNo = 1, "ä¸", "ä¸" ) + "åå¹´-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | MappingCapacityAndSaleBudge::GetSheetByHalfYear( productCodeList, mpSync, year.YearNo(), halfNo ), |
| | | MappingAnnualBudget::GetSheetByHalfYear( productCodeList, mpSync, year.YearNo(), halfNo ) ) |
| | | ); |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-" + ifexpr( halfNo = 1, "ä¸", "ä¸" ) + "åå¹´-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByHalfYear( productCodeList, macroPlan, year.YearNo(), halfNo ), |
| | | MappingCustomerOrder::GetNewSupplyByHalfYear( productCodeList, macroPlan, year.YearNo(), halfNo ) |
| | | ) |
| | | ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | if ( byBusinessTypeOrByOrgCode = "äºä¸é¨" and groupBy = "å£åº¦" ) { |
| | | for( seasonNo := 1; seasonNo <= 4; seasonNo := seasonNo + 1 ) { |
| | | info( "process season start : " + [String]seasonNo ); |
| | | traverse( businessTypeList, Elements, businessType ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByBusinessType( rows, businessType ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-第" + [String]seasonNo + "å£åº¦-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | MappingCapacityAndSaleBudge::GetSheetBySeason( productCodeList, mpSync, year.YearNo(), seasonNo ), |
| | | MappingAnnualBudget::GetSheetBySeason( productCodeList, mpSync, year.YearNo(), seasonNo ) ) |
| | | ); |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-第" + [String]seasonNo + "å£åº¦-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyBySeason( productCodeList, macroPlan, year.YearNo(), seasonNo ), |
| | | MappingCustomerOrder::GetNewSupplyBySeason( productCodeList, macroPlan, year.YearNo(), seasonNo ) |
| | | ) |
| | | ); |
| | | } |
| | | } |
| | | info( "process season end : " + [String]seasonNo ); |
| | | } |
| | | } |
| | | if ( byBusinessTypeOrByOrgCode = "äºä¸é¨" and groupBy = "æ" ) { |
| | | traverse( months, Elements, month ) { |
| | | info( "process month start : " + [String]month.MonthNo() ); |
| | | monthNoString := ifexpr( month.MonthNo() <= 9, "0" + [String]month.MonthNo(), [String]month.MonthNo() ); |
| | | traverse( businessTypeList, Elements, businessType ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByBusinessType( rows, businessType ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-第" + monthNoString + "æ-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | MappingAnnualBudget::GetSheetByMonth( productCodeList, mpSync, year.YearNo(), month.MonthNo() ), |
| | | MappingCapacityAndSaleBudge::GetSheetByMonth( productCodeList, mpSync, year.YearNo(), month.MonthNo() ) ) |
| | | ); |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year.YearNo() + "å¹´-第" + monthNoString + "æ-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByMonth( productCodeList, macroPlan, year.YearNo(), month.MonthNo() ), |
| | | MappingCustomerOrder::GetNewSupplyByMonth( productCodeList, macroPlan, year.YearNo(), month.MonthNo() ) |
| | | ) |
| | | ); |
| | | } |
| | | } |
| | | info( "process month end : " + [String]month.MonthNo() ); |
| | | } |
| | | } |
| | | info( "process year end : " + [String]year.YearNo() ) |
| | | } |
| | | //info( "CapacityAndSaleBudgeChartElement : " + [String]selectset( this, CapacityAndSaleBudgeChartElement, item, true ).Size() ); |
| | | //traverse( this, CapacityAndSaleBudgeChartRow, row ) { |
| | | // info( "==â==" ); |
| | | // info( row.BusinessType() ); |
| | | // info( row.PlaceOfProductionOfArray() ); |
| | | // elements := selectset( row, CapacityAndSaleBudgeChartRowProduct, cell, true ); |
| | | // info( elements.Size() ); |
| | | // info( row.GetProductCodes().Concatenate( " | " ) ); |
| | | // info( "==â==" ); |
| | | //} |
| | | *] |
| | | } |
| | |
| | | MacroPlan mappingParent |
| | | ) |
| | | { |
| | | Description: 'æå
¥åå¤çæ°æ®ï¼äº§çéè¦çCapacityAndSaleBudgeChartElement' |
| | | Description: |
| | | [* |
| | | æå
¥åå¤çæ°æ®ï¼äº§çéè¦çCapacityAndSaleBudgeChartElement |
| | | ï¼ï¼ï¼ï¼åºå¼ï¼ï¼ï¼ï¼ |
| | | *] |
| | | TextBody: |
| | | [* |
| | | // yypsybs Sep-19-2023 (created) |
| | |
| | | this.CapacityAndSaleBudgeChartElement( relflush ); |
| | | |
| | | // ====æé¢æ¿åºå°åäºä¸é¨å¯¹äº§åè¿è¡çéåç»==== |
| | | historyData := selectset( otdTable, CapacityAndSaleBudge, item, true ); |
| | | historyData := selectset( mpSync, MappingCapacityAndSaleBudge, item, true ); |
| | | if( placeOfProductionOfArrayChosen <> "" ) { |
| | | historyData := selectset( historyData, Elements, item, item.PlaceOfProductionOfArray() = placeOfProductionOfArrayChosen ); |
| | | } |
| | | if( businessTypeChosen <> "" ) { |
| | | historyData := selectset( historyData, Elements, item, item.BusinessType() = businessTypeChosen ); |
| | | } |
| | | //info( "historyData : " + [String]historyData.Size() ); |
| | | traverse( historyData, Elements, item ) { |
| | | row := CapacityAndSaleBudgeChartRow::CreateIfNotExist( this, item.BusinessType(), item.PlaceOfProductionOfArray() ); |
| | | // è®°å½æ¯è¡å
å«åªäºproduct |
| | | CapacityAndSaleBudgeChartRowProduct::CreateIfNotExist( row, item.ProductCode() ); |
| | | } |
| | | rows := selectset( this, CapacityAndSaleBudgeChartRow, item, true ); |
| | | //info( "rows : " + [String]rows.Size() ); |
| | | placeOfProductionOfArrayList := selectuniquevalues( historyData, Elements, item, item.PlaceOfProductionOfArray() ); |
| | | businessTypeList := selectuniquevalues( historyData, Elements, item, item.BusinessType() ); |
| | | // çæå¾è¡¨å
ç´ |
| | |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByPlaceOfProductionOfArray( rows, placeOfProductionOfArray ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-ç®æ ", |
| | | BusinessTypeOrOrgCode := placeOfProductionOfArray, |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | CapacityAndSaleBudge::GetSheetByYear( productCodeList, otdTable, [Number]year ), |
| | | MappingForecast::GetQuantityByYear( productCodeList, mappingParent, [Number]year ) ) |
| | | MappingCapacityAndSaleBudge::GetSheetByYear( productCodeList, mpSync, [Number]year ), |
| | | // todo QID 23 |
| | | MappingAnnualBudget::GetSheetByYear( productCodeList, mpSync, [Number]year ) ) |
| | | ); |
| | | // S&OP |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrOrgCode := placeOfProductionOfArray, |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByYear( productCodeList, macroPlan, [Number]year ), |
| | | // todo |
| | | 0.0 ) |
| | | ); |
| | | } |
| | |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByPlaceOfProductionOfArray( rows, placeOfProductionOfArray ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-" + ifexpr( halfNo = 1, "ä¸", "ä¸" ) + "åå¹´-ç®æ ", |
| | | BusinessTypeOrOrgCode := placeOfProductionOfArray, |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | CapacityAndSaleBudge::GetSheetByHalfYear( productCodeList, otdTable, [Number]year, halfNo ), |
| | | MappingForecast::GetQuantityByHalfYear( productCodeList, mappingParent, [Number]year, halfNo ) ) |
| | | MappingCapacityAndSaleBudge::GetSheetByHalfYear( productCodeList, mpSync, [Number]year, halfNo ), |
| | | MappingAnnualBudget::GetSheetByHalfYear( productCodeList, mpSync, [Number]year, halfNo ) ) |
| | | ); |
| | | // S&OP |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-" + ifexpr( halfNo = 1, "ä¸", "ä¸" ) + "åå¹´-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrOrgCode := placeOfProductionOfArray, |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByHalfYear( productCodeList, macroPlan, [Number]year, halfNo ), |
| | | 0.0 ) |
| | |
| | | for( seasonNo := 1; seasonNo <= 4; seasonNo := seasonNo + 1 ) { |
| | | traverse( placeOfProductionOfArrayList, Elements, placeOfProductionOfArray ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByPlaceOfProductionOfArray( rows, placeOfProductionOfArray ); |
| | | // info( "productCodeList : " + [String]productCodeList.Size() ); |
| | | // info( "MappingCapacityAndSaleBudge::GetSheetBySeason : " + [String]MappingCapacityAndSaleBudge::GetSheetBySeason( productCodeList, mpSync, [Number]year, seasonNo ) ); |
| | | // info( "seasonNo : " + [String]seasonNo ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + [String]seasonNo + "å£åº¦-ç®æ ", |
| | | BusinessTypeOrOrgCode := placeOfProductionOfArray, |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | CapacityAndSaleBudge::GetSheetBySeason( productCodeList, otdTable, [Number]year, seasonNo ), |
| | | MappingForecast::GetQuantityBySeason( productCodeList, mappingParent, [Number]year, seasonNo ) ) |
| | | MappingCapacityAndSaleBudge::GetSheetBySeason( productCodeList, mpSync, [Number]year, seasonNo ), |
| | | MappingAnnualBudget::GetSheetBySeason( productCodeList, mpSync, [Number]year, seasonNo ) ) |
| | | ); |
| | | // S&OP |
| | | // info( "productCodeList : " + [String]productCodeList.Size() ); |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + [String]seasonNo + "å£åº¦-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrOrgCode := placeOfProductionOfArray, |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyBySeason( productCodeList, macroPlan, [Number]year, seasonNo ), |
| | | 0.0 ) |
| | |
| | | } |
| | | if ( byBusinessTypeOrByOrgCode = "颿¿åºå°" and groupBy = "æ" ) { |
| | | for( monthNo := 1; monthNo <= 12; monthNo := monthNo + 1 ) { |
| | | monthNoString := ifexpr( monthNo <= 9, "0" + [String]monthNo, [String]monthNo ); |
| | | traverse( placeOfProductionOfArrayList, Elements, placeOfProductionOfArray ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByPlaceOfProductionOfArray( rows, placeOfProductionOfArray ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + [String]monthNo + "æ-ç®æ ", |
| | | BusinessTypeOrOrgCode := placeOfProductionOfArray, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + monthNoString + "æ-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | CapacityAndSaleBudge::GetSheetByMonth( productCodeList, otdTable, [Number]year, monthNo ), |
| | | MappingForecast::GetQuantityByMonth( productCodeList, mappingParent, [Number]year, monthNo ) ) |
| | | MappingCapacityAndSaleBudge::GetSheetByMonth( productCodeList, mpSync, [Number]year, monthNo ), |
| | | MappingAnnualBudget::GetSheetByMonth( productCodeList, mpSync, [Number]year, monthNo ) ) |
| | | ); |
| | | // S&OP |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + [String]monthNo + "æ-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrOrgCode := placeOfProductionOfArray, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + monthNoString + "æ-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := placeOfProductionOfArray, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByMonth( productCodeList, macroPlan, [Number]year, monthNo ), |
| | | 0.0 ) |
| | |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByBusinessType( rows, businessType ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-ç®æ ", |
| | | BusinessTypeOrOrgCode := businessType, |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | CapacityAndSaleBudge::GetSheetByYear( productCodeList, otdTable, [Number]year ), |
| | | MappingForecast::GetQuantityByYear( productCodeList, mappingParent, [Number]year ) ) |
| | | MappingCapacityAndSaleBudge::GetSheetByYear( productCodeList, mpSync, [Number]year ), |
| | | MappingAnnualBudget::GetSheetByYear( productCodeList, mpSync, [Number]year ) ) |
| | | ); |
| | | // S&OP |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrOrgCode := businessType, |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByYear( productCodeList, macroPlan, [Number]year ), |
| | | 0.0 ) |
| | |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByBusinessType( rows, businessType ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-" + ifexpr( halfNo = 1, "ä¸", "ä¸" ) + "åå¹´-ç®æ ", |
| | | BusinessTypeOrOrgCode := businessType, |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | CapacityAndSaleBudge::GetSheetByHalfYear( productCodeList, otdTable, [Number]year, halfNo ), |
| | | MappingForecast::GetQuantityByHalfYear( productCodeList, mappingParent, [Number]year, halfNo ) ) |
| | | MappingCapacityAndSaleBudge::GetSheetByHalfYear( productCodeList, mpSync, [Number]year, halfNo ), |
| | | MappingAnnualBudget::GetSheetByHalfYear( productCodeList, mpSync, [Number]year, halfNo ) ) |
| | | ); |
| | | // S&OP |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-" + ifexpr( halfNo = 1, "ä¸", "ä¸" ) + "åå¹´-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrOrgCode := businessType, |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByHalfYear( productCodeList, macroPlan, [Number]year, halfNo ), |
| | | 0.0 ) |
| | |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByBusinessType( rows, businessType ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + [String]seasonNo + "å£åº¦-ç®æ ", |
| | | BusinessTypeOrOrgCode := businessType, |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | CapacityAndSaleBudge::GetSheetBySeason( productCodeList, otdTable, [Number]year, seasonNo ), |
| | | MappingForecast::GetQuantityBySeason( productCodeList, mappingParent, [Number]year, seasonNo ) ) |
| | | MappingCapacityAndSaleBudge::GetSheetBySeason( productCodeList, mpSync, [Number]year, seasonNo ), |
| | | MappingAnnualBudget::GetSheetBySeason( productCodeList, mpSync, [Number]year, seasonNo ) ) |
| | | ); |
| | | // S&OP |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + [String]seasonNo + "å£åº¦-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrOrgCode := businessType, |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyBySeason( productCodeList, macroPlan, [Number]year, seasonNo ), |
| | | 0.0 ) |
| | |
| | | } |
| | | if ( byBusinessTypeOrByOrgCode = "äºä¸é¨" and groupBy = "æ" ) { |
| | | for( monthNo := 1; monthNo <= 12; monthNo := monthNo + 1 ) { |
| | | monthNoString := ifexpr( monthNo <= 9, "0" + [String]monthNo, [String]monthNo ); |
| | | traverse( businessTypeList, Elements, businessType ) { |
| | | productCodeList := CapacityAndSaleBudgeChartRow::GetProductCodesByBusinessType( rows, businessType ); |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + [String]monthNo + "æ-ç®æ ", |
| | | BusinessTypeOrOrgCode := businessType, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + monthNoString + "æ-ç®æ ", |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | CapacityAndSaleBudge::GetSheetByMonth( productCodeList, otdTable, [Number]year, monthNo ), |
| | | MappingForecast::GetQuantityByMonth( productCodeList, mappingParent, [Number]year, monthNo ) ) |
| | | MappingCapacityAndSaleBudge::GetSheetByMonth( productCodeList, mpSync, [Number]year, monthNo ), |
| | | MappingAnnualBudget::GetSheetByMonth( productCodeList, mpSync, [Number]year, monthNo ) ) |
| | | ); |
| | | // S&OP |
| | | // S&OP |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | this.CapacityAndSaleBudgeChartElement( relnew, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + [String]monthNo + "æ-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrOrgCode := businessType, |
| | | TimeStringAndScenarioName := [String]year + "å¹´-第" + monthNoString + "æ-" + macroPlan.ScenarioName(), |
| | | BusinessTypeOrPlaceOfProductionOfArray := businessType, |
| | | Quantity := ifexpr( isCapacity, |
| | | Product_MP::GetNewSupplyByMonth( productCodeList, macroPlan, [Number]year, monthNo ), |
| | | 0.0 ) |
| | |
| | | } |
| | | } |
| | | } |
| | | //info( "CapacityAndSaleBudgeChartElement : " + [String]selectset( this, CapacityAndSaleBudgeChartElement, item, true ).Size() ); |
| | | //traverse( this, CapacityAndSaleBudgeChartRow, row ) { |
| | | // info( "==â==" ); |
| | | // info( row.BusinessType() ); |
| | | // info( row.PlaceOfProductionOfArray() ); |
| | | // elements := selectset( row, CapacityAndSaleBudgeChartRowProduct, cell, true ); |
| | | // info( elements.Size() ); |
| | | // info( row.GetProductCodes().Concatenate( " | " ) ); |
| | | // info( "==â==" ); |
| | | //} |
| | | *] |
| | | } |
| | |
| | | this.CapacityAndSaleBudgeCompareItemRow( relflush ); |
| | | this.CapacityAndSaleBudgeCompareItemColumn( relflush ); |
| | | // ====æ±æ»ææåºç°ç产å==== |
| | | productCodeList := construct( Strings ); |
| | | historyData := selectset( mpSync, MappingCapacityAndSaleBudge, item, true ); |
| | | info( "historyData : " + [String]historyData.Size() ) |
| | | traverse( historyData, Elements, one ) { |
| | | productCodeList.Add( one.ProductCode() ); |
| | | } |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | traverse( macroPlan, Product_MP.ProductInStockingPoint_MP.ProductInStockingPointInPeriod, pispip ) { |
| | | productCodeList.Add( pispip.ProductInStockingPoint_MP().Product_MP().ID() ); |
| | | } |
| | | } |
| | | productCodeList := selectuniquevalues( productCodeList, Elements, item, item ); |
| | | info( "product count : " + [String]productCodeList.Size() ) |
| | | // ====æ ¹æ®äº§åæ¥äºä¸é¨åç»ç»ç¼ç ï¼ç¶åæäºä¸é¨åç»ç»ç¼ç æ±æ»==== |
| | | traverse( productCodeList, Elements, productCode ) { |
| | | bom := MappingBOM::CreateTestData( mappingParent, [String](productCode.Length() mod 3), [String](productCode.Length() mod 4) ); |
| | | // bom := select( mappingParent, MappingBOM, bom, bom.ProductCode() = productCode ); |
| | | if( not isnull( bom ) ) { |
| | | productCode := one.ProductCode(); |
| | | MappingBOM::CreateTestData( mappingParent, "äºä¸é¨" + [String](productCode.Length() mod 3), [String](productCode.Length() mod 4), productCode ); |
| | | boms := selectset( mappingParent, MappingBOM, bom, bom.ProductCode() = productCode ); |
| | | if( boms.Size() > 0 ) { |
| | | bom := boms.First(); |
| | | businessType := bom.BusinessType(); |
| | | orgCode := bom.OrganCode(); |
| | | row := CapacityAndSaleBudgeCompareItemRow::CreateIfNotExist( this, businessType, orgCode ); |
| | | placeOfProductionOfArray := one.PlaceOfProductionOfArray(); |
| | | // ç¸å颿¿åºå°åäºä¸é¨çæ¾ä¸è¡ |
| | | row := CapacityAndSaleBudgeCompareItemRow::CreateIfNotExist( this, businessType, placeOfProductionOfArray ); |
| | | // è®°å½æ¯è¡å
å«åªäºproduct |
| | | CapacityAndSaleBudgeCompareItemRowProduct::CreateIfNotExist( row, productCode ); |
| | | } else { |
| | | info( "no boms for product : " + productCode ); |
| | | } |
| | | } |
| | | info( "CapacityAndSaleBudgeCompareItemRow : " + [String]selectset( this, CapacityAndSaleBudgeCompareItemRow, item, true ).Size() ); |
| | | // ====ä»å·¦åå³çæå头ä¸å
容==== |
| | | // äºä¸é¨ï¼ç»ç» |
| | | info( "dealing businessType and orgCode" ) |
| | | info( "dealing businessType and placeOfProductionOfArray" ) |
| | | columnBusinessType := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "äºä¸é¨" ); |
| | | columnOrgCode := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "ç»ç»ç¼ç " ); |
| | | columnPlaceOfProductionOfArray := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "颿¿åºå°" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cell := columnBusinessType.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := row.BusinessType() ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | cell := columnOrgCode.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := row.OrgCode() ); |
| | | cell := columnPlaceOfProductionOfArray.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := row.PlaceOfProductionOfArray() ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | | // 颿¿åé
é - 年度é¢ç® (sheets) |
| | | // æ ¼å¼ï¼ 颿¿åé
é - å¹´ - æï¼1-12 & totalï¼ - 年度é¢ç®/scenarioName |
| | | info( "dealing 颿¿åé
é" ) |
| | | if( CapacityAndSaleBudgeFilterItem::Contains( items, "颿¿åé
é" ) ) { |
| | | // å岿°æ® |
| | | traverse( months, Elements, month ) { |
| | | columnMonth := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "颿¿åé
é-" + "-" + [String]month.MonthNo() + "æ-年度é¢ç®" ); |
| | | traverse( years, Elements, year ) { |
| | | // å岿°æ® |
| | | traverse( months, Elements, month ) { |
| | | columnMonth := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "颿¿åé
é-" + [String]year.YearNo() + "å¹´-" + [String]month.MonthNo() + "æ-年度é¢ç®" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := MappingCapacityAndSaleBudge::GetSheetByMonth( row.GetProductCodes(), mpSync, DateTime::Now().Year(), month.MonthNo() ); |
| | | cell := columnMonth.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | | } |
| | | columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "颿¿åé
é-" + [String]year.YearNo() + "å¹´-total-年度é¢ç®" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := CapacityAndSaleBudge::GetSheetByMonth( row.GetProductCodes(), otdTable, DateTime::Now().Year(), month.MonthNo() ); |
| | | cellReal := Real::Random( 1.0, 999.0 ); |
| | | cell := columnMonth.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cellReal := MappingCapacityAndSaleBudge::GetSheetByYear( row.GetProductCodes(), mpSync, year.YearNo() ); |
| | | cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | | } |
| | | columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "颿¿åé
é-total-年度é¢ç®" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := CapacityAndSaleBudge::GetSheetByYear( row.GetProductCodes(), otdTable, DateTime::Now().Year() ); |
| | | cellReal := Real::Random( 1.0, 999.0 ); |
| | | cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | | // S&OPæ°æ® |
| | | traverse( years, Elements, year ) { |
| | | // S&OPæ°æ® |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | traverse( months, Elements, month ) { |
| | | columnMonth := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, |
| | | "颿¿åé
é-" + [String]year.YearNo() + "å¹´-" + [String]month.MonthNo() + "æ-" + macroPlan.ScenarioName() ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := Product_MP::GetNewSupplyByMonth( row.GetProductCodes(), macroPlan, year.YearNo(), month.MonthNo() ); |
| | | cellReal := Real::Random( 1.0, 999.0 ); |
| | | cell := columnMonth.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | |
| | | "颿¿åé
é-" + [String]year.YearNo() + "å¹´-total-" + macroPlan.ScenarioName() ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := Product_MP::GetNewSupplyByYear( row.GetProductCodes(), macroPlan, year.YearNo() ); |
| | | cellReal := Real::Random( 1.0, 999.0 ); |
| | | cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | |
| | | // 年度éå®é¢ |
| | | info( "dealing éå®é¢" ) |
| | | if( CapacityAndSaleBudgeFilterItem::Contains( items, "éå®é¢" ) ) { |
| | | // å岿°æ® |
| | | traverse( months, Elements, month ) { |
| | | columnMonth := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "对å¤éå®é¢-" + "-" + [String]month.MonthNo() + "æ-年度é¢ç®" ); |
| | | traverse( years, Elements, year ) { |
| | | // å岿°æ® |
| | | traverse( months, Elements, month ) { |
| | | columnMonth := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "对å¤éå®é¢-" + [String]year.YearNo() + "å¹´-" + [String]month.MonthNo() + "æ-年度é¢ç®" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := MappingCapacityAndSaleBudge::GetSaleByMonth( row.GetProductCodes(), mpSync, year.YearNo(), month.MonthNo() ); |
| | | cell := columnMonth.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | | } |
| | | columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "对å¤éå®é¢-" + [String]year.YearNo() + "å¹´-年度é¢ç®" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := CapacityAndSaleBudge::GetSaleByMonth( row.GetProductCodes(), otdTable, DateTime::Now().Year(), month.MonthNo() ); |
| | | cellReal := Real::Random( 1.0, 999.0 ); |
| | | cell := columnMonth.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cellReal := MappingCapacityAndSaleBudge::GetSaleByYear( row.GetProductCodes(), mpSync, year.YearNo() ); |
| | | cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | | } |
| | | columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "对å¤éå®é¢-total-年度é¢ç®" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := CapacityAndSaleBudge::GetSaleByYear( row.GetProductCodes(), otdTable, DateTime::Now().Year() ); |
| | | cellReal := Real::Random( 1.0, 999.0 ); |
| | | cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | | // S&OPæ°æ® |
| | | traverse( years, Elements, year ) { |
| | | // S&OPæ°æ® |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | traverse( months, Elements, month ) { |
| | | columnMonth := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "对å¤éå®é¢-" + [String]year.YearNo() + "å¹´-" + [String]month.MonthNo() + "æ-" + macroPlan.ScenarioName() ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := MappingForecast::GetBalanceByMonth( row.GetProductCodes(), mappingParent, year.YearNo(), month.MonthNo() ); |
| | | cellReal := MappingAnnualBudget::GetSaleByMonth( row.GetProductCodes(), mpSync, year.YearNo(), month.MonthNo() ); |
| | | cell := columnMonth.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | | } |
| | | columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "对å¤éå®é¢-" + [String]year.YearNo() + "å¹´-total-" + macroPlan.ScenarioName() ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | cellReal := MappingForecast::GetBalanceByYear( row.GetProductCodes(), mappingParent, year.YearNo() ); |
| | | // QID 23 |
| | | cellReal := MappingAnnualBudget::GetSaleByYear( row.GetProductCodes(), mpSync, year.YearNo() ); |
| | | cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | |
| | | // å岿°æ® |
| | | columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "å¤§å¼ çå©é¢-年度é¢ç®" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | // todo |
| | | // QID 23 |
| | | cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]Number::Random( 0, 0 ) ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | |
| | | // å岿°æ® |
| | | columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "产åçå©é¢-年度é¢ç®" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | // todo |
| | | // QID 23 |
| | | cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]Number::Random( 0, 0 ) ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | |
| | | traverse( macroPlans, Elements, macroPlan ) { |
| | | columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "产åçå©é¢-" + [String]year.YearNo() + "å¹´" ); |
| | | traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) { |
| | | // todo |
| | | cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]Number::Random( 0, 0 ) ); |
| | | cell.CapacityAndSaleBudgeCompareItemRow( relset, row ); |
| | | } |
| | |
| | | // 设置rowNoåcolumnNo |
| | | info( "set rowNo and columnNo" ); |
| | | rowNo := 1; |
| | | rowSorted := selectsortedset( this, CapacityAndSaleBudgeCompareItemRow, item, item.BusinessType() + "_" + item.OrgCode() ); |
| | | rowSorted := selectsortedset( this, CapacityAndSaleBudgeCompareItemRow, item, item.PlaceOfProductionOfArray() + "_" + item.BusinessType() ); |
| | | traverse( rowSorted, Elements, item ) { |
| | | item.RowNo( rowNo ); |
| | | rowNo := rowNo + 1; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[412960.0.134860020][412960.0.134860019][412960.0.134860021]' |
| | | Description: 'ååºè¯¥çæ¬çäºä¸é¨ï¼ç¨äºè¯å«åæ ¡éªæ¯å¦ææäºä¸é¨åæåä¼ æ°æ®ï¼ç®ååå¼èå´ä¸º[ éå¢(TM)ï¼ææºäºä¸é¨(SJ)ï¼ITäºä¸é¨(IT)ï¼è½¦è½½äºä¸é¨(CZ)ï¼æ±½è½¦çµåäºä¸é¨(QD)ï¼ä¸æ¾äºä¸é¨(ZX)ï¼ç©¿æ´äºä¸é¨(CD)] ã' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CalType |
| | | { |
| | | #keys: '3[412960.0.136134246][412960.0.136134245][412960.0.136134247]' |
| | | Description: '计ç®ç±»åï¼ç¨äºæ 注为åªä¸æ¥è®¡ç®çæçè¯¥çæ¬ï¼å¦SOP_R1' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CreateTime |
| | | { |
| | | #keys: '3[412960.0.136134256][412960.0.136134255][412960.0.136134257]' |
| | | Description: 'åå»ºè¯¥çæ¬çæ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsReleased |
| | | { |
| | | #keys: '3[412960.0.134830023][412960.0.134830022][412960.0.134830024]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LongVersionName |
| | | { |
| | | #keys: '3[412960.0.136134236][412960.0.136134235][412960.0.136134237]' |
| | | Description: 'è¯¥çæ¬å·å¯¹åºççæ¬åç§°ï¼å称为ç¨äºå端å±ç¤ºçæ ¼å¼ï¼å¦SCENE(2023-09-06 15:06:57)' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Notes |
| | | { |
| | | #keys: '3[412960.0.136138830][412960.0.136138829][412960.0.136138831]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ReleaseTime |
| | | { |
| | | #keys: '3[412960.0.136134266][412960.0.136134265][412960.0.136134267]' |
| | | Description: 'åå¸è¯¥çæ¬çæ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SingleVersionName |
| | | { |
| | | #keys: '3[412960.0.136138782][412960.0.136138781][412960.0.136138783]' |
| | | Description: 'åä¸ªçæ¬çååï¼å³å°çæ¬å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute User |
| | | { |
| | | #keys: '3[412960.0.134830093][412960.0.134830092][412960.0.134830094]' |
| | | Description: 'åå»ºè¯¥çæ¬çç¨æ·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionID |
| | | { |
| | | #keys: '3[412960.0.134860030][412960.0.134860029][412960.0.134860031]' |
| | | Description: '11使°çæ¶é´æ³æ¼æ¥èæçææ¬ï¼ä»
å
嫿°åé¨å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CopyVersion ( |
| | | GlobalOTDTable owner, |
| | | String businessname |
| | | ) as VersionControl |
| | | { |
| | | Description: 'å¤å¶å½åçæ¬å¹¶æ´æ°çæ¬å·' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | createtime := DateTime::ActualTime(); |
| | | user := QuintiqUser::CurrentUser().Username(); |
| | | starttime := DateTime::Construct(1970,1,1,0,0,0); |
| | | // Get the local scenario businesstype |
| | | businesstype := GlobalOTDTable::GetBusinessTypeName( businessname ); |
| | | |
| | | // Get the older version info |
| | | oldversionid := ""; |
| | | oldversionname := ""; |
| | | |
| | | latestversion := VersionControl::FindLatestUpdateVersion( owner, businesstype ); |
| | | copyversionid := latestversion.VersionID(); |
| | | info( copyversionid ); |
| | | |
| | | if( copyversionid.FindString( "-", 0 ) > 0 ){ |
| | | latestversionlist := copyversionid.Tokenize( "-" ); |
| | | latestversionnamelist := latestversion.LongVersionName().Tokenize( "-" ); |
| | | for( i := 0; i < latestversionlist.Size() - 1; i := i + 1 ){ |
| | | if( oldversionid = "" ){ |
| | | oldversionid := latestversionlist.Element( i ); |
| | | oldversionname := latestversionnamelist.Element( i ); |
| | | }else{ |
| | | oldversionid := oldversionid + "-" + latestversionlist.Element( i ); |
| | | oldversionname := oldversionname + "-" + latestversionnamelist.Element( i ); |
| | | } |
| | | info( oldversionid ); |
| | | } |
| | | if( oldversionid <> "" ){ |
| | | oldversionid := oldversionid + "-"; |
| | | oldversionname := oldversionname + "-"; |
| | | } |
| | | info( oldversionid ); |
| | | } |
| | | |
| | | // Calculate new version info |
| | | additionversionid := ( createtime.MinutesAsReal( starttime ) * 60 * 10 + createtime.SecondOfMinute() ).Round( 0 ); |
| | | newversionid := oldversionid + [String]additionversionid; |
| | | newcaltype := latestversion.CalType(); |
| | | newsingleversionname := newcaltype + "(" + createtime.Format( "Y/M2/D2 H:m:s" ) + ")"; |
| | | newversionname := oldversionname + newsingleversionname; |
| | | info( newversionid ); |
| | | |
| | | // Create new version |
| | | newversion := VersionControl::Create( owner, businesstype, newcaltype, createtime, newversionid, newversionname, newsingleversionname, user ); |
| | | |
| | | return newversion; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Create ( |
| | | GlobalOTDTable owner, |
| | | String businesstype, |
| | | String caltype, |
| | | DateTime createtime, |
| | | String versionid, |
| | | String versionname, |
| | | String singleversionname, |
| | | String user |
| | | ) as VersionControl |
| | | { |
| | | Description: 'åå»ºçæ¬' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | newversion := owner.VersionControl( relnew, |
| | | BusinessType := businesstype, |
| | | CalType := caltype, |
| | | CreateTime := createtime, |
| | | VersionID := versionid, |
| | | LongVersionName := versionname, |
| | | SingleVersionName := singleversionname, |
| | | User := user ); |
| | | |
| | | return newversion; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateNewSceneVersion ( |
| | | GlobalOTDTable owner, |
| | | String businessname |
| | | ) as VersionControl |
| | | { |
| | | Description: 'éåå»ºåºæ¯è¿è¡çæ¬å建' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | createtime := DateTime::ActualTime(); |
| | | user := QuintiqUser::CurrentUser().Username(); |
| | | starttime := DateTime::Construct(1970,1,1,0,0,0); |
| | | // Get the local scenario businesstype |
| | | businesstype := GlobalOTDTable::GetBusinessTypeName( businessname ); |
| | | |
| | | // Get the older version info |
| | | oldversion_id := ""; |
| | | oldversion_name := ""; |
| | | oldcaltype := ""; |
| | | |
| | | // Calculate new version info |
| | | additionversionid := ( createtime.MinutesAsReal( starttime ) * 60 * 10 + createtime.SecondOfMinute() ).Round( 0 ); |
| | | newversionid := oldversion_id + [String]additionversionid; |
| | | newcaltype := GlobalOTDTable::GetNextCalType( oldcaltype, businesstype ); |
| | | newsingleversionname := newcaltype + "(" + createtime.Format( "Y/M2/D2 H:m:s" ) + ")"; |
| | | newversionname := oldversion_name + newsingleversionname; |
| | | |
| | | // Create new version |
| | | newversion := VersionControl::Create( owner, businesstype, newcaltype, createtime, newversionid, newversionname, newsingleversionname, user ); |
| | | newversion.IsReleased( true ); |
| | | newversion.ReleaseTime( createtime ); |
| | | |
| | | return newversion; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateNewVersion ( |
| | | GlobalOTDTable owner, |
| | | String businessname |
| | | ) as VersionControl |
| | | { |
| | | Description: 'å¨ä¸ä¸çæ¬åæ·»å æ°çæ¬å·å¹¶çææ°çæ¬' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | createtime := DateTime::ActualTime(); |
| | | user := QuintiqUser::CurrentUser().Username(); |
| | | starttime := DateTime::Construct(1970,1,1,0,0,0); |
| | | // Get the local scenario businesstype |
| | | businesstype := GlobalOTDTable::GetBusinessTypeName( businessname ); |
| | | |
| | | // Get the older version info |
| | | oldversion_id := ""; |
| | | oldversion_name := ""; |
| | | oldcaltype := ""; |
| | | |
| | | latestversion := VersionControl::FindLatestUpdateVersion( owner, businesstype ); |
| | | |
| | | if( isnull( latestversion ) and not businesstype = "TM" ){ |
| | | error( "Can't find last version in " + businesstype.AsQUILL() ); |
| | | } |
| | | else if( not isnull( latestversion ) ){ |
| | | oldversion_id := latestversion.VersionID() + "-"; |
| | | oldversion_name := latestversion.LongVersionName() + "-"; |
| | | oldcaltype := latestversion.CalType(); |
| | | } |
| | | |
| | | |
| | | // Calculate new version info |
| | | additionversionid := ( createtime.MinutesAsReal( starttime ) * 60 * 10 + createtime.SecondOfMinute() ).Round( 0 ); |
| | | newversionid := oldversion_id + [String]additionversionid; |
| | | newcaltype := GlobalOTDTable::GetNextCalType( oldcaltype, businesstype ); |
| | | newsingleversionname := newcaltype + "(" + createtime.Format( "Y/M2/D2 H:m:s" ) + ")"; |
| | | newversionname := oldversion_name + newsingleversionname; |
| | | |
| | | // Create new version |
| | | newversion := VersionControl::Create( owner, businesstype, newcaltype, createtime, newversionid, newversionname, newsingleversionname, user ); |
| | | |
| | | return newversion; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod FindByFullVersionID ( |
| | | GlobalOTDTable owner, |
| | | String versionid |
| | | ) as VersionControl |
| | | { |
| | | Description: 'éè¿å
¨éçæ¬å·è¿è¡æ¥æ¾' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-14-2023 (created) |
| | | // Get the version data |
| | | resultversion := select( owner, VersionControl, version, version.VersionID() + "-" + version.CalType() = versionid ); |
| | | |
| | | return resultversion; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod FindLatestUpdateVersion ( |
| | | GlobalOTDTable globalotdtable, |
| | | String businesstype |
| | | ) as VersionControl |
| | | { |
| | | Description: 'è·åæäºä¸é¨ç®åææ°ççæ¬å·' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | |
| | | // Get the latest version data |
| | | latestversion := maxselect( globalotdtable, |
| | | VersionControl, |
| | | version, |
| | | version.BusinessType()=businesstype and version.IsReleased()=true, |
| | | version.CreateTime() ); |
| | | |
| | | return latestversion; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod FindLatestVersion ( |
| | | GlobalOTDTable globalotdtable, |
| | | String businesstype |
| | | ) as VersionControl |
| | | { |
| | | Description: 'è·åæäºä¸é¨ç®åææ°ççæ¬å·' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | |
| | | // Get the latest version data |
| | | latestversion := maxselect( globalotdtable, |
| | | VersionControl, |
| | | version, |
| | | version.BusinessType()=businesstype, |
| | | version.CreateTime() ); |
| | | |
| | | return latestversion; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod FindReleasedVersions ( |
| | | GlobalOTDTable globalotdtable, |
| | | String businesstype, |
| | | String versionid |
| | | ) as owning VersionControls |
| | | { |
| | | Description: 'è·åæäºä¸é¨ç®åææ°ççæ¬å·' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | |
| | | // Get the latest version data |
| | | latestversion := selectset( globalotdtable, VersionControl, version, version.BusinessType()=businesstype and version.IsReleased()=true and version.VersionID().FindString( versionid, 0 ) = 0 ); |
| | | |
| | | return &latestversion; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetVersionInfo ( |
| | | GlobalOTDTable owner, |
| | | String businessname |
| | | ) as owning Strings |
| | | { |
| | | Description: 'è·åå¤§çæ¬çæ¬å·åçæ¬åç§°' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | businesstyoe := GlobalOTDTable::GetBusinessTypeName( businessname ); |
| | | result := construct( Strings ); |
| | | rootversion := VersionControl::FindLatestVersion( owner, businesstyoe ); |
| | | |
| | | if( not isnull( rootversion ) ){ |
| | | result.Add( rootversion.VersionID() ); |
| | | result.Add( rootversion.LongVersionName() ); |
| | | result.Add( rootversion.VersionID() + "-" + rootversion.CalType() ); |
| | | result.Add( rootversion.SingleVersionName() ); |
| | | }else{ |
| | | result.Add( "" ); |
| | | result.Add( "" ); |
| | | result.Add( "" ); |
| | | result.Add( "" ); |
| | | } |
| | | |
| | | return &result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReleaseLatestVersion |
| | | { |
| | | Description: 'åå¸å½åçæ¬ï¼å¾
ç¼å' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-14-2023 (created) |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReleaseNewVersion ( |
| | | GlobalOTDTable owner, |
| | | String businesstype |
| | | ) |
| | | { |
| | | Description: 'å叿°çæ¬' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | releasetime := DateTime::ActualTime(); |
| | | |
| | | // Create new version |
| | | newversion := VersionControl::CreateNewVersion( owner, businesstype ); |
| | | |
| | | newversion.IsReleased( true ); |
| | | newversion.ReleaseTime( releasetime ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type VersionControl |
| | | { |
| | | #keys: '5[412960.0.134860003][412960.0.134860001][0.0.0][412960.0.134860002][412960.0.134860004]' |
| | | BaseType: Object |
| | | Description: 'å¨åå
¨éçæ¬ç¶æçobject' |
| | | StructuredName: 'VersionControls' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessName |
| | | { |
| | | #keys: '3[412960.0.134830239][412960.0.134830238][412960.0.134830240]' |
| | | Description: 'å±ç¤ºç¨äºä¸é¨åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[412960.0.134830072][412960.0.134830071][412960.0.134830073]' |
| | | Description: 'äºä¸é¨åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LastReleaseTime |
| | | { |
| | | #keys: '3[412960.0.136138799][412960.0.136138798][412960.0.136138800]' |
| | | Description: 'æååæ¥çæ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LastUser |
| | | { |
| | | #keys: '3[412960.0.136138809][412960.0.136138808][412960.0.136138810]' |
| | | Description: 'æåæä½äºº' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LastVersionName |
| | | { |
| | | #keys: '3[412960.0.136138768][412960.0.136138767][412960.0.136138769]' |
| | | Description: 'æç»æ¼æ¥èæççæ¬åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Notes |
| | | { |
| | | #keys: '3[412960.0.136138819][412960.0.136138818][412960.0.136138820]' |
| | | Description: '夿³¨' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SortNumber |
| | | { |
| | | #keys: '3[412960.0.136138758][412960.0.136138757][412960.0.136138759]' |
| | | Description: 'åºå·' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateOrUpdate ( |
| | | GlobalOTDTable owner, |
| | | String businesstype, |
| | | String businessname, |
| | | DateTime lastreleasetime, |
| | | String lastuser, |
| | | String lastversionname, |
| | | String notes, |
| | | Number sortnumber |
| | | ) |
| | | { |
| | | Description: 'å建æ°ççæ¬åå¸ç¶æ' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | // Find exist status |
| | | existstatus := VersionStatus::FindLatestStatus( owner, businesstype ); |
| | | if( isnull( existstatus ) ){ |
| | | owner.VersionStatus( relnew, |
| | | BusinessType := businesstype, |
| | | BusinessName := businessname, |
| | | LastReleaseTime := lastreleasetime, |
| | | LastUser := lastuser, |
| | | LastVersionName := lastversionname, |
| | | Notes := notes, |
| | | SortNumber := sortnumber ); |
| | | }else{ |
| | | existstatus.LastReleaseTime( lastreleasetime ); |
| | | existstatus.LastUser( lastuser ); |
| | | existstatus.LastVersionName( lastversionname ); |
| | | existstatus.Notes( notes ); |
| | | existstatus.SortNumber( sortnumber ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod FindLatestStatus ( |
| | | GlobalOTDTable globalotdtable, |
| | | String businesstype |
| | | ) as VersionStatus |
| | | { |
| | | Description: 'è·åæäºä¸é¨ç®åææ°çåå¸ç¶æ' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | |
| | | // Get the latest version data |
| | | lateststatus := select( globalotdtable, VersionStatus, version, version.BusinessType()=businesstype ); |
| | | |
| | | return lateststatus; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetBusinessTypeStatus ( |
| | | GlobalOTDTable owner, |
| | | String rootversionid |
| | | ) |
| | | { |
| | | Description: 'å·æ°ææäºä¸é¨çå叿
åµ' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | // Get business type list |
| | | businesstypes := "éå¢,颿¿,ææºäºä¸é¨,ITäºä¸é¨,车载äºä¸é¨,汽车çµåäºä¸é¨,䏿¾äºä¸é¨,ç©¿æ´äºä¸é¨"; |
| | | businesstypelist := businesstypes.Tokenize( "," ); |
| | | |
| | | sortnumber := 0; |
| | | sortdetailnumber := 0; |
| | | traverse( businesstypelist, Elements, businessname, true ){ |
| | | // info( businessname ); |
| | | // Get the local scenario businesstype |
| | | businesstype := GlobalOTDTable::GetBusinessTypeName( businessname ); |
| | | sortnumber := sortnumber + 1; |
| | | lastversion := VersionControl::FindLatestUpdateVersion( owner, businesstype ); |
| | | if( not isnull( lastversion ) ){ |
| | | VersionStatus::CreateOrUpdate( owner, |
| | | businesstype, |
| | | businessname, |
| | | lastversion.ReleaseTime(), |
| | | lastversion.User(), |
| | | lastversion.SingleVersionName(), |
| | | lastversion.Notes(), |
| | | sortnumber ); |
| | | }else{ |
| | | existstatus := VersionStatus::FindLatestStatus( owner, businesstype ); |
| | | if( isnull( existstatus ) ){ |
| | | owner.VersionStatus( relnew, |
| | | BusinessType := businesstype, |
| | | BusinessName := businessname, |
| | | SortNumber := sortnumber |
| | | ); |
| | | } |
| | | } |
| | | |
| | | rootstatus := VersionStatus::FindLatestStatus( owner, businesstype ); |
| | | // Get the versions list |
| | | versionlist := VersionControl::FindReleasedVersions( owner, businesstype, rootversionid ); |
| | | // info( rootversionid ); |
| | | if( not isnull( versionlist ) ){ |
| | | traverse( versionlist, Elements, version, true ){ |
| | | info( version.VersionID() ); |
| | | sortdetailnumber := sortdetailnumber + 1; |
| | | VersionStatusDetail::CreateOrUpdate( rootstatus, |
| | | version.VersionID() + "-" + version.CalType(), |
| | | version.CreateTime(), |
| | | version.ReleaseTime(), |
| | | version.SingleVersionName(), |
| | | version.User(), |
| | | version.Notes(), |
| | | sortdetailnumber ); |
| | | } |
| | | } |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type VersionStatus |
| | | { |
| | | #keys: '5[412960.0.134830053][412960.0.134830051][0.0.0][412960.0.134830052][412960.0.134830054]' |
| | | BaseType: Object |
| | | Description: 'åäºä¸é¨ççæ¬åå¸ç¶ææ°æ®' |
| | | StructuredName: 'VersionStatuss' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CreateTime |
| | | { |
| | | #keys: '3[412960.0.143214324][412960.0.143214323][412960.0.143214325]' |
| | | Description: 'åå»ºè¯¥çæ¬çæ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Notes |
| | | { |
| | | #keys: '3[412960.0.143214333][412960.0.143214332][412960.0.143214334]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ReleaseTime |
| | | { |
| | | #keys: '3[412960.0.143214336][412960.0.143214335][412960.0.143214337]' |
| | | Description: 'åå¸è¯¥çæ¬çæ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SingleVersionName |
| | | { |
| | | #keys: '3[412960.0.143214339][412960.0.143214338][412960.0.143214340]' |
| | | Description: 'åä¸ªçæ¬çååï¼å³å°çæ¬å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SortNumber |
| | | { |
| | | #keys: '3[412960.0.143220022][412960.0.143220021][412960.0.143220023]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute User |
| | | { |
| | | #keys: '3[412960.0.143214342][412960.0.143214341][412960.0.143214343]' |
| | | Description: 'åå»ºè¯¥çæ¬çç¨æ·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VersionID |
| | | { |
| | | #keys: '3[412960.0.143214345][412960.0.143214344][412960.0.143214346]' |
| | | Description: 'å
¨éçæ¬å·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Notes |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: SingleVersionName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: User |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateOrUpdate ( |
| | | VersionStatus owner, |
| | | String versionid, |
| | | DateTime createtime, |
| | | DateTime releasetime, |
| | | String versionname, |
| | | String user, |
| | | String notes, |
| | | Number sortnumber |
| | | ) |
| | | { |
| | | Description: 'å建æ°ççæ¬åå¸ç¶æè¯¦æ
' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | // Find exist status |
| | | existstatusdetail := VersionStatusDetail::FindStatus( owner, versionid ); |
| | | if( isnull( existstatusdetail ) ){ |
| | | owner.VersionStatusDetail( relnew, |
| | | CreateTime := createtime, |
| | | ReleaseTime := releasetime, |
| | | SingleVersionName := versionname, |
| | | User := user, |
| | | VersionID := versionid, |
| | | Notes := notes, |
| | | SortNumber := sortnumber ); |
| | | }else{ |
| | | existstatusdetail.CreateTime( createtime ); |
| | | existstatusdetail.ReleaseTime( releasetime ); |
| | | existstatusdetail.SingleVersionName( versionname ); |
| | | existstatusdetail.User( user ); |
| | | existstatusdetail.Notes( notes ); |
| | | existstatusdetail.SortNumber( sortnumber ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod FindStatus ( |
| | | VersionStatus owner, |
| | | String versionid |
| | | ) as VersionStatusDetail |
| | | { |
| | | Description: 'éè¿çæ¬å·æ¥æ¾æ¯å¦æåå¨çç¶æè¯¦æ
' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | |
| | | // Get the latest version data |
| | | lateststatusdetail := select( owner, VersionStatusDetail, version, version.VersionID()=versionid ); |
| | | |
| | | return lateststatusdetail; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetFullVersionID ( |
| | | VersionStatus owner |
| | | ) as String |
| | | { |
| | | Description: 'è·åå
¨éçæ¬å·' |
| | | TextBody: |
| | | [* |
| | | // Administrator Sep-13-2023 (created) |
| | | result := ""; |
| | | latestversion := maxselect( owner, VersionStatusDetail, version, true, version.CreateTime() ); |
| | | |
| | | if( not isnull( latestversion ) ){ |
| | | result := latestversion.VersionID(); |
| | | } |
| | | |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type VersionStatusDetail |
| | | { |
| | | #keys: '5[412960.0.143214315][412960.0.143214313][0.0.0][412960.0.143214314][412960.0.143214316]' |
| | | BaseType: Object |
| | | Description: 'å¨å对åºåå¸ç¶æä¸çæ¬ç¶æçæ°æ®' |
| | | StructuredName: 'VersionStatusDetails' |
| | | } |
| | |
| | | [ |
| | | Component menuSeparator457 { #keys: '[414702.0.265704251]' BaseType: 'Menu' Properties: [ Separator: true ] } |
| | | Component ComponentMenu666 { #keys: '[414702.0.265704260]' BaseType: 'ComponentMenu' Properties: [ ComponentType: 'FormBrokerExecuteLog' Text: '' ] } |
| | | Component menuSeparator822 { #keys: '[414702.0.340555024]' BaseType: 'Menu' Properties: [ Separator: true ] } |
| | | Component ComponentMenu783 { #keys: '[414702.0.340555035]' BaseType: 'ComponentMenu' Properties: [ ComponentType: 'FormTestButtonCollection' Text: '' ] } |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | c: menuExit |
| | | c: menuSeparator457 |
| | | c: ComponentMenu666 |
| | | c: menuSeparator822 |
| | | c: ComponentMenu783 |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Button398 |
| | | Response OnClick () id:Response_FormTestButtonCollection_Button398_OnClick |
| | | { |
| | | #keys: '[414702.0.340554926]' |
| | | Body: |
| | | [* |
| | | CapacityAllocationResults::CreateDate( GlobalOTDTable, MacroPlan ); |
| | | *] |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_GUIButtonBase_OnClick' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlanner |
| | | OrphanComponent FormTestButtonCollection |
| | | { |
| | | #keys: '[414702.0.340554698]' |
| | | BaseType: 'Form' |
| | | GBLayout |
| | | { |
| | | Type: 'internal[GBLayoutDefinition]' |
| | | Columns: |
| | | [ |
| | | GBFlow.Column { grow: 0 id: 454 parent: 0 } |
| | | ] |
| | | Elements: |
| | | [ |
| | | GBElement |
| | | { |
| | | Component => Button398 |
| | | Position { startcolumn: 454 startrow: 649 endcolumn: 454 endrow: 649 } |
| | | } |
| | | ] |
| | | Gaps: [ left: 5 right: 5 top: 5 bottom: 5 inner: 5 ] |
| | | Rows: |
| | | [ |
| | | GBFlow.Row { grow: 0 id: 649 parent: 0 } |
| | | ] |
| | | } |
| | | Children: |
| | | [ |
| | | Component Button398 |
| | | { |
| | | #keys: '[414702.0.340554799]' |
| | | BaseType: 'Button' |
| | | Properties: |
| | | [ |
| | | Image: 'HARDHAT' |
| | | Text: 'çæäº§è½åé
ç»ææ°æ®' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Height: 209 |
| | | Image: 'PIPETTE_TEST' |
| | | IncludeInView: true |
| | | Title: 'åè½æµè¯æé®' |
| | | Width: 535 |
| | | ] |
| | | } |
| | |
| | | Taborder: 42 |
| | | ] |
| | | } |
| | | Component DataHolderCapacityAndSaleBudgeFilterBusinessType |
| | | { |
| | | #keys: '[414384.0.874472860]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[CapacityAndSaleBudgeFilterBusinessType]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 43 |
| | | ] |
| | | } |
| | | Component DataHolderCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | { |
| | | #keys: '[414384.0.874472866]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[CapacityAndSaleBudgeFilterPlaceOfProductionOfArray]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 44 |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component CheckboxIsCreateNewVersion |
| | | { |
| | | #keys: '[412960.0.157150313]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderDialogData.Data.IsCreateNewVersion' |
| | | Label: 'Create a new version' |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions #extension |
| | | { |
| | | Children: |
| | | [ |
| | | Component btnOK #extension |
| | | { |
| | | } |
| | | ] |
| | | } |
| | |
| | | DataHolderActionCopy.Data( false ); |
| | | DataHolderDialogData.Data( &scenario ); |
| | | DataHolderDialogData.Data().EnableSync( enableSync ); |
| | | DataHolderDialogData.Data().IsCreateNewVersion( true ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | |
| | | |
| | | DataHolderActionCopy.Data( false ); |
| | | DataHolderDialogData.Data( &scenario ); |
| | | DataHolderDialogData.Data().IsCreateNewVersion( true ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | |
| | | newscenario := null( Scenario ); |
| | | strategy := null( Strategy ); |
| | | |
| | | // New version |
| | | globalotdtable := GlobalOTDTable; |
| | | testbusinesstype := "éå¢"; |
| | | if( data.IsCreateNewVersion() ){ |
| | | VersionControl::CreateNewSceneVersion( globalotdtable, testbusinesstype ); |
| | | }else{ |
| | | VersionControl::CopyVersion( globalotdtable, testbusinesstype ); |
| | | } |
| | | versionname := VersionControl::GetVersionInfo( globalotdtable, testbusinesstype ).Element( 3 ); |
| | | |
| | | // Get Version Name |
| | | if( data.Name() = "" ){ |
| | | data.Name( versionname ); |
| | | } |
| | | |
| | | // Copy scenario |
| | | if( isnull( data.WrappedInstance() ) ) |
| | | { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOK |
| | | Response OnClick () id:Response_pnlActions_btnOK_OnClick #extension |
| | | { |
| | | Precondition: |
| | | [* |
| | | data := DataHolderDialogData.Data(); |
| | | return not isnull( data ) |
| | | and Scenario::ValidateInput( feedback, |
| | | ScenarioManager, |
| | | // edtName.Text(), |
| | | "for version", |
| | | data.WrappedInstance(), |
| | | '', |
| | | GlobalParameters_MP::GetKB_New(), |
| | | 'Test', |
| | | RadioButtonGroupStorageState.BoundValue(), |
| | | Domain.MDSStorageDefinitionManager().Enabled(), |
| | | Domain.MDSStorageDefinitionManager().DatasetStoreEnabled(), |
| | | Domain.MDSStorageDefinitionManager().DatabaseEnabled() ); |
| | | *] |
| | | } |
| | |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[414382.0.465983522]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[414382.0.465983526]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[414382.0.465983528]' |
| | | 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: '[414382.0.465983520]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component PriorityFactorName |
| | | { |
| | | #keys: '[414382.0.464432096]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactor.Data.Name' |
| | | Label: 'ä¼å
级å å' |
| | | ReadOnly: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component Coefficient |
| | | { |
| | | #keys: '[414382.0.466405102]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactor.Data.Coefficient' |
| | | Label: 'ç³»æ°' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component Desc |
| | | { |
| | | #keys: '[414382.0.466436612]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactor.Data.Desc' |
| | | Label: 'æè¿°' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method ClickBtnOK () id:Method_DialogEditPriorityFactor_ClickBtnOK |
| | | { |
| | | #keys: '[414382.0.464433014]' |
| | | Body: |
| | | [* |
| | | |
| | | btnOk.Enabled(false,''); |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | DataHolderEditPriorityFactor.Data().Commit(); |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Edit ( |
| | | PriorityFactor selection |
| | | ) id:Method_DialogEditPriorityFactor_Edit |
| | | { |
| | | #keys: '[414382.0.464432484]' |
| | | Body: |
| | | [* |
| | | data := shadow( selection ); |
| | | |
| | | DataHolderEditPriorityFactor.Data( &data); |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[414382.0.465983532]' |
| | | 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: '[414382.0.465983531]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | feedback := Translations::FilllingCapacity_ValidateInput(); |
| | | |
| | | checkValue := not Coefficient.Text() = '' |
| | | |
| | | return checkValue; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOK(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogEditPriorityFactor |
| | | { |
| | | #keys: '[414382.0.465983518]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component DataHolderEditPriorityFactor |
| | | { |
| | | #keys: '[414382.0.464433280]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[PriorityFactor]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'ç¼è¾ä¼å
级å å' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[414382.0.482374521]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[414382.0.482374525]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[414382.0.482374527]' |
| | | 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: '[414382.0.482374519]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component GradeTarget |
| | | { |
| | | #keys: '[414382.0.482496232]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactorDetails.Data.GradeTarget' |
| | | Label: 'åçº§ç®æ å¼' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component isRange |
| | | { |
| | | #keys: '[414382.0.482496334]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactorDetails.Data.IsRange' |
| | | Label: 'å级èå´:' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component RangeMax |
| | | { |
| | | #keys: '[414382.0.482496364]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactorDetails.Data.RangeMax' |
| | | Label: 'æå¤§å¼' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component RangeMin |
| | | { |
| | | #keys: '[414382.0.482496434]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactorDetails.Data.RangeMin' |
| | | Label: 'æå°å¼' |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component GradeDesc |
| | | { |
| | | #keys: '[414382.0.478492133]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactorDetails.Data.GradeDesc' |
| | | FixedSize: false |
| | | Label: 'æè¿°' |
| | | SizeRatio: 3 |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | Component PriorityFactorName |
| | | { |
| | | #keys: '[414382.0.485983642]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactorDetails.Data.PriorityFactorName' |
| | | Label: 'ä¼å
级å å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component PriorityFactorDetailsName |
| | | { |
| | | #keys: '[414382.0.486013052]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderEditPriorityFactorDetails.Data.GradingName' |
| | | Label: 'ç»ååç§°' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method ClickBtnOK () id:Method_DialogEditPriorityFactorDetails_ClickBtnOK |
| | | { |
| | | #keys: '[414382.0.482495783]' |
| | | Body: |
| | | [* |
| | | btnOk.Enabled(false,''); |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | DataHolderEditPriorityFactorDetails.Data().Commit(); |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Edit ( |
| | | PriorityFactorDetails selection |
| | | ) id:Method_DialogEditPriorityFactorDetails_Edit |
| | | { |
| | | #keys: '[414382.0.482495781]' |
| | | Body: |
| | | [* |
| | | data := shadow( selection ); |
| | | |
| | | if( data.IsRange() ) |
| | | { |
| | | isRange.Checked(true); |
| | | } |
| | | |
| | | DataHolderEditPriorityFactorDetails.Data( &data); |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[414382.0.482374531]' |
| | | 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: '[414382.0.482374530]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | feedback := Translations::FilllingCapacity_ValidateInput(); |
| | | |
| | | checkValue := not GradeTarget.Text() = '' |
| | | |
| | | if( isRange.Checked() ) |
| | | { |
| | | checkValue := not RangeMax.Text() = '' and not RangeMin.Text() = ''; |
| | | } |
| | | |
| | | return checkValue; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOK(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlContent/isRange |
| | | Response OnChanged () id:Response_pnlContent_isRange_OnChanged |
| | | { |
| | | #keys: '[414382.0.487732097]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebCheckbox_OnChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( this.Checked()) |
| | | { |
| | | RangeMax.ReadOnly(false); |
| | | RangeMin.ReadOnly(false) |
| | | } |
| | | else{ |
| | | RangeMax.ReadOnly(true); |
| | | RangeMin.ReadOnly(true) |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogEditPriorityFactorDetails |
| | | { |
| | | #keys: '[414382.0.482374517]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component DataHolderEditPriorityFactorDetails |
| | | { |
| | | #keys: '[414382.0.482495927]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[PriorityFactorDetails]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'ç¼è¾ä¼å
级å åç»å' |
| | | ] |
| | | } |
| | |
| | | [* |
| | | |
| | | data := owner.FillingCapacityOrder(relshadow); |
| | | data.OrderType("ææ") |
| | | |
| | | DataHolderFillingCapacityOrder.Data(&data); |
| | | |
| | |
| | | { |
| | | #keys: '[414382.0.400131334]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | 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; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOk() |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlContent/dsDemandDate |
| | | Response OnCreated () id:Response_pnlContent_dsDemandDate_OnCreated |
| | | { |
| | | #keys: '[414382.0.469810579]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.Date(Date::Today()); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlContent/dsForecastDemandDate |
| | | Response OnCreated () id:Response_pnlContent_dsForecastDemandDate_OnCreated |
| | | { |
| | | #keys: '[414382.0.471003983]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.Date(Date::Today()); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFilling.Data.DemandDate' |
| | | Enabled: false |
| | | Label: 'Demand Date' |
| | | ReadOnly: true |
| | | Taborder: 4 |
| | |
| | | { |
| | | #keys: '[414382.0.415331003]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | verNo := efVerNo.Text(); |
| | | salesAmount := edtSalesAmount.Text(); |
| | | feedback := Translations::FilllingCapacity_ValidateInput(); |
| | | return not salesAmount = '' and not verNo = ''; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOk(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlContent/dsForecastDemandDate_515 |
| | | Response OnCreated () id:Response_pnlContent_dsForecastDemandDate_OnCreated |
| | | { |
| | | #keys: '[414382.0.470910420]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.Date(Date::Today()); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | { |
| | | #keys: '[414382.0.423200508]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | { |
| | | #keys: '[414382.0.423200507]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | schemeName := DialogFillingOrderScheme.efSchemeName().Text(); |
| | | feedback := Translations::FilllingCapacity_ValidateInput(); |
| | | return not schemeName = ''; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | |
| | | |
| | | Form.Close(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | Body: |
| | | [* |
| | | data := owner.FillingCapacityOrder(relshadow); |
| | | data.OrderType("NEW"); |
| | | DataHolderHistoricalSalesOrder.Data( &data); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | |
| | | { |
| | | #keys: '[414382.0.391970684]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | 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; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOk() |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlContent/dsOrderDate |
| | | Response OnCreated () id:Response_pnlContent_dsOrderDate_OnCreated |
| | | { |
| | | #keys: '[414382.0.471041775]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.Date(Date::Today()); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[414382.0.489474418]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[414382.0.489474422]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'ä¿å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[414382.0.489474424]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'åæ¶' |
| | | 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: '[414382.0.489474416]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component PriorityPolicyName |
| | | { |
| | | #keys: '[414382.0.489512715]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderNewPriorityPolicy.Data.Name' |
| | | Label: 'ä¼å
级çç¥åç§°' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component PriorityPolicyDesc |
| | | { |
| | | #keys: '[414382.0.489474868]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderNewPriorityPolicy.Data.Desc' |
| | | Label: 'æè¿°' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method ClickBtnOk () id:Method_DialogNewPriorityPolicy_ClickBtnOk |
| | | { |
| | | #keys: '[414382.0.489694008]' |
| | | Body: |
| | | [* |
| | | // Disabled button to prevent the possibility of multiple firing |
| | | |
| | | btnOk.Enabled(true,'11111'); |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | |
| | | DataHolderNewPriorityPolicy.Data().Commit(); |
| | | |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method New ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) id:Method_DialogNewPriorityPolicy_New |
| | | { |
| | | #keys: '[414382.0.489725864]' |
| | | Body: |
| | | [* |
| | | data := owner.PriorityPolicy(relshadow); |
| | | data.BusinessType(businessType); |
| | | |
| | | DataHolderNewPriorityPolicy.Data(&data); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[414382.0.489474428]' |
| | | 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: '[414382.0.489474427]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOk() |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogNewPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.489474414]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component DataHolderNewPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.489512730]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[PriorityPolicy]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'æ·»å ä¼å
级çç¥' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[412960.0.149440162]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnApply |
| | | { |
| | | #keys: '[412960.0.149440164]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Apply' |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component btnOk |
| | | { |
| | | #keys: '[412960.0.149440166]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[412960.0.149440168]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 2 |
| | | Visible: false |
| | | ] |
| | | } |
| | | ] |
| | | 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.149440160]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblContent |
| | | { |
| | | #keys: '[412960.0.149330142]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | FixedSize: false |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method JustShow () id:Method_DialogVersionIDCopy_JustShow |
| | | { |
| | | #keys: '[412960.0.149561615]' |
| | | Body: |
| | | [* |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnApply |
| | | Response OnClick () id:Response_pnlActions_btnApply_OnClick |
| | | { |
| | | #keys: '[412960.0.149440170]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | return Form.HasChanges(); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ApplyChanges(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[412960.0.149440172]' |
| | | 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.149440171]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ApplyChanges(); |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogVersionIDCopy |
| | | { |
| | | #keys: '[412960.0.149440158]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Description: 'å±ç¤ºå
¨éçæ¬å·ä»¥å¤å¶' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Image: 'DATA_COPY' |
| | | Padding: 'false' |
| | | Title: 'å
¨éçæ¬å·' |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Description: '订åå²ååå表å±ç¤º' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | Title: '订åå²ååå表å±ç¤º' |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Image: 'THICK_ARROW_DOWN_BLUE' |
| | | Label: 'Clean & Load' |
| | | Label: 'éæ°å è½½' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPRData_844/Responsedef_ListPRData_844_WebMenu_OnClick |
| | | Initiator: 'MenuPrintRequest' |
| | | Precondition: |
| | | [* |
| | | |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | |
| | | #keys: '[414384.0.859141084]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListCapacityAllocationResults |
| | | { |
| | | #keys: '[414702.0.338762075]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorCapacityAllocationResults |
| | | { |
| | | #keys: '[414702.0.338762076]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | Taborder: 0 |
| | | Transformation: 'CapacityAllocationResults' |
| | | ] |
| | | } |
| | | #child: listActionBarPageCapacityAllocationResults |
| | | Component DataSetLevelCapacityAllocationResults |
| | | { |
| | | #keys: '[414702.0.338762081]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuCapacityAllocationResults |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VersionNumber","title":"VersionNumber","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VersionNumber"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelMeasurementUnit","title":"PanelMeasurementUnit","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelMeasurementUnit"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelMaterialCode","title":"PanelMaterialCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelMaterialCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"NumberOfPanels","title":"NumberOfPanels","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"NumberOfPanels"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelMeasurementUnit","title":"PanelMeasurementUnit","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelMeasurementUnit"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ModuleMaterialCode","title":"ModuleMaterialCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ModuleMaterialCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"NumberOfModules","title":"NumberOfModules","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"NumberOfModules"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ModuleMeasurementUnit","title":"ModuleMeasurementUnit","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ModuleMeasurementUnit"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ModuleMeasurementUnit","title":"ModuleMeasurementUnit","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ModuleMeasurementUnit"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Division","title":"Division","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Division"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"RequirementDate","title":"RequirementDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"RequirementDate"}}]' |
| | | ContextMenu: 'listContextMenuCapacityAllocationResults' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageCapacityAllocationResults |
| | | { |
| | | #keys: '[414702.0.338762078]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuCapacityAllocationResults |
| | | { |
| | | #keys: '[414702.0.338762083]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ButtonGenerateCapacityAllocationResults |
| | | Response OnClick () id:Response_FormCapacityAllocationResults_ButtonGenerateCapacityAllocationResults_OnClick |
| | | { |
| | | #keys: '[414702.0.340111671]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | CapacityAllocationResults::CreateDate( GlobalOTDTable, MacroPlan ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormCapacityAllocationResults |
| | | { |
| | | #keys: '[414702.0.338731526]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListCapacityAllocationResults |
| | | Component ButtonGenerateCapacityAllocationResults |
| | | { |
| | | #keys: '[414702.0.340677556]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'PROCESS' |
| | | Label: 'çææ°æ®' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Image: 'PUMPKIN_HALLOWEEN' |
| | | Title: '产è½åé
ç»æ' |
| | | ] |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'MPSync' |
| | | FixedFilter: 'object.YearNo() = Date::ActualDate().Year()' |
| | | Source: 'MPSync' |
| | | Taborder: 0 |
| | | Transformation: 'CapacityAndSaleBudge' |
| | | Transformation: 'MappingCapacityAndSaleBudge' |
| | | ] |
| | | } |
| | | #child: listActionBarPageCapacityAndSaleBudge |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Deleted","title":"Deleted","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Deleted"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrgCode","title":"OrgCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrgCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DisplayTechnology","title":"DisplayTechnology","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DisplayTechnology"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LineAndSpec","title":"LineAndSpec","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LineAndSpec"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductCode","title":"ProductCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PlaceOfProductionOfArray","title":"PlaceOfProductionOfArray","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PlaceOfProductionOfArray"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PlaceOfProductionOfEvaporation","title":"PlaceOfProductionOfEvaporation","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PlaceOfProductionOfEvaporation"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Resolution","title":"Resolution","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Resolution"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ShippingForm","title":"ShippingForm","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ShippingForm"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"NumberOfCut","title":"NumberOfCut","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"NumberOfCut"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityEquivalent","title":"CapacityEquivalent","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityEquivalent"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"NumberOfMask","title":"NumberOfMask","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"NumberOfMask"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth1","title":"CapacityInPCSInMonth1","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth1"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth2","title":"CapacityInPCSInMonth2","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth2"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth3","title":"CapacityInPCSInMonth3","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth3"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth4","title":"CapacityInPCSInMonth4","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth4"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth5","title":"CapacityInPCSInMonth5","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth5"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth6","title":"CapacityInPCSInMonth6","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth6"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth7","title":"CapacityInPCSInMonth7","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth7"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth8","title":"CapacityInPCSInMonth8","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth8"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth9","title":"CapacityInPCSInMonth9","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth9"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth10","title":"CapacityInPCSInMonth10","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth10"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth11","title":"CapacityInPCSInMonth11","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth11"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth12","title":"CapacityInPCSInMonth12","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth12"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSTotal","title":"CapacityInPCSTotal","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSTotal"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth1","title":"CapacityInSheetInMonth1","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth1"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth2","title":"CapacityInSheetInMonth2","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth2"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth3","title":"CapacityInSheetInMonth3","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth3"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth4","title":"CapacityInSheetInMonth4","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth4"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth5","title":"CapacityInSheetInMonth5","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth5"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth6","title":"CapacityInSheetInMonth6","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth6"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth7","title":"CapacityInSheetInMonth7","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth7"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth8","title":"CapacityInSheetInMonth8","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth8"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth9","title":"CapacityInSheetInMonth9","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth9"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth10","title":"CapacityInSheetInMonth10","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth10"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth11","title":"CapacityInSheetInMonth11","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth11"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth12","title":"CapacityInSheetInMonth12","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth12"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetTotal","title":"CapacityInSheetTotal","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetTotal"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth1","title":"SaleAmountInMonth1","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth1"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth2","title":"SaleAmountInMonth2","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth2"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth3","title":"SaleAmountInMonth3","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth3"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth5","title":"SaleAmountInMonth5","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth5"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth4","title":"SaleAmountInMonth4","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth4"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth6","title":"SaleAmountInMonth6","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth6"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth7","title":"SaleAmountInMonth7","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth7"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth8","title":"SaleAmountInMonth8","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth8"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth9","title":"SaleAmountInMonth9","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth9"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth10","title":"SaleAmountInMonth10","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth10"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth11","title":"SaleAmountInMonth11","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth11"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth12","title":"SaleAmountInMonth12","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth12"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountTotal","title":"SaleAmountTotal","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountTotal"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Deleted","title":"Deleted","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Deleted"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"YearNo","title":"YearNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"YearNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrgCode","title":"OrgCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrgCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DisplayTechnology","title":"DisplayTechnology","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DisplayTechnology"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LineAndSpecification","title":"LineAndSpecification","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LineAndSpecification"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductCode","title":"ProductCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PlaceOfProductionOfArray","title":"PlaceOfProductionOfArray","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PlaceOfProductionOfArray"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PlaceOfProductionOfEvaporation","title":"PlaceOfProductionOfEvaporation","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PlaceOfProductionOfEvaporation"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Resolution","title":"Resolution","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Resolution"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ShippingForm","title":"ShippingForm","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ShippingForm"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"NumberOfCut","title":"NumberOfCut","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"NumberOfCut"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityEquivalent","title":"CapacityEquivalent","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityEquivalent"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"NumberOfMask","title":"NumberOfMask","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"NumberOfMask"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth1","title":"CapacityInPCSInMonth1","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth1"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth2","title":"CapacityInPCSInMonth2","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth2"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth3","title":"CapacityInPCSInMonth3","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth3"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth4","title":"CapacityInPCSInMonth4","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth4"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth5","title":"CapacityInPCSInMonth5","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth5"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth6","title":"CapacityInPCSInMonth6","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth6"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth7","title":"CapacityInPCSInMonth7","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth7"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth8","title":"CapacityInPCSInMonth8","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth8"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth9","title":"CapacityInPCSInMonth9","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth9"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth10","title":"CapacityInPCSInMonth10","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth10"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth11","title":"CapacityInPCSInMonth11","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth11"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSInMonth12","title":"CapacityInPCSInMonth12","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSInMonth12"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInPCSTotal","title":"CapacityInPCSTotal","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInPCSTotal"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth1","title":"CapacityInSheetInMonth1","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth1"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth2","title":"CapacityInSheetInMonth2","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth2"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth3","title":"CapacityInSheetInMonth3","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth3"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth4","title":"CapacityInSheetInMonth4","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth4"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth5","title":"CapacityInSheetInMonth5","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth5"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth6","title":"CapacityInSheetInMonth6","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth6"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth7","title":"CapacityInSheetInMonth7","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth7"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth8","title":"CapacityInSheetInMonth8","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth8"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth9","title":"CapacityInSheetInMonth9","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth9"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth10","title":"CapacityInSheetInMonth10","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth10"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth11","title":"CapacityInSheetInMonth11","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth11"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetInMonth12","title":"CapacityInSheetInMonth12","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetInMonth12"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CapacityInSheetTotal","title":"CapacityInSheetTotal","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CapacityInSheetTotal"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth1","title":"SaleAmountInMonth1","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth1"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth2","title":"SaleAmountInMonth2","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth2"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth3","title":"SaleAmountInMonth3","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth3"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth5","title":"SaleAmountInMonth5","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth5"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth4","title":"SaleAmountInMonth4","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth4"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth6","title":"SaleAmountInMonth6","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth6"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth7","title":"SaleAmountInMonth7","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth7"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth8","title":"SaleAmountInMonth8","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth8"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth9","title":"SaleAmountInMonth9","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth9"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth10","title":"SaleAmountInMonth10","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth10"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth11","title":"SaleAmountInMonth11","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth11"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountInMonth12","title":"SaleAmountInMonth12","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountInMonth12"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SaleAmountTotal","title":"SaleAmountTotal","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SaleAmountTotal"}}]' |
| | | ContextMenu: 'listContextMenuCapacityAndSaleBudge' |
| | | SortCriteria: 'BusinessType;OrgCode;ProductCode' |
| | | Taborder: 2 |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | MPSync::TestData( MPSync, MacroPlan ); |
| | | GlobalOTDTable.InitTestData(); |
| | | *] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: '产éé¢ç®' |
| | | Description: '年度产éé¢ç®' |
| | | Title: '年度产éé¢ç®' |
| | | ] |
| | | } |
| | |
| | | } |
| | | WebChartConfigGroup |
| | | { |
| | | Label: 'BusinessTypeOrOrgCode' |
| | | Label: 'BusinessTypeOrPlaceOfProductionOfArray' |
| | | SequenceNr: 1 |
| | | } |
| | | } |
| | |
| | | } |
| | | WebChartConfigGroup |
| | | { |
| | | Label: 'BusinessTypeOrOrgCode' |
| | | Label: 'BusinessTypeOrPlaceOfProductionOfArray' |
| | | SequenceNr: 1 |
| | | } |
| | | Default: 'Stacked bar' |
| | |
| | | MergeStackedBars: true |
| | | } |
| | | *] |
| | | Groups: 'TimeStringAndScenarioName,BusinessTypeOrOrgCode' |
| | | Groups: 'TimeStringAndScenarioName,BusinessTypeOrPlaceOfProductionOfArray' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | |
| | | CheckboxIsCapacity.Checked(), |
| | | DropDownTimeGroup.Text(), |
| | | DropDownByBusinessTypeOrByOrgCode.Text(), |
| | | DropDownBusinessTypes.Text(), |
| | | DropDownPlaceOfProductionOfArrays.Text(), |
| | | DropDownYears.Text(), |
| | | DataHolderCapacityAndSaleBudgeFilterBusinessType.Data(), |
| | | DataHolderCapacityAndSaleBudgeFilterPlaceOfProductionOfArray.Data(), |
| | | DataHolderCapacityAndSaleBudgeFilterYear.Data(), |
| | | DataHolderCapacityAndSaleBudgeFilterMonth.Data(), |
| | | MPSync, |
| | | GlobalOTDTable, |
| | | MacroPlan ); |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | CapacityAndSaleBudgeChartElement::TestData( ScenarioManager ); |
| | | |
| | | DropDownBusinessTypes.Strings( GlobalOTDTable.CapacityAndSaleBudgeBusinessTypeString() ); |
| | | DropDownPlaceOfProductionOfArrays.Strings( GlobalOTDTable.CapacityAndSaleBudgePlaceOfProductionOfArrayString() ); |
| | | DropDownYears.Strings( GlobalOTDTable::CapacityAndSaleBudgeYearsString() ); |
| | | //CapacityAndSaleBudgeChartElement::TestData( ScenarioManager ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | [ |
| | | Label: '年份' |
| | | Taborder: 2 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component DropDownBusinessTypes |
| | |
| | | AllowEmpty: true |
| | | Label: 'äºä¸é¨' |
| | | Taborder: 3 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component DropDownPlaceOfProductionOfArrays |
| | |
| | | AllowEmpty: true |
| | | Label: '颿¿åºå°' |
| | | Taborder: 4 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component CheckboxIsCapacity |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: '产éé¢ç®å¯¹æ¯' |
| | | Description: '年度产éé¢ç®å¯¹æ¯' |
| | | Title: '年度产éé¢ç®å¯¹æ¯' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListCapacityAndSaleBudgeFilterBusinessType |
| | | { |
| | | #keys: '[414384.0.875704540]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorCapacityAndSaleBudgeFilterBusinessType |
| | | { |
| | | #keys: '[414384.0.875704541]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MPSync' |
| | | Source: 'MPSync' |
| | | Taborder: 0 |
| | | Transformation: 'CapacityAndSaleBudgeFilterBusinessType' |
| | | ] |
| | | } |
| | | #child: listActionBarPageCapacityAndSaleBudgeFilterBusinessType |
| | | Component DataSetLevelCapacityAndSaleBudgeFilterBusinessType |
| | | { |
| | | #keys: '[414384.0.875704543]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuCapacityAndSaleBudgeFilterYear_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}}]' |
| | | ContextMenu: 'listContextMenuCapacityAndSaleBudgeFilterYear' |
| | | SortCriteria: 'BusinessType' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | SelectionCheckboxes: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageCapacityAndSaleBudgeFilterBusinessType |
| | | { |
| | | #keys: '[414384.0.875704542]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuCapacityAndSaleBudgeFilterYear id:listContextMenuCapacityAndSaleBudgeFilterYear_1 |
| | | { |
| | | #keys: '[414384.0.875704544]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuRefresh |
| | | { |
| | | #keys: '[414384.0.875575024]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Description: 'Refresh' |
| | | Image: 'ARROW_CIRCLE2' |
| | | Taborder: 3 |
| | | Title: 'Refresh' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListCapacityAndSaleBudgeFilterBusinessType |
| | | Response OnUserCheckedChanged () id:Response_ListCapacityAndSaleBudgeFilterBusinessType_OnUserCheckedChanged_670 |
| | | { |
| | | #keys: '[414384.0.875704537]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnUserCheckedChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DataHolderCapacityAndSaleBudgeFilterBusinessType.Data().Flush(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListCapacityAndSaleBudgeFilterBusinessType |
| | | Response OnUserCheckedChanged ( |
| | | structured[CapacityAndSaleBudgeFilterBusinessType] checkeditems |
| | | ) id:Response_ListCapacityAndSaleBudgeFilterBusinessType_OnUserCheckedChanged |
| | | { |
| | | #keys: '[414384.0.875704536]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnUserCheckedChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DataHolderCapacityAndSaleBudgeFilterBusinessType.Data( checkeditems.Copy() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: listContextMenuCapacityAndSaleBudgeFilterYear_1/MenuRefresh |
| | | Response OnClick () id:Response_listContextMenuCapacityAndSaleBudgeFilterYear_1_MenuRefresh_OnClick |
| | | { |
| | | #keys: '[414384.0.875575116]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMenu_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | MPSync.RefreshCapacityAndSaleBudgeFilter(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormCapacityAndSaleBudgeFilterBusinessType |
| | | { |
| | | #keys: '[414384.0.875704417]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListCapacityAndSaleBudgeFilterBusinessType |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: '年度产éé¢ç®äºä¸é¨çé' |
| | | Title: '年度产éé¢ç®äºä¸é¨çé' |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: '产éé¢ç®å¯¹æ¯é¡¹çé' |
| | | Description: '年度产éé¢ç®å¯¹æ¯é¡¹' |
| | | Title: '年度产éé¢ç®å¯¹æ¯é¡¹' |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: '产éé¢ç®å¯¹æ¯æä»½çé' |
| | | Description: '年度产éé¢ç®æä»½çé' |
| | | Title: '年度产éé¢ç®æä»½çé' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | { |
| | | #keys: '[414384.0.875704517]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | { |
| | | #keys: '[414384.0.875704518]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MPSync' |
| | | Source: 'MPSync' |
| | | Taborder: 0 |
| | | Transformation: 'CapacityAndSaleBudgeFilterPlaceOfProductionOfArray' |
| | | ] |
| | | } |
| | | #child: listActionBarPageCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | Component DataSetLevelCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | { |
| | | #keys: '[414384.0.875704520]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuCapacityAndSaleBudgeFilterYear_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PlaceOfProductionOfArray","title":"PlaceOfProductionOfArray","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PlaceOfProductionOfArray"}}]' |
| | | ContextMenu: 'listContextMenuCapacityAndSaleBudgeFilterYear' |
| | | SortCriteria: 'PlaceOfProductionOfArray' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | SelectionCheckboxes: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | { |
| | | #keys: '[414384.0.875704519]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuCapacityAndSaleBudgeFilterYear id:listContextMenuCapacityAndSaleBudgeFilterYear_1 |
| | | { |
| | | #keys: '[414384.0.875704521]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuRefresh id:MenuRefresh_332 |
| | | { |
| | | #keys: '[414384.0.875925487]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Description: 'Refresh' |
| | | Image: 'ARROW_CIRCLE2' |
| | | Taborder: 3 |
| | | Title: 'Refresh' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | Response OnUserCheckedChanged () id:Response_ListCapacityAndSaleBudgeFilterPlaceOfProductionOfArray_OnUserCheckedChanged_171 |
| | | { |
| | | #keys: '[414384.0.875704514]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnUserCheckedChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DataHolderCapacityAndSaleBudgeFilterYear.Data().Flush(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | Response OnUserCheckedChanged ( |
| | | structured[CapacityAndSaleBudgeFilterYear] checkeditems |
| | | ) id:Response_ListCapacityAndSaleBudgeFilterPlaceOfProductionOfArray_OnUserCheckedChanged |
| | | { |
| | | #keys: '[414384.0.875704513]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnUserCheckedChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DataHolderCapacityAndSaleBudgeFilterYear.Data( checkeditems.Copy() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: listContextMenuCapacityAndSaleBudgeFilterYear_1/MenuRefresh_332 |
| | | Response OnClick () id:Response_listContextMenuCapacityAndSaleBudgeFilterYear_1_MenuRefresh_OnClick_663 |
| | | { |
| | | #keys: '[414384.0.875925486]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMenu_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | MPSync.RefreshCapacityAndSaleBudgeFilter(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | { |
| | | #keys: '[414384.0.875704457]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListCapacityAndSaleBudgeFilterPlaceOfProductionOfArray |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: '年度产éé¢ç®é¢æ¿åºå°çé' |
| | | Title: '年度产éé¢ç®é¢æ¿åºå°çé' |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: '产éé¢ç®å¯¹æ¯å¹´ä»½çé' |
| | | Description: '年度产éé¢ç®å¹´ä»½çé' |
| | | Title: '年度产éé¢ç®å¹´ä»½çé' |
| | | ] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111695]' |
| | | #keys: '[414382.0.474013892]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111696]' |
| | | #keys: '[414382.0.474013893]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | |
| | | #child: listActionBarPageFillingSchemeDetail |
| | | Component DataSetLevelFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111701]' |
| | | #keys: '[414382.0.474013898]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"çæ¬å·","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"äºä¸é¨","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"éå®é¨é¨","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"åºåç¹","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"客æ·åç§°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"æ°é","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"æ°éåä½","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"颿¿å¤§å¼ æ°é","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"éå®é¢","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"颿µéæ±æ¶é´","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"éæ±æ¶é´","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderType","title":"订åç±»å","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"çæ¬å·","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ååç¼ç ","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"äºä¸é¨","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"éå®é¨é¨","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"åºåç¹","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"客æ·åç§°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"æ°é","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"æ°éåä½","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"颿¿å¤§å¼ æ°é","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"颿µéæ±æ¶é´","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"éæ±æ¶é´","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderType","title":"订åç±»å","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}}]' |
| | | ContextMenu: 'listContextMenuFillingSchemeDetail' |
| | | Taborder: 2 |
| | | ] |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111698]' |
| | | #keys: '[414382.0.474013895]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111703]' |
| | | #keys: '[414382.0.474013900]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListFillingSchemeDetail |
| | | Component DataHolderFillingSchemeDetails id:DataHolderFillingSchemeDetails_71 |
| | | { |
| | | #keys: '[414382.0.438570912]' |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | #child: ListFillingSchemeDetail |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_OK' |
| | | Taborder: 3 |
| | | Title: 'Release' |
| | | ] |
| | | } |
| | | Component MenuDelete |
| | | { |
| | | #keys: '[414382.0.475912052]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_DELETE' |
| | | Taborder: 4 |
| | | Title: 'å é¤' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListFillingScheme |
| | | Response OnClick ( |
| | | FilllingCapacityOrderScheme selection |
| | | ) id:Response_ListFillingScheme_MenuDelete_OnClick |
| | | { |
| | | #keys: '[414382.0.475970386]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListFillingScheme/Responsedef_ListFillingScheme_WebMenu_OnClick |
| | | Initiator: 'MenuDelete' |
| | | Precondition: |
| | | [* |
| | | //feedback := Translations::FilllingCapacity_NotRelease(); |
| | | //checkValue := not FilllingCapacityOrderScheme::HasAlreadyRelease( MacroPlan); |
| | | //return checkValue; |
| | | feedback := Translations::FilllingCapacity_NotRelease(); |
| | | checkValue := selectobject( MacroPlan,FilllingCapacityOrderScheme,scheme,scheme.IsRelease()) |
| | | return isnull( checkValue ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.Delete() |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | Initiator: 'MenuRelease' |
| | | Precondition: |
| | | [* |
| | | not selection.IsRelease(); |
| | | feedback := Translations::FilllingCapacity_NotRelease(); |
| | | checkValue := selectobject( MacroPlan,FilllingCapacityOrderScheme,scheme,scheme.IsRelease()) |
| | | return isnull( checkValue ); |
| | | *] |
| | | QuillAction |
| | | { |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelSalesDemands #extension |
| | | { |
| | | #error 102458: "Class Component with id 'PanelSalesDemands' cannot find its child with id 'PanelAllSalesDemands'. The file / folder structure might be corrupted due to integration." |
| | | Children: |
| | | [ |
| | | Component DataHolderSalesDemands #extension |
| | |
| | | Properties: |
| | | [ |
| | | Description: 'å²åç»æ-æ¥å¿' |
| | | Image: 'DOCUMENT_REFRESH' |
| | | Title: 'åç¾ææå表æç»é¡µ' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | Title: 'æ¥å¿é¡µé¢' |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: '填产订åå表' |
| | | Title: '填产订ååå²å表' |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Description: 'ææ/åç¾ç©æéè´æç»éæ¾' |
| | | Image: 'DOG' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | Title: 'ææ/åç¾ç©æéè´æç»éæ¾' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListOrderLock id:ListOrderLock_844 |
| | | { |
| | | #keys: '[412960.0.217980651]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorOrderLock743 |
| | | { |
| | | #keys: '[412960.0.217980652]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[CustomerOrder]' |
| | | Description: 'è·å订å' |
| | | Source: 'DataHolderOrderLock' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPageOrderLock_1 |
| | | Component DataSetLevelOrderLock |
| | | { |
| | | #keys: '[412960.0.217980654]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuOrderLock_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CustomerName","title":"CustomerName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CustomerName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Price","title":"Price","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Price"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"EndDate","title":"EndDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"EndDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsLocked","title":"IsLocked","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsLocked"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"First.AsPlanningBaseSalesDemandInPeriod.End","title":"End","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"First.AsPlanningBaseSalesDemandInPeriod.End"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LastModify","title":"LastModify","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LastModify"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LastModifyTime","title":"LastModifyTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LastModifyTime"}}]' |
| | | ContextMenu: 'listContextMenuOrderLock' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | SelectionCheckboxes: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component MatrixEditorProductPlanning id:MatrixEditorProductPlanning_679 |
| | | { |
| | | #keys: '[412960.0.220270414]' |
| | | BaseType: 'WebMatrixEditor' |
| | | Children: |
| | | [ |
| | | Component MatrixEditorCellPISPIP |
| | | { |
| | | #keys: '[412960.0.220270415]' |
| | | BaseType: 'WebMatrixEditorCell' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPISPIP |
| | | { |
| | | #keys: '[412960.0.220270416]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[ProductInStockingPoint_MP]' |
| | | FixedFilter: 'not object.ProductInStockingPoint_MP().IsSystem() and object.ProductInStockingPoint_MP().IsLeaf()' |
| | | Source: 'ApplicationMacroPlanner.DataHolderPISP' |
| | | Taborder: 0 |
| | | Transformation: 'Elements.ProductInStockingPointInPeriod' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Attributes: 'DisplaySupplyQuantity;DependentDemandAndSalesDemandQuantity;TargetInventoryLevel;InventoryLevelEnd;StockLevelInDays' |
| | | Column: 'Period_MP' |
| | | Row: 'ProductInStockingPoint_MP' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component MatrixEditorRowsPISP |
| | | { |
| | | #keys: '[412960.0.220270417]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPISP |
| | | { |
| | | #keys: '[412960.0.220270418]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[CustomerOrder]' |
| | | FixedFilter: 'not object.IsSystem() and object.IsLeaf()' |
| | | Source: 'DataHolderOrderLockCheckedOrder' |
| | | Taborder: 0 |
| | | Transformation: 'Elements.ProductInStockingPoint_MP' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'Name' |
| | | SortCriteria: 'Product_MP.DisplayIndex;Name' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component MatrixEditorColumnsPeriod |
| | | { |
| | | #keys: '[412960.0.220270419]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPeriod |
| | | { |
| | | #keys: '[412960.0.220270420]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[Period_MP]' |
| | | Source: 'ApplicationMacroPlanner.DataHolderPeriods' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'Start' |
| | | SortCriteria: 'Start' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component UserConfigurableInformationMatrixEditorProductPlanning |
| | | { |
| | | #keys: '[412960.0.220270421]' |
| | | BaseType: 'WebUserConfigurableInformation' |
| | | Properties: |
| | | [ |
| | | Identifier: 'Cell: PISPIP' |
| | | ObjectType: 'ProductInStockingPointInPeriod' |
| | | Taborder: 3 |
| | | Text: 'Test text' |
| | | Tooltip: '<table><tr><td><b>SYNONYM(object.InventoryLevelEnd())</b></td><td>VALUE( MacroPlan::GetDisplayValue( object.InventoryLevelEnd() ) )</td><td>VALUE(object.ProductInStockingPoint_MP().UnitOfMeasureName())</td><td><b>Inventory holding cost </b></td><td>VALUE(object.TotalBaseInventoryHoldingCost())VALUE( \' \'+ object.ProductInStockingPoint_MP().StockingPoint_MP().Currency_MP().Symbol() )</td><td>VALUE( \'[\' + object.TotalBaseInventoryHoldingCostPerQuantity().Format(\'N(Dec(2))\') )</td><td>VALUE( object.ProductInStockingPoint_MP().StockingPoint_MP().Currency_MP().Symbol() + \'/\' + object.ProductInStockingPoint_MP().UnitOfMeasure_MP().Name() + \']\' ) </td></tr><tr><td><b>SYNONYM(object.StockLevelInDays())</b></td><td>VALUE(object.StockLevelInDays)</td><td>day</td></tr><tr><td><b>Total supply </b></td><td>VALUE(object.SupplyQuantity())</td><td>VALUE(object.ProductInStockingPoint_MP().UnitOfMeasureName())</td><td/><td><b>Total demand </b></td><td>VALUE(object.GetDemandQuantity())</td><td>VALUE(object.ProductInStockingPoint_MP().UnitOfMeasureName())</td></tr><br><tr><td><b>Inventory start </b></td><td>VALUE( guard( MacroPlan::GetDisplayValue( object.InventoryLevelStartPISPIP().InventoryLevelEnd() ), 0.0 ) )</td><td>VALUE(object.ProductInStockingPoint_MP().UnitOfMeasureName())</td><td/><td><b>Sales demand </b></td><td>VALUE(object.SalesDemandQuantity())</td><td>VALUE(object.ProductInStockingPoint_MP().UnitOfMeasureName())</td></tr><tr><td><b>New supply </b></td><td>VALUE(object.NewSupplyQuantity())</td><td>VALUE(object.ProductInStockingPoint_MP().UnitOfMeasureName())</td><td/><td><b>Dependent demand </b></td><td>VALUE(object.DependentDemandQuantity())</td><td>VALUE(object.ProductInStockingPoint_MP().UnitOfMeasureName())</td></tr><tr><td><b>Inventory supply </b></td><td>VALUE(object.InventorySupplyQuantity())</td><td>VALUE(object.ProductInStockingPoint_MP().UnitOfMeasureName())</td><td/><td><b>Fulfilled demand </b></td><td>VALUE(object.FulfilledDemandQuantity() )</td><td>VALUE(object.ProductInStockingPoint_MP().UnitOfMeasureName())</td></tr></table><hr>VALUE( object.ImgHasFeedback() ) VALUE( ifexpr( object.HasFeedback() , " Feedback message exist. Refer to Supply Planning matrix for details." , "" ) )' |
| | | ] |
| | | } |
| | | #child: matrixEditorActionBarPageProductPlanning_1 |
| | | #child: matrixeditorContextMenuProductPlanning_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | | AllowAttributeConfiguration: true |
| | | AllowMultipleAttributes: true |
| | | Columns: 'MatrixEditorColumnsPeriod' |
| | | ContextMenu: 'matrixeditorContextMenuProductPlanning' |
| | | Rows: 'MatrixEditorRowsPISP' |
| | | ShowEditability: true |
| | | ShowSingleAttribute: true |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorProductPlanning_679_WebMenu_OnClick |
| | | { |
| | | #keys: '[412960.0.220270401]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[6763.0.7990336]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorProductPlanning_679_WebButton_OnClick |
| | | { |
| | | #keys: '[412960.0.220270400]' |
| | | Initiator: 'WebButton' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[6763.0.7990409]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorProductPlanning_679_WebMenu_OnClick_119 |
| | | { |
| | | #keys: '[412960.0.220270399]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selectedrows |
| | | { |
| | | #keys: '[6763.0.7990482]' |
| | | Binding: 'this.SelectedRows()' |
| | | } |
| | | ] |
| | | } |
| | | DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorProductPlanning_679_WebButton_OnClick_720 |
| | | { |
| | | #keys: '[412960.0.220270398]' |
| | | Initiator: 'WebButton' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selectedrows |
| | | { |
| | | #keys: '[6763.0.7990555]' |
| | | Binding: 'this.SelectedRows()' |
| | | } |
| | | ] |
| | | } |
| | | DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorProductPlanning_679_WebMenu_OnClick_640 |
| | | { |
| | | #keys: '[412960.0.220270397]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selectedcolumns |
| | | { |
| | | #keys: '[6763.0.7990628]' |
| | | Binding: 'this.SelectedColumns()' |
| | | } |
| | | ] |
| | | } |
| | | DelegatedResponseDefinition OnClick id:Responsedef_MatrixEditorProductPlanning_679_WebButton_OnClick_582 |
| | | { |
| | | #keys: '[412960.0.220270396]' |
| | | Initiator: 'WebButton' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selectedcolumns |
| | | { |
| | | #keys: '[6763.0.7990701]' |
| | | Binding: 'this.SelectedColumns()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelMatrix id:PanelMatrix_780 |
| | | { |
| | | #keys: '[412960.0.220270412]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component DataHolderSelectedPISPIPsInProductPlanningMatrix |
| | | { |
| | | #keys: '[412960.0.220270413]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[ProductInStockingPointInPeriod]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | #child: MatrixEditorProductPlanning_679 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelOrderLock |
| | | { |
| | | #keys: '[412960.0.212571359]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: PanelOrderLockHeader_545 |
| | | #child: PanelOrderLockOrder |
| | | #child: PanelOrderLockPlanning |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelOrderLockHeader id:PanelOrderLockHeader_545 |
| | | { |
| | | #keys: '[412960.0.212571440]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component LabelOrderLockHeaderVersion |
| | | { |
| | | #keys: '[412960.0.212571441]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Description: 'MPSçæ¬åç§°' |
| | | Label: 'MPSçæ¬ï¼' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component EditFieldOrderLockHeader |
| | | { |
| | | #keys: '[412960.0.212571468]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Description: 'æ¨¡ç³æç´¢çéæ¡' |
| | | PlaceHolder: 'æ¨¡ç³æç´¢' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component DateSelectorOrderLockHeaderCustomerOrder |
| | | { |
| | | #keys: '[412960.0.212571527]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Date: 2023-01-01 |
| | | Description: '客æ·éæ±æ¶é´' |
| | | Label: '客æ·éæ±æ¶é´' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component DateSelectorOrderLockHeaderPlanDeliver |
| | | { |
| | | #keys: '[412960.0.212571611]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Date: 2023-01-01 |
| | | Description: '计åäº¤ä»æ¶é´' |
| | | Label: '计åäº¤ä»æ¶é´' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component ButtonOrderLockHeader |
| | | { |
| | | #keys: '[412960.0.212571669]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Description: 'æ¨¡ç³æç´¢æé®' |
| | | Label: 'æç´¢' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component RadioButtonGroupOrderLockHeader |
| | | { |
| | | #keys: '[412960.0.212571696]' |
| | | BaseType: 'WebRadioButtonGroup' |
| | | Properties: |
| | | [ |
| | | BoundValue: 'all' |
| | | ButtonLabels: 'å·²éå®;æªéå®;å
¨é¨' |
| | | ButtonValues: 'locked;unlocked;all' |
| | | DataBinding: 'DataHolderOrderLockGlobal.Data.IsOrderLocked' |
| | | Description: 'æ¯å¦éå®çç¹éæ¡' |
| | | Orientation: 'horizontal' |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component ButtonOrderLockHeaderLock |
| | | { |
| | | #keys: '[412960.0.221760476]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Description: '订åéå®' |
| | | Label: 'éå®' |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | Component ButtonOrderLockHeaderUnlock |
| | | { |
| | | #keys: '[412960.0.221760488]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Description: '订åè§£é' |
| | | Label: 'è§£é' |
| | | Taborder: 8 |
| | | ] |
| | | } |
| | | Component ButtonOrderLockHeaderClear |
| | | { |
| | | #keys: '[412960.0.223264324]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Description: 'æ¸
é¤çé项' |
| | | Label: 'æ¸
é¤çé' |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'æ¾ç½®lableï¼æé®ç' |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelOrderLockOrder |
| | | { |
| | | #keys: '[412960.0.217980613]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: ListOrderLock_844 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: '订åä¿¡æ¯å±ç¤º' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelOrderLockPlanning |
| | | { |
| | | #keys: '[412960.0.220270252]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: PanelMatrix_780 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Border: true |
| | | Description: '订å对åºçè®¡åæ°æ®' |
| | | Taborder: 2 |
| | | Title: '计å详æ
' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageOrderLock id:listActionBarPageOrderLock_1 |
| | | { |
| | | #keys: '[412960.0.217980653]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuOrderLock id:listContextMenuOrderLock_1 |
| | | { |
| | | #keys: '[412960.0.217980655]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixEditorActionBarPageProductPlanning id:matrixEditorActionBarPageProductPlanning_1 |
| | | { |
| | | #keys: '[412960.0.220270422]' |
| | | BaseType: 'matrixEditorActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixeditorContextMenuProductPlanning id:matrixeditorContextMenuProductPlanning_1 |
| | | { |
| | | #keys: '[412960.0.220270423]' |
| | | BaseType: 'matrixeditorContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuCopy |
| | | { |
| | | #keys: '[138034.3.1296123318]' |
| | | BaseType: 'MenuCopy' |
| | | IsDerived: true |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component MenuSeparator3 |
| | | { |
| | | #keys: '[412960.0.220270424]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Separator: true |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component MenuLock |
| | | { |
| | | #keys: '[412960.0.220270427]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | DelegationID: 'ActionBarPlan_Lock' |
| | | Image: 'LOCK' |
| | | Taborder: 3 |
| | | Title: 'Lock' |
| | | ] |
| | | } |
| | | Component MenuUnlock |
| | | { |
| | | #keys: '[412960.0.220270428]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | DelegationID: 'ActionBarPlan_Unlock' |
| | | Image: 'LOCK_OPEN' |
| | | Taborder: 4 |
| | | Title: 'Unlock' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListOrderLock_844 |
| | | Response OnUserCheckedChanged ( |
| | | structured[CustomerOrder] checkeditems |
| | | ) id:Response_ListOrderLock_844_OnUserCheckedChanged |
| | | { |
| | | #keys: '[412960.0.246680266]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnUserCheckedChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DataHolderOrderLockCheckedOrder.Data( checkeditems.Copy() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: MatrixEditorProductPlanning_679 |
| | | Response OnClick ( |
| | | structured[ProductInStockingPointInPeriod] selection |
| | | ) id:Response_MatrixEditorProductPlanning_679_MenuLock_OnClick |
| | | { |
| | | #keys: '[412960.0.220270410]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /MatrixEditorProductPlanning_679/Responsedef_MatrixEditorProductPlanning_679_WebMenu_OnClick |
| | | Initiator: 'MenuLock' |
| | | Precondition: |
| | | [* |
| | | return ProductInStockingPointInPeriod::CanLockUnlock( selection, feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // Lock total supply quantity for PISPIPs |
| | | // This is a workaround, we supposedly set the bindingtype of selection as the subtype, but |
| | | // the response would have trouble handling multiple cell selection, so for now, we bind the base type |
| | | // then select the subtype |
| | | |
| | | |
| | | pispipLeafs := selectset( selection, |
| | | Elements.astype( ProductInStockingPointInPeriodPlanningLeaf ), |
| | | pispip, |
| | | true ); |
| | | |
| | | ProductInStockingPointInPeriod::LockUnlockPlanning( pispipLeafs, true, true ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: MatrixEditorProductPlanning_679 |
| | | Response OnClick ( |
| | | structured[ProductInStockingPointInPeriod] selection |
| | | ) id:Response_MatrixEditorProductPlanning_679_MenuUnlock_OnClick |
| | | { |
| | | #keys: '[412960.0.220270407]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /MatrixEditorProductPlanning_679/Responsedef_MatrixEditorProductPlanning_679_WebMenu_OnClick |
| | | Initiator: 'MenuUnlock' |
| | | Precondition: |
| | | [* |
| | | return ProductInStockingPointInPeriod::CanLockUnlock( selection, feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // Unlock the total supply quantity of pispips |
| | | // This is a workaround, we supposedly set the bindingtype of selection as the subtype, but |
| | | // the response would have trouble handling multiple cell selection, so for now, we bind the base type |
| | | // then select the subtype |
| | | |
| | | pispipLeafs := selectset( selection, Elements.astype( ProductInStockingPointInPeriodPlanningLeaf ), pispip, |
| | | true ); |
| | | ProductInStockingPointInPeriod::LockUnlockPlanning( pispipLeafs, false, true ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: MatrixEditorProductPlanning_679 |
| | | Response OnCheckEditability ( |
| | | structured[ProductInStockingPointInPeriodPlanning] cell, |
| | | Real value |
| | | ) id:Response_MatrixEditorProductPlanning_679_OnCheckEditability |
| | | { |
| | | #keys: '[412960.0.220270404]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMatrixEditor_OnCheckEditability' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | //Precondition |
| | | attributes := construct( Strings ); |
| | | attributes.Add(focusedattribute); |
| | | isSupply_o := false; |
| | | feedback :=""; |
| | | |
| | | cond := MacroPlan.CanPlan( feedback ) |
| | | and ProductInStockingPointInPeriod::CanEnterSupplyQuantity( feedback, |
| | | cell, |
| | | attributes, |
| | | isSupply_o ); |
| | | if( cond ) |
| | | { |
| | | if( isSupply_o ) |
| | | { |
| | | periods := selectset( cell, Elements.Period_MP, period, true ); |
| | | cond := ScenarioManager::CanStartSmartPlan( ScenarioManager, |
| | | DataHolderActiveScenario.Data(), |
| | | true, |
| | | periods, |
| | | feedback ); |
| | | } |
| | | } |
| | | editinfo.CanEdit( cond ); |
| | | editinfo.UserHint( feedback ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: MatrixEditorProductPlanning_679 |
| | | Response OnUserSelectionChanged ( |
| | | structured[ProductInStockingPointInPeriod] selection |
| | | ) id:Response_MatrixEditorProductPlanning_679_OnUserSelectionChanged |
| | | { |
| | | #keys: '[412960.0.220270402]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMatrixEditor_OnUserSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | //Assign selection to data holder |
| | | DataHolderSelectedPISPIPsInProductPlanningMatrix.Data( selection.Copy() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOrderLockHeader_545/ButtonOrderLockHeaderClear |
| | | Response OnClick () id:Response_PanelOrderLockHeader_545_ButtonOrderLockHeaderClear_OnClick |
| | | { |
| | | #keys: '[412960.0.223264347]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | EditFieldOrderLockHeader.Text( "" ); |
| | | DateSelectorOrderLockHeaderCustomerOrder.Date( Date::Construct(2023,1,1) ); |
| | | DateSelectorOrderLockHeaderPlanDeliver.Date( Date::Construct(2023,1,1) ); |
| | | RadioButtonGroupOrderLockHeader.BoundValue( "all" ); |
| | | DataExtractorOrderLock.FixedFilter( "true" ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOrderLockHeader_545/ButtonOrderLockHeaderLock |
| | | Response OnClick () id:Response_PanelOrderLockHeader_545_ButtonOrderLockHeaderLock_OnClick |
| | | { |
| | | #keys: '[412960.0.245380616]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | checkorders := DataHolderOrderLockCheckedOrder.Data(); |
| | | pispips := construct( ProductInStockingPointInPeriods ); |
| | | traverse( checkorders, Elements, order ){ |
| | | pispips.Add( selectset( order, ProductInStockingPoint_MP.ProductInStockingPointInPeriod, pispip, true ) ); |
| | | } |
| | | return ProductInStockingPointInPeriod::CanLockUnlock( pispips, feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | checkorders := DataHolderOrderLockCheckedOrder.Data(); |
| | | pispips := construct( ProductInStockingPointInPeriods ); |
| | | macroplan := MacroPlan; |
| | | traverse( checkorders, Elements, order ){ |
| | | pispips.Add( selectset( order, ProductInStockingPoint_MP.ProductInStockingPointInPeriod, pispip, true ) ); |
| | | } |
| | | |
| | | pispipLeafs := selectset( pispips, |
| | | Elements.astype( ProductInStockingPointInPeriodPlanningLeaf ), |
| | | pispip, |
| | | true ); |
| | | |
| | | CustomerOrder::LockUnlock( macroplan, checkorders, true ); |
| | | ProductInStockingPointInPeriod::LockUnlockPlanning( pispipLeafs, true, true ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOrderLockHeader_545/ButtonOrderLockHeaderUnlock |
| | | Response OnClick () id:Response_PanelOrderLockHeader_545_ButtonOrderLockHeaderUnlock_OnClick |
| | | { |
| | | #keys: '[412960.0.250520489]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | checkorders := DataHolderOrderLockCheckedOrder.Data(); |
| | | pispips := construct( ProductInStockingPointInPeriods ); |
| | | traverse( checkorders, Elements, order ){ |
| | | pispips.Add( selectset( order, ProductInStockingPoint_MP.ProductInStockingPointInPeriod, pispip, true ) ); |
| | | } |
| | | return ProductInStockingPointInPeriod::CanLockUnlock( pispips, feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | checkorders := DataHolderOrderLockCheckedOrder.Data(); |
| | | pispips := construct( ProductInStockingPointInPeriods ); |
| | | macroplan := MacroPlan; |
| | | traverse( checkorders, Elements, order ){ |
| | | pispips.Add( selectset( order, ProductInStockingPoint_MP.ProductInStockingPointInPeriod, pispip, true ) ); |
| | | } |
| | | |
| | | pispipLeafs := selectset( pispips, |
| | | Elements.astype( ProductInStockingPointInPeriodPlanningLeaf ), |
| | | pispip, |
| | | true ); |
| | | |
| | | CustomerOrder::LockUnlock( macroplan, checkorders, false ); |
| | | ProductInStockingPointInPeriod::LockUnlockPlanning( pispipLeafs, false, true ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOrderLockHeader_545/ButtonOrderLockHeader |
| | | Response OnClick () id:Response_PanelOrderLockHeader_545_ButtonOrderLockHeader_OnClick |
| | | { |
| | | #keys: '[412960.0.221841965]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | thisfilter := "( object.OrderID().LikeUserLocale( " + EditFieldOrderLockHeader.Text().AsQUILL() + " )" |
| | | + " or " + "object.ProductID().LikeUserLocale( " + EditFieldOrderLockHeader.Text().AsQUILL() + " )" |
| | | + " or " + "object.UnitOfMeasureName().LikeUserLocale( " + EditFieldOrderLockHeader.Text().AsQUILL() + " )" |
| | | + " or " + "object.StockingPointID().LikeUserLocale( " + EditFieldOrderLockHeader.Text().AsQUILL() + " )" |
| | | + " or " + "object.CustomerName().LikeUserLocale( " + EditFieldOrderLockHeader.Text().AsQUILL() + " )" |
| | | + " or " + "object.SalesSegmentName().LikeUserLocale( " + EditFieldOrderLockHeader.Text().AsQUILL() + " ) )" ; |
| | | |
| | | existfilter := DataExtractorOrderLock.FixedFilter(); |
| | | if( existfilter = "true" ){ |
| | | existfilter := ""; |
| | | } |
| | | existfilterlist := existfilter.Tokenize( " and " ); |
| | | |
| | | newfilter := ""; |
| | | findcount := 0; |
| | | traverse( existfilterlist, Elements, filter ){ |
| | | if( filter.FindString( "OrderID()", 0 ) >= 0 ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := thisfilter; |
| | | }else{ |
| | | newfilter := newfilter + " and " + thisfilter; |
| | | } |
| | | findcount := 1; |
| | | }else{ |
| | | if( newfilter = "" ){ |
| | | newfilter := filter; |
| | | }else{ |
| | | newfilter := newfilter + " and " + filter; |
| | | } |
| | | } |
| | | } |
| | | |
| | | if( findcount = 0 ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := thisfilter; |
| | | }else{ |
| | | newfilter := newfilter + " and " + thisfilter; |
| | | } |
| | | } |
| | | |
| | | info( newfilter ); |
| | | |
| | | DataExtractorOrderLock.FixedFilter( newfilter ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOrderLockHeader_545/DateSelectorOrderLockHeaderCustomerOrder |
| | | Response OnChanged () id:Response_PanelOrderLockHeader_545_DateSelectorOrderLockHeaderCustomerOrder_OnChanged |
| | | { |
| | | #keys: '[412960.0.221842202]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDateTimeFieldBase_OnChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | existfilter := DataExtractorOrderLock.FixedFilter(); |
| | | if( existfilter = "true" ){ |
| | | existfilter := ""; |
| | | } |
| | | existfilterlist := existfilter.Tokenize( " and " ); |
| | | |
| | | newfilter := ""; |
| | | findcount := 0; |
| | | traverse( existfilterlist, Elements, filter ){ |
| | | if( filter.FindString( "EndDate()", 0 ) >= 0 ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := "( object.EndDate() = " + this.Date().AsQUILL() + " )"; |
| | | }else{ |
| | | newfilter := newfilter + " and " + "( object.EndDate() = " + this.Date().AsQUILL() + " )"; |
| | | } |
| | | findcount := 1; |
| | | }else{ |
| | | if( newfilter = "" ){ |
| | | newfilter := filter; |
| | | }else{ |
| | | newfilter := newfilter + " and " + filter; |
| | | } |
| | | } |
| | | } |
| | | |
| | | if( findcount = 0 ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := "( object.EndDate() = " + this.Date().AsQUILL() + " )"; |
| | | }else{ |
| | | newfilter := newfilter + " and " + "( object.EndDate() = " + this.Date().AsQUILL() + " )"; |
| | | } |
| | | } |
| | | |
| | | info( newfilter ); |
| | | |
| | | DataExtractorOrderLock.FixedFilter( newfilter ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOrderLockHeader_545/DateSelectorOrderLockHeaderPlanDeliver |
| | | Response OnChanged () id:Response_PanelOrderLockHeader_545_DateSelectorOrderLockHeaderPlanDeliver_OnChanged |
| | | { |
| | | #keys: '[412960.0.221842649]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDateTimeFieldBase_OnChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | existfilter := DataExtractorOrderLock.FixedFilter(); |
| | | if( existfilter = "true" ){ |
| | | existfilter := ""; |
| | | } |
| | | existfilterlist := existfilter.Tokenize( " and " ); |
| | | |
| | | newfilter := ""; |
| | | findcount := 0; |
| | | traverse( existfilterlist, Elements, filter ){ |
| | | if( filter.FindString( "End()", 0 ) >= 0 and filter.FindString( "EndDate()", 0 ) < 0 ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := "( object.First().AsPlanningBaseSalesDemandInPeriod().End().Date() = " + this.Date().AsQUILL() + " )"; |
| | | }else{ |
| | | newfilter := newfilter + " and " + "( object.First().AsPlanningBaseSalesDemandInPeriod().End().Date() = " + this.Date().AsQUILL() + " )"; |
| | | } |
| | | findcount := 1; |
| | | }else{ |
| | | if( newfilter = "" ){ |
| | | newfilter := filter; |
| | | }else{ |
| | | newfilter := newfilter + " and " + filter; |
| | | } |
| | | } |
| | | } |
| | | |
| | | if( findcount = 0 ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := "( object.First().AsPlanningBaseSalesDemandInPeriod().End().Date() = " + this.Date().AsQUILL() + " )"; |
| | | }else{ |
| | | newfilter := newfilter + " and " + "( object.First().AsPlanningBaseSalesDemandInPeriod().End().Date() = " + this.Date().AsQUILL() + " )"; |
| | | } |
| | | } |
| | | |
| | | info( newfilter ); |
| | | |
| | | DataExtractorOrderLock.FixedFilter( newfilter ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOrderLockHeader_545/RadioButtonGroupOrderLockHeader |
| | | Response OnChanged () id:Response_PanelOrderLockHeader_545_RadioButtonGroupOrderLockHeader_OnChanged |
| | | { |
| | | #keys: '[412960.0.221843171]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebRadioButtonGroup_OnChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | existfilter := DataExtractorOrderLock.FixedFilter(); |
| | | if( existfilter = "true" ){ |
| | | existfilter := ""; |
| | | } |
| | | existfilterlist := existfilter.Tokenize( " and " ); |
| | | |
| | | newfilter := ""; |
| | | findcount := 0; |
| | | traverse( existfilterlist, Elements, filter ){ |
| | | if( filter.FindString( "IsLocked()", 0 ) >= 0 ){ |
| | | if( this.BoundValue() = "locked" ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := "( object.IsLocked() = true )"; |
| | | }else{ |
| | | newfilter := newfilter + " and " + "( object.IsLocked() = true )"; |
| | | } |
| | | }else if( this.BoundValue() = "unlocked" ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := "( object.IsLocked() = false )"; |
| | | }else{ |
| | | newfilter := newfilter + " and " + "( object.IsLocked() = false )"; |
| | | } |
| | | }else if( this.BoundValue() = "all" ){ |
| | | newfilter := newfilter + ""; |
| | | } |
| | | findcount := 1; |
| | | }else{ |
| | | if( newfilter = "" ){ |
| | | newfilter := filter; |
| | | }else{ |
| | | newfilter := newfilter + " and " + filter; |
| | | } |
| | | } |
| | | } |
| | | |
| | | if( findcount = 0 ){ |
| | | if( this.BoundValue() = "locked" ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := "( object.IsLocked() = true )"; |
| | | }else{ |
| | | newfilter := newfilter + " and " + "( object.IsLocked() = true )"; |
| | | } |
| | | }else if( this.BoundValue() = "unlocked" ){ |
| | | if( newfilter = "" ){ |
| | | newfilter := "( object.IsLocked() = false )"; |
| | | }else{ |
| | | newfilter := newfilter + " and " + "( object.IsLocked() = false )"; |
| | | } |
| | | }else if( this.BoundValue() = "all" ){ |
| | | newfilter := newfilter + ""; |
| | | } |
| | | } |
| | | |
| | | DataExtractorOrderLock.FixedFilter( newfilter ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormOrderLock |
| | | { |
| | | #keys: '[412960.0.212511678]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelOrderLock |
| | | Component DataHolderOrderLock |
| | | { |
| | | #keys: '[412960.0.212571799]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[CustomerOrder]*' |
| | | Children: |
| | | [ |
| | | Component DataExtractorOrderLock |
| | | { |
| | | #keys: '[412960.0.212571816]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Description: 'æ½åè®¢åæ°æ®' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'SalesDemand.astype(CustomerOrder)' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component DataHolderOrderLockGlobal |
| | | { |
| | | #keys: '[412960.0.212571897]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[Scenario]*' |
| | | Properties: |
| | | [ |
| | | Description: 'å卿¯å¦éå®çç鿡件' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component DataHolderOrderLockCheckedOrder |
| | | { |
| | | #keys: '[412960.0.245361440]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[CustomerOrder]*' |
| | | Properties: |
| | | [ |
| | | Description: 'å¨åéä¸çè®¢åæ°æ®' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: '订åéå®è§£éçé¢' |
| | | Image: 'DATA_LOCK' |
| | | Title: '订åéå®è§£éçé¢' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListOrderLockLog |
| | | { |
| | | #keys: '[412960.0.251923186]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorOrderLockLog473 |
| | | { |
| | | #keys: '[412960.0.251923187]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[OrderLockLog]' |
| | | Source: 'DataHolderOrderLockLog' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPageOrderLockLog |
| | | Component DataSetLevelOrderLockLog |
| | | { |
| | | #keys: '[412960.0.251923192]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuOrderLockLog |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CustomerName","title":"CustomerName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CustomerName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Price","title":"Price","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Price"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"EndDate","title":"EndDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"EndDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsLocked","title":"IsLocked","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsLocked"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"End","title":"End","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"End"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LastModify","title":"LastModify","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LastModify"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LastModifyTime","title":"LastModifyTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LastModifyTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Notes","title":"Notes","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Notes"}}]' |
| | | ContextMenu: 'listContextMenuOrderLockLog' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelOrderLockLog |
| | | { |
| | | #keys: '[412960.0.250590911]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: ListOrderLockLog |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageOrderLockLog |
| | | { |
| | | #keys: '[412960.0.251923189]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuOrderLockLog |
| | | { |
| | | #keys: '[412960.0.251923194]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormOrderLockLog |
| | | { |
| | | #keys: '[412960.0.248150315]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelOrderLockLog |
| | | Component DataHolderOrderLockLog |
| | | { |
| | | #keys: '[412960.0.250590928]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[OrderLockLog]*' |
| | | Children: |
| | | [ |
| | | Component DataExtractorOrderLockLog |
| | | { |
| | | #keys: '[412960.0.250590940]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'OrderLockLog' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: '订åéå®/è§£éæ¥å¿' |
| | | Image: 'TEXT_LOCK' |
| | | Title: '订åéå®/è§£éæ¥å¿' |
| | | ] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListPriorityFactor |
| | | { |
| | | #keys: '[414382.0.453382063]' |
| | | #keys: '[414382.0.479644224]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPriorityFactor |
| | | { |
| | | #keys: '[414382.0.453382064]' |
| | | #keys: '[414382.0.479644225]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[PriorityFactorDetails]' |
| | | DataType: 'structured[PriorityFactor]' |
| | | Source: 'DataHolderPriorityFactorSelect' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | |
| | | #child: listActionBarPagePriorityFactor |
| | | Component DataSetLevelPriorityFactor |
| | | { |
| | | #keys: '[414382.0.453382069]' |
| | | #keys: '[414382.0.479644230]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityFactorName","title":"PriorityFactorName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityFactorName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"coefficient","title":"coefficient","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"coefficient"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityFactorDesc","title":"PriorityFactorDesc","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityFactorDesc"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Name","title":"Name","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Coefficient","title":"ç³»æ°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Coefficient"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Desc","title":"æè¿°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Desc"}}]' |
| | | ContextMenu: 'listContextMenuPriorityFactor' |
| | | Taborder: 2 |
| | | ] |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | Taborder: 2 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListPriorityFactor_WebMenu_OnClick |
| | | { |
| | | #keys: '[414382.0.452290439]' |
| | | #keys: '[414382.0.484095232]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[1187.0.7063875]' |
| | | #keys: '[1239.0.11670068]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPagePriorityFactor |
| | | { |
| | | #keys: '[414382.0.453382066]' |
| | | #keys: '[414382.0.479644227]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuPriorityFactor |
| | | { |
| | | #keys: '[414382.0.453382071]' |
| | | #keys: '[414382.0.479644232]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuTestData |
| | | Component MenuInitData |
| | | { |
| | | #keys: '[414382.0.452290464]' |
| | | #keys: '[414382.0.482890505]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR' |
| | | Taborder: 3 |
| | | Title: 'Test' |
| | | Title: 'Init Data' |
| | | ] |
| | | } |
| | | Component MenuClearTestData |
| | | Component MenuEdit |
| | | { |
| | | #keys: '[414382.0.453953843]' |
| | | #keys: '[414382.0.485622263]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_EDIT' |
| | | Taborder: 4 |
| | | Title: 'ClearTestData' |
| | | Title: 'ç¼è¾' |
| | | ] |
| | | } |
| | | ] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: DropDownStringListBusinessType |
| | | Response OnCreated () id:Response_FormPriorityFactor_DropDownStringListBusinessType_OnCreated |
| | | { |
| | | #keys: '[414382.0.461201807]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | strings := BusinessType::GetBusinessNameStr( GlobalOTDTable ); |
| | | this.Strings(strings); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: DropDownStringListBusinessType |
| | | Response OnSelectionChanged () id:Response_FormPriorityFactor_DropDownStringListBusinessType_OnSelectionChanged |
| | | { |
| | | #keys: '[414382.0.461060940]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | list := PriorityFactor::GetDataByBusinessType( MacroPlan, DropDownStringListBusinessType.Text()); |
| | | DataHolderPriorityFactorSelect.Data(&list); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactor |
| | | Response OnClick ( |
| | | PriorityFactor selection |
| | | ) id:Response_ListPriorityFactor_MenuEdit_OnClick |
| | | { |
| | | #keys: '[414382.0.485894605]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityFactor/Responsedef_ListPriorityFactor_WebMenu_OnClick |
| | | Initiator: 'MenuEdit' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogEditPriorityFactor ); |
| | | dlg.Edit( selection); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactor |
| | | Response OnClick () id:Response_ListPriorityFactor_MenuInitData_OnClick |
| | | { |
| | | #keys: '[414382.0.482802120]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityFactor/Responsedef_ListPriorityFactor_WebMenu_OnClick |
| | | Initiator: 'MenuInitData' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | PriorityFactorDetails::CreateTestData( MacroPlan); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactor |
| | | Response OnClick ( |
| | | PriorityFactor selection |
| | | ) id:Response_ListPriorityFactor_OnClick |
| | | { |
| | | #keys: '[414382.0.482282953]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | detaisls := PriorityFactorDetails::GetDataByPriorityFactor( selection, MacroPlan); |
| | | DataHolderPriorityFactorDetailsSelect.Data(&detaisls); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListPriorityFactor |
| | | Component DataHolderPriorityFactorSelect |
| | | { |
| | | #keys: '[414382.0.453562359]' |
| | |
| | | Databinding: 'structured[PriorityFactor]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component BusinessTypeSelectStringList |
| | | Component DropDownStringListBusinessType |
| | | { |
| | | #keys: '[414382.0.454113393]' |
| | | #keys: '[414382.0.461144262]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'äºä¸é¨: ' |
| | | Label: 'äºä¸é¨:' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | #child: ListPriorityFactor |
| | | Component DataHolderPriorityFactorDetailsSelect |
| | | { |
| | | #keys: '[414382.0.482103344]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[PriorityFactorDetails]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListPriorityFactorGrading |
| | | { |
| | | #keys: '[414382.0.479530865]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPriorityFactorGrading961 |
| | | { |
| | | #keys: '[414382.0.479530866]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[PriorityFactorDetails]' |
| | | Source: 'DataHolderPriorityFactorGrading' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPagePriorityFactorGrading |
| | | Component DataSetLevelPriorityFactorGrading |
| | | { |
| | | #keys: '[414382.0.479530871]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuPriorityFactorGrading |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"GradingName","title":"ç»ååç§°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"GradingName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"GradeValueStr","title":"å级","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"GradeValueStr"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"GradeDesc","title":"æè¿°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"GradeDesc"}}]' |
| | | ContextMenu: 'listContextMenuPriorityFactorGrading' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListPriorityFactorGrading_WebMenu_OnClick |
| | | { |
| | | #keys: '[414382.0.482374475]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selction |
| | | { |
| | | #keys: '[1231.0.33373473]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPagePriorityFactorGrading |
| | | { |
| | | #keys: '[414382.0.479530868]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuPriorityFactorGrading |
| | | { |
| | | #keys: '[414382.0.479530873]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuEdit |
| | | { |
| | | #keys: '[414382.0.478491125]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_EDIT' |
| | | Taborder: 3 |
| | | Title: 'ç¼è¾' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityFactorGrading |
| | | Response OnClick ( |
| | | PriorityFactorDetails selction |
| | | ) id:Response_ListPriorityFactorGrading_MenuEdit_OnClick |
| | | { |
| | | #keys: '[414382.0.479531766]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityFactorGrading/Responsedef_ListPriorityFactorGrading_WebMenu_OnClick |
| | | Initiator: 'MenuEdit' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogEditPriorityFactorDetails); |
| | | dlg.Edit( selction); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | { |
| | | #keys: '[414382.0.447270082]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | Component DataHolderPriorityFactorGrading |
| | | { |
| | | #keys: '[414382.0.478480902]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[PriorityFactorDetails]*' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPriorityFactorGrading |
| | | { |
| | | #keys: '[414382.0.478480916]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[PriorityFactorDetails]' |
| | | Source: 'FormPriorityFactor.DataHolderPriorityFactorDetailsSelect' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | #child: ListPriorityFactorGrading |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.489382436]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.489382437]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[PriorityPolicy]' |
| | | Source: 'DataHolderPriorityPolicy' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPagePriorityPolicy |
| | | Component DataSetLevelPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.489382442]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuPriorityPolicy |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Name","title":"Name","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Formula","title":"Formula","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Formula"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CalculateValue","title":"CalculateValue","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CalculateValue"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Desc","title":"Desc","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Desc"}}]' |
| | | ContextMenu: 'listContextMenuPriorityPolicy' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListPriorityPolicy_WebMenu_OnClick |
| | | { |
| | | #keys: '[414382.0.489382571]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[1245.0.22804476]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelPriorityPolicyCoefficient id:PanelPriorityPolicyCoefficient_902 |
| | | { |
| | | #keys: '[414382.0.494931779]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component LabelPriorityPolicyCoefficient |
| | | { |
| | | #keys: '[414382.0.494931780]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'å åçç³»æ°' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component ButtonCommit |
| | | { |
| | | #keys: '[414382.0.494931877]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: '宿' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelPriorityPolicyOperation |
| | | { |
| | | #keys: '[414382.0.495572021]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component PanelPriorityPolicyOperationName |
| | | { |
| | | #keys: '[414382.0.494931391]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'ä¼å
级çç¥åç§°:' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component LabelFormula id:LabelFormula_223 |
| | | { |
| | | #keys: '[414382.0.494931658]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'å
¬å¼:' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component LabelCalculateValue id:LabelCalculateValue_943 |
| | | { |
| | | #keys: '[414382.0.494931674]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: '计ç®å¼:' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | #child: PanelPriorityPolicyOperationButton |
| | | #child: PanelPriorityPolicyCoefficient_902 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | Title: 'ä¼å
级çç¥é
ç½®' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelPriorityPolicyOperationButton |
| | | { |
| | | #keys: '[414382.0.494931742]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ButtonAddPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.494931743]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'æ·»å å å' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component Buttonplus |
| | | { |
| | | #keys: '[414382.0.494931744]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: '+' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component ButtonSubtract |
| | | { |
| | | #keys: '[414382.0.494931745]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: '*' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component ButtonMultiply |
| | | { |
| | | #keys: '[414382.0.494931747]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'x' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component ButtonDivide |
| | | { |
| | | #keys: '[414382.0.494931748]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: '/' |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component ButtonLeftParenthesis |
| | | { |
| | | #keys: '[414382.0.494931749]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: '(' |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | Component ButtonRightParenthesis |
| | | { |
| | | #keys: '[414382.0.494931750]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: ')' |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | Component ButtonRollBack |
| | | { |
| | | #keys: '[414382.0.494931751]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: '<-' |
| | | Taborder: 8 |
| | | ] |
| | | } |
| | | Component DropDownStringList |
| | | { |
| | | #keys: '[414382.0.501480353]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'ä¼å
级å å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | MinimumColumns: 10 |
| | | MinimumRows: 1 |
| | | Orientation: 'horizontal' |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPagePriorityPolicy |
| | | { |
| | | #keys: '[414382.0.489382439]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.489382444]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuNew |
| | | { |
| | | #keys: '[414382.0.487792532]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_ADD' |
| | | Taborder: 3 |
| | | Title: 'æ°å¢' |
| | | ] |
| | | } |
| | | Component MenuEdit |
| | | { |
| | | #keys: '[414382.0.487792555]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_EDIT' |
| | | Taborder: 4 |
| | | Title: 'ç¼è¾' |
| | | ] |
| | | } |
| | | Component MenuDelete |
| | | { |
| | | #keys: '[414382.0.487792557]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_DELETE' |
| | | Taborder: 5 |
| | | Title: 'å é¤' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: DataHolderPriorityPolicySelectBusinessType |
| | | Response OnCreated () id:Response_FormPriorityPolicy_DataHolderPriorityPolicySelectBusinessType_OnCreated |
| | | { |
| | | #keys: '[414382.0.493813692]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.Data(PriorityPolicyBusinessType.Text()); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: DataHolderPriorityPolicy |
| | | Response OnDataChanged () id:Response_FormPriorityPolicy_DataHolderPriorityPolicy_OnDataChanged |
| | | { |
| | | #keys: '[414382.0.502145694]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnDataChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | list := PriorityPolicy::GetDataByBusinessType( MacroPlan, PriorityPolicyBusinessType.Text()); |
| | | this.Data(&list); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityPolicy |
| | | Response OnClick ( |
| | | PriorityPolicy selection |
| | | ) id:Response_ListPriorityPolicy_MenuDelete_OnClick |
| | | { |
| | | #keys: '[414382.0.489382736]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityPolicy/Responsedef_ListPriorityPolicy_WebMenu_OnClick |
| | | Initiator: 'MenuDelete' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.Delete(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityPolicy |
| | | Response OnClick ( |
| | | PriorityPolicy selection |
| | | ) id:Response_ListPriorityPolicy_MenuEdit_OnClick |
| | | { |
| | | #keys: '[414382.0.489382588]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityPolicy/Responsedef_ListPriorityPolicy_WebMenu_OnClick |
| | | Initiator: 'MenuEdit' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | PanelPriorityPolicyOperation.Visible(true); |
| | | PanelPriorityPolicyOperationName.Text(selection.Name()); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityPolicy |
| | | Response OnClick () id:Response_ListPriorityPolicy_MenuNew_OnClick |
| | | { |
| | | #keys: '[414382.0.489382662]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityPolicy/Responsedef_ListPriorityPolicy_WebMenu_OnClick |
| | | Initiator: 'MenuNew' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogNewPriorityPolicy ); |
| | | businessType := PriorityPolicyBusinessType.Text(); |
| | | dlg.New( MacroPlan, businessType); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityPolicy |
| | | Response OnUserSelectionChanged ( |
| | | PriorityPolicy selection |
| | | ) id:Response_ListPriorityPolicy_OnUserSelectionChanged |
| | | { |
| | | #keys: '[414382.0.503822635]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnUserSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | PanelPriorityPolicyOperationName.Text(selection.Name()); |
| | | |
| | | businessType := PriorityPolicyBusinessType.Text(); |
| | | str := PriorityFactor::GetNameList( MacroPlan, businessType); |
| | | DropDownStringList.Strings(str); |
| | | |
| | | data := shadow( selection ); |
| | | DataHolderEditPriorityPolicy.Data( &data ); |
| | | |
| | | //coefficient := PriorityFactor::GetCoeffcientByName( MacroPlan,businessType,DropDownStringList.Text()); |
| | | //LabelPriorityPolicyCoefficient.Text([String]coefficient); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyCoefficient_902/ButtonCommit |
| | | Response OnClick () id:Response_PanelPriorityPolicyCoefficient_902_ButtonCommit_OnClick |
| | | { |
| | | #keys: '[414382.0.506250033]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DataHolderEditPriorityPolicy.Data().Formula(LabelFormula.Text()); |
| | | DataHolderEditPriorityPolicy.Data().CalculateValue(LabelCalculateValue.Text()); |
| | | DataHolderEditPriorityPolicy.Data().Commit(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyOperationButton/ButtonAddPriorityPolicy |
| | | Response OnClick () id:Response_PanelPriorityPolicyOperationButton_ButtonAddPriorityPolicy_OnClick |
| | | { |
| | | #keys: '[414382.0.502145449]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | coefficient := LabelPriorityPolicyCoefficient.Text(); |
| | | text := DropDownStringList.Text(); |
| | | |
| | | formulaText := LabelFormula.Text() + text; |
| | | LabelFormula.Text(formulaText); |
| | | |
| | | textCalculate := DropDownStringList.Text() + "[" + coefficient + "*L]"; |
| | | calculateText := LabelCalculateValue.Text() + textCalculate; |
| | | LabelCalculateValue.Text(calculateText); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyOperationButton/ButtonDivide |
| | | Response OnClick () id:Response_PanelPriorityPolicyOperationButton_ButtonDivide_OnClick |
| | | { |
| | | #keys: '[414382.0.500261587]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | text := this.Label(); |
| | | |
| | | formulaText := LabelFormula.Text() + text; |
| | | LabelFormula.Text(formulaText); |
| | | |
| | | calculateTest := LabelCalculateValue.Text() + text; |
| | | LabelCalculateValue.Text(calculateTest); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyOperationButton/ButtonLeftParenthesis |
| | | Response OnClick () id:Response_PanelPriorityPolicyOperationButton_ButtonLeftParenthesis_OnClick |
| | | { |
| | | #keys: '[414382.0.500261667]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | text := this.Label(); |
| | | formulaText := LabelFormula.Text() + text; |
| | | LabelFormula.Text(formulaText); |
| | | |
| | | calculateTest := LabelCalculateValue.Text() + text; |
| | | LabelCalculateValue.Text(calculateTest); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyOperationButton/ButtonMultiply |
| | | Response OnClick () id:Response_PanelPriorityPolicyOperationButton_ButtonMultiply_OnClick |
| | | { |
| | | #keys: '[414382.0.500261507]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | text := this.Label(); |
| | | |
| | | formulaText := LabelFormula.Text() + text; |
| | | LabelFormula.Text(formulaText); |
| | | |
| | | calculateTest := LabelCalculateValue.Text() + text; |
| | | LabelCalculateValue.Text(calculateTest); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyOperationButton/ButtonRightParenthesis |
| | | Response OnClick () id:Response_PanelPriorityPolicyOperationButton_ButtonRightParenthesis_OnClick |
| | | { |
| | | #keys: '[414382.0.500261748]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | text := this.Label(); |
| | | formulaText := LabelFormula.Text() + text; |
| | | LabelFormula.Text(formulaText); |
| | | |
| | | calculateTest := LabelCalculateValue.Text() + text; |
| | | LabelCalculateValue.Text(calculateTest); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyOperationButton/ButtonRollBack |
| | | Response OnClick () id:Response_PanelPriorityPolicyOperationButton_ButtonRollBack_OnClick |
| | | { |
| | | #keys: '[414382.0.506055261]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | businessType := PriorityPolicyBusinessType.Text(); |
| | | formulaText := PriorityPolicy::RollBackStr( MacroPlan,businessType,LabelFormula.Text()); |
| | | LabelFormula.Text(formulaText); |
| | | |
| | | calculateTest := PriorityPolicy::RollBackStr( MacroPlan,businessType,LabelCalculateValue.Text()); |
| | | LabelCalculateValue.Text(calculateTest); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyOperationButton/ButtonSubtract |
| | | Response OnClick () id:Response_PanelPriorityPolicyOperationButton_ButtonSubtract_OnClick |
| | | { |
| | | #keys: '[414382.0.500261427]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | text := this.Label(); |
| | | |
| | | formulaText := LabelFormula.Text() + text; |
| | | LabelFormula.Text(formulaText); |
| | | |
| | | calculateTest := LabelCalculateValue.Text() + text; |
| | | LabelCalculateValue.Text(calculateTest); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyOperationButton/Buttonplus |
| | | Response OnClick () id:Response_PanelPriorityPolicyOperationButton_Buttonplus_OnClick |
| | | { |
| | | #keys: '[414382.0.500261347]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | text := this.Label(); |
| | | |
| | | formulaText := LabelFormula.Text() + text; |
| | | LabelFormula.Text(formulaText); |
| | | |
| | | calculateTest := LabelCalculateValue.Text() + text; |
| | | LabelCalculateValue.Text(calculateTest); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPriorityPolicyOperationButton/DropDownStringList |
| | | Response OnSelectionChanged () id:Response_PanelPriorityPolicyOperationButton_DropDownStringList_OnSelectionChanged |
| | | { |
| | | #keys: '[414382.0.507827790]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | info( "select changeed" ); |
| | | businessType := PriorityPolicyBusinessType.Text(); |
| | | coefficient := PriorityFactor::GetCoeffcientByName( MacroPlan,businessType,DropDownStringList.Text()); |
| | | LabelPriorityPolicyCoefficient.Text([String]coefficient); |
| | | info("coefficient := " + [String]coefficient ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PriorityPolicyBusinessType |
| | | Response OnCreated () id:Response_FormPriorityPolicy_PriorityPolicyBusinessType_OnCreated |
| | | { |
| | | #keys: '[414382.0.486330568]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | strings := BusinessType::GetBusinessNameStr( GlobalOTDTable ); |
| | | this.Strings(strings); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PriorityPolicyBusinessType |
| | | Response OnSelectionChanged () id:Response_FormPriorityPolicy_PriorityPolicyBusinessType_OnSelectionChanged |
| | | { |
| | | #keys: '[414382.0.486330569]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | list := PriorityPolicy::GetDataByBusinessType( MacroPlan, PriorityPolicyBusinessType.Text()); |
| | | DataHolderPriorityPolicy.Data(&list); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.487620644]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | Component PriorityPolicyBusinessType |
| | | { |
| | | #keys: '[414382.0.486330570]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'äºä¸é¨:' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component DataHolderPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.487792124]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[PriorityPolicy]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | #child: ListPriorityPolicy |
| | | #child: PanelPriorityPolicyOperation |
| | | Component DataHolderEditPriorityPolicy |
| | | { |
| | | #keys: '[414382.0.505995334]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[PriorityPolicy]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: 'ä¼å
级çç¥å表' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListPriorityResult |
| | | { |
| | | #keys: '[414382.0.506312194]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPriorityResult |
| | | { |
| | | #keys: '[414382.0.506312195]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'PriorityResult' |
| | | ] |
| | | } |
| | | #child: listActionBarPagePriorityResult |
| | | Component DataSetLevelPriorityResult |
| | | { |
| | | #keys: '[414382.0.506312200]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuPriorityResult |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"DemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityResultScore","title":"PriorityResultScore","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityResultScore"}}]' |
| | | ContextMenu: 'listContextMenuPriorityResult' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListPriorityResultBusinessTypeDetails |
| | | { |
| | | #keys: '[414382.0.506313048]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPriorityResultDetails |
| | | { |
| | | #keys: '[414382.0.506313049]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[PriorityResultBusinessTypeDetail]' |
| | | Source: 'DataHolderPriorityResultBusinessTypeDetails' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPagePriorityResultDetails |
| | | Component DataSetLevelPriorityResultDetails |
| | | { |
| | | #keys: '[414382.0.506313054]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuPriorityResultDetails |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"DemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityResultScore","title":"PriorityResultScore","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityResultScore"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityPolicyName","title":"PriorityPolicyName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityPolicyName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityFactorName","title":"PriorityFactorName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityFactorName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityFactorGradingName","title":"PriorityFactorGradingName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityFactorGradingName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityTotalScore","title":"PriorityTotalScore","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityTotalScore"}}]' |
| | | ContextMenu: 'listContextMenuPriorityResultDetails' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListPriorityResultBusinessTypeDetails_WebMenu_OnClick |
| | | { |
| | | #keys: '[414382.0.506320636]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[1275.0.8208190]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListPriorityResultGroupDetails |
| | | { |
| | | #keys: '[414382.0.506313387]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorPriorityResultDetails859 |
| | | { |
| | | #keys: '[414382.0.506313388]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[PriorityResultGroupDetail]' |
| | | Source: 'DataHolderPriorityResultGroupDetails' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPagePriorityResultDetails642 |
| | | Component DataSetLevelPriorityResultDetails872 |
| | | { |
| | | #keys: '[414382.0.506313393]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuPriorityResultDetails590 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"DemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityResultScore","title":"PriorityResultScore","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityResultScore"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityPolicyName","title":"PriorityPolicyName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityPolicyName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityFactorName","title":"PriorityFactorName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityFactorName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityFactorGradingName","title":"PriorityFactorGradingName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityFactorGradingName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityTotalScore","title":"PriorityTotalScore","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityTotalScore"}}]' |
| | | ContextMenu: 'listContextMenuPriorityResultDetails590' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelPriorityResult |
| | | { |
| | | #keys: '[414382.0.506311784]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: ListPriorityResult |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | Title: 'ä¼å
çº§ç»æå表' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelPriorityResultDetails |
| | | { |
| | | #keys: '[414382.0.506311801]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component LabelPriorityResultProductID |
| | | { |
| | | #keys: '[414382.0.506311846]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: '产åç¼ç :' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component LabelPriorityResultBusinessTypeDetails |
| | | { |
| | | #keys: '[414382.0.506311875]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'äºä¸é¨ä¼å
级å¾å详æ
' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component LabelPriorityResultGroupDetails |
| | | { |
| | | #keys: '[414382.0.506311903]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'éå¢ä¼å
级å¾å详æ
' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | #child: ListPriorityResultBusinessTypeDetails |
| | | #child: ListPriorityResultGroupDetails |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | Title: 'ä¼å
çº§ç»ææç»' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPagePriorityResult |
| | | { |
| | | #keys: '[414382.0.506312197]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPagePriorityResultDetails |
| | | { |
| | | #keys: '[414382.0.506313051]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPagePriorityResultDetails642 |
| | | { |
| | | #keys: '[414382.0.506313390]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuPriorityResult |
| | | { |
| | | #keys: '[414382.0.506312202]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuPriorityResultDetails |
| | | { |
| | | #keys: '[414382.0.506313056]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuEmergencyTopping |
| | | { |
| | | #keys: '[414382.0.506320730]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_TIME' |
| | | Taborder: 3 |
| | | Title: 'Emergency Topping' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuPriorityResultDetails590 |
| | | { |
| | | #keys: '[414382.0.506313395]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityResultBusinessTypeDetails |
| | | Response OnClick ( |
| | | PriorityResultBusinessTypeDetail selection |
| | | ) id:Response_ListPriorityResultBusinessTypeDetails_MenuEmergencyTopping_OnClick |
| | | { |
| | | #keys: '[414382.0.507572437]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListPriorityResultBusinessTypeDetails/Responsedef_ListPriorityResultBusinessTypeDetails_WebMenu_OnClick |
| | | Initiator: 'MenuEmergencyTopping' |
| | | Precondition: |
| | | [* |
| | | return PriorityResultBusinessTypeDetail::CheckCanTopping(selection); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // ç´§æ¥ç½®é¡¶ |
| | | PriorityResultBusinessTypeDetail::EmergencyTopping( MacroPlan,selection); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListPriorityResult |
| | | Response OnUserSelectionChanged ( |
| | | PriorityResult selection |
| | | ) id:Response_ListPriorityResult_OnUserSelectionChanged |
| | | { |
| | | #keys: '[414382.0.506312631]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnUserSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | businessTypeDetails := selectset( selection,PriorityResultBusinessTypeDetail,p,true); |
| | | DataHolderPriorityResultBusinessTypeDetails.Data(&businessTypeDetails); |
| | | |
| | | groupDetails := selectset( selection,PriorityResultGroupDetail,p,true); |
| | | DataHolderPriorityResultGroupDetails.Data( &groupDetails); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormPriorityResult |
| | | { |
| | | #keys: '[414382.0.506311765]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelPriorityResultDetails |
| | | #child: PanelPriorityResult |
| | | Component DataHolderPriorityResultBusinessTypeDetails |
| | | { |
| | | #keys: '[414382.0.506312058]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[PriorityResultBusinessTypeDetail]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component DataHolderPriorityResultGroupDetails |
| | | { |
| | | #keys: '[414382.0.506312077]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[PriorityResultGroupDetail]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Description: 'åç¾/ææç©æåå¸çæ¬æç»' |
| | | Image: 'BULL' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | Title: 'åç¾/ææç©æåå¸çæ¬æç»' |
| | | ] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListScenario #extension |
| | | { |
| | | Children: |
| | | [ |
| | | Component DataSetLevelScenario #extension |
| | | { |
| | | Children: |
| | | [ |
| | | Component listContextMenuScenarioFolder #extension |
| | | { |
| | | Children: |
| | | [ |
| | | Component MenuRelaeaseNewVersion |
| | | { |
| | | #keys: '[412960.0.168283194]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | DelegationID: 'ActionBarScenario_Release' |
| | | Description: 'å叿°çæ¬' |
| | | Image: 'EDITOR_ALGORITHM' |
| | | Taborder: 10 |
| | | Title: 'Release New Version...' |
| | | ] |
| | | } |
| | | Component MenuCopyScenario #extension |
| | | { |
| | | } |
| | | Component MenuSaveNewVersion |
| | | { |
| | | #keys: '[412960.0.172960163]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | DelegationID: 'ActionBarScenario_Save' |
| | | Description: 'å叿°çæ¬' |
| | | Image: 'DATA_DISK' |
| | | Taborder: 11 |
| | | Title: 'Save New Version...' |
| | | ] |
| | | } |
| | | Component MenuSeparator2 #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 12 |
| | | ] |
| | | } |
| | | Component MenuSeparator3 #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 14 |
| | | ] |
| | | } |
| | | Component MenuSelectScenario #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 13 |
| | | ] |
| | | } |
| | | Component MenuEditAuthorization #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 15 |
| | | ] |
| | | } |
| | | Component MenuSeparator4 #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 16 |
| | | ] |
| | | } |
| | | Component MenuLoadScenario #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 17 |
| | | ] |
| | | } |
| | | Component MenuUnloadScenario #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 18 |
| | | ] |
| | | } |
| | | Component MenuSeparator5 #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 19 |
| | | ] |
| | | } |
| | | Component MenuAdministration #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 20 |
| | | ] |
| | | } |
| | | Component MenuRestoreItem #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | Taborder: 21 |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListScenario |
| | | Response OnClick ( |
| | | ScenarioMP selection |
| | | ) id:Response_ListScenario_MenuCopyScenario_OnClick #extension |
| | | { |
| | | Precondition: |
| | | [* |
| | | feedback := ApplicationMacroPlanner.HasValidDataset( selection ); |
| | | return feedback = '' and selection.CanCopy( feedback ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListScenario |
| | | Response OnClick ( |
| | | ScenarioMP selection |
| | | ) id:Response_ListScenario_MenuRelaeaseNewVersion_OnClick |
| | | { |
| | | #keys: '[412960.0.170112594]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListScenario/Responsedef_ListScenario_WebMenu_OnClick |
| | | Initiator: 'MenuRelaeaseNewVersion' |
| | | Precondition: |
| | | [* |
| | | feedback := ApplicationMacroPlanner.HasValidDataset( selection ); |
| | | return feedback = '' and selection.CanCopy( feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // Copy scenario |
| | | owner := GlobalOTDTable; |
| | | macroplan := MacroPlan; |
| | | testbusinesstype := "éå¢"; |
| | | |
| | | VersionControl::ReleaseNewVersion( owner, testbusinesstype ); |
| | | GlobalOTDTable::GetOutputVersionData( owner, macroplan, testbusinesstype ); |
| | | selection.SetReleased(); |
| | | |
| | | versionname := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 3 ); |
| | | // Get the active scenario |
| | | //data := selection; |
| | | newscenario := null( Scenario ); |
| | | strategy := null( Strategy ); |
| | | |
| | | data := ScenarioManager.ScenarioNode( relshadow, |
| | | ScenarioMP, |
| | | Parent := selection, |
| | | Name := versionname, |
| | | SelectedStrategy := selection.SelectedStrategy(), |
| | | State := selection.State() ); |
| | | |
| | | scenario := data.Parent().astype( ScenarioMP ); |
| | | strategy := data.SelectedStrategy(); |
| | | |
| | | newscenario:= scenario.Copy( data.Parent(), versionname, "", |
| | | data.Comment(), data.State() ); |
| | | |
| | | newscenario.SelectedStrategy( relset, strategy ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListScenario |
| | | Response OnClick ( |
| | | ScenarioMP selection |
| | | ) id:Response_ListScenario_MenuSaveNewVersion_OnClick |
| | | { |
| | | #keys: '[412960.0.171680443]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListScenario/Responsedef_ListScenario_WebMenu_OnClick |
| | | Initiator: 'MenuSaveNewVersion' |
| | | Precondition: |
| | | [* |
| | | feedback := ApplicationMacroPlanner.HasValidDataset( selection ); |
| | | return feedback = '' and selection.CanCopy( feedback ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // Copy scenario |
| | | owner := GlobalOTDTable; |
| | | macroplan := MacroPlan; |
| | | testbusinesstype := "éå¢"; |
| | | |
| | | VersionControl::CopyVersion( owner, testbusinesstype ); |
| | | |
| | | versionname := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 3 ); |
| | | // Copy scenario |
| | | newscenario := null( Scenario ); |
| | | strategy := null( Strategy ); |
| | | |
| | | data := ScenarioManager.ScenarioNode( relshadow, |
| | | ScenarioMP, |
| | | Parent := selection, |
| | | Name := versionname, |
| | | SelectedStrategy := selection.SelectedStrategy(), |
| | | State := selection.State() ); |
| | | |
| | | scenario := data.Parent().astype( ScenarioMP ); |
| | | strategy := data.SelectedStrategy(); |
| | | |
| | | newscenario:= scenario.Copy( data.Parent(), versionname, "", |
| | | data.Comment(), data.State() ); |
| | | |
| | | newscenario.SelectedStrategy( relset, strategy ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListVersionOfSOP |
| | | { |
| | | #keys: '[412960.0.134950322]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorVersionOfSOP642 |
| | | { |
| | | #keys: '[412960.0.134950323]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[VersionStatus]' |
| | | Source: 'DataHolderVersionOfSOP' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPageVersionOfSOP |
| | | Component DataSetLevelVersionOfSOP |
| | | { |
| | | #keys: '[412960.0.134950328]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuVersionOfSOP |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SortNumber","title":"SortNumber","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SortNumber"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessName","title":"BusinessName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LastVersionName","title":"LastVersionName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LastVersionName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LastReleaseTime","title":"LastReleaseTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LastReleaseTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LastUser","title":"LastUser","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LastUser"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Notes","title":"Notes","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Notes"}}]' |
| | | ContextMenu: 'listContextMenuVersionOfSOP' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListVersionOfSOPDetails |
| | | { |
| | | #keys: '[412960.0.142180298]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorVersionOfSOPDetails |
| | | { |
| | | #keys: '[412960.0.142180299]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[VersionStatusDetail]' |
| | | Source: 'DataHolderVersionOfSOPDetails' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPageVersionOfSOPDetails |
| | | Component DataSetLevelVersionOfSOPDetails |
| | | { |
| | | #keys: '[412960.0.142180304]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuVersionOfSOPDetails |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SortNumber","title":"SortNumber","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SortNumber"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SingleVersionName","title":"SingleVersionName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SingleVersionName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CreateTime","title":"CreateTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CreateTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReleaseTime","title":"ReleaseTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReleaseTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"User","title":"User","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"User"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Notes","title":"Notes","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Notes"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VersionID","title":"VersionID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VersionID"}}]' |
| | | ContextMenu: 'listContextMenuVersionOfSOPDetails' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelVersionOfSOP |
| | | { |
| | | #keys: '[412960.0.134980204]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: ListVersionOfSOP |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelVersionOfSOPDetails |
| | | { |
| | | #keys: '[412960.0.140720490]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: ListVersionOfSOPDetails |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'äºä¸é¨åå¸ç¶æè¯¦æ
panel' |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelVersionOfSOPHeader |
| | | { |
| | | #keys: '[412960.0.137940569]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ButtonVersionOfSOPHeaderFresh |
| | | { |
| | | #keys: '[412960.0.138000879]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Description: 'ç¨äºå·æ°åäºä¸é¨å½åçæ¬åå¸ç¶æçæé®' |
| | | Label: 'å·æ°' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component ButtonVersionOfSOPHeaderCopy |
| | | { |
| | | #keys: '[412960.0.138000890]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Description: 'ç¨äºå¤å¶éä¸ççæ¬å
¨éçæ¬å·çæé®' |
| | | Label: 'å
¨éçæ¬å·å¤å¶' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component ButtonVersionOfSOPHeaderRelease |
| | | { |
| | | #keys: '[412960.0.142110396]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Description: 'åå¸ä¸ä¸ªæ°çæ¬' |
| | | Label: 'æµè¯ç¨çæ¬åå¸' |
| | | Taborder: 3 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component LabelVersionOfSOPHeader |
| | | { |
| | | #keys: '[412960.0.138000861]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Description: 'çæ¬å·å±ç¤ºå¤' |
| | | FixedSize: false |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'ç¨äºæ¾ç½®è¡¨å¤´ä¿¡æ¯åæé®çpanel' |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Style: 'header' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageVersionOfSOP |
| | | { |
| | | #keys: '[412960.0.134950325]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageVersionOfSOPDetails |
| | | { |
| | | #keys: '[412960.0.142180301]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuVersionOfSOP |
| | | { |
| | | #keys: '[412960.0.134950330]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuVersionOfSOPDetails |
| | | { |
| | | #keys: '[412960.0.142180306]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelVersionOfSOPHeader/ButtonVersionOfSOPHeaderCopy |
| | | Response OnClick () id:Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderCopy_OnClick |
| | | { |
| | | #keys: '[412960.0.149330244]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | owner := GlobalOTDTable; |
| | | testbusinesstype := "éå¢"; |
| | | rootversionid := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 2 ); |
| | | dlg := construct( DialogVersionIDCopy ); |
| | | dlg.lblContent().Text( rootversionid ); |
| | | dlg.JustShow(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelVersionOfSOPHeader/ButtonVersionOfSOPHeaderFresh |
| | | Response OnClick () id:Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderFresh_OnClick |
| | | { |
| | | #keys: '[412960.0.133611384]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | owner := GlobalOTDTable; |
| | | testbusinesstype := "éå¢"; |
| | | //GlobalOTDTable::GetVersionData( owner, testbusinesstype ); |
| | | rootversionid := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 0 ); |
| | | DataExtractorVersionOfSOPDetails.FixedFilter( "object.VersionID().FindString( " + rootversionid.AsQUILL() + ", 0 ) = 0" ); |
| | | rootversionname := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 1 ); |
| | | LabelVersionOfSOPHeader.Text( rootversionname ); |
| | | VersionStatus::GetBusinessTypeStatus( owner, rootversionid ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelVersionOfSOPHeader/ButtonVersionOfSOPHeaderRelease |
| | | Response OnClick () id:Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderRelease_OnClick |
| | | { |
| | | #keys: '[412960.0.142110414]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | owner := GlobalOTDTable; |
| | | macroplan := MacroPlan; |
| | | testbusinesstype := "éå¢"; |
| | | |
| | | VersionControl::ReleaseNewVersion( owner, testbusinesstype ); |
| | | //GlobalOTDTable::GetOutputVersionData( owner, macroplan, testbusinesstype ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormVersionOfSOP |
| | | { |
| | | #keys: '[412960.0.135200328]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelVersionOfSOP |
| | | Component DataHolderVersionOfSOP |
| | | { |
| | | #keys: '[412960.0.134980222]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[VersionStatus]*' |
| | | Children: |
| | | [ |
| | | Component DataExtractorVersionOfSOP |
| | | { |
| | | #keys: '[412960.0.134980234]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | Taborder: 0 |
| | | Transformation: 'VersionStatus' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | #child: PanelVersionOfSOPHeader |
| | | #child: PanelVersionOfSOPDetails |
| | | Component DataHolderVersionOfSOPDetails |
| | | { |
| | | #keys: '[412960.0.140750496]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[VersionStatusDetail]*' |
| | | Children: |
| | | [ |
| | | Component DataExtractorVersionOfSOPDetails453 |
| | | { |
| | | #keys: '[412960.0.142212532]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'VersionStatus' |
| | | ExtractionMode: 'Selected' |
| | | Source: 'ListVersionOfSOP' |
| | | Taborder: 0 |
| | | Transformation: 'VersionStatusDetail' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'äºä¸é¨å¯¹åºè¯¦æ
æ°æ®' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component DataHolderVersionOfSOPCopy |
| | | { |
| | | #keys: '[412960.0.166861218]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[ScenarioMP]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'SOPçæ¬æ°æ®å±ç¤ºçé¢' |
| | | Image: 'WINDOW_TIME' |
| | | Title: 'SOPåäºä¸é¨æ°æ®åæ¥ç¶æ' |
| | | ] |
| | | } |
| | |
| | | [* |
| | | // è·åéæ©åçSKU |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmMaterial" and Obj.ItemKey()="ListSelect"); |
| | | if(not isnull( SelectItem) and SelectItem.Value().Length()>0) |
| | | if(not isnull( SelectItem)) |
| | | { |
| | | StrValue := SelectItem.Value().Tokenize( ";"); |
| | | lb_SUK_FAACM.Text(StrValue.Element( 0)); |
| | | lb_MaterialCode_FAACM.Text(StrValue.Element( 1)); |
| | | lb_Unit_FAACM.Text(StrValue.Element( 2)); |
| | | lb_Operator_FAACM.Text(ApplicationMacroPlanner.GetUserName()); |
| | | if(SelectItem.Value().Length()>0) |
| | | { |
| | | StrValue := SelectItem.Value().Tokenize( ";"); |
| | | lb_SUK_FAACM.Text(StrValue.Element( 0)); |
| | | lb_MaterialCode_FAACM.Text(StrValue.Element( 1)); |
| | | lb_Unit_FAACM.Text(StrValue.Element( 2)); |
| | | lb_Operator_FAACM.Text(ApplicationMacroPlanner.GetUserName()); |
| | | } |
| | | } |
| | | // è·åéæ©åçSKU |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); |
| | |
| | | Properties: |
| | | [ |
| | | Description: 'åææåæååç¾æææ°å¢é¡µ' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | Title: 'åææåæååç¾æææ°å¢é¡µ' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Panel261 id:Panel261_223 |
| | | { |
| | | #keys: '[414724.0.117732107]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btn_OK_FAAC |
| | | { |
| | | #keys: '[414724.0.117732108]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'OK' |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btn_Cancel_FAAC |
| | | { |
| | | #keys: '[414724.0.117732109]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'DELETE' |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 10 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Panel796 |
| | | { |
| | | #keys: '[414724.0.116871632]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component Label417 |
| | | { |
| | | #keys: '[414724.0.115502113]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Description: '订ååæ½æææ°å¢é¡µ' |
| | | Taborder: 0 |
| | | Text: '订ååæ½æææ°å¢é¡µ' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Border: true |
| | | FixedSize: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Panel989 |
| | | { |
| | | #keys: '[414724.0.115531444]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ds_NeedDate id:ds_NeedDate_456 |
| | | { |
| | | #keys: '[414724.0.117731536]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'éæ±æ¥æ' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTop id:PanelTop_217 |
| | | { |
| | | #keys: '[414724.0.117731595]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lb_SKUCode_FAAC |
| | | { |
| | | #keys: '[414724.0.117731596]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'SKUç¼ç ' |
| | | NumberOfColumns: 30 |
| | | Taborder: 0 |
| | | Text: 'TM070RDH10-2322' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTop104 id:PanelTop104_150 |
| | | { |
| | | #keys: '[414724.0.117731993]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component txt_CustomName_FAAC |
| | | { |
| | | #keys: '[414724.0.117731994]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Description: '客æ·åç§°' |
| | | Enabled: false |
| | | Label: '客æ·åç§°' |
| | | NumberOfColumns: 30 |
| | | PlaceHolder: '请è¾å
¥' |
| | | ReadOnly: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 8 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTop264 id:PanelTop264_19 |
| | | { |
| | | #keys: '[414724.0.117731831]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lb_Util_FAAC |
| | | { |
| | | #keys: '[414724.0.117731832]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Description: 'åä½' |
| | | Label: 'åä½' |
| | | NumberOfColumns: 30 |
| | | Taborder: 0 |
| | | Text: 'PCS' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 5 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTop360 id:PanelTop360_136 |
| | | { |
| | | #keys: '[414724.0.117731775]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component np_Qty_FAAC |
| | | { |
| | | #keys: '[414724.0.117731776]' |
| | | BaseType: 'WebNumberPicker' |
| | | Properties: |
| | | [ |
| | | Label: 'æ°é' |
| | | MaximumColumns: 50 |
| | | Min: '0' |
| | | NumberOfColumns: 23 |
| | | Step: 100 |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTop597 id:PanelTop597_324 |
| | | { |
| | | #keys: '[414724.0.117731885]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddsl_OperateType_FAAC |
| | | { |
| | | #keys: '[414724.0.117731886]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | InitialValue: 'åç¾' |
| | | Label: 'å¨ä½ç±»å' |
| | | NumberOfColumns: 26 |
| | | Strings: 'åç¾;ææ' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 6 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTop612 id:PanelTop612_612 |
| | | { |
| | | #keys: '[414724.0.117732047]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lb_Operator_FAAC |
| | | { |
| | | #keys: '[414724.0.117732048]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Description: 'æä½äºº' |
| | | Label: 'æä½äºº' |
| | | NumberOfColumns: 30 |
| | | Taborder: 0 |
| | | Text: 'æå¯' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 9 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTop744 id:PanelTop744_568 |
| | | { |
| | | #keys: '[414724.0.117731719]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lb_SKUName_FAAC |
| | | { |
| | | #keys: '[414724.0.117731720]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'SKUåç§°' |
| | | NumberOfColumns: 30 |
| | | Taborder: 0 |
| | | Text: 'T1忍¡ç»' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTop846 id:PanelTop846_618 |
| | | { |
| | | #keys: '[414724.0.117731939]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component txt_CustomID_FAAC |
| | | { |
| | | #keys: '[414724.0.117731940]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Enabled: false |
| | | Label: '客æ·ID' |
| | | NumberOfColumns: 30 |
| | | PlaceHolder: '请è¾å
¥' |
| | | ReadOnly: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 7 |
| | | Visible: false |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Response OnCreated () id:Response_FrmAuthorizeAndCountersign_Order_OnCreated |
| | | { |
| | | #keys: '[414724.0.117762728]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // éæ±æ¥æï¼é»è®¤ä¸ä¸ä¸ªææäº |
| | | ds_NeedDate.Date(H_FunctionClass::SM_GetNextFriday()); |
| | | |
| | | // è·åéæ©åçSKU |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); |
| | | if(not isnull( SelectItem)) |
| | | { |
| | | if(SelectItem.ValueJsonString().Length()>0) |
| | | { |
| | | // å¾å°éä¸ç颿µè®¢å |
| | | SelForecast := JSON::Parse( SelectItem.ValueJsonString()); |
| | | lb_SKUCode_FAAC.Text(SelForecast.Get( "SKU").GetString()); |
| | | lb_SKUName_FAAC.Text("产å"); |
| | | lb_Util_FAAC.Text(SelForecast.Get( "Util").GetString()); |
| | | txt_CustomID_FAAC.Text(SelForecast.Get( "CustomCode").GetString()); |
| | | txt_CustomName_FAAC.Text(SelForecast.Get( "CustomName").GetString()); |
| | | lb_Operator_FAAC.Text(ApplicationMacroPlanner.GetUserName()); |
| | | |
| | | // StrValue := SelectItem.Value().Tokenize( ";"); |
| | | // lb_SKUCode_FAAC.Text(StrValue.Element( 0)); |
| | | // lb_SKUName_FAAC.Text("产å"); |
| | | // lb_Operator_FAAC.Text(""); |
| | | // lb_Util_FAAC.Text(StrValue.Element( 1)); |
| | | // txt_CustomID_FAAC.Text(StrValue.Element( 2)); |
| | | // txt_CustomName_FAAC.Text(StrValue.Element( 3)); |
| | | // lb_Operator_FAAC.Text(ApplicationMacroPlanner.GetUserName()); |
| | | } |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel261_223/btn_Cancel_FAAC |
| | | Response OnClick () id:Response_Panel261_223_btn_Cancel_FAAC_OnClick |
| | | { |
| | | #keys: '[414724.0.117732105]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | FrmAuthorizeAndCountersign_Order.Close(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel261_223/btn_OK_FAAC |
| | | Response OnClick () id:Response_Panel261_223_btn_OK_FAAC_OnClick |
| | | { |
| | | #keys: '[414724.0.117732106]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // æ°é |
| | | Qty := [Number]np_Qty_FAAC.Number().Round( 0); |
| | | OperateMsg :=""; |
| | | OperateResult := H_FunctionClass::SM_OrderReverseOrAuthorize( MacroPlan,lb_Util_FAAC.Text() ,"-",ds_NeedDate.Date() ,txt_CustomID_FAAC.Text(),lb_SKUCode_FAAC.Text(),Qty, |
| | | lb_Operator_FAAC.Text(),txt_CustomName_FAAC.Text(),OperateMsg,ddsl_OperateType_FAAC.Text()); |
| | | |
| | | if( OperateResult) |
| | | { |
| | | FrmAuthorizeAndCountersign_Order.Close(); |
| | | if( OperateMsg.Length()>0) |
| | | { |
| | | WebMessageBox::Success( OperateMsg); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | WebMessageBox::Warning( OperateMsg); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FrmAuthorizeAndCountersign_Order |
| | | { |
| | | #keys: '[414724.0.115523082]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: Panel796 |
| | | #child: Panel989 |
| | | #child: PanelTop_217 |
| | | #child: PanelTop744_568 |
| | | #child: PanelTop360_136 |
| | | #child: PanelTop264_19 |
| | | #child: PanelTop597_324 |
| | | #child: PanelTop846_618 |
| | | #child: PanelTop104_150 |
| | | #child: PanelTop612_612 |
| | | #child: Panel261_223 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'åææåæååç¾æææ°å¢é¡µ' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | Title: '订ååç¾æææ°å¢é¡µ' |
| | | ] |
| | | } |
| | |
| | | Label: 'æ°å¢åç¾/ææ' |
| | | Taborder: 3 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | ResponseDefinition OnClick id:Responsedef_Panel418_btn_Add_FM_OnClick |
| | | { |
| | | #keys: '[414724.0.145266825]' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[271.0.74853915]' |
| | | Binding: 'List832.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | |
| | | #parent: #root |
| | | Response OnCreated () id:Response_FrmMaterial_OnCreated |
| | | { |
| | | #keys: '[414724.0.93205703]' |
| | | #keys: '[414724.0.118802220]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | txtSaveForecastData_FM.Text(""); |
| | | // è·åéæ©åçSKU |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); |
| | | if(not isnull( SelectItem) and SelectItem.Value().Length()>0) |
| | | if(not isnull( SelectItem)) |
| | | { |
| | | StrValue := SelectItem.Value().Tokenize( ";"); |
| | | lb_SUK_FM.Text(StrValue.Element( 0)); |
| | | de_dh_FM_ProductMP.FixedFilter( "object.ParentID()="+lb_SUK_FM.Text()); |
| | | if( SelectItem.ValueJsonString().Length()>0) |
| | | { |
| | | txtSaveForecastData_FM.Text( SelectItem.ValueJsonString()); |
| | | JSelect := JSON::Parse( SelectItem.ValueJsonString()); |
| | | lb_SUK_FM.Text(JSelect.Get( "SKU").GetString()); |
| | | de_dh_FM_ProductMP.FixedFilter( "object.ID() = " + JSelect.Get( "SKU").GetString().AsQUILL()); |
| | | } |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel418/btn_Add_FM |
| | | Response OnClick () id:Response_Panel418_btn_Add_FM_OnClick_975 |
| | | { |
| | | #keys: '[414724.0.145238844]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /Panel418/Responsedef_Panel418_btn_Add_FM_OnClick |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmMaterial" and Obj.ItemKey()="ListSelect"); |
| | | if( isnull( SelectItem)) |
| | | { |
| | | MacroPlan.H_MessagePassing(relnew,FKey :="FrmMaterial",ItemKey := "ListSelect",Value := ""); |
| | | } |
| | | else |
| | | { |
| | | //SelectItem.ValueJsonString() |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | Application.OpenForm( "FrmAuthorizeAndCountersign_Material","popout"); |
| | | Application.OpenForm( "FrmAuthorizeAndCountersign_Material","modal"); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component txtSaveForecastData_FM |
| | | { |
| | | #keys: '[414724.0.143737386]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Description: 'å卿éç©æä¿¡æ¯' |
| | | Enabled: false |
| | | ReadOnly: true |
| | | Taborder: 4 |
| | | Visible: false |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'åæå表页' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | MinimumRows: 50 |
| | | Title: 'åæå表页' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Panel351 |
| | | { |
| | | #keys: '[414724.0.115504403]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btn_Add_Order_FOF449 |
| | | { |
| | | #keys: '[414724.0.115504404]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Description: 'è®¢åæ°å¢åç¾/ææ' |
| | | Label: 'è®¢åæ°å¢åç¾/ææ' |
| | | Taborder: 1 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | ResponseDefinition OnClick id:Responsedef_Panel351_btn_Add_Order_FOF449_OnClick |
| | | { |
| | | #keys: '[414724.0.141224456]' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[271.0.41037309]' |
| | | Binding: 'liH_Forecast.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | Component btn_Add_Material_FOF503 |
| | | { |
| | | #keys: '[414724.0.115504405]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Description: 'åææ°å¢åç¾/ææ' |
| | | Label: 'åææ°å¢åç¾/ææ' |
| | | Taborder: 2 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | ResponseDefinition OnClick id:Responsedef_Panel351_btn_Add_Material_FOF503_OnClick |
| | | { |
| | | #keys: '[414724.0.145304022]' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[271.0.68431130]' |
| | | Binding: 'liH_Forecast.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | Component btn_InitialData778 |
| | | { |
| | | #keys: '[414724.0.115504406]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Description: 'å è½½æ°æ®ï¼åçï¼åç»éè¦å¯¹æ¥æ°æ®ï¼' |
| | | Label: 'å è½½é¢æµè®¢åæ°æ®' |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | |
| | | MinimumColumns: 80 |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | Description: 'å è½½æ°æ®ï¼åçï¼åç»éè¦å¯¹æ¥æ°æ®ï¼' |
| | | Label: 'å è½½é¢æµè®¢åæ°æ®' |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
| | | ] |
| | |
| | | [ |
| | | Alignment: 'trailing' |
| | | FixedSize: true |
| | | MinimumColumns: 20 |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'å·²ç»éèï¼ææªä½¿ç¨' |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | Taborder: 2 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderCode","title":"OrderCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SKU","title":"SKU","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SKU"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastQty","title":"ForecastQty","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastQty"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"NeedTime","title":"NeedTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"NeedTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Util","title":"Util","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Util"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CustomName","title":"CustomName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CustomName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Department","title":"Department","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Department"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderCode","title":"订åç¼å·","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SKU","title":"SKUç¼ç ","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SKU"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastQty","title":"颿µæ°é","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastQty"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"NeedTime","title":"éæ±æ¶é´","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"NeedTime"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Util","title":"åä½","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Util"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CustomName","title":"客æ·åç§°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CustomName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Department","title":"éå®é¨é¨","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Department"}}]' |
| | | ContextMenu: 'listContextMenu367' |
| | | Taborder: 2 |
| | | ] |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 6 |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | Taborder: 5 |
| | | Visible: false |
| | | ] |
| | | } |
| | |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); |
| | | if( not isnull( SelectItem)) |
| | | { |
| | | SelectItem.Value(""); |
| | | SelectItem.Value(""); |
| | | SelectItem.ValueJsonString(""); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | [* |
| | | // åå§åæ¥è¯¢åæ°æä»½ |
| | | ds_Month_FOF.Date(Date::ActualDate()); |
| | | // 颿µæ°æ®2æ¤å¤çï¼çé+客æ·åç§°æåï¼ |
| | | if( MacroPlan.H_Forecast(relget ).Size()>0) |
| | | // åå§å颿µæ°æ® |
| | | JResult := H_FunctionClass::SM_InitialForcastData( MacroPlan); |
| | | if(not JResult.Get( "Status").GetBoolean()) |
| | | { |
| | | MacroPlan.H_Forecast(relget ).Delete( 0,MacroPlan.H_Forecast(relget ).Size()-1); |
| | | WebMessageBox::Warning( JResult.Get( "Msg").GetString()); |
| | | } |
| | | //AllData:= selectset( MacroPlan, Product_MP.SalesDemand.astype( Forecast ),object,object.EndDate().DateTime().Date() >= Date::ActualDate().StartOfMonth() |
| | | // and object.EndDate().DateTime().Date() <= Date::ActualDate().StartOfNextMonth().StartOfNextMonth().StartOfNextMonth().StartOfNextMonth() |
| | | // and object.Quantity()>0 ); |
| | | // |
| | | //CustomName:=""; |
| | | //DepartMent:=""; |
| | | //idx:=0; |
| | | //traverse( AllData,Elements,Obj,not isnull(Obj)) |
| | | //{ |
| | | // idx:=Obj.SalesSegmentName().FindString( "_",0); |
| | | // if(idx>0) |
| | | // { |
| | | // DepartMent:=Obj.SalesSegmentName().SubString( 0,idx+1); |
| | | // CustomName := Obj.SalesSegmentName().SubString( idx+1, Obj.SalesSegmentName().Length() - (idx+1)); |
| | | // } |
| | | // else |
| | | // { |
| | | // CustomName :=Obj.SalesSegmentName(); |
| | | // } |
| | | // |
| | | // ArrayData:=Obj.SalesSegmentName().SubString( 0,Obj.SalesSegmentName().FindString( "_",0)+1); |
| | | // MacroPlan.H_Forecast(relnew,OrderCode := H_FunctionClass::SM_GenerateID( "OF"), |
| | | // SKU := Obj.ProductID(), |
| | | // CustomCode := CustomName, |
| | | // CustomName := CustomName, |
| | | // Util:=Obj.UnitOfMeasureName(), |
| | | // NeedTime:=Obj.EndDate(), |
| | | // ForecastQty:=[Number]Obj.Quantity().Round( 0), |
| | | // Department:=DepartMent); |
| | | //} |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel351/btn_Add_Material_FOF503 |
| | | Response OnClick ( |
| | | H_Forecast selection |
| | | ) id:Response_Panel351_btn_Add_Material_FOF503_OnClick_222 |
| | | { |
| | | #keys: '[414724.0.145178766]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /Panel351/Responsedef_Panel351_btn_Add_Material_FOF503_OnClick |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( not isnull( selection)) |
| | | { |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); |
| | | if( isnull( SelectItem)) |
| | | { |
| | | MacroPlan.H_MessagePassing(relnew,FKey :="FrmOrderForecast",ItemKey := "ListSelect", |
| | | Value := selection.SKU()+";"+selection.Util()+";"+selection.CustomCode()+";"+selection.CustomName(), |
| | | ValueJsonString := JSON::Object().Add( "SKU",selection.SKU()) |
| | | .Add( "Util",selection.Util()) |
| | | .Add( "CustomCode",selection.CustomCode()) |
| | | .Add( "CustomName",selection.CustomName()).Build().AsString()); |
| | | } |
| | | else |
| | | { |
| | | SelectItem.Value(selection.SKU()+";"+selection.Util()+";"+selection.CustomCode()+";"+selection.CustomName()); |
| | | SelectItem.ValueJsonString(JSON::Object().Add( "SKU",selection.SKU()) |
| | | .Add( "Util",selection.Util()) |
| | | .Add( "CustomCode",selection.CustomCode()) |
| | | .Add( "CustomName",selection.CustomName()).Build().AsString()); |
| | | } |
| | | Application.OpenForm( "FrmMaterial","popout"); |
| | | } |
| | | else |
| | | { |
| | | WebMessageBox::Information( "è¯·éæ©ä¸é¡¹é¢æµååç¹å»æé®ï¼"); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel351/btn_Add_Order_FOF449 |
| | | Response OnClick ( |
| | | H_Forecast selection |
| | | ) id:Response_Panel351_btn_Add_Order_FOF449_OnClick_880 |
| | | { |
| | | #keys: '[414724.0.141244111]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /Panel351/Responsedef_Panel351_btn_Add_Order_FOF449_OnClick |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( not isnull( selection)) |
| | | { |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); |
| | | if( isnull( SelectItem)) |
| | | { |
| | | MacroPlan.H_MessagePassing(relnew,FKey :="FrmOrderForecast",ItemKey := "ListSelect", |
| | | Value := selection.SKU()+";"+selection.Util()+";"+selection.CustomCode()+";"+selection.CustomName(), |
| | | ValueJsonString := JSON::Object().Add( "SKU",selection.SKU()) |
| | | .Add( "Util",selection.Util()) |
| | | .Add( "CustomCode",selection.CustomCode()) |
| | | .Add( "CustomName",selection.CustomName()).Build().AsString()); |
| | | } |
| | | else |
| | | { |
| | | SelectItem.Value(selection.SKU()+";"+selection.Util()+";"+selection.CustomCode()+";"+selection.CustomName()); |
| | | SelectItem.ValueJsonString(JSON::Object().Add( "SKU",selection.SKU()) |
| | | .Add( "Util",selection.Util()) |
| | | .Add( "CustomCode",selection.CustomCode()) |
| | | .Add( "CustomName",selection.CustomName()).Build().AsString()); |
| | | } |
| | | Application.OpenForm( "FrmAuthorizeAndCountersign_Order","modal"); |
| | | } |
| | | else |
| | | { |
| | | WebMessageBox::Information( "è¯·éæ©ä¸é¡¹é¢æµååç¹å»æé®ï¼"); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel351/btn_InitialData778 |
| | | Response OnClick () id:Response_Panel351_btn_InitialData778_OnClick_971 |
| | | { |
| | | #keys: '[414724.0.141222418]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | //// 没æç¨çæé®å彿°ï¼åªä¸ºäºæµè¯çæåæ°æ®ã |
| | | //StrCustoms:="XM_2023,å°ç±³;HW_2023,å为;OV_2023,VIVO;OP_2023,OPPO;HX_2023,æµ·ä¿¡;YJ_2023,ä¸å ;HE_2023,æµ·å°;GL_2023,æ ¼å;"; |
| | | //ArrayCustom := StrCustoms.Tokenize( ";"); //8ä¸ªå®¢æ· |
| | | //idx :=0; |
| | | //for( i:=0;i<20;i:=i+1) |
| | | //{ |
| | | // idx :=Number::Random( 0,7); |
| | | // arrCustomInfo := ArrayCustom.Element( idx).Tokenize( ","); |
| | | // MacroPlan.H_Forecast(relnew, CustomName := arrCustomInfo.Element( 1),CustomCode := arrCustomInfo.Element( 0),ForecastQty := Number::Random( 100,5000), |
| | | // Department := "éå®1é¨",NeedTime := Date::ActualDate(),OrderCode := H_FunctionClass::SM_GenerateID( "OF") ,SKU := "SKU-CP-2023-N"+(Number::Random( 1000,9999)).AsQUILL(),Util := "PCS"); |
| | | // |
| | | //} |
| | | //// çæé¢æµ 宿¶æ°æ®ï¼åç¾æ°æ®ï¼æææ°æ®ï¼åç¾ ææé»è®¤ä¸º0ï¼å¯¹èªå¨å建ï¼è¿éä¸åæ·»å ï¼ |
| | | // traverse(MacroPlan,H_Forecast ,Obj,not isnull(Obj) ) |
| | | //{ |
| | | // MacroPlan.H_OrderForecastRealQty(relnew,CustomID := Obj.CustomCode(),CustomName := Obj.CustomName(),ForecatsQty := Obj.ForecastQty(), |
| | | // ForecatsRealQty := Obj.ForecastQty(),ID := H_FunctionClass::SM_GenerateID( "OF"),Month := Date::ActualDate(), |
| | | // OrderCode := Obj.OrderCode(),SKU := Obj.SKU(),Unit := Obj.Util()); |
| | | // |
| | | //} |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); |
| | | if(not isnull( SelectItem) and SelectItem.Value().Length()>0) |
| | | { |
| | | Application.OpenForm( "FrmAuthorizeAndCountersign","popout"); |
| | | Application.OpenForm( "FrmAuthorizeAndCountersign_Order","popout"); |
| | | } |
| | | else |
| | | { |
| | |
| | | SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); |
| | | if( isnull( SelectItem)) |
| | | { |
| | | MacroPlan.H_MessagePassing(relnew,FKey :="FrmOrderForecast",ItemKey := "ListSelect",Value := ""); |
| | | MacroPlan.H_MessagePassing(relnew,FKey :="FrmOrderForecast",ItemKey := "ListSelect", |
| | | Value := selection.SKU()+";"+selection.Util()+";"+selection.CustomCode()+";"+selection.CustomName(), |
| | | ValueJsonString := JSON::Object().Add( "SKU",selection.SKU()) |
| | | .Add( "Util",selection.Util()) |
| | | .Add( "CustomCode",selection.CustomCode()) |
| | | .Add( "CustomName",selection.CustomName()).Build().AsString()); |
| | | } |
| | | SelectItem.Value(selection.SKU()+";"+selection.Util()+";"+selection.CustomCode()+";"+selection.CustomName()); |
| | | else |
| | | { |
| | | SelectItem.Value(selection.SKU()+";"+selection.Util()+";"+selection.CustomCode()+";"+selection.CustomName()); |
| | | SelectItem.ValueJsonString(JSON::Object().Add( "SKU",selection.SKU()) |
| | | .Add( "Util",selection.Util()) |
| | | .Add( "CustomCode",selection.CustomCode()) |
| | | .Add( "CustomName",selection.CustomName()).Build().AsString()); |
| | | } |
| | | Application.OpenForm( "FrmMaterial","popout"); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | #child: Panel961 |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component dh_FOF_H_Forecast |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 5 |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | #child: liH_Forecast |
| | | #child: Panel351 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: '订å颿µé¡µé¢' |
| | | Image: 'GOLDFISH' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | Title: '颿µå表页' |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Description: '订åå²åè¿ç¨åè®¢åæ ç¾å±ç¤º' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | Title: '订åå²åè¿ç¨åè®¢åæ ç¾å±ç¤º' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component List696 |
| | | { |
| | | #keys: '[414724.0.118276730]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractor838 |
| | | { |
| | | #keys: '[414724.0.118276731]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[H_MaterialHedgingResult]' |
| | | Source: 'dh_FRAS' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPage112 |
| | | Component DataSetLevel187 |
| | | { |
| | | #keys: '[414724.0.118276736]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenu660 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SKU","title":"SKU","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SKU"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MType","title":"MType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ReverseQty","title":"ReverseQty","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ReverseQty"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"AuthorizeQty","title":"AuthorizeQty","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"AuthorizeQty"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Unit","title":"Unit","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Unit"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CustomerName","title":"CustomerName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CustomerName"}}]' |
| | | ContextMenu: 'listContextMenu660' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Panel224 |
| | | { |
| | | #keys: '[414724.0.132480968]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ds_Month_FRAS |
| | | { |
| | | #keys: '[414724.0.132481008]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Enabled: false |
| | | Taborder: 0 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component txt_QueryContent_FRAS |
| | | { |
| | | #keys: '[414724.0.132481038]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | PlaceHolder: 'æ¨¡ç³æç´¢' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component btn_Query_FRAS |
| | | { |
| | | #keys: '[414724.0.132481089]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'VIEW' |
| | | Label: 'æ¥è¯¢' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Panel950 |
| | | { |
| | | #keys: '[414724.0.133671405]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component Label782 |
| | | { |
| | | #keys: '[414724.0.133671432]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | Text: 'åç¾åææå表å±ç¤ºé¡µ' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Border: true |
| | | FixedSize: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPage112 |
| | | { |
| | | #keys: '[414724.0.118276733]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenu660 |
| | | { |
| | | #keys: '[414724.0.118276738]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Response OnCreated () id:Response_FrmRAShow_OnCreated |
| | | { |
| | | #keys: '[414724.0.134602766]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | ds_Month_FRAS.Date(Date::ActualDate()); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel224/btn_Query_FRAS |
| | | Response OnClick () id:Response_Panel224_btn_Query_FRAS_OnClick |
| | | { |
| | | #keys: '[414724.0.135920812]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | de_dh_FRAS.FixedFilter( "object.ID().LikeUserLocale( " + txt_QueryContent_FRAS.Text().AsQUILL() + " )" |
| | | + " or " + "object.SKU().LikeUserLocale( " + txt_QueryContent_FRAS.Text().AsQUILL() + " )" |
| | | + " or " + "object.CustomerCode().LikeUserLocale( " + txt_QueryContent_FRAS.Text().AsQUILL() + " )" |
| | | + " or " + "object.CustomerName().LikeUserLocale( " + txt_QueryContent_FRAS.Text().AsQUILL() + " )" |
| | | ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | { |
| | | #keys: '[414724.0.87341476]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: List696 |
| | | Component dh_FRAS |
| | | { |
| | | #keys: '[414724.0.118276696]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[H_MaterialHedgingResult]*' |
| | | Children: |
| | | [ |
| | | Component de_dh_FRAS |
| | | { |
| | | #keys: '[414724.0.118276712]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'H_MaterialHedgingResult' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | #child: Panel950 |
| | | #child: Panel224 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'åæåç¾åææå±ç¤º' |
| | | Image: 'NAV_REDO_LIGHT_BLUE' |
| | | Title: 'åç¾åææå表å±ç¤ºé¡µ' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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: 2 |
| | | image: 'DOCUMENT_LOCK' |
| | | page: 'applicationDevelopmentActionBarPageDef' |
| | | group: '' |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'OrderLock' |
| | | name: 'OrderLock' |
| | | isglobal: false |
| | | isroot: true |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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: 197 |
| | | } |
| | | column_ChangedBy |
| | | { |
| | | columnId: 'ChangedBy' |
| | | dataPath: 'ChangedBy' |
| | | dataType: 'string' |
| | | title: 'Changed by' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 91 |
| | | } |
| | | 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: false |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_1 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 2 |
| | | } |
| | | 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_1 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 3 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_2 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 4 |
| | | } |
| | | 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_2 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 5 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_3 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 6 |
| | | } |
| | | 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_3 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 7 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_4 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 8 |
| | | } |
| | | 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_4 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 9 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_5 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 10 |
| | | } |
| | | 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_5 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 11 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_6 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 12 |
| | | } |
| | | 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_6 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 13 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_7 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 14 |
| | | } |
| | | 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_7 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 15 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormSanityCheck |
| | | { |
| | | title: 'Sanity Check' |
| | | shown: false |
| | | componentID: 'FormSanityCheck' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 16 |
| | | } |
| | | components |
| | | { |
| | | FormSanityCheck_PanelSanityCheckToolbar |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSanityCheck_PanelSanityCheckContent |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSanityCheck_PanelSanityCheckGroup |
| | | { |
| | | sizeRatio: 4 |
| | | } |
| | | FormSanityCheck_ListSanityCheckGroup |
| | | { |
| | | } |
| | | FormSanityCheck_DataSetLevelSanityCheckGroup |
| | | { |
| | | groupDepth: -1 |
| | | sort: 'DESC:IsShown,DESC:SanityCheckHighestCategory,DESC:_Expr3' |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Show |
| | | { |
| | | columnId: 'Show' |
| | | dataPath: 'Show' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Group |
| | | { |
| | | columnId: 'Group' |
| | | dataPath: 'Group' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 270 |
| | | } |
| | | column__Expr3 |
| | | { |
| | | columnId: '_Expr3' |
| | | dataPath: '_Expr3' |
| | | dataType: 'number' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 95 |
| | | } |
| | | } |
| | | FormSanityCheck_PanelSanityCheckMessage |
| | | { |
| | | sizeRatio: 5 |
| | | } |
| | | FormSanityCheck_ListSanityCheckMessage |
| | | { |
| | | } |
| | | FormSanityCheck_DataSetLevelSanityCheckMessage |
| | | { |
| | | groupDepth: -1 |
| | | sort: 'DESC:IsShown,SanityCheckGroup.Type,SanityCheckGroup.Group,Description' |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Show |
| | | { |
| | | columnId: 'Show' |
| | | dataPath: 'Show' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Messages |
| | | { |
| | | columnId: 'Messages' |
| | | dataPath: 'Messages' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Description |
| | | { |
| | | columnId: 'Description' |
| | | dataPath: 'Description' |
| | | dataType: 'string' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 585 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_8 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 17 |
| | | } |
| | | 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_8 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 18 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_9 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 19 |
| | | } |
| | | 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_9 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 20 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_10 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 21 |
| | | } |
| | | 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_10 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 22 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_11 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: true |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 23 |
| | | } |
| | | 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_11 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 24 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_12 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 25 |
| | | } |
| | | 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_12 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 26 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_13 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 27 |
| | | } |
| | | 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_13 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 28 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_14 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 29 |
| | | } |
| | | 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_14 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 30 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_15 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 31 |
| | | } |
| | | 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_15 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 32 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormSanityCheck_1 |
| | | { |
| | | title: 'Sanity Check' |
| | | shown: false |
| | | componentID: 'FormSanityCheck' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 33 |
| | | } |
| | | components |
| | | { |
| | | FormSanityCheck_PanelSanityCheckToolbar |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSanityCheck_PanelSanityCheckContent |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSanityCheck_PanelSanityCheckGroup |
| | | { |
| | | sizeRatio: 4 |
| | | } |
| | | FormSanityCheck_ListSanityCheckGroup |
| | | { |
| | | } |
| | | FormSanityCheck_DataSetLevelSanityCheckGroup |
| | | { |
| | | groupDepth: -1 |
| | | sort: 'DESC:IsShown,DESC:SanityCheckHighestCategory,DESC:_Expr3' |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Show |
| | | { |
| | | columnId: 'Show' |
| | | dataPath: 'Show' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Group |
| | | { |
| | | columnId: 'Group' |
| | | dataPath: 'Group' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 270 |
| | | } |
| | | column__Expr3 |
| | | { |
| | | columnId: '_Expr3' |
| | | dataPath: '_Expr3' |
| | | dataType: 'number' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 95 |
| | | } |
| | | } |
| | | FormSanityCheck_PanelSanityCheckMessage |
| | | { |
| | | sizeRatio: 5 |
| | | } |
| | | FormSanityCheck_ListSanityCheckMessage |
| | | { |
| | | } |
| | | FormSanityCheck_DataSetLevelSanityCheckMessage |
| | | { |
| | | groupDepth: -1 |
| | | sort: 'DESC:IsShown,SanityCheckGroup.Type,SanityCheckGroup.Group,Description' |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Show |
| | | { |
| | | columnId: 'Show' |
| | | dataPath: 'Show' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Messages |
| | | { |
| | | columnId: 'Messages' |
| | | dataPath: 'Messages' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Description |
| | | { |
| | | columnId: 'Description' |
| | | dataPath: 'Description' |
| | | dataType: 'string' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 585 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | page: '' |
| | | group: '' |
| | | index: 14 |
| | | image: '' |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'PriorityPolicy' |
| | | name: 'PriorityPolicy' |
| | | isglobal: false |
| | | isroot: true |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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: 197 |
| | | } |
| | | column_ChangedBy |
| | | { |
| | | columnId: 'ChangedBy' |
| | | dataPath: 'ChangedBy' |
| | | dataType: 'string' |
| | | title: 'Changed by' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 91 |
| | | } |
| | | 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: false |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_1 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 2 |
| | | } |
| | | 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_1 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 3 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_2 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 4 |
| | | } |
| | | 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_2 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 5 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_3 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 6 |
| | | } |
| | | 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_3 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 7 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_4 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 8 |
| | | } |
| | | 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_4 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 9 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_5 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 10 |
| | | } |
| | | 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_5 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 11 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_6 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 12 |
| | | } |
| | | 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_6 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 13 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_7 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 14 |
| | | } |
| | | 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_7 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 15 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormSanityCheck |
| | | { |
| | | title: 'Sanity Check' |
| | | shown: false |
| | | componentID: 'FormSanityCheck' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 16 |
| | | } |
| | | components |
| | | { |
| | | FormSanityCheck_PanelSanityCheckToolbar |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSanityCheck_PanelSanityCheckContent |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSanityCheck_PanelSanityCheckGroup |
| | | { |
| | | sizeRatio: 4 |
| | | } |
| | | FormSanityCheck_ListSanityCheckGroup |
| | | { |
| | | } |
| | | FormSanityCheck_DataSetLevelSanityCheckGroup |
| | | { |
| | | groupDepth: -1 |
| | | sort: 'DESC:IsShown,DESC:SanityCheckHighestCategory,DESC:_Expr3' |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Show |
| | | { |
| | | columnId: 'Show' |
| | | dataPath: 'Show' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Group |
| | | { |
| | | columnId: 'Group' |
| | | dataPath: 'Group' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 270 |
| | | } |
| | | column__Expr3 |
| | | { |
| | | columnId: '_Expr3' |
| | | dataPath: '_Expr3' |
| | | dataType: 'number' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 95 |
| | | } |
| | | } |
| | | FormSanityCheck_PanelSanityCheckMessage |
| | | { |
| | | sizeRatio: 5 |
| | | } |
| | | FormSanityCheck_ListSanityCheckMessage |
| | | { |
| | | } |
| | | FormSanityCheck_DataSetLevelSanityCheckMessage |
| | | { |
| | | groupDepth: -1 |
| | | sort: 'DESC:IsShown,SanityCheckGroup.Type,SanityCheckGroup.Group,Description' |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Show |
| | | { |
| | | columnId: 'Show' |
| | | dataPath: 'Show' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Messages |
| | | { |
| | | columnId: 'Messages' |
| | | dataPath: 'Messages' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Description |
| | | { |
| | | columnId: 'Description' |
| | | dataPath: 'Description' |
| | | dataType: 'string' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 585 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_8 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 17 |
| | | } |
| | | 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_8 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 18 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_9 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 19 |
| | | } |
| | | 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_9 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 20 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_10 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 21 |
| | | } |
| | | 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_10 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 22 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_11 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: true |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 23 |
| | | } |
| | | 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_11 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 24 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_12 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 25 |
| | | } |
| | | 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_12 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 26 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_13 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 27 |
| | | } |
| | | 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_13 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 28 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_14 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 29 |
| | | } |
| | | 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_14 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 30 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles_15 |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 31 |
| | | } |
| | | 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_15 |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: false |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 32 |
| | | } |
| | | 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 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormSanityCheck_1 |
| | | { |
| | | title: 'Sanity Check' |
| | | shown: false |
| | | componentID: 'FormSanityCheck' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 33 |
| | | } |
| | | components |
| | | { |
| | | FormSanityCheck_PanelSanityCheckToolbar |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSanityCheck_PanelSanityCheckContent |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormSanityCheck_PanelSanityCheckGroup |
| | | { |
| | | sizeRatio: 4 |
| | | } |
| | | FormSanityCheck_ListSanityCheckGroup |
| | | { |
| | | } |
| | | FormSanityCheck_DataSetLevelSanityCheckGroup |
| | | { |
| | | groupDepth: -1 |
| | | sort: 'DESC:IsShown,DESC:SanityCheckHighestCategory,DESC:_Expr3' |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Show |
| | | { |
| | | columnId: 'Show' |
| | | dataPath: 'Show' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Group |
| | | { |
| | | columnId: 'Group' |
| | | dataPath: 'Group' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 270 |
| | | } |
| | | column__Expr3 |
| | | { |
| | | columnId: '_Expr3' |
| | | dataPath: '_Expr3' |
| | | dataType: 'number' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 95 |
| | | } |
| | | } |
| | | FormSanityCheck_PanelSanityCheckMessage |
| | | { |
| | | sizeRatio: 5 |
| | | } |
| | | FormSanityCheck_ListSanityCheckMessage |
| | | { |
| | | } |
| | | FormSanityCheck_DataSetLevelSanityCheckMessage |
| | | { |
| | | groupDepth: -1 |
| | | sort: 'DESC:IsShown,SanityCheckGroup.Type,SanityCheckGroup.Group,Description' |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Show |
| | | { |
| | | columnId: 'Show' |
| | | dataPath: 'Show' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Category |
| | | { |
| | | columnId: 'Category' |
| | | dataPath: 'Category' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Messages |
| | | { |
| | | columnId: 'Messages' |
| | | dataPath: 'Messages' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Description |
| | | { |
| | | columnId: 'Description' |
| | | dataPath: 'Description' |
| | | dataType: 'string' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 585 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | page: '' |
| | | group: '' |
| | | index: 15 |
| | | image: '' |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'PriorityResults' |
| | | name: 'PriorityResults' |
| | | isglobal: false |
| | | isroot: true |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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: 'Name' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 197 |
| | | } |
| | | column_ChangedBy |
| | | { |
| | | columnId: 'ChangedBy' |
| | | dataPath: 'ChangedBy' |
| | | dataType: 'string' |
| | | title: 'Changed by' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 91 |
| | | } |
| | | 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: 'Category' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 108 |
| | | } |
| | | column_Importance |
| | | { |
| | | columnId: 'Importance' |
| | | dataPath: 'Importance' |
| | | dataType: 'string' |
| | | title: 'Importance' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 110 |
| | | } |
| | | column_Title |
| | | { |
| | | columnId: 'Title' |
| | | dataPath: 'Title' |
| | | dataType: 'string' |
| | | title: '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: 'Name' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 109 |
| | | } |
| | | column_Description |
| | | { |
| | | columnId: 'Description' |
| | | dataPath: 'Description' |
| | | dataType: 'string' |
| | | title: 'Description' |
| | | 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: 'Name' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 200 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | index: 1 |
| | | image: 'WINDOW_TIME' |
| | | page: 'applicationDevelopmentActionBarPageDef' |
| | | group: '' |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'SOP_Versions' |
| | | name: 'SOP Versions' |
| | | isglobal: false |
| | | isroot: true |
| | | } |
| | |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | index: 0 |
| | | image: '' |
| | | page: '' |
| | | group: '' |
| | | index: 0 |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.inputunitsfrommodel.parameters= |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.inputunitsfrommodel.password= |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle=template:domainmodel.ediremotedatasourcedefinition |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle.connection= |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle.connection=dbodbc1 |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle.maxcolumnnamelength=0 |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle.maxtablenamelength=0 |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle.parameters= |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle.password= |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle.parameters=/datasource=orclpdb /owner=TIANMA /chardatatypeforstring /characterencoding=UTF-8 /appdatatypeforstring=wchar |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.localoracle.password=1 E9FE769DABE91891284EBBA6CEA8F41B 479d6f99-cffb-41e6-94f1-d35bdf20703c |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle=template:domainmodel.ediremotedatasourcedefinition |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.connection=dbodbc1 |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.maxcolumnnamelength=0 |