Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev-zlg
| | |
| | | traverse ( archiveExecutionStatus, TemporaryDemandData, tdd ,tdd.Origin() = "" or tdd.StartDate() >= macroPlan.StartOfPlanning().Date()) { |
| | | targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.ID() = tdd.ProductID() ); |
| | | targetStockingPoint_MP := select( macroPlan, StockingPoint_MP, tempSPMP, tempSPMP.ID() = tdd.StockingPointID() ); |
| | | info( tdd.SalesSegmentName() ); |
| | | // info( tdd.SalesSegmentName() ); |
| | | if ( not isnull( targetProduct_MP ) and not isnull( targetStockingPoint_MP ) ) { |
| | | forcest := Forecast::Create( targetProduct_MP, |
| | | targetStockingPoint_MP, |
| | |
| | | archiveExecutionStatus.AES_TemporaryDemandData().Source().FlatQuery( "truncate table A_Forecasts" ); |
| | | |
| | | // 杩斿洖鎴愬姛娑堟伅 |
| | | if( message <> ''){ |
| | | RequirementImportExecutionStatus::Create( archiveExecutionStatus, code, "Complete", userName, message, true ); |
| | | }else{ |
| | | RequirementImportExecutionStatus::Create( archiveExecutionStatus, code, "Complete", userName, Translations::A_VWED_RequirementImportSuccessful(), true ); |
| | | } |
| | | } else { |
| | | RequirementImportExecutionStatus::Create( archiveExecutionStatus, code, "Complete", userName, message, false ); |
| | | } |
| | |
| | | #parent: #root |
| | | StaticMethod Dispatch ( |
| | | const MacroPlan macroPlan, |
| | | RecycleBin owner |
| | | RecycleBin owner, |
| | | String versionFlag |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // Akari Aug-21-2024 (created) |
| | | owner.DispatchShiftPlan( relflush ); |
| | | // owner.RB_DispatchShiftPlanBroker().Source().FlatQuery( "truncate table A_DispatchShiftPlan" ); |
| | | |
| | | now := DateTime::Now(); |
| | | macroPlanName := macroPlan.MDSMacroPlan().Description(); |
| | | traverse( macroPlan,Unit.UnitPeriod.astype( UnitPeriodTime ).ShiftPlan,shiftPlan ){ |
| | |
| | | ShiftDate := shiftPlan.UnitPeriodTime().Period_MP().StartDate(), |
| | | Tips := shiftPlan.Remark(), |
| | | VersionName := macroPlanName, |
| | | VersionFlag := versionFlag, |
| | | FactoryName := factory.ID(), |
| | | InterfaceTime := now |
| | | ); |
| | |
| | | [ |
| | | Image: 'EXPORT1' |
| | | Label: '瀵煎嚭' |
| | | Taborder: 0 |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component bDownload id:bDownload_774 |
| | |
| | | [ |
| | | Image: 'DOWNLOAD' |
| | | Label: '涓嬭浇' |
| | | Taborder: 1 |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component dhXMLDataListener |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component Button593 |
| | | { |
| | | #keys: '[414996.1.20921786]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: '鍙戝竷鐗堟湰' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component Button633 |
| | | { |
| | | #keys: '[414996.1.20921810]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: '姹囨姤鐗堟湰' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
对比新文件 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pOperation/Button593 |
| | | Response OnClick () id:Response_pOperation_Button593_OnClick |
| | | { |
| | | #keys: '[414996.1.20921852]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DispatchShiftPlan::Dispatch( MacroPlan,RecycleBin,this.Label() ); |
| | | *] |
| | | } |
| | | } |
对比新文件 |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pOperation/Button633 |
| | | Response OnClick () id:Response_pOperation_Button633_OnClick |
| | | { |
| | | #keys: '[414996.1.20921936]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DispatchShiftPlan::Dispatch( MacroPlan,RecycleBin,this.Label() ); |
| | | *] |
| | | } |
| | | } |