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),

Filters using suitelet script

Problem: Create a suitelet script that loads a custom search US CASES – HOURS TO CLOSE search result in a given format for klipfolio and create filters for ‘created date condition’ also replace the same condition with that of UI by using splice() method. Solution load the custom search 2.Add the filters 3.Replace the condition… Continue reading Filters using suitelet script