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() Index: DOM/PM/ProductAPI.cls.xml =================================================================== diff -u -r2620 -r3484 --- DOM/PM/ProductAPI.cls.xml (.../ProductAPI.cls.xml) (revision 2620) +++ DOM/PM/ProductAPI.cls.xml (.../ProductAPI.cls.xml) (revision 3484) @@ -11,6 +11,12 @@ DOM.PM.Product + +1 +Nr:%Integer +%Boolean + + 1 TECH.Iterator Index: DOM/PM/impl/DataM/DataMProductAPI.cls.xml =================================================================== diff -u -r2851 -r3484 --- DOM/PM/impl/DataM/DataMProductAPI.cls.xml (.../DataMProductAPI.cls.xml) (revision 2851) +++ DOM/PM/impl/DataM/DataMProductAPI.cls.xml (.../DataMProductAPI.cls.xml) (revision 3484) @@ -10,6 +10,11 @@ ProductNummer:%Integer DOM.PM.Product + +ProductNummer:%Integer +%Boolean + + + TECH.Iterator