@jarens To be honest with you I don't even know how that code is working because normally Transaction Status are more like:
Sales Order:Pending Billing SalesOrd:F
Sales Order:Billed SalesOrd:G
👍 1
j
jarens
05/31/2018, 1:35 PM
It's a UserEvent script on a Sales Order record, so the script already knows the transactions type. It only needs what after the ":". I'm not loading a search function which I know takes things like "SalesOrd:B" as filters.
a
alien4u
05/31/2018, 1:39 PM
What I mean is normally when you do getValue on status you get
G
or
SalesOrd:G
I don't know how are you getting something different...
j
jarens
05/31/2018, 1:43 PM
I thought the same thing. But using the NetSuite Field Explorer Tool show's a "Billed" status and same when I logged the variable out to the execution log.