Discussions
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