ChangeShipToID Before/After event

Hello!

Using the tracelog, I identified a method I need to hook into to run some validation on. I need to run a check against a ship to num on the customer on the order entry screen.

Even just throwing a simple message box, the before and adapter methods on case “ChangeShipToID” are not firing.

Does anyone know why? This is in the order entry program.

I created a Method Directives BPM and it seems to be firing.

Method Code is:
Erp.SalesOrder.ChangeShipToID

Are you using BPM or you are doing custom code?

Thanks for the response, I am using Custom C# UI code.

If you are using Script Editor you may have to listen to the event on the Text box rather than ChangeShipToID event.