Tutorial by Examples

var recordType = 'customer'; // The type of record to load. The string internal id. var recordID = 100; // The specific record instances numeric internal id. var initializeValues = null; /* The first two parameters are required but the third -- * in this case the variable initializeValues -- i...
This example assumes that the record module is set to the variable RECORDMODULE, as shown below. require(['N/record'], function(RECORDMODULE){ var recordType = RECORDMODULE.Type.SALES_ORDER; //The type of record to load. var recordID = 100; //The internal ID of the existing record insta...

Page 1 of 1