I get the following error when trying to save a quote in Netsuite:
The XSS Auditor refused to execute a script in 'https://system.na1.netsuite.com/app/accounting/transactions/estimate.nl' because its source code was found within the request. The auditor was enabled as the server sent neither an 'X-XSS-Protection' nor 'Content-Security-Policy' header.
I am using the following code on saveRecord.
function saveRecord() {
if(checkGroupApproval() || itemApproval.length > 0) {
cr.setValue({
fieldId: 'custcol23',
value: 1
})
} else {
cr.setValue({
fieldId: 'custcol24',
value: 2
})
}
return true;
}
Same script works fine in our sandbox environment has anyone come accross this issue??