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