You can't do something like this in SS2, no? ```va...
# suitescript
x
You can't do something like this in SS2, no?
Copy code
var x = record.Type.SALES_ORDER;
var y = record.load({
            type: x
            id: 12345
          });