Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Revise Agreement not Copy Primary Account and Account Id Field Value

edited Dec 11, 2012 3:41AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 1 commentAnswered
 Hi ,
The Revise Agreement in Agreement - Agreement List View is not copy the Primary Account and Account Id,  when Agreement has at least one account and set the same as Primary Account.

There is a work around available for this behavior as below,

Step 1.Add the following Under General Declaration Section of "ReviseCopyAgreement" BC:

var PriAccount;

Step 2. Add the following:

function BusComp_PreInvokeMethod (MethodName)
{
if (MethodName =="Revise")
{
PriAccount = this.GetFieldValue("Account Id");
}
return (ContinueOperation);
}

function BusComp_InvokeMethod (MethodName)
{
if (MethodName =="Revise")
{
this.SetFieldValue("Account Id", PriAccount);
this.WriteRecord();
PriAccount = "";
}
}

Now compile the object and restart the services for the changes to take effect.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center