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!
Help - Contact won't update!!
Hi there,
I need help.
I am trying tio update a Contact via web services, I believe my syntax is correct but I keep getting the message
You do not have permissions to set a value for element datecreated 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.
//Load Contact. Contact contact = ((Contact)response.recordList[0]); CustomFieldRef[] customFieldRef = new CustomFieldRef[1]; BooleanCustomFieldRef booleanCustomFieldRef = new BooleanCustomFieldRef(); booleanCustomFieldRef.internalId = "custentity_email_bounced"; booleanCustomFieldRef.value = true; contact.customFieldList.SetValue(booleanCustomFieldRef,0); WriteResponse writeResponse = service.update(contact);
0