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.
How to get list of all fields
I am using Netsuite web services.
I am trying to get the detail of a particualr customer based on the internalId.
After getting the response record I use to typecast it into Customer object.
Now I want a generic code where I can get the list of all those customer fields that are accessible to this user.
A method very similar to getCustomFields. Is there any method that can give the list of all the fields ?(because fields can vary depending on users role/permission)
Once I get the list of all fields, I can get the label and value for that field and can display it on the UI with the generic code.
0