SAP B1if save draft to document
Hi all, I'm trying to add a Purchase Request that needs to be approved in SAP. When I create the PR, it is created as a draft because approval rules that are in place in SAP.
After I approved the draft via B1if I can not find how to convert this approved draft into a PR using B1if. With DI-API/DI-Service I have used the method savedrafttodocument().
How can I convert an approved draf into the PR ?