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
{
"lastName": "NO_LASTNAME",
"firstName": "NO_FIRSTNAME",
"entityStatus": {
"internalId": ""
},
"externalId": "mbe24",
"entityId": "mbe24",
"currency": {
"internalId": "1"
},
"subsidiary": {
"internalId": "1",
"type": {
"value": "subsidiary"
}
},
"isPerson": true
}