Index: APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/Converter/DomRollenNaarObjective.cls.xml =================================================================== diff -u -r73838 -r74202 --- APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/Converter/DomRollenNaarObjective.cls.xml (.../DomRollenNaarObjective.cls.xml) (revision 73838) +++ APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/Converter/DomRollenNaarObjective.cls.xml (.../DomRollenNaarObjective.cls.xml) (revision 74202) @@ -142,10 +142,12 @@ } } ElseIf (##class(TECH.StringUtils).StartsWith(Waarde, "verpakking.")) { Set GeconverteerdeWaarde = ##class(TECH.StringUtils).GetLastPart(Waarde, ".") - } ElseIf (##class(TECH.StringUtils).StartsWith(Waarde, "mat_standaard")) { + } ElseIf (HuidigeMesFase >= 2) { + If (##class(TECH.StringUtils).StartsWith(Waarde, "mat_standaard")) { Set GeconverteerdeWaarde = "Mat" - } ElseIf (##class(TECH.StringUtils).StartsWith(Waarde, "matuitstukken")) { - Set GeconverteerdeWaarde = "Mat" + } ElseIf (##class(TECH.StringUtils).StartsWith(Waarde, "matuitstukken")) { + Set GeconverteerdeWaarde = "Mat" + } } If (GeconverteerdeWaarde = "v1lodoos") { Index: APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator.cls.xml =================================================================== diff -u -r74200 -r74202 --- APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator.cls.xml (.../OptieGenerator.cls.xml) (revision 74200) +++ APPS/Halux/PPS/Document/impl/common/BatchNaarObjective/OptieGenerator.cls.xml (.../OptieGenerator.cls.xml) (revision 74202) @@ -77,6 +77,7 @@ #dim HuidigeMesFase As %Integer = ##class(TECH.Config.ConfigMgr).Instance().GeefString("APPS.Halux.PPS.Document.impl.BatchNaarObjective_MESFase") #dim NieuweLiReLogicaLiveVanafFase As %Integer = 2 #dim NieuweTOBLogicaLiveVanafFase As %Integer = 2 + #dim NieuweMattenLogicaLiveVanafFase As %Integer = 2 If (##class(TECH.StringUtils).Equals(RolNaam, "Links", "Rechts") && (HuidigeMesFase >= NieuweLiReLogicaLiveVanafFase)) { Set Halffab = HalffabItem.GeefHalffab() @@ -94,6 +95,15 @@ } } + #dim LowerCaseRol = ##class(TECH.StringUtils).ToLower(RolNaam) + + If (##class(TECH.StringUtils).Equals(RolNaam, "Mat", "MatX", "MatY", "MatZ") && (HuidigeMesFase >= NieuweMattenLogicaLiveVanafFase)) { + If HalffabItem.%Extends(##class(DOM.PM.Maatwerk.Calc.HF.BewerktHalffabItem).%ClassName(1)) { + Set RolNaam = RolNaam_".Processed" + } Else { + Set RolNaam = RolNaam_".Standard" + } + } ElseIf ($IsObject(HalffabItem.ParentItem) && $$$Not(HalffabItem.ParentItem.GeefRol() = IngegevenKenmerken.GeefVariant())) { Set RolNaam = HalffabItem.ParentItem.GeefRol() _ "." _ RolNaam }