The error is usually encountered when the below code is being done:
var results = nlapiSearchRecord('issue', [savedsearchid]);
var sCols = results.getAllColumns();
To avoid the error, do this instead:
var results = nlapiSearchRecord('issue', [savedsearchid]);
var resultIdx = results[0];
var sCols = resultIdx.getAllColumns();
No comments:
Post a Comment