Index: APPS/Halux/PPS/impl/AansturingActieVoorActiviteit.cls.xml =================================================================== diff -u -r66220 -r66226 --- APPS/Halux/PPS/impl/AansturingActieVoorActiviteit.cls.xml (.../AansturingActieVoorActiviteit.cls.xml) (revision 66220) +++ APPS/Halux/PPS/impl/AansturingActieVoorActiviteit.cls.xml (.../AansturingActieVoorActiviteit.cls.xml) (revision 66226) @@ -245,8 +245,9 @@ #dim IsCategorieMerivobox As %Boolean = (Categorie = ##class(APPS.Halux.common.enu.Categorie).Merivobox()) #dim IsProductiedetailblad As %Boolean = (..Omschrijving = "Productiedetailblad") #dim IsZaagetiket As %Boolean = (..Omschrijving = "Zaagetiketten") - #dim IsAfTeDrukkenProductiedetailblad As %Boolean - #dim IsAfTeDrukkenZaagetiket As %Boolean = $$$True + #dim IsAfTeDrukkenProductiedetailblad As %Boolean = $$$False + #dim IsAfTeDrukkenZaagetiket As %Boolean = $$$False + #dim AndereActieDanDetailBladOfZaagetiket As %Boolean = $$$Not(IsZaagetiket || IsProductiedetailblad) If (IsProductiedetailblad) { If ((Lijn = ##class(APPS.Halux.common.enu.ProductieLijn).Twee()) || (Lijn = ##class(APPS.Halux.common.enu.ProductieLijn).Drie())) { @@ -258,11 +259,11 @@ } } - If (IsZaagetiket && IsCategorieMerivobox) { - Set IsAfTeDrukkenZaagetiket = $$$False + If (IsZaagetiket && $$$Not(IsCategorieMerivobox)) { + Set IsAfTeDrukkenZaagetiket = $$$True } - Quit (IsProdGroepSpecialOfSpecialPM || IsProdGroepSST || IsCategorieTAORbox || ($$$Not(IsProductiedetailblad) && $$$Not(IsZaagetiket)) || IsAfTeDrukkenProductiedetailblad || IsAfTeDrukkenZaagetiket) + Quit (IsProdGroepSpecialOfSpecialPM || IsProdGroepSST || IsCategorieTAORbox || IsAfTeDrukkenProductiedetailblad || IsAfTeDrukkenZaagetiket || AndereActieDanDetailBladOfZaagetiket) ]]>