Deluge Code to Create A Purchase Order from Sales Order via Button
Hello community,
I need a Deluge code to create a Purchase Order from Sales Order.
I want to use a Button for this, so when we hit the button, the PO is created and fields are mapped and the PO is linked to the Sales Order and the Deal.
I would be extremely grateful if you can also tell me how to change the code to add more fields mapping, so I can map our custom fields.
Thank you so much for your time and support!
Ivan