N/record
Work with NetSuite records.
Oracle reference13 of 62 methods have Mynt syntax 21%
13 implemented0 in progress0 planned0 under consideration49 open for proposals
Module functions
- record.attach(options) Attaches a record to another record. Open for proposals ·
-
record.copy(options)
Creates a new record by copying an existing record in NetSuite.
copy T(id)Implemented · -
record.create(options)
Creates a new record.
create TImplemented · -
record.delete(options)
Deletes a record.
delete rImplemented · - record.detach(options) Detaches a record from another record. Open for proposals ·
-
record.load(options)
Loads an existing record.
load T(id)Implemented · - record.submitFields(options) Updates and submits one or more body fields on an existing record in NetSuite, and returns the internal ID of the parent record. Open for proposals ·
-
record.transform(options)
Transforms a record from one type into another, using data from an existing record.
transform T(id) to UImplemented ·
Field object
Macro object
Record object
- Record.cancelLine(options) Cancels the currently selected line on a sublist. Open for proposals ·
-
Record.commitLine(options)
Commits the currently selected line on a sublist.
inside
line.field = value,add r.sublist { ... }Open for proposals · - Record.executeMacro(options) Performs macro operation and returns its result in a plain JavaScript object. Open for proposals ·
- Record.getMacros() Provides a plain JavaScript object that contains macro objects defined for a record type, indexed by the Macro ID. Open for proposals ·
- Record.findMatrixSublistLineWithValue(options) Returns the line number of the first instance where a specified value is found in a specified column of the matrix. Open for proposals ·
- Record.findSublistLineWithValue(options) Returns the line number for the first occurrence of a field value in a sublist. Open for proposals ·
- Record.getCurrentMatrixSublistValue(options) Gets the value for the currently selected line in the matrix. Open for proposals ·
- Record.getCurrentSublistField(options) Returns a field object from a sublist. Open for proposals ·
- Record.getCurrentSublistIndex(options) Returns the line number of the currently selected line. Open for proposals ·
- Record.getCurrentSublistSubrecord(options) Gets the subrecord for the associated sublist field on the current line. Open for proposals ·
- Record.getCurrentSublistText(options) Returns a text representation of the field value in the currently selected line. Open for proposals ·
- Record.getCurrentSublistValue(options) Returns the value of a sublist field on the currently selected sublist line. Open for proposals ·
- Record.getField(options) Returns a field object from a record. Open for proposals ·
- Record.getFields() Returns the body field names (internal ids) of all the fields in the record, including machine header field and matrix header fields. Open for proposals ·
-
Record.getLineCount(options)
Returns the number of lines in a sublist.
for line in r.sublistImplemented · - Record.getMacro(options) Provides a macro to execute. Open for proposals ·
- Record.getMatrixHeaderCount(options) Returns the number of columns for the specified matrix. Open for proposals ·
- Record.getMatrixHeaderField(options) Gets the field for the specified header in the matrix. Open for proposals ·
- Record.getMatrixHeaderValue(options) Gets the value for the associated header in the matrix. Open for proposals ·
- Record.getMatrixSublistField(options) Gets the field for the specified sublist in the matrix. Open for proposals ·
- Record.getMatrixSublistValue(options) Gets the value for the associated field in the matrix. Open for proposals ·
- Record.getSublist(options) Returns the specified sublist. Open for proposals ·
- Record.getSublists() Returns all the names of all the sublists. Open for proposals ·
- Record.getSublistField(options) Returns a field object from a sublist. Open for proposals ·
- Record.getSublistFields(options) Returns all the field names in a sublist. Open for proposals ·
- Record.getSublistSubrecord(options) Gets the subrecord associated with a sublist field. Open for proposals ·
- Record.getSublistText(options) Returns the value of a sublist field in a text representation. Open for proposals ·
-
Record.getSublistValue(options)
Returns the value of a sublist field.
line.fieldImplemented · - Record.getSubrecord(options) Gets the subrecord for the associated field. Open for proposals ·
- Record.getText(options) Returns the text representation of a field value. Open for proposals ·
-
Record.getValue(options)
Returns the value of a field.
r.fieldImplemented · - Record.hasCurrentSublistSubrecord(options) Returns a value indicating whether the associated sublist field has a subrecord on the current line. Open for proposals ·
- Record.hasSublistSubrecord(options) Returns a value indicating whether the associated sublist field contains a subrecord. Open for proposals ·
- Record.hasSubrecord(options) Returns a value indicating whether the field contains a subrecord. Open for proposals ·
-
Record.insertLine(options)
Inserts a sublist line.
add r.sublist { ... }Implemented · - Record.removeCurrentSublistSubrecord(options) Removes the subrecord for the associated sublist field on the current line. Open for proposals ·
-
Record.removeLine(options)
Removes a sublist line.
remove lineImplemented · - Record.removeSublistSubrecord(options) Removes the subrecord for the associated sublist field. Open for proposals ·
- Record.removeSubrecord(options) Removes the subrecord for the associated field. Open for proposals ·
-
Record.save(options)
Submits a new record or saves edits to an existing record.
save rImplemented · -
Record.selectLine(options)
Selects an existing line in a sublist.
inside
line.field = valueOpen for proposals · -
Record.selectNewLine(options)
Selects a new line at the end of a sublist.
inside
add r.sublist { ... }Open for proposals · - Record.setCurrentMatrixSublistValue(options) Sets the value for the line currently selected in the matrix. Open for proposals ·
- Record.setCurrentSublistText(options) Sets the value for the field in the currently selected line by a text representation. Open for proposals ·
-
Record.setCurrentSublistValue(options)
Sets the value for the field in the currently selected line.
inside
line.field = value,add r.sublist { ... }Open for proposals · - Record.setMatrixHeaderValue(options) Sets the value for the associated header in the matrix. Open for proposals ·
- Record.setMatrixSublistValue(options) Sets the value for the associated field in the matrix. Open for proposals ·
- Record.setSublistText(options) Sets the value of a sublist field by a text representation. Open for proposals ·
-
Record.setSublistValue(options)
Sets the value of a sublist field.
line.field = valueImplemented · - Record.setText(options) Sets the value of the field by a text representation. Open for proposals ·
-
Record.setValue(options)
Sets the value of a field.
r.field = valueImplemented ·