NextSelected Is Not Working In Applet Server Script After It Is Used In BusComp Server Script (Doc ID 2050019.1)

Last updated on AUGUST 31, 2015

Applies to:

Siebel CRM - Version [23021] and later
Information in this document applies to any platform.
Checked for Relevance on 01-SEP-2015


Statement of Issue:
NextSelected() invoking a BC is Not Working Properly once it's used in the BC itself

In order to disable a button when certain record is selected, Customer has written some script in the ChangeRecord() function of the BC
(In the example given DeleteRecord button should be disabled once contact with last name "Aaron" is selected).
What Customer is doing is looping using FirstSelected and NextSelected in ChangeRecord() to check whether Aaron is selected.

This works fine as last as customer does not use NextSelected() function somewhere else.
Once I would like to use NextSelected() function in WebApplet Server Script, only one selected contact can be found.
(In the example given, once NewQuery button is pressed, the script will count how many contacts are selected using FirstSelected and NextSelected functions.

Once FirstSelected & NextSelected is used in the BC, WebApplet cannot use the function again to determine how many records are selected.

---------------- [23021] QF0102016, QF0002104

1. Put the custom script with NextSelected() in "Contact List Applet > WebApplet_PreInvokeMethod" event.

2. Compile and launch Siebel Financial application.
3. Navigate to "Contact screen > Contact List".
4. Select multiple records on the list applet.
5. Click "Query" button.

RaiseErrorText() displayed "1" even though user selected multiple records.

Expected Behavior:
RaiseErrorText() displayed the number of selected records.

Actual Behavior:
RaiseErrorText() displayed only '1' even though multiple records are selected.

Business Impact:
User cannot apply the delete operation for the selected specific records.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms