Index: APPS/Halux/PPS/DocumentGenerator/PickingOnderdelen.cls.xml =================================================================== diff -u -r72928 -r74557 --- APPS/Halux/PPS/DocumentGenerator/PickingOnderdelen.cls.xml (.../PickingOnderdelen.cls.xml) (revision 72928) +++ APPS/Halux/PPS/DocumentGenerator/PickingOnderdelen.cls.xml (.../PickingOnderdelen.cls.xml) (revision 74557) @@ -104,8 +104,11 @@ #dim FileException As TECH.Exceptions.FileException #dim GeneralErrorException As TECH.Exceptions.FileException #dim Omschrijving As %String + #dim MesFaseActief As %Integer = ##class(TECH.Config.ConfigMgr).Instance().GeefString("APPS.Halux.PPS.Document.impl.BatchNaarObjective_MESFase") + #dim MagDocumentVoorLBX As %Boolean = (..Batch.GeefCategorie() = ##class(APPS.Halux.common.enu.Categorie).Legrabox()) && (MesFaseActief < 2) + #dim MagDocumentVoorTAX As %Boolean = (..Batch.GeefCategorie() = ##class(APPS.Halux.common.enu.Categorie).TAORbox()) - If (##class(TECH.StringUtils).Equals(..Batch.GeefCategorie(), ##class(APPS.Halux.common.enu.Categorie).Legrabox(), ##class(APPS.Halux.common.enu.Categorie).TAORbox())) { + If (MagDocumentVoorLBX || MagDocumentVoorTAX) { While ToeleveringenIterator.HasNext() { #dim Toelevering As DOM.AKP.Toelevering = ToeleveringenIterator.Next()