1. when user clicking new record button sequence of applet and bc events firing from the GUI starting from the Applet load ? 2.which searchspec will be executed first bc or applet?

 Events are fired on the UI object first which events invoke at the business logic layer.

E.g., When a user creates a new Account, the following series of actions are executed:

  1. Hit the New button on an Applet
  2. Enter Account Details
  3. Step off or Save to save the Account record.

The series of events which are triggered in this operation are:
When New Button is clicked:
Applet_PreInvokeMethod: NewRecord
WebApplet_PreInvokeMethod: NewRecord
BusComp_PreNewRecord
BusComp_ChangeRecord
BusComp_NewRecord
BusComp_PreGetFieldValue
WebApplet_InvokeMethod: NewRecord
Applet_ChangeRecord
Applet_InvokeMethod: NewRecord

When Account details are filled in:
BusComp_PreSetFieldValue (browser)
Applet_ChangeFieldValue

When Record is stepped off or Save is executed:
Applet_PreInvokeMethod: WriteRecord
WebApplet_PreInvokeMethod: WriteRecord
BusComp_PreSetFieldValue (Server)
BusComp_SetFieldValue
BusComp_PreWriteRecord
BusComp_WriteRecord
WebApplet_InvokeMethod: WriteRecord
Applet_InvokeMethod: WriteRecord

I believe this would explain to you the flow of execution. This is different from the complete flow available in Siebel.

2nd question on SearchSpec, the explanation is as follows:

Search is initiated on applet which is then executed on BC. We assume that SearchSpec is set on Applet as well as BC.
Query is first run on BC where the BC SearchSpec is processed. Hence BC returns records based on BC SearchSpec. The record set is then passed onto Applet where Applet SearchSpec is applied. End result of the record set shown to the user is
“BC SearchSpec” AND “Applet SearchSpec”.


Comments

Popular posts from this blog

Siebel Web Service session management

Siebel CRM Overview

Siebel all user properties /different object types/ Field User Property