N/record

Work with NetSuite records.

Oracle reference

13 of 62 methods have Mynt syntax 21%

13 implemented0 in progress0 planned0 under consideration49 open for proposals

Module functions

  1. record.attach(options) Attaches a record to another record. Open for proposals ·
  2. record.copy(options) Creates a new record by copying an existing record in NetSuite. copy T(id) Implemented ·
  3. record.create(options) Creates a new record. create T Implemented ·
  4. record.delete(options) Deletes a record. delete r Implemented ·
  5. record.detach(options) Detaches a record from another record. Open for proposals ·
  6. record.load(options) Loads an existing record. load T(id) Implemented ·
  7. 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 ·
  8. record.transform(options) Transforms a record from one type into another, using data from an existing record. transform T(id) to U Implemented ·

Field object

  1. Field.getSelectOptions(options) Returns an array of available options on a standard or custom select, multiselect, or radio field as key-value pairs. Open for proposals ·

Macro object

  1. Macro.execute(options) Performs a macro operation and returns its result in an object. Open for proposals ·

Record object

  1. Record.cancelLine(options) Cancels the currently selected line on a sublist. Open for proposals ·
  2. Record.commitLine(options) Commits the currently selected line on a sublist. inside line.field = value, add r.sublist { ... } Open for proposals ·
  3. Record.executeMacro(options) Performs macro operation and returns its result in a plain JavaScript object. Open for proposals ·
  4. Record.getMacros() Provides a plain JavaScript object that contains macro objects defined for a record type, indexed by the Macro ID. Open for proposals ·
  5. 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 ·
  6. Record.findSublistLineWithValue(options) Returns the line number for the first occurrence of a field value in a sublist. Open for proposals ·
  7. Record.getCurrentMatrixSublistValue(options) Gets the value for the currently selected line in the matrix. Open for proposals ·
  8. Record.getCurrentSublistField(options) Returns a field object from a sublist. Open for proposals ·
  9. Record.getCurrentSublistIndex(options) Returns the line number of the currently selected line. Open for proposals ·
  10. Record.getCurrentSublistSubrecord(options) Gets the subrecord for the associated sublist field on the current line. Open for proposals ·
  11. Record.getCurrentSublistText(options) Returns a text representation of the field value in the currently selected line. Open for proposals ·
  12. Record.getCurrentSublistValue(options) Returns the value of a sublist field on the currently selected sublist line. Open for proposals ·
  13. Record.getField(options) Returns a field object from a record. Open for proposals ·
  14. 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 ·
  15. Record.getLineCount(options) Returns the number of lines in a sublist. for line in r.sublist Implemented ·
  16. Record.getMacro(options) Provides a macro to execute. Open for proposals ·
  17. Record.getMatrixHeaderCount(options) Returns the number of columns for the specified matrix. Open for proposals ·
  18. Record.getMatrixHeaderField(options) Gets the field for the specified header in the matrix. Open for proposals ·
  19. Record.getMatrixHeaderValue(options) Gets the value for the associated header in the matrix. Open for proposals ·
  20. Record.getMatrixSublistField(options) Gets the field for the specified sublist in the matrix. Open for proposals ·
  21. Record.getMatrixSublistValue(options) Gets the value for the associated field in the matrix. Open for proposals ·
  22. Record.getSublist(options) Returns the specified sublist. Open for proposals ·
  23. Record.getSublists() Returns all the names of all the sublists. Open for proposals ·
  24. Record.getSublistField(options) Returns a field object from a sublist. Open for proposals ·
  25. Record.getSublistFields(options) Returns all the field names in a sublist. Open for proposals ·
  26. Record.getSublistSubrecord(options) Gets the subrecord associated with a sublist field. Open for proposals ·
  27. Record.getSublistText(options) Returns the value of a sublist field in a text representation. Open for proposals ·
  28. Record.getSublistValue(options) Returns the value of a sublist field. line.field Implemented ·
  29. Record.getSubrecord(options) Gets the subrecord for the associated field. Open for proposals ·
  30. Record.getText(options) Returns the text representation of a field value. Open for proposals ·
  31. Record.getValue(options) Returns the value of a field. r.field Implemented ·
  32. Record.hasCurrentSublistSubrecord(options) Returns a value indicating whether the associated sublist field has a subrecord on the current line. Open for proposals ·
  33. Record.hasSublistSubrecord(options) Returns a value indicating whether the associated sublist field contains a subrecord. Open for proposals ·
  34. Record.hasSubrecord(options) Returns a value indicating whether the field contains a subrecord. Open for proposals ·
  35. Record.insertLine(options) Inserts a sublist line. add r.sublist { ... } Implemented ·
  36. Record.removeCurrentSublistSubrecord(options) Removes the subrecord for the associated sublist field on the current line. Open for proposals ·
  37. Record.removeLine(options) Removes a sublist line. remove line Implemented ·
  38. Record.removeSublistSubrecord(options) Removes the subrecord for the associated sublist field. Open for proposals ·
  39. Record.removeSubrecord(options) Removes the subrecord for the associated field. Open for proposals ·
  40. Record.save(options) Submits a new record or saves edits to an existing record. save r Implemented ·
  41. Record.selectLine(options) Selects an existing line in a sublist. inside line.field = value Open for proposals ·
  42. Record.selectNewLine(options) Selects a new line at the end of a sublist. inside add r.sublist { ... } Open for proposals ·
  43. Record.setCurrentMatrixSublistValue(options) Sets the value for the line currently selected in the matrix. Open for proposals ·
  44. Record.setCurrentSublistText(options) Sets the value for the field in the currently selected line by a text representation. Open for proposals ·
  45. Record.setCurrentSublistValue(options) Sets the value for the field in the currently selected line. inside line.field = value, add r.sublist { ... } Open for proposals ·
  46. Record.setMatrixHeaderValue(options) Sets the value for the associated header in the matrix. Open for proposals ·
  47. Record.setMatrixSublistValue(options) Sets the value for the associated field in the matrix. Open for proposals ·
  48. Record.setSublistText(options) Sets the value of a sublist field by a text representation. Open for proposals ·
  49. Record.setSublistValue(options) Sets the value of a sublist field. line.field = value Implemented ·
  50. Record.setText(options) Sets the value of the field by a text representation. Open for proposals ·
  51. Record.setValue(options) Sets the value of a field. r.field = value Implemented ·

Sublist object

  1. Sublist.getColumn(options) Returns a column in the sublist. Open for proposals ·