Hello,
I'm using the Cronus test business central instance to test my Azure Logic App connector.
I have successfully used the Business Central connectors to create a sales order, retrieve details of that order and get the details of a particular Item which I intend to add to that order.
However, I am struggling to add an Item (Sales Order Line) to a Sales Order. I am getting back Bad Requests from the Business Central API.
ErrorCode: BadRequest The key 'documentId' does not match a key for the resource 'Sales_Order_Line_Entity'.\r\nclientRequestId: c53000c0-61b5-4c5c-a505-2d3fea5226e0"
Can you help me here to design logic apps for sales order using d365fo connector and pasrse via json format whose output should be successful creation of sales order header and lines in d365fo UI
I am facing the same problem and still trying to find the best place to escalate this. I would just like to post here how I do workaround by using the Flow HTTP connector:
Once it ran successfully, it would give you a sales header line Id:
I hope this workaround would be some of help to you. And I also hope strongly that the standard Business Central connector can be used as it is. I am still looking for where can I work on this problem.
Thank you,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156