Getting All Fields From NetSuite Entities


As I have mentioned in my earlier post, NetSuite Debugger is a great tool to find the undocumented details about the entities . Another way to find the list of fields related to an entity is through these functions.

getAllFields()

Returns a normal keyed array of all the fields on a record. Note that the number of fields returned will differ when you call getAllFields() on the edit of a record vs. on the xedit of a record.

getAllLineItemFields(group)

Returns an array of all the field names of a sublist on this record.

Advertisements

I am a web developer working @ Gaditek

Tagged with: , ,
Posted in Netsuite, Programming & Development

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

About me
A geek trying to make world a better place to live.

I mostly work on Web Technologies like PHP, Javascript. I also work on Python, GAE and Netsuite Customization. Currently working @ Cloudways

Profile Links Linkedin | Github | Stackoverflow
Subscribe to this blog
%d bloggers like this: