Index: CHUI/PPS/TBX/LeanBatch.cls.xml =================================================================== diff -u -r63487 -r64717 --- CHUI/PPS/TBX/LeanBatch.cls.xml (.../LeanBatch.cls.xml) (revision 63487) +++ CHUI/PPS/TBX/LeanBatch.cls.xml (.../LeanBatch.cls.xml) (revision 64717) @@ -523,6 +523,20 @@ ]]> + +PrintLijst:%List +1 +1 +%String + + + PrintLijst:%List 1 @@ -558,8 +572,10 @@ Set Opties="L;F;O;M;R;I;G;B"_ $Select(..ChkCommissie():";C",1:"") If TePrintenInVoorbereiding '= "" Set Opties=Opties_";"_TePrintenInVoorbereiding - If $$$Not(BatchType=##class(APPS.Halux.common.enu.ProductieGroep).Probox()) { - Set Opties = Opties _$Select(..BevatSFS():";P",1:"") + If BatchType=##class(APPS.Halux.common.enu.ProductieGroep).Probox() { + Set Opties = Opties_$Select(..ProboxOverdoosEtiketStatus(PrintLijst)=##class(BL.PPS.TBX.enu.PrintStatus).Printen():";Y",1:"") + } Else { + Set Opties = Opties _$Select(..BevatSFS():";P",1:"") } } For i=1:1:$Length(Opties,";") {