Greetings, I'm working on an integration where I'd like to in a SuiteScript User Event Script access the externalId value submitted via SuiteTalk (web service) call before the record is committed/saved. For example (and I'm working with submitting a SalesOrder via SuiteTalk), the SOAP request might have lines like:
<entity type="customer" externalId="1375" internalId="15" />
<job externalId="SomeCustomValue" />
So in SuiteScript, how can I retrieve the value "1375" or "SomeCustomValue"?
In the big picture, I'll then use these values to kick off other custom processes and/or manipulate data before saving the SalesOrder.
Big thanks in advance for your assistance!
Steve Egelman