Index: APPS/Halux/common/impl/BatchImpl.cls.xml =================================================================== diff -u -r52358 -r56499 --- APPS/Halux/common/impl/BatchImpl.cls.xml (.../BatchImpl.cls.xml) (revision 52358) +++ APPS/Halux/common/impl/BatchImpl.cls.xml (.../BatchImpl.cls.xml) (revision 56499) @@ -105,6 +105,14 @@ APPS.Halux.Planning.enu.ToeleveringSorteerType + +%Boolean +1 +1 + Set {*}=##class(APPS.Halux.common.impl.BatchImpl).%OpenId({ID}).IsWegwerppallet() +1 + + Lijn:APPS.Halux.common.enu.ProductieLijn="" 1 @@ -623,6 +631,26 @@ ]]> + +%Boolean + Klanten die wegwerppalletten willen worden apart in batches gestoken + If (ToeleveringIterator.HasNext()) { + #dim Toelevering As DOM.AKP.Toelevering = ToeleveringIterator.Next() + #dim Klant As DOM.VKP.Klant = ##class(DOM.DomeinContext).Instance().GeefVerkoopAPI().GeefKlant(Toelevering.GeefKlantID()) + #dim KlantOrderInstellingen As DOM.VKP.KlantOrderInstellingen = Klant.GeefKlantOrderInstellingen() + If (KlantOrderInstellingen.MoetOpWegwerppallet()) { + Set IsWegwerppallet = $$$True + } + } + + Quit IsWegwerppallet +]]> + + Status:APPS.Halux.common.enu.BatchStatus ToeleveringSorteerType + +IsWegwerppallet + ToeleveringenIndex