Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
nlapiCopyRecord problem
I am trying to use a form I've built to copy an entity record, change a few fields, and submit the new record, but I get an INSUFFICIENT_PERMISSION error on submit.
The details say:
You do not have permissions to set a value for element contactoroles.contactname due to one of the following reasons: 1) the field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.
This only happens on entities with contacts (as opposed to those without any)
I believe this is the result of nlapiSubmitRecord trying to enter lines on the 'access' sublist, which is supposed to be populated internally from the 'contacts' sublist. I'm not entirely sure of this, however.