suitelet customer record load and getvalue

var customRecord = record.load ({
type: record.Type.CUSTOMER,
id: customerid,
isDynamic: true
});
log.debug("customRecord", customRecord)                      
var freeShipping = customRecord.getValue({
fieldId: 'custentity_jj_free_shipping'
});

Leave a comment

Your email address will not be published. Required fields are marked *