Symptom
It's possible to create quote items via Odata service with material numbers that are not existing in system - they are created as blank entries - but manually the system doesn't except a number that is not existing. Once you POST using related objects that do not exist system system will not throw an error or block the action.
Environment
SAP Cloud for Customer
Reproducing the Issue
- It can be checked when a Sales Quote is created via Odata that has an invalid product associated with it.
Cause
The reason why sales quote item with invalid product ID can be created via the Odata service, is to avoid data lost contained in the provided payload. A sales quote item created with invalid product ID is inconsistent and can then be corrected from the sales quote UI or via the Odata service.
Resolution
This is an expected system behavior. If there is no data, there will not be any message from Odata Services, it will only be blank data. You can raise an influence request for this warning message to be implemented via Influence Portal.
Keywords
Blank; entries; created; object; exist; reference; block; error; accepts. , KBA , LOD-CRM-INT-API , OData API (C4C Only) , Problem