Symptom
You have a price list where products are assigned that don't exist in C4C. For the products that don't exist in C4C, the price list item OData filtering doesn't work. For example:
- If you perform a GET call for a product that doesn't exist in C4C, then it returns an empty result.
- If you perform the same GET call for product that exists in C4C, it returns the response payload for the product.
Environment
SAP Cloud for Customer
Reproducing the Issue
- GET call https://myXXX.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/InternalPriceDiscountListItemsCollection?$filter=PriceDiscountListID eq 'YYY' and ProductID eq 'ZZZ' (where XXX is the system URL, YYY is the list ID, and ZZZ is the product ID)
- GET call https://myXXX.crm.ondemand.com/sap/c4c/odata/v1/c4codataapi/InternalPriceDiscountListItemsCollection?$filter=PriceDiscountListID eq 'YYY' and ProductID eq 'ZZZ'
Resolution
There is no response for the products which don’t exist in the system. It is expected system behavior.
Keywords
Price list filtering doesn't work, price list integration, price list, products assigned, internal products, external products, description blank, no response payload, OData, PriceDiscountListItemsCollection, , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem
Product
SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions