Index: APPS/Halux/common/ProductieSequentieRepository.cls.xml
===================================================================
diff -u -r29059 -r32565
--- APPS/Halux/common/ProductieSequentieRepository.cls.xml (.../ProductieSequentieRepository.cls.xml) (revision 29059)
+++ APPS/Halux/common/ProductieSequentieRepository.cls.xml (.../ProductieSequentieRepository.cls.xml) (revision 32565)
@@ -10,6 +10,12 @@
TECH.ResultSet
+
+1
+BatchID:TECH.String
+APPS.Halux.common.ProductieSequentieItemList
+
+
1
BatchID:%String,DossierCode:%String,Aantal:%String
Index: vhTest/Mock/APPS/Halux/common/ProductieSequentieRepository.cls.xml
===================================================================
diff -u -r29059 -r32565
--- vhTest/Mock/APPS/Halux/common/ProductieSequentieRepository.cls.xml (.../ProductieSequentieRepository.cls.xml) (revision 29059)
+++ vhTest/Mock/APPS/Halux/common/ProductieSequentieRepository.cls.xml (.../ProductieSequentieRepository.cls.xml) (revision 32565)
@@ -8,6 +8,13 @@
1
APPS.Halux.common.ProductieSequentieRepository,Tools.Mock.MockClassBase
+
+BatchID:TECH.String
+APPS.Halux.common.ProductieSequentieItemList
+
+
+
BatchID:%String
TECH.ResultSet
Index: APPS/Halux/common/impl/ProductieSequentieGroepeerder.cls.xml
===================================================================
diff -u -r31994 -r32565
--- APPS/Halux/common/impl/ProductieSequentieGroepeerder.cls.xml (.../ProductieSequentieGroepeerder.cls.xml) (revision 31994)
+++ APPS/Halux/common/impl/ProductieSequentieGroepeerder.cls.xml (.../ProductieSequentieGroepeerder.cls.xml) (revision 32565)
@@ -1,7 +1,7 @@
-TECH.RegisteredObject,APPS.Halux.common.ProductieSequentieGroepeerder
+TECH.RegisteredObject,APPS.Halux.common.ProductieSequentieGroepeerder,APPS.Halux.common.enu.Categorie.Verwerker
APPS.Halux.common.impl.ProductieSequentieGroepering
@@ -13,6 +13,11 @@
1
+
+APPS.Halux.common.Batch
+1
+
+
1
1
@@ -35,7 +40,7 @@
#dim GroeperingID As %String = 1
While (ResultSet.Next()) {
- #dim SequentieInfo AS APPS.Halux.common.dto.ProductieSequentie = ..GeefSequentieInfo(ResultSet)
+ #dim SequentieInfo AS APPS.Halux.common.dto.ProductieSequentie = ..GeefSequentieInfoVoorResultSet(ResultSet)
Do ..Groepering.VoegToe(GroeperingID, SequentieInfo)
}
@@ -59,7 +64,7 @@
Continue:$$$Not(DeelAantal = 1)
- Set SequentieInfo = ..GeefSequentieInfo(ResultSet)
+ Set SequentieInfo = ..GeefSequentieInfoVoorResultSet(ResultSet)
Set SequentieInfo.DeelAantal = ""
If $$$Not(ProductID = SequentieInfo.ProductID) {
@@ -81,38 +86,11 @@
BatchID:%String
APPS.Halux.common.impl.ProductieSequentieGroepering
@@ -131,7 +109,7 @@
Continue:$$$Not(DeelAantal = 1)
- #dim SequentieInfo AS APPS.Halux.common.dto.ProductieSequentie = ..GeefSequentieInfo(ResultSet)
+ #dim SequentieInfo AS APPS.Halux.common.dto.ProductieSequentie = ..GeefSequentieInfoVoorResultSet(ResultSet)
Set SequentieInfo.DeelAantal = ""
Do ..Groepering.VoegToe(ToeleveringID,SequentieInfo)
}
@@ -158,7 +136,7 @@
Continue:$$$Not(DeelAantal = 1)
- Set SequentieInfo = ..GeefSequentieInfo(ResultSet)
+ Set SequentieInfo = ..GeefSequentieInfoVoorResultSet(ResultSet)
Set SequentieInfo.DeelAantal = ""
If ((ToeleveringID = SequentieInfo.ToeleveringID ) && ( ProductID = SequentieInfo.ProductID)) {
@@ -196,7 +174,7 @@
Continue:$$$Not(DeelAantal = 1)
- Set SequentieInfo = ..GeefSequentieInfo(ResultSet)
+ Set SequentieInfo = ..GeefSequentieInfoVoorResultSet(ResultSet)
Set SequentieInfo.DeelAantal = ""
Set ProductID = SequentieInfo.ProductID
@@ -232,7 +210,7 @@
]]>
-
+
ResultSet:TECH.ResultSet
1
APPS.Halux.common.dto.ProductieSequentie
@@ -252,6 +230,26 @@
]]>
+
+ProductieSequentieItem:APPS.Halux.common.ProductieSequentieItem
+1
+APPS.Halux.common.dto.ProductieSequentie
+
+
+
ToeleveringID:%String,ToeleveringLijnID:%String
1
@@ -274,6 +272,158 @@
Quit CorrecteToeleveringLijnID
]]>
+
+
+1
+GroepeerPerToelevering->TAOR:::::" _ ProductieSequentieItem.ToeleveringID)
+ }
+]]>
+
+
+
+1
+GroepeerPerToelevering->Tandem:::::" _ ResultSet)
+
+ While (ResultSet.Next()) {
+ Do ##class(Tools.Wlip).%New(42).String("ProductieSequentieGroepeerder->GroepeerPerToelevering->Tandem:::::ResultSet Next!!!!!!")
+
+ #dim ToeleveringID As %String = ResultSet.GetDataByName("TOENr")
+ #dim ToeleveringLijnID As %String = ResultSet.GetDataByName("TLUNr")
+ #dim SequentieInfo AS APPS.Halux.common.dto.ProductieSequentie = ..GeefSequentieInfoVoorResultSet(ResultSet)
+
+ Do ##class(Tools.Wlip).%New(42).String("ProductieSequentieGroepeerder->GroepeerPerToelevering->Tandem:::::ResultSet: " _ ResultSet)
+
+ Do ..MaakGroeperingPerToelevering(BatchID, ToeleveringID, ToeleveringLijnID, SequentieInfo)
+ }
+]]>
+
+
+
+BatchID:TECH.String,ToeleveringID:TECH.String,ToeleveringLijnID:TECH.String,SequentieInfo:APPS.Halux.common.dto.ProductieSequentie
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
Index: APPS/Halux/common/impl/ProductieSequentieRepository.cls.xml
===================================================================
diff -u -r31991 -r32565
--- APPS/Halux/common/impl/ProductieSequentieRepository.cls.xml (.../ProductieSequentieRepository.cls.xml) (revision 31991)
+++ APPS/Halux/common/impl/ProductieSequentieRepository.cls.xml (.../ProductieSequentieRepository.cls.xml) (revision 32565)
@@ -14,6 +14,17 @@
]]>
+
+BatchID:TECH.String
+APPS.Halux.common.ProductieSequentieItemList
+
+
+
BatchID:%String,DossierCode:%String,AantalStuks:%String
%ListOfDataTypes