I feel like this has devolved into people just tel...
# suitescript
d
I feel like this has devolved into people just telling to switch to 2.0 instead of address the question I asked. That's all good and well but the question hasn't been addressed at all.
s
You cannot retrieve the transaction subtype purely from the transaction id
s
Well, you could try a search or lookup to get the type:  
var transType = nlapiLookupField('transaction', transid, ['type']).type;
Also, I don't really hate 1.0 code, I just worry about its long term support.
d
@scottvonduhn understood. Thank you for the reply btw. This is really helpful.
@scottvonduhn considering my company is moving away from NS, this isn't much of a problem for us.
😂 1