Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
SuiteScript failure - first attempt
Hi,
This is my first attempt at using Suite Script. I know I am missing a simple concept.
The error occurs when the script executes the line with "nlapiSubmitRecord"
[INDENT][/INDENT]"Script: beforeSubmit Error: RCRD_UNEDITABLE That record is not editable"
Below is the exact script I have included in the system. Everything was working fine until I added a “SubmitRecord”.
I am simply looking to manipulte some fields in an Invoice record. I thought I have to execute "nlapiSubmitRecord" to write back the record.
1) What makes the record "uneditable" ?
[INDENT][/INDENT]Any help or guidence would be appreciated - Barry
0