I have created a client script to add a custom button to the items list ‘Add To Purchase Order’. I would like the function to add any selected items in the items list to a new purchase order form. Could someone please help me with this script.
It would be challenging to create new purchase orders directly from the Items list because you would have to manage other required purchase order fields from there.
I would suggest you add a button to the Purchase Order Form like some buttons are already there.