Index: APPS/Halux/Planning/impl/BatchService.cls.xml
===================================================================
diff -u -r31128 -r31163
--- APPS/Halux/Planning/impl/BatchService.cls.xml (.../BatchService.cls.xml) (revision 31128)
+++ APPS/Halux/Planning/impl/BatchService.cls.xml (.../BatchService.cls.xml) (revision 31163)
@@ -4,6 +4,24 @@
%occIO
TECH.RegisteredObject,APPS.Halux.Planning.BatchService
+
+APPS.Halux.common.ProductieService
+1
+
+
+
+ProductieService:APPS.Halux.common.ProductieService=""
+1
+1
+%Status
+1
+
+
+
Datum:%Date
APPS.Halux.Planning.dto.BatchOverzicht
@@ -95,8 +113,8 @@
#dim GeplandOpDatum As %Date = ..GeefGeplandOpDatum(Toelevering.GeefID())
If (GeplandOpDatum = Datum) {
#dim Batch As APPS.Halux.common.Batch = BatchService.GeefBijhorendeBatch(Toelevering)
- Set ProductieService = ##class(APPS.Halux.common.ProductieService).%New()
- If ('$IsObject(Batch)) && (ProductieService.GeefCategorieVoorToelevering(Toelevering) = Categorie) {
+
+ if ($$$Not($IsObject(Batch))) && ((..ProductieService.GeefCategorieVoorToelevering(Toelevering) = Categorie)) {
#dim dtoToelevering As APPS.Halux.Planning.dto.Toelevering = Builder.GeefToelevering(Toelevering)
Set dtoToelevering.Volgnummer = VolgNr
Do Toeleveringen.Insert(dtoToelevering)
@@ -177,14 +195,13 @@
%String
ELEMENTTYPE="APPS.Halux.Planning.dto.TandemboxBatch"