They should match; you should be able to, for exam...
# suitescript
e
They should match; you should be able to, for example:
Copy code
var myRec = record.load(...);

if (myRec.type === record.Type.SALES_ORDER) {