Index: APPS/Halux/Planning/impl/BatchService.cls.xml
===================================================================
diff -u -r31215 -r31232
--- APPS/Halux/Planning/impl/BatchService.cls.xml (.../BatchService.cls.xml) (revision 31215)
+++ APPS/Halux/Planning/impl/BatchService.cls.xml (.../BatchService.cls.xml) (revision 31232)
@@ -206,73 +206,15 @@
} else {
#dim ProductLijn As DOM.AKP.ProductToeleveringLijn = Toelevering.GeefTypeToeleveringLijnIterator(##class(DOM.AKP.enu.ToeleveringLijnType).Product()).Next()
#dim ProductieGroep As APPS.Halux.common.enu.ProductieGroep = ..ProductieService.GeefProductieGroep(Toelevering.GeefKlantID(), ProductLijn.GeefProductID())
-
- if (Categorie = ##class(APPS.Halux.common.enu.Categorie).Legrabox()) {
- set Lijn = ..BepaalLijnVoorLBX(ProductieGroep)
- } elseif (Categorie = ##class(APPS.Halux.common.enu.Categorie).TAORbox()) {
- set Lijn = ..BepaalLijnVoorTAX(ProductieGroep)
- } elseif (Categorie = ##class(APPS.Halux.common.enu.Categorie).Tandembox()) {
- set Lijn = ..BepaalLijnVoorTBX(ProductieGroep)
- }
+ #dim ProductieLijnBepaler As APPS.Halux.Planning.impl.ProductieLijnBepaler = ##class(APPS.Halux.Planning.impl.ProductieLijnBepaler).%New()
+
+ set Lijn = ProductieLijnBepaler.BepaalLijn(Categorie, ProductieGroep)
}
quit Lijn
]]>
-
-ProductieGroep:APPS.Halux.common.enu.ProductieLijn
-1
-TECH.String
-
-
-
-
-ProductieGroep:APPS.Halux.common.enu.ProductieLijn
-1
-TECH.String
-
-
-
-
-ProductieGroep:APPS.Halux.common.enu.ProductieLijn
-1
-TECH.String
-
-
-
Toelevering:DOM.AKP.Toelevering,MaatwerkBatch:APPS.Halux.Planning.dto.MaatwerkBatch
1
Index: APPS/Halux/Planning/impl/ProductieLijnBepaler.cls.xml
===================================================================
diff -u
--- APPS/Halux/Planning/impl/ProductieLijnBepaler.cls.xml (revision 0)
+++ APPS/Halux/Planning/impl/ProductieLijnBepaler.cls.xml (revision 31232)
@@ -0,0 +1,127 @@
+
+
+
+TECH.RegisteredObject,APPS.Halux.common.enu.Categorie.Verwerker
+
+
+TECH.String
+1
+
+
+
+APPS.Halux.common.enu.ProductieLijn
+1
+
+
+
+Categorie:APPS.Halux.common.enu.Categorie,ProductieGroep:APPS.Halux.common.enu.ProductieLijn
+TECH.String
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+1
+
+
+
+
+
+
Index: APPS/Halux/common/enu/Categorie/Verwerker.cls.xml
===================================================================
diff -u
--- APPS/Halux/common/enu/Categorie/Verwerker.cls.xml (revision 0)
+++ APPS/Halux/common/enu/Categorie/Verwerker.cls.xml (revision 31232)
@@ -0,0 +1,164 @@
+
+
+
+1
+1
+
+
+1
+Categorie:APPS.Halux.common.enu.Categorie
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+1
+1
+
+
+
+
+
+