Hi There
Have a situation wherein we need to show the UoM Quantity need to appear in the Serial Selection pop up of the sales order.
If I add a serialized item in the sales order, a Serial Selection pop up appears, and this has the Stock Keeping Unit mentioned as quantity in it. Instead what we need is a preferred UoM entry to be mentioned as quantity in this pop up, say, Bag Quantity. This appears correctly once after the line item is added and then we manually choose the required UoM from the dropdown and then add quantity. But its an unwanted step of cancelling the initial pop up and then choosing the required UoM all the time, for every line item we add.
What I've tried so far is as below
1, Have a plugin which sets the default UoM on AddInventoryItemEnd event, this works fine but it still brings up the serial popup with wring UoM Quantity
2, I tried to close the serial popup with this event DialogFactory.AfterDialogStart , it worked fine, but it didnt trigger the event mentioned under 1, and also the UoM's werent loaded for that line item
Am kind of stuck here, can you pls advise on how to solve this issue. Have attached the plugin for your reference