Announcements
When posting to /salesOrders with payload {"customerNumber": "1010117"}, I get an error:
Internal_InvalidTableRelation","message":"The field Sell-to Customer No. of table Sales Order Entity Buffer contains a value (1010117) that cannot be found in the related table (Customer)
But I can fetch the customer with:
/customers?$filter=number eq '1010117'
Similar error occurs when attempting to create the Order with customerId. However, a sales order can be manually created for the customer via the UI.
What could be the reasons for this error?
Hello,
If this is something you can reproduce in standard as well, feel free to raise it to Microsoft support via your partner or CSP. (or if the environment is customized but in this area not customized, we can also take a look of course).
Thanks.
Yes I'm sure, I triple checked. Also the same thing works for me in a sandbox environment with a different customerId
are you 100% sure it is the same company ID being used? I have tested and do not get an error with the same payload
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156