Index: APPS/Halux/Planning/Pitching/impl/BatchPitchDataExporter.cls.xml =================================================================== diff -u -r71883 -r74429 --- APPS/Halux/Planning/Pitching/impl/BatchPitchDataExporter.cls.xml (.../BatchPitchDataExporter.cls.xml) (revision 71883) +++ APPS/Halux/Planning/Pitching/impl/BatchPitchDataExporter.cls.xml (.../BatchPitchDataExporter.cls.xml) (revision 74429) @@ -1,13 +1,23 @@ -TECH.RegisteredObject +TECH.Mockable + +%Integer +1 + + APPS.Halux.PPS.MES.MESService 1 + +APPS.Halux.common.BatchService +1 + + APPS.Halux.Planning.Pitching.impl.BatchPitchedRepository 1 @@ -29,7 +39,7 @@ -MESService:APPS.Halux.PPS.MES.MESService="",BatchPitchedRepository:APPS.Halux.Planning.Pitching.impl.BatchPitchedRepository="",BatchNaarObjectiveUitvoeringInfoRepository:APPS.Halux.PPS.Activiteit.impl.common.dto.BatchNaarObjectiveUitvoeringInfoRepository="",Logger:vhLib.Logger="",BatchPitchExportedService:APPS.Halux.Planning.Pitching.impl.BatchPitchExportedService="" +MESService:APPS.Halux.PPS.MES.MESService="",BatchPitchedRepository:APPS.Halux.Planning.Pitching.impl.BatchPitchedRepository="",BatchNaarObjectiveUitvoeringInfoRepository:APPS.Halux.PPS.Activiteit.impl.common.dto.BatchNaarObjectiveUitvoeringInfoRepository="",Logger:vhLib.Logger="",BatchPitchExportedService:APPS.Halux.Planning.Pitching.impl.BatchPitchExportedService="",BatchService:APPS.Halux.common.BatchService="" 1 1 %Status @@ -38,23 +48,24 @@ Set ..MESService = $$$Inject(MESService, ##class(APPS.Halux.PPS.MES.MESService).%New()) Set ..BatchPitchedRepository = $$$Inject(BatchPitchedRepository, ##class(APPS.Halux.Planning.Pitching.impl.BatchPitchedRepository).%New()) Set ..BatchNaarObjectiveUitvoeringInfoRepository = $$$Inject(BatchNaarObjectiveUitvoeringInfoRepository, ##class(APPS.Halux.PPS.Activiteit.impl.common.dto.BatchNaarObjectiveUitvoeringInfoRepository).%New()) - Set ..BatchPitchExportedService = $$$Inject(BatchPitchExportedService, ##class(APPS.Halux.Planning.Pitching.impl.BatchPitchExportedService).%New()) + Set ..BatchPitchExportedService = $$$Inject(BatchPitchExportedService, ##class(APPS.Halux.PPS.Activiteit.impl.common.BatchNaarObjectiveIoCContainer).Instance().Resolve("BatchPitchExportedService")) Set ..Logger = $$$Inject(Logger, ##class(vhLib.Logger).%New("APPS.Halux.Planning.Pitching.impl.BatchPitchDataExporter")) + Set ..BatchService = $$$Inject(BatchService, ##class(APPS.ApplicatieContext).Instance().GeefProductieAPI().GeefBatchService()) Quit $$$OK ]]> + + +Wordt opgeroepen bij het resetten van een batch +BatchID:%String,IsTriggerResetBatch:%Boolean=0 + + + BatchId:%String 1 @@ -83,8 +115,8 @@ #dim BatchPitchExportList As %ListOfObjects = ..BatchPitchExportedService.ZoekViaBatchId(BatchId) If (BatchPitchExportList.Size = 1) { - #dim BatchPitchExportedDto As APPS.Halux.Planning.Pitching.dto.BatchPitchExported = BatchPitchExportList.GetAt(1) - Set IsBatchExported = BatchPitchExportedDto.IsExported + #dim BatchPitchExported As APPS.Halux.Planning.Pitching.BatchPitchExported = BatchPitchExportList.GetAt(1) + Set IsBatchExported = BatchPitchExported.IsExported } ElseIf (BatchPitchExportList.Size = 0) { Set IsBatchExported = $$$False } Else { @@ -97,7 +129,7 @@ -Batch:APPS.Halux.common.impl.BatchImpl +Batch:APPS.Halux.common.impl.BatchImpl,IsTriggerResetBatch:%Boolean=0 1 %Boolean + + +AansturingActie:APPS.Halux.PPS.Document.impl.common.BatchNaarObjective,Batch:APPS.Halux.common.impl.BatchImpl,IsTriggerResetBatch:%Boolean=0 +1 + +