Hello everyone, I m facing this issue while trying...
# general
m
Hello everyone, I m facing this issue while trying to create a customer record in NetSuite. [ERROR][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. The same thing works if we enable the Allow Override in auto numbering settings. I m not sure whats the reason behind this. Payload to create the customer
Copy code
{
  "lastName": "NO_LASTNAME",
  "firstName": "NO_FIRSTNAME",
  "entityStatus": {
    "internalId": ""
  },
  "externalId": "mbe24",
  "entityId": "mbe24",
  "currency": {
    "internalId": "1"
  },
  "subsidiary": {
    "internalId": "1",
    "type": {
      "value": "subsidiary"
    }
  },
  "isPerson": true
}
1
s
Do you have automatic numbering turned on? That tells NS that it controls entityid
m
actually the issue is because of the connector settings i m using. I have marked IgnoreReadOnlyFields as true. Then it worked fien