Modules
Objects/Functions
SuiteScript 2.0
{Record}.getSublistFields({sublistId: {string*}})
N/record Module
Record.getSublistFields()
Method Description:
Returns all the field names in a sublist.
(standard and dynamic mode — see SuiteScript 2.0 – Standard and Dynamic Modes)
Returns:
string[]
Supported Script Types:
Client and server-side scripts
For more information, see SuiteScript 2.0 Script Types.
Governance:
None
Module:
N/record Module
Sibling Object Members:
Record Object Members
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Record.getSublistFields(options)
Example:
// Code Example 1
// Add additional code.
//...
var field = objRecord.getSublistFields({
sublistId: 'item'
});
//...
// Add additional code.
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4273152943.html