Index: APPS/Halux/PPS/Document/ProductieDetailDocument/impl/TAX/DetailBladGroepenBepaler.cls.xml =================================================================== diff -u -r69963 -r71411 --- APPS/Halux/PPS/Document/ProductieDetailDocument/impl/TAX/DetailBladGroepenBepaler.cls.xml (.../DetailBladGroepenBepaler.cls.xml) (revision 69963) +++ APPS/Halux/PPS/Document/ProductieDetailDocument/impl/TAX/DetailBladGroepenBepaler.cls.xml (.../DetailBladGroepenBepaler.cls.xml) (revision 71411) @@ -76,6 +76,14 @@ ElseIf (Rol = ..Enum.Rol.ZijkantBestukkingVooraan) { Set GroepNaam = ..Groepen.NietVermelden } ElseIf (Rol = ..Enum.Rol.ZijkantBevestigingVeer) { Set GroepNaam = ..Groepen.NietVermelden } ElseIf (Rol = ..Enum.Rol.ZijkantPlaat) { Set GroepNaam = ..Groepen.NietVermelden } + + //Het kan zijn dat de rolnaam van de matten evt nog wordt aangepast in .NET in de toekomst, dit maakt het nu futureproof + ElseIf ##class(TECH.StringUtils).StartsWith(Rol,##class(DOM.PM.enu.Variant).LogicalToDisplay(##class(DOM.PM.enu.Variant).MatStandaard())) { Set GroepNaam = ..Groepen.Eindmontage } + ElseIf ##class(TECH.StringUtils).StartsWith(Rol,##class(DOM.PM.enu.Variant).MatStandaard()_ "_" _##class(DOM.PM.Maatwerk.Calc.Common.enu.GekoppeldIKType).MatX()) { Set GroepNaam = ..Groepen.Eindmontage } + ElseIf ##class(TECH.StringUtils).StartsWith(Rol,(##class(DOM.PM.enu.Variant).LogicalToDisplay(##class(DOM.PM.enu.Variant).MatStandaard()_##class(DOM.PM.Maatwerk.Calc.Common.enu.GekoppeldIKType).MatX()))) { Set GroepNaam = ..Groepen.Eindmontage } + ElseIf Rol [ "Wikkel" { Set GroepNaam = ..Groepen.Verpakking } + ElseIf Rol [ "Probox " { Set GroepNaam = ..Groepen.Verpakking } + ElseIf Rol [ "V1 " { Set GroepNaam = ..Groepen.Verpakking } Else { Set GroepNaam = ..Groepen.NotCategorized }