Applet button and CancelOperation in BusComp_PreWriteRecord cause hang up (Doc ID 2049863.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel CRM - Version 15.0 [IP2015] and later
Information in this document applies to any platform.

Symptoms

(1) Write the following browser script in SIS Account List Applet:
function Applet_PreInvokeMethod (name, inputPropSet)
{
  if (name == "NewQuery" || name == "NewRecord") {
    theApplication().SetProfileAttr("COMMIT_FLG", "FALSE");
  }
  return ("ContinueOperation");
}

(2) Write the following server script in Account BC:function BusComp_PreWriteRecord ()
{
  if (TheApplication().GetProfileAttr("COMMIT_FLG") == "FALSE") {
    return (CancelOperation);
  }
  return (ContinueOperation);
}

(3) Compile SRF file and run Siebel Open UI application

(4) Go to Accounts -> Accounts List

(5) Select any record and update the record

(6) Click Query button or New Record button

(7) The application hangs up

 

Cause

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