Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Unable to Set creditlimit to 0 via REST API (Works in UI)
I’m facing an issue when trying to set the creditlimit field for a customer via the NetSuite REST API. When I attempt to set it to 0.0, I receive the following error:
"Error while accessing a resource. Value 0.0 outside of valid min/max range for field creditlimit."
However, I can set creditlimit to 0 without any issues using the NetSuite UI. This makes me wonder if the API has stricter validation rules compared to the UI.
A few questions:
- Why does the REST API prevent setting
creditlimitto0.0, while the UI allows it? - Is there a known workaround? (e.g., SuiteScript RESTlets, SuiteTalk SOAP API, or another method)
Tagged:
0