Yes, that was a typo on my end. So what I have is a User Event performing all this on BeforeSubmit. So that part is good. But how do i detect a non-ui change to the field?
So let me clarify what I am trying to do. Right now I have a field called 'order status' on the Sales Oder and on BeforeSubmit user event, i look up the old record value vs the new record value, then if I can detect a change and fire off an email. This works when changing the field in the UI.
But now if that same field has changed via another script using nlapisubmitfield() on SS1.0, then it is NOT the same as BeforeSubmit on a User event on the sales order, hence it wont trigger the code to send an email.
So is there away for nlapisubmitfield to actually trigger a User event Before submit?