I am working on a custom order form and I am looking for a way that I can add orders to a list, then have the option to sign the orders in that list or remove them one by one. Has anyone done this? I have my Mel_Add_Order which then populates ORDERS_NEW list but I dont know how to remove the order selected in the orders new list or sign all of those orders in that list. Any help is appreciated.
I don't think you can remove Orders. I know they finally added functionality to remove Problems. And as far as signing, all you can do is pop up a dialog box with all the unsigned orders with the MEL_SIGN_ORDERS.
You would have to create an array of your orders and have them add/remove them before using your MEL_ADD_ORDER function to push them to the Orders module. Say, a button for "Finalize Orders" that would loop through your array and add each order. Then open the module with MEL_SIGN_ORDERS so they can sign them.