I am creating a sales order using SOAP and trying ...
# suitetalkapi
b
I am creating a sales order using SOAP and trying to specify a value for
tranId
. Sales orders are set up to allow override. The calls fail with this error:
Copy code
NETSUITE_ERROR: Status was not successful with code INSUFFICIENT_PERMISSION and message "You do not have permissions to set a value for element generatetranidonsave 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."
I'm pretty sure it's possible to set the value but am I missing something? Is there an additional permission related to that?
n
I'm pretty sure that's a system level field that indicates how the tranid is created. If that's not the case can you point me to the documentation that references "generatetranidonsave". I cannot see it in the records browser/ schema/catalog to confirm.
b
I'm on the same page of that being a system field. That's the message returned when I set the
tranId
field. My best guess is NetSuite sees I'm specifying a value for the id which means NetSuite should not automatically generate one. And somehow that results in an error.