<@U4DG62U2H> To be honest with you I don't even kn...
# suitescript
a
@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
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
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
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.