Column.id
Property Description |
Returns the internal ID of the column. Note that the Column.id value is the same as the value that is passed into fieldID. |
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 objColumn = objSublist.getColumn({
fieldId: 'item'
});
log.debug ({
title: 'ID comparison',
details: 'Note that objColumn.id = '+ objColumn.id + ' is the same as the value you passed in as fieldID.'
});
...
// Add additional code