已修改12个文件
已添加19个文件
已删除3个文件
| | |
| | | { |
| | | DataIntegrityStrategy: 'Disabled' |
| | | SettingsEngineLink: 'domainmodel.ediremotedatasourcedefinition.remotestorage.oracle' |
| | | EDIODBCLinkTable MID_ANNUAL_BUDGET_REVIEW |
| | | EDIODBCLinkTable MID_SUMMARYOFINBOUNDTRANSACTION |
| | | { |
| | | OthersMayCreateTable: true |
| | | OthersMayDeleteRow: true |
| | |
| | | EDIODBCLinkColumn TRANSACTIONDATE |
| | | { |
| | | OthersMayUpdateColumn: true |
| | | ValueType: String |
| | | ValueType: DateTime |
| | | } |
| | | EDIODBCLinkColumn TRANSACTIONQTY |
| | | { |
| | |
| | | { |
| | | EDITableTransformation |
| | | { |
| | | InputTable: MID_ANNUAL_BUDGET_REVIEW |
| | | InputTable: MID_SUMMARYOFINBOUNDTRANSACTION |
| | | OutputTable: Global_MappingSummaryOfInboundTransaction |
| | | EDIColumnMatch { InputColumn: ITEM OutputColumn: Item } |
| | | EDIColumnMatch { InputColumn: ORGANCODE OutputColumn: OrganCode } |
| | |
| | | XMLDefinition: |
| | | [* |
| | | <?xml version="1.0" encoding="UTF-16"?> |
| | | <StringToDate xmlns="http://www.quintiq.com/GEB/StringToDate" Key="@1"> |
| | | <DateTimeToDate xmlns="http://www.quintiq.com/GEB/DateTimeToDate" Key="@1"> |
| | | <IsStandard>true</IsStandard> |
| | | <IsISO>false</IsISO> |
| | | <IsCustom>false</IsCustom> |
| | | <ConversionType>0</ConversionType> |
| | | <DateFormatString>DefaultDate</DateFormatString> |
| | | <LocaleString>Chinese (China)</LocaleString> |
| | | <CustomFormatString></CustomFormatString> |
| | | </StringToDate> |
| | | </DateTimeToDate> |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation RunStatus_GlobalOTDLog_GlobalOTDLog_RunStatus |
| | | { |
| | | #keys: '1[414702.1.428321355]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDLog |
| | | { |
| | | #keys: '3[414702.1.428321357][414702.1.428321356][414702.1.428321358]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: RunStatus |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide RunStatus |
| | | { |
| | | #keys: '3[414702.1.428321360][414702.1.428321359][414702.1.428321361]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDLog |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SetSuccessStatus ( |
| | | Object object, |
| | | String type |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // hongjli Nov-9-2023 (created) |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod AsyncCreateData ( |
| | | GlobalOTDSOP globalOTDSOP, |
| | | Product_MPs product_MPs |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDSOP -> PeggingProduct_MP::CreateData( product_MPs ) |
| | | -> PeggingResult::SetSuccessRunStatus(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod AsyncCreateData ( |
| | | MacroPlan macroPlan, |
| | | PeggingProductInSalesDemandBases peggingProductInSalesDemandBases |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | macroPlan -> PeggingResult::CreateData( peggingProductInSalesDemandBases ) |
| | | -> PeggingResult::SetSuccessRunStatus(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod AsyncCreateDataSuccess ( |
| | | String runType |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | options := DatasetFindOptions::Construct( "GlobalOTDLog" ).IncludeOffline( true ); |
| | | |
| | | mdskey := DatasetController::FindUnique( options ); |
| | | |
| | | MDSGlobalOTDLog::Root( mdskey ) -> RunStatus::OnSuccess( runType ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod AsyncRunPeggingAlgorithm ( |
| | | MacroPlan macroPlan |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | macroPlan -> RunPeggingAlgorithm() |
| | | -> PeggingResult::AsyncRunPeggingAlgorithmSuccess( "Pegging Result" ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod AsyncRunPeggingAlgorithmSuccess ( |
| | | MacroPlan macroPlan, |
| | | String runType |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | options := DatasetFindOptions::Construct( "GlobalOTDLog" ).IncludeOffline( true ); |
| | | |
| | | mdskey := DatasetController::FindUnique( options ); |
| | | |
| | | MDSGlobalOTDLog::Root( mdskey ) -> RunStatus::OnSuccess( runType ); |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateData ( |
| | | PeggingProductInSalesDemandBases peggingProductInSalesDemandBases, |
| | | const MacroPlan macroPlan |
| | | const MacroPlan macroPlan, |
| | | PeggingProductInSalesDemandBases peggingProductInSalesDemandBases |
| | | ) |
| | | { |
| | | TextBody: |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SetSuccessRunStatus |
| | | { |
| | | TextBody: 'RunStatus::SetCommonSuccessStatus( "Pegging Result" )' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod AsyncCreateData ( |
| | | const MacroPlan macroPlan, |
| | | PeggingProductInStockingPoint_MPs peggingProductInStockingPoint_MPs |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | macroPlan -> PeggingResultProductInStockingPoint_MP::CreateData( peggingProductInStockingPoint_MPs ) |
| | | -> PeggingResult::SetSuccessRunStatus(); |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateData ( |
| | | PeggingProductInStockingPoint_MPs peggingProductInStockingPoint_MPs, |
| | | const MacroPlan macroPlan |
| | | const MacroPlan macroPlan, |
| | | PeggingProductInStockingPoint_MPs peggingProductInStockingPoint_MPs |
| | | ) |
| | | { |
| | | TextBody: |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Status |
| | | { |
| | | #keys: '3[414702.1.428321377][414702.1.428321376][414702.1.428321378]' |
| | | Description: |
| | | [* |
| | | 0ï¼æå |
| | | 1ï¼è¿è¡ |
| | | 2ï¼å¤±è´¥ |
| | | *] |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Type |
| | | { |
| | | #keys: '3[414702.1.428321423][414702.1.428321422][414702.1.428321424]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod OnRun ( |
| | | GlobalOTDLog globalOTDLog, |
| | | String runType |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | targetRunStatus := select( globalOTDLog, RunStatus, tempRS, tempRS.Type() = runType ); |
| | | targetRunStatus.Delete(); |
| | | |
| | | globalOTDLog.RunStatus( relnew, Status := 1, Type := runType ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod OnSuccess ( |
| | | GlobalOTDLog globalOTDLog, |
| | | String runType |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | targetRunStatus := select( globalOTDLog, RunStatus, tempRS, tempRS.Type() = runType ); |
| | | targetRunStatus.Delete(); |
| | | |
| | | globalOTDLog.RunStatus( relnew, Status := 0, Type := runType ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SetCommonSuccessStatus ( |
| | | String runType |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | options := DatasetFindOptions::Construct( "GlobalOTDLog" ).IncludeOffline( true ); |
| | | |
| | | mdskey := DatasetController::FindUnique( options ); |
| | | |
| | | MDSGlobalOTDLog::Root( mdskey ) -> RunStatus::OnSuccess( runType ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type RunStatus |
| | | { |
| | | #keys: '5[414702.1.428321347][414702.1.428321345][0.0.0][414702.1.428321346][414702.1.428321348]' |
| | | BaseType: Object |
| | | StructuredName: 'RunStatuss' |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | PeggingResult::CreateData( selection, MacroPlan ); |
| | | //PeggingResult::CreateData( selection, MacroPlan ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | |
| | | Properties: |
| | | [ |
| | | Border: true |
| | | Taborder: 1 |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: pButton_407 |
| | | #child: ListPeggingProduct_MP_34 |
| | | ] |
| | | Properties: |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pButton |
| | | { |
| | | #keys: '[414702.1.426684184]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component bCreate |
| | | { |
| | | #keys: '[414702.1.426684185]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'BOMB' |
| | | Label: 'å建Pegging产å' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component bRunPeggingAlgorithm |
| | | { |
| | | #keys: '[414702.1.426684186]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'TREE' |
| | | Label: 'è¿è¡Peggingç®æ³' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component iRunStatus |
| | | { |
| | | #keys: '[414702.1.428459298]' |
| | | BaseType: 'WebImage' |
| | | Properties: |
| | | [ |
| | | Image: 'CHECK' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component DataHolderRunStatus |
| | | { |
| | | #keys: '[414702.1.428501585]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[RunStatus]*' |
| | | Children: |
| | | [ |
| | | Component DataExtractorRunStatus |
| | | { |
| | | #keys: '[414702.1.429648320]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDLog' |
| | | FixedFilter: 'object.Type() = "Pegging Result"' |
| | | Source: 'GlobalOTDLog' |
| | | Taborder: 0 |
| | | Transformation: 'RunStatus' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | PeggingResult::CreateData( selection, MacroPlan ); |
| | | RunStatus::OnRun( GlobalOTDLog, "Pegging Result" ); |
| | | |
| | | PeggingResult::AsyncCreateData( MacroPlan, selection ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | PeggingResultProductInStockingPoint_MP::CreateData( selection, MacroPlan ); |
| | | RunStatus::OnRun( GlobalOTDLog, "Pegging Result" ); |
| | | |
| | | PeggingResultProductInStockingPoint_MP::AsyncCreateData( MacroPlan, selection ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pButton/DataHolderRunStatus |
| | | Response OnDataChanged () id:Response_pButton_DataHolderRunStatus_OnDataChanged |
| | | { |
| | | #keys: '[414702.1.430209224]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnDataChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | runStatus := guard( this.Data().Element( 0 ), null( RunStatus ) ); |
| | | |
| | | if ( not isnull( runStatus ) ) { |
| | | if ( runStatus.Status() = 1 ) { |
| | | iRunStatus.Image( "MEDIA_PLAY_GREEN" ); |
| | | bRunPeggingAlgorithm.Enabled( false, "æ£å¨è¿è¡ä¸" ); |
| | | bCreate.Enabled( false, "æ£å¨è¿è¡ä¸" ); |
| | | } else if ( runStatus.Status() = 0 ) { |
| | | iRunStatus.Image( "CHECK" ); |
| | | bRunPeggingAlgorithm.Enabled( true, "" ); |
| | | bCreate.Enabled( true, "" ); |
| | | } |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pButton/bCreate |
| | | Response OnClick () id:Response_pButton_bCreate_OnClick |
| | | { |
| | | #keys: '[414702.1.426684183]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( GlobalOTDSOP ) and not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | form := construct( FormNavigationPanel ); |
| | | form.ShowDockLeft(); |
| | | |
| | | RunStatus::OnRun( GlobalOTDLog, "Pegging Result" ); |
| | | |
| | | PeggingProduct_MP::AsyncCreateData( GlobalOTDSOP, DataHolderCheckedProduct.Data() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pButton/bRunPeggingAlgorithm |
| | | Response OnClick () id:Response_pButton_bRunPeggingAlgorithm_OnClick |
| | | { |
| | | #keys: '[414702.1.426684182]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | RunStatus::OnRun( GlobalOTDLog, "Pegging Result" ); |
| | | |
| | | PeggingResult::AsyncRunPeggingAlgorithm( MacroPlan ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | [ |
| | | #child: PanelAbove |
| | | #child: PanelBelow |
| | | #child: pButton |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | } |
| | | components |
| | | { |
| | | FormPeggingResult_pButton |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormPeggingResult_PanelAbove |
| | | { |
| | | sizeRatio: 0.956634174600973 |
| | | sizeRatio: 0.888839122693552 |
| | | } |
| | | FormPeggingResult_PanelLeft |
| | | { |
| | | sizeRatio: 0.432843330645635 |
| | | } |
| | | FormPeggingResult_PanelPeggingResult570 |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormPeggingResult_pButton |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | |
| | | } |
| | | FormPeggingResult_PanelBelow |
| | | { |
| | | sizeRatio: 1.04336582539903 |
| | | sizeRatio: 1.11116087730645 |
| | | } |
| | | FormPeggingResult_ListPeggingAllResult |
| | | { |