Siebel Object Interfaces Reference > Customizing Siebel Object Interfaces > Customizing Object Interface Events and Extension Events >

Using Tracing to Determine When an Event Occurs


Many different events can occur if a view becomes current or if a script calls an object, so a simple way to determine when various events occurs does not exist. It is recommended that you use tracing to determine when events occur.

To use tracing to determine when an event occurs

  1. To determine the exact order of events, use the Application_Start event to enable tracing when the Siebel application starts.

    In Siebel VB, use the following code:

    TheApplication.TraceOn "filename, type, selection"
    TheApplication.Trace "Event_Name has fired."

    In Siebel eScript, use the following code:

    TheApplication().TraceOn("filename, type, selection");
    TheApplication().TraceOn(" Event_Name has fired.");

  2. Add the following code in each event handler for the object:

    TheApplication.Trace "Event_Name fired."

    Make sure you add this code to each of the following items:

    • Each relevant event, such as insert, delete, write, business component, and so forth
    • Each relevant preevent handler
  3. Perform a few simple inserts, updates, and deletes.
  4. Make a note of each message as Siebel CRM displays it.

    Your notes will list the order that Siebel CRM uses to start events on the view or for the object.

Siebel Object Interfaces Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.