Error In Template

When saving an Advanced PDF Template, user receives an error “The template cannot be saved due to the following errors: Error-left-hand operand: Expected a number, but this has evaluated to a hash+string” despite the fields having the correct formatting. Expected a number, but this has evaluated to a hash+string Solution: Just declare the variable and… Continue reading Error In Template

Error: Wrong parameter type: expected as boolean.

Reason: Netsuite will only accept the boolean in the form of ‘TRUE’ or ‘FALSE’ So before using the variable convert it to Boolean type. eg: consolidateStatements:Boolean(scriptContext.request.parameters.custrecord_jj_stmnt), openTransactionsOnly:Boolean(scriptContext.request.parameters.custrecord_jj_opentrnsn),