Record
Type |
Interface input object |
Description |
Represents the current transaction record object passed to a Custom GL Lines plug-in implementation. Use the SuiteScript API functions available to the Record object to access field values on the transaction.
Note:
You can only use functions to read values from the transaction record. You cannot write data to the transaction record. |
Methods |
See the following table for details on the available methods and the help topic nlobjRecord in SuiteScript 1.0 Documentation. |
Parent Object(s) |
n/a |
Child Object(s) |
n/a |
Record Methods
Function |
Description |
---|---|
|
Returns a normal keyed array of all the fields on a record. |
|
Returns an array of all the field names of a sublist on the record. |
|
Returns the UI display value for a select field. |
|
Returns the UI display values for a multi-select field. |
|
Returns the value (internal ID) of a field. |
|
Returns the value (field ID) or values (array of field IDs) of a multi-select field. |
|
Use this method to get the internal ID of a record when editing an existing transaction. |
|
Returns the number of lines on a sublist. |
|
Returns the display name of a select field (based on its current selection) in a sublist. |
|
Returns the value of a sublist line item field. |
|
Returns the values of a multiselect sublist field on a selected line. |
|
Returns the record type. For example, returns |
|
Returns a nlobjSubrecord object. Use this API to view a subrecord from a sublist field on the parent record. |
|
Returns a nlobjSubrecord object. Use this API to view a subrecord from a body field on the parent record. NetSuite returns CANNOT_EDIT_SUBRECORD if you attempt to edit the subrecord returned by this function. |