Last updated on JANUARY 20, 2017
Applies to:Siebel CRM - Version 16.6 [IP2016] and later
Information in this document applies to any platform.
STATEMENT OF ISSUE/ ACTUAL BEHAVIOR:
The customer states that after adding script in Contact/Account BC they encounter an error.
The issue can be reproduced at will with the following steps:
Prerequisite: there should be code in BusComp_ChangeRecord event, doesn't matter if its a dead code.
1. In List Applet expose an custom button and enable it.
2. Write code in WebApplet_PreInvokeMethod as below(snippet):
var boActive = TheApplication().ActiveBusObject();
var bc = boActive.GetBusComp("Account"); //if you are writing code for Account's Applet
var bc = boActive.GetBusComp("Contact"); //if you are writing code for Contact's Applet
TheApplication().RaiseErrorText("Hi.. Cursor is moved from NewRecord(NewAfter)");
3. Click on that button at UI, error comes at NewRecord(NewAfter) step itself that: "Unhandled Exception: Function expected NewRecord can't call as a function".
"Unhandled Exception: Function expected NewRecord can't call as a function"
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms