I'm getting an error message from the above code: ...
# suitescript
s
I'm getting an error message from the above code:
Error: JS_EXCEPTION
SSS_MISSING_REQD_ARGUMENT create: Missing a required argument: type
I have the type specified
type: record.Type.ITEM,
so the error message isn't very helpful. Does anybody see the issue? Or do you have a code snippet for a 2.0 suitescript item creation?