Index: APPS/PM/ProductService.cls.xml =================================================================== diff -u -r2147 -r3484 --- APPS/PM/ProductService.cls.xml (.../ProductService.cls.xml) (revision 2147) +++ APPS/PM/ProductService.cls.xml (.../ProductService.cls.xml) (revision 3484) @@ -292,8 +292,8 @@ Set PRNr = PRNrIterator.Next() Set Herkend = 0 If ((PRNr?1.N)){ - Set TempProduct = ProductAPI.GeefProduct(PRNr) - If ($IsObject(TempProduct)){ + If (ProductAPI.BestaatProduct(PRNr)){ + Set TempProduct = ProductAPI.GeefProduct(PRNr) Set Criteria=##class(APPS.PM.dto.ZoekCriteria).%New() Set Criteria.SoortProductID=##class(APPS.PM.enu.SoortProductID).Identnummer() Set Criteria.ProductID = TempProduct.GeefIdentNr()