I'm getting this error when submitting a VendorBil...
# ask-stanley-ai
k
I'm getting this error when submitting a VendorBillPayment
Copy code
{"code": "INSUFFICIENT_PERMISSION", "type": "ERROR", "message": "You do not have permissions to set a value for element tranid 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 TranID on VendorBillPayment is set to "To Be Generated" but Vendor Bill Payment does not appear under the configure AutoGenerated Numbers list - how can I allow this to be overriden?
c
AI generated answer (using internal Slack threads):
The error message you're seeing is due to the fact that the
tranid
field is a system-level field that is typically auto-generated by NetSuite. If you're trying to manually set a value for this field, you may encounter this error if your account is not set up to allow it. In order to manually set the
tranid
field, you need to enable the 'Allow Override' option in the auto-numbering settings. You can do this by navigating to Setup -> Company -> Auto-Generated Numbers. Once there, you should be able to set the 'Allow Override' option to true. This will allow you to manually set the
tranid
field when creating a VendorBillPayment. However, it's important to note that this setting applies to all records that use auto-generated numbers, not just VendorBillPayment records. So, if you enable this setting, you'll be able to manually set the
tranid
field for all records that use auto-generated numbers. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.885605216
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.852180421
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84721607
Please provide your feedback on this answer.