``` var rec = record.load({ ...
# suitescript
s
Copy code
var rec = record.load({
                type: 'ESTIMATE',
                id: '7106190'
            });
I’m getting a strange error from this line of code. I have this estimate loaded in the browser and see the id in the URL. However I get an error like this:
"message":"org.mozilla.javascript.EcmaError: TypeError: Cannot call method \"getMethod\" of undefined