0

I am trying to post a purchase order receipt through the Businees Logic API.  When I call purch__post_onrun-onRun from power automate, I get this error

{
“status”: 400,
“message”: “ErrorCode: Application_DialogException Please enter \”Yes\” in Receive and/or Invoice and/or Ship. CorrelationId: 650030b9-fba0-4a6a-9427-3f3cae3fdeb7.\r\nclientRequestId: 85adb969-61d1-45c7-89a5-d9d9423a4188″,
“error”: {
“message”: “ErrorCode: Application_DialogException Please enter \”Yes\” in Receive and/or Invoice and/or Ship. CorrelationId: 650030b9-fba0-4a6a-9427-3f3cae3fdeb7.”
},
“source”: “api.businesscentral.dynamics.com”,
“errors”: []
}

In the application interface, when posting a purchase order, you prompted to choose: Receive, Invoice or Receive and invoice. How do I bypass this dialog or pass a parameter to it through the API?

hougaard Answered question September 18, 2024