Hi All,
We are working on Netsuite webservices using Java/J2EE technology. We are trying with the code provided in "SuiteTalk Platform Guide".
When we are trying to add a new customer, we are getting the following error.
[Error]: The customer was not added:
[Error]: [Code=INSUFFICIENT_PERMISSION] You do not have permissions to set a value for element entityid 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.
Basically we are providing the following parameters :
customer.setEntityId("XYZ Inc");
customer.setCompanyName("XYZ, Inc.");
customer.setEmail("xyz@yahoo.com");
customer.setEmailPreference(EmailPreference._hTML);
RecordRef status = new RecordRef();
status.setInternalId("13");
customer.setEntityStatus(status);
Is there any wrong parameters we are sending?
Do we need to change any preferences on Netsuite with respect to webservices?
Thanks in advance.