Discussions
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. Join us
Error when calling setParent method on Customer
My understanding from reading the documentation is that you cannot set or change the parent of a Customer record once it has been added. However, even when attempting to add a new customer and setting the parent to an existing Customer record, I get the following error:
You do not have permissions to set a value for element parent 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.
Here is a sample of an attempt to set the parent and then add the record. This is ColdFusion cfscript which can create and make use of java objects, so you'll find the syntax to be somewhat...well, interesting.