Index: AXimpl/Dynamics/ProductItemUpsertIn/Converter/ProductItemConverter.cls.xml =================================================================== diff -u -r47905 -r47918 --- AXimpl/Dynamics/ProductItemUpsertIn/Converter/ProductItemConverter.cls.xml (.../ProductItemConverter.cls.xml) (revision 47905) +++ AXimpl/Dynamics/ProductItemUpsertIn/Converter/ProductItemConverter.cls.xml (.../ProductItemConverter.cls.xml) (revision 47918) @@ -228,8 +228,8 @@ if ..PakketService.BestaatViaPakketnaam(KlantId,Ext.ExternalItemId){ #dim Pakketnummer as %String = ..PakketService.GeefPakketNummerViaPakketnaam(KlantId,Ext.ExternalItemId) - if $$$Not(..PakketService.GeefPakketType(Pakketnummer) = "E"){ - ;exception indien type pakket <> E -> in 2A alleen nog 1 op 1 pakketten, 1-N zijn anders dummy product (shadow/ghost product in AX) + if $$$Not(##class(TECH.StringUtils).Contains(..PakketService.GeefPakketType(Pakketnummer),"E","C")){ + ;exception indien type pakket <> E of C -> in 2A alleen nog 1 op 1 pakketten, 1-N zijn anders dummy product (shadow/ghost product in AX) do ##class(TECH.ExceptionHandler).Throw(##class(TECH.Exceptions.GeneralErrorException).%New("ProductSynchronizatie probeert 1-N pakket met nummer '"_ Pakketnummer _"' te updaten als 1-1")) } Do ##class(TECH.ListUtils).RemoveItemFromList(Pakketnummer,TeVerwijderenPakketLijst)