Sublist.type
Property Description |
Returns the sublist type. For more information about sublist types, see serverWidget.SublistType.
Important:
Sublist.type will return a lower case string representing the sublist type. For example, |
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'
});
if(objSublist.type === 'inlineeditor'){
//Perform an action
}
...
// Add additional code