Hello Everyone,
There is situation that I have to create PO based on some parameter from Purchase Requisition through code in D365 fo PU 37.
I was not using standard auto PO process from front end because I need to run this process conditionally and update some custom fields as well.
I found code on google to create PO from PR but that code is directly inserting values to PO tables.
My thinking is that there are already code is available to create PO from PR in standard, I want to use the same classes and method.
If anyone can help me with class and method name where I can pass my purchReqID to create PO and later I'll update custom fields.
Thanks for the help in advance.