खोज…


एसएस 1.0

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 -- is optional. */
var loadedRecord = nlapiLoadRecord(recordType, recordID, initializeValues);

एसएस 2.0

यह उदाहरण मानता है कि रिकॉर्ड मॉड्यूल परिवर्तनशील RECORDMODULE पर सेट है, जैसा कि नीचे दिखाया गया है।

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 instance in NetSuite.
    var isDynamic = true; //Determines whether to load the record in dynamic mode.

    var loadedRecord = RECORDMODULE.load({
        type: recordType, 
        id: recordID,
        isDynamic: isDynamic,
    });
});


Modified text is an extract of the original Stack Overflow Documentation
के तहत लाइसेंस प्राप्त है CC BY-SA 3.0
से संबद्ध नहीं है Stack Overflow