My Oracle Support Banner

Unable To Update The Sales Stage Values Based On The Sales Methods (Doc ID 1126405.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Tools - Version[18393] and later
Information in this document applies to any platform.


The customer is trying to auto populate the Sales Stage picklist values based on the Sales Method pick list field in the Opportunity. But they are unable to do this. They tried in two ways:

1. By using the Business Component User Property On Field Update Set

2. By using the Scripting with Pre_SetFieldValue and SetFieldValue. But they are unable to auto populate the sales stage when sales method is setting.

Scenario is when setting the Sales Method value like"GRS M3 CCC" in the picklist basing on this value Sales Stage picklist value should be auto populate with the "01 - Potential Lead". This is not working.

User Property:
"Sales Method","Sales Stage","IIF([Sales Method]= ""GRS M3 CCC"", ""01 - Potential Lead"",[Sales Stage])"


"Sales Method","Sales Stage","IIF([Sales Method]= ""GRS M3 CCC"", [Sales Stage]=""01 - Potential Lead"","""")"

SetFieldValue Script in the Opportunity BC

if(FieldName =="Sales Method")
var SalesStage = this.GetFieldValue("Sales Method");
var sid = this.GetFieldValue("Sales Stage Id");
var salesmtd = this.GetFieldValue("Sales Method Id");
if(SalesStage == "GRS M3 CCC")

var oBCPick = this.GetPicklistBusComp("Sales Stage");

with (oBCPick)
ActivateField("Sales Cycle Stage");
ActivateField("Parent Sales Method Id");
SetSearchSpec("Sales Cycle Stage", "01 - Potential Lead");
SetSearchSpec("Parent Sales Method Id", salesmtd);



To view full details, 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 a vibrant support community of peers and Oracle experts.