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.
New to NetSuite | N/currentRecord: Sublist.getColumn(options) Method
In our previous article, New to NetSuite | N/currentRecord Module Overview, we discussed the purpose and usage of the N/currentRecord module.
Continuing our deep dive into the N/currentRecord module, this article introduces the getColumn() method — a useful tool when working with sublists in client scripts.
What is getColumn()?
The getColumn(options) method is used to retrieve a column from a sublist on the current record. This allows your script to interact with metadata about a specific field within a sublist line — such as the field’s ID, type, or label.
Returns
- Type: currentRecord.Column or null
The method returns a Column object if the specified field exists on the sublist. Otherwise, it returns null.
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see
0
