var contracttemplate = contract.getFieldValue('custrecord98');
contracttemplate = contracttemplate.replace(/&/g, '&');
That is after the change and it works
r
rustyshackles
03/30/2017, 12:06 AM
Since it appears you are using 1.0, you can also use nlapiEscapeXML for this.