Applet_ChangeRecord Event

Siebel CRM calls the Applet_ChangeRecord event if the user moves to a different record or view. It does not return any information. For more information, see Applet_ChangeFieldValue Event.

Format

Applet_ChangeRecord()

No arguments are available.

Used With

You use the Applet_ChangeRecord event with Browser Script. Note the following:

  • To return the value of the field the user navigates to, use the BusComp.GetFieldValue method.

  • To return the value of the field the user navigates away from, use the control.GetValue method.

Examples

The following example is in Browser Script:

function Applet_ChangeRecord ()
{
   try
   {
      var thisBC = this.BusComp();
      var sFlag = thisBC.GetFieldValue("Primary Revenue Committed Flag");
      if (sFlag == "Y")
      {
         theApplication().SWEAlert("This record cannot be updated because it has
         been committed");
      }
   }
   catch(e)
// error handling routine

}