Index: APPS/Halux/PPS/Document/impl/LBX/BatchNaarObjective.cls.xml
===================================================================
diff -u -r71355 -r71362
--- APPS/Halux/PPS/Document/impl/LBX/BatchNaarObjective.cls.xml (.../BatchNaarObjective.cls.xml) (revision 71355)
+++ APPS/Halux/PPS/Document/impl/LBX/BatchNaarObjective.cls.xml (.../BatchNaarObjective.cls.xml) (revision 71362)
@@ -8,26 +8,19 @@
1
-
-DOM.VKP.OrderAPI
-1
+
+APPS.Halux.PPS.Document.impl.LBX.BatchNaarObjective.BatchNaarObjectiveDataGenerator
-
-DOM.PARTIJ.PartijAPI
-1
-
-
-ToeleveringApi:DOM.AKP.ToeleveringAPI="",OrderApi:DOM.VKP.OrderAPI="",PartijApi:DOM.PARTIJ.PartijAPI=""
+ToeleveringApi:DOM.AKP.ToeleveringAPI="",BatchNaarObjectiveDataGenerator:APPS.Halux.PPS.Document.impl.LBX.BatchNaarObjective.BatchNaarObjectiveDataGenerator=""
1
1
%Status
1
@@ -58,10 +51,11 @@
#dim BatchId As %String = UitvoeringInfoLijst.GetAt(1).BatchID
#dim Batch As APPS.Halux.common.Batch = ##class(APPS.ApplicatieContext).Instance().GeefProductieAPI().GeefBatchService().GeefBatch(BatchId)
#dim ToeleveringenIterator As TECH.Iterator = Batch.GeefToeleveringIterator()
+
If (..IsActiefVoorMES(Batch.GeefLijn())) {
While ToeleveringenIterator.HasNext() {
#dim Toelevering As DOM.AKP.Toelevering = ..ToeleveringApi.GeefToelevering(ToeleveringenIterator.Next().GeefID())
- #dim BatchData As APPS.Halux.PPS.Document.impl.LBX.BatchNaarObjective.dto.BatchNaarObjectiveData = ..GeefDataVoorUitvoeringInfo(Batch, Toelevering)
+ #dim BatchData As APPS.Halux.PPS.Document.impl.LBX.BatchNaarObjective.dto.BatchNaarObjectiveData = ..BatchNaarObjectiveDataGenerator.GenereerBatchDataVoorToelevering(Batch, Toelevering)
Do BatchDataLijst.Insert(BatchData)
}
}
@@ -89,42 +83,6 @@
]]>
-
-Batch:APPS.Halux.common.Batch,Toelevering:DOM.AKP.Toelevering
-1
-APPS.Halux.PPS.Document.impl.LBX.BatchNaarObjective.dto.BatchNaarObjectiveData
-
-
-
BatchDataLijst:%ListOfObjects
1
@@ -144,25 +102,6 @@
]]>
-
-Horolog:%String
-1
-%String
-
-
-
-
-%String
-
-
-
BatchId:%String,Index:%Integer,Extensie:TECH.String
1