Answer:
Refer to the sample code below showing how to convert an nlobjRecord to a JSON String, have the below code execute on NetSuite Debugger:
var custrRec = nlapiLoadRecord('customer', 1);
var jsonstr = JSON.stringify(custrRec);
nlapiLogExecution('DEBUG', jsonstr);
No comments:
Post a Comment