This error occurs when attempting to create or update a record in Oracle NetSuite, and the NetSuite environment is configured to use legacy tax. The NetSuite REST API, only supports SuiteTax.
Error while accessing a resource. Please enter value(s) for: Tax Schedule.
Resolutions
There are three SmartConnect supported solutions for this error.
1. Enable SuiteTax
If possible, enable SuiteTax to use the NetSuite REST destination type.
- Log into NetSuite
- Setup > Company > Enable Features > Tax
- Check SuiteTax
- Try your integration again
2. Use the NetSuite SOAP API
If switching to SuiteTax is not an option, you can instead use the destination NetSuite. Which uses the SuiteTalk SOAP API instead of REST.
The NetSuite section of the SmartConnect documentation shows how to use a NetSuite SOAP destination.
3. Custom SuiteScript
If the above options aren’t possible, a custom field with a linked SuiteScript can be used to set the Tax Schedule.
- Create a custom field on the target Record Type to store the Tax Schedule value
- Add a SuiteScript on record create to copy the value from the custom field to the native Tax Schedule field
- Update the SmartConnect integration to send the Tax Schedule Id into the custom field