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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Scriptable Cart Permission Error
Hi All,
When a customer changes their shipping address, on fieldChanged() I would like to get their new zip/postal code and change the shipping method based on the postcode area. But whenever I try to get the value, it gives a permissions error:
var customerId = nlapiGetFieldValue('entity'); var customer = nlapiLoadRecord('customer', customerId);Error: Permission Violation: You need the 'Lists -> Customers' permission to access this page. Please contact your account administrator.
I've tried to work around this by adding a Transaction Body field to the form that sources the zip code from the customer. This works initially, but as the custom field has already been sourced, it does not alter if the customer decides to edit their zip code or changes shipping address.
0