Hello everyone,
I have created an API for requesting approval for a particular purchase order through third party application. Now the thing is that, whenever I am testing the API, I am getting the following error:
I debugged the code, the error is coming from /Approval Mgmt./ codeunit. Whenever current user is not setup on approval user setup window, this error is raised. However, I have already setup the user. Maybe the user id is not being accessed through Postman as I am not passing it in my procedure.
There is no integration event for this. How can I modify this and pass user id?
Kindly help.