Scenario
1. Open a Vendor record.
2. Click on Bank Payment Details subtab.
3. Hit Edit.
Actual Result: A pop-up message is thrown:
"An unexpected error occured in a script running on this page.
pageInit_fldValidation (pageInit)
customscript_2663_field_validator_cs (182343)
JS_EXCEPTION
SyntaxError Unexpected token <"
In addition, an email message is received:
Subject: An unexpected error has occurred.
Account: 1036338
Bundle Name: Electronic Bank Payments
Environment: Production
Date & Time: 2/1/2016 2:07 pm
Record Type: Entity Bank Details
Internal ID:
Script: Generic Payment Module Field Validator
Type: Client
Function: pageInit_fldValidation
Error: JS_EXCEPTION
SyntaxError Unexpected token <
Solution
1. Navigate to Customization > Scripting > Script Deployments.
2. Hit Edit link on Generic Field Validator Processing. ID is customdeploy_2663_field_validator_s.
3. Mark the check box for Available Without Login.
4. Hit Save.