How to solve “Java class “[Lcom.netledger.app.common.scripting.search.nlobjSearchResult;” has no public instance field or method ramed “toJSON” error in Suitescript 1.0

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

Leave a comment

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