I created a script in Sales Order entry to fire once the ship to code is selected. The script is firing once the customer is selected instead of when the ship to cod is selected. Does anyone have any ideas as to why the script is firing when I select the customer?
Sage 100 Advanced 2017 5.40.1.0
Script is created on Sales Order Header
Event = Column post validate
Field = ShipToCode
For testing I used the following script
retVal=oSession.AsObject(oSession.UI).MessageBox("HI")
The AR customer doesn’t have the Primary Ship To code assigned.
Any Ideas as to why it's doing this?
Thank you