@ BigLouie - Yes, message box is showing the message but i'm trying to show a script error that will prevent the user from continuing. @Kent Mackall - I'm running the script in TTT. We want the message to trigger when a change is made on the Unit Cost on Sales order line item. Regardless of the item valuation, we are trying to prevent a sale when the cost is more than the unit price. @W Jezewski - I tried oScript.SetError on Pre-Validate event but that didn't work too.
↧