This script will create a custom statement form which resembles the the standard statement form .
Author: Litha Mukunthan
Script to create a Custom Button in the Customer Record
This script will create a custom button named ‘EMAIL STATEMENT’ in the customer record
How to disable the fields in the message record.
Converting currency to euro in PDF
Assigning Value To variable in PDF
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),
Update Note in GT invoice
Un expected Error:
Some times an Un expected console error may occur in client script when we try to use console.log() method in the pageInit . In order to remove this types of errors avoid using the console.log(). Instead of this we can use log.debug() in pageInit
Setting Pop-up message Using Client Script
Problem: How to set pop-up message using client script when the PO number is already used in a Sales order Solution