I have a VFE form that uses a listbox that is set to a Dynamic Choice List (I call a comma separated list from the MEL translation/function area) and this works as expected.
What I am wondering is if it is possible to include a Orders Custom List (which includes several orders) so that the Listbox is populated with a Custom List, just as it would in the Orders module. When a user selects a listbox item that is a custom list, all orders in the list are selected as well.
Can this be done?
ORDERS_CUST_LIST(listname) returns a list of orders for a specified custom list. You can write some code to convert the return value of this function to a comma delimited list that populates your dynamic listbox. Then you can write some more code that uses MEL_ADD_ORDER() to push the orders when that custom list is selected.