Hi Guys,
I have a plugin in 7.175 that is similar to the move lines plugin, except that is does a number of other things as part of its processing. This plugin has been working fine and attaches to the creation of a sales order in the sales order form and brings a selection of lines across.
The problem now comes in bringing over lines where serial numbers are involved as immediately the serial dialog selection is shown when AddInventoryItem is called on the lines collection.
How can I suppress the form event from firing and stop showing the dialog, as the only idea I have at present to try is getting in at the Setup Before Handler and try using a flag to say certain code is being called and using a ClientCancelledException if this can be made to work?
I also am bringing the serials selected in the previous order over as well.
By the way this is all happening in memory so the user can still cancel everything by cancelling the new order so the way move lines works is completely different.
Thanks for any help.