Field.sublistId
Property Description |
Returns the sublist ID for the specified sublist field. This property is available only when working with a record in dynamic mode. For more information about record modes, see SuiteScript 2.x Standard and Dynamic Modes. |
Type |
string (read-only) |
Module |
|
Sibling Object Members |
|
Since |
2015.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/record Module Script Samples.
// Add additional code
...
var objRecord = record.load({
type: record.Type.SALES_ORDER,
id: 275
});
var objSublist = objRecord.getSublist({
sublistId: 'item'
});
var objField = objSublist.getField({
fieldId: 'item'
});
//Perform an action with the objField.sublistId
...
// Add additional code