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