My Oracle Support Banner

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.