I have two custom entities; TRANSPORT ITEM and LOAD.
I want to be able to select a number of TRANSPORT ITEMS from a view and add them to a new LOAD.
I have the TRANSPORT ITEM entity added in a subgrid of the LOAD form. Currently I can create a LOAD and then within the LOAD form, I can 'Add Existing Transport Items' which is fine, but I want to be able to do all of this as above.
I have been able to create an on-demand workflow, that when run against a TRANSPORT ITEM will create a new LOAD Item using the Transport Items values, but I can't get it to add the actual Transport Item as an existing Transport Item
Any help on how to do this within a workflow or jscript would be appreciated