In suitescript after using nlapiSearchRecord we maight get this type of error we can solve this types of errors using below code.

after Using nlapiSearchRecord we might get below type error

For above types of error we have to stringfy the result of the search then the error will be resolved

