Index: APPS/Halux/common/impl/BatchImpl.cls.xml =================================================================== diff -u -r56500 -r56700 --- APPS/Halux/common/impl/BatchImpl.cls.xml (.../BatchImpl.cls.xml) (revision 56500) +++ APPS/Halux/common/impl/BatchImpl.cls.xml (.../BatchImpl.cls.xml) (revision 56700) @@ -105,13 +105,6 @@ APPS.Halux.Planning.enu.ToeleveringSorteerType - -%Boolean -1 - Set {*}=##class(APPS.Halux.common.impl.BatchImpl).%OpenId({ID}).IsWegwerppallet() -1 - - Lijn:APPS.Halux.common.enu.ProductieLijn="" 1 @@ -267,8 +260,11 @@ Set ..ProductieGroep = ##class(APPS.Halux.Planning.impl.BatchService.Utils).%New().GeefProductieGroepen(Toelevering).GetAt(1) Do ..ZetStatus(##class(APPS.Halux.common.enu.BatchStatus).Manueel()) - If (..GeefGeplandOp() = "") Do ..ZetGeplandOpVroegsteGeplandVanToelevering() + //Do ##class(APPS.Halux.AAP.DnaCodeService).%New().DnaCodeBijwerkenMetBatchGegevens($this) + + If (..GeefGeplandOp() = "") Do ..ZetGeplandOpVroegsteGeplandVanToelevering(Toelevering) + Do ..SorteerToeleveringenAutomatischIndienNodig() ]]> @@ -630,7 +626,24 @@ ]]> - + +Status:APPS.Halux.common.enu.BatchStatus + + + + +oid:%ObjectIdentity +%Status + + + + %Boolean - -Status:APPS.Halux.common.enu.BatchStatus - - - - -oid:%ObjectIdentity -%Status - - - %Library.CacheStorage ^APPS.Halux.common.BatchD @@ -711,9 +707,6 @@ ToeleveringSorteerType - -IsWegwerppallet - ToeleveringenIndex Index: vhTest/Mock/APPS/Halux/common/Batch.cls.xml =================================================================== diff -u -r29059 -r56700 --- vhTest/Mock/APPS/Halux/common/Batch.cls.xml (.../Batch.cls.xml) (revision 29059) +++ vhTest/Mock/APPS/Halux/common/Batch.cls.xml (.../Batch.cls.xml) (revision 56700) @@ -3,8 +3,7 @@ Deze klasse werd automatisch gegenereerd en onderhouden - lokale aanpassingen zijn niet nodig. -Een hercompilatie van de basis interface - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt -Inheritance van meerdere TECH.Interface interfaces resulteert nog niet in een mockklasse met overeenkomstige inheritance-structuur. +Een hercompilatie van de basis interface - met een correct werkende studiohook ( v2.20 ++ ) - zorgt ervoor dat deze klasse aangepast wordt 1 APPS.Halux.common.Batch,Tools.Mock.MockClassBase right @@ -45,6 +44,12 @@ ]]> + +%Boolean + + + APPS.Halux.common.enu.ProductieLijn - - - - Index: vhUnitTest/APPS/Halux/Planning/TestBatchService.cls.xml =================================================================== diff -u -r56524 -r56700 --- vhUnitTest/APPS/Halux/Planning/TestBatchService.cls.xml (.../TestBatchService.cls.xml) (revision 56524) +++ vhUnitTest/APPS/Halux/Planning/TestBatchService.cls.xml (.../TestBatchService.cls.xml) (revision 56700) @@ -430,7 +430,7 @@ #dim Batch As APPS.Halux.common.Batch = BatchService.MaakNieuweLegeBatch(13,##class(APPS.Halux.common.enu.Categorie).Tandembox()) Do Batch.Save() - Do $$$AssertFalse(Batch.IsWegwerppallet) + Do $$$AssertFalse(Batch.GeefIsWegwerpPallet()) Do Batch.Delete() ]]> @@ -460,7 +460,7 @@ Do Batch.VoegToeToelevering(ToeleveringStub) Do Batch.Save() - Do $$$AssertFalse(Batch.IsWegwerppallet) + Do $$$AssertFalse(Batch.GeefIsWegwerpPallet()) Do Batch.Delete() ]]> @@ -490,7 +490,7 @@ Do Batch.VoegToeToelevering(ToeleveringStub) Do Batch.Save() - Do $$$AssertTrue(Batch.IsWegwerppallet) + Do $$$AssertTrue(Batch.GeefIsWegwerpPallet()) Do Batch.Delete() ]]> Index: APPS/Halux/common/Batch.cls.xml =================================================================== diff -u -r29059 -r56700 --- APPS/Halux/common/Batch.cls.xml (.../Batch.cls.xml) (revision 29059) +++ APPS/Halux/common/Batch.cls.xml (.../Batch.cls.xml) (revision 56700) @@ -161,6 +161,11 @@ 1 + + +1 +%Boolean +