Community
Showing results for 
Search instead for 
Do you mean 
Reply

Opportunities: Trying to retrieve Picklists for Stage, Process and Products. Any idea how?

Accepted Solution Solved
Astute Commentator
Posts: 168
Country: United States
Accepted Solution

Opportunities: Trying to retrieve Picklists for Stage, Process and Products. Any idea how?

I've managed to get the picklist for the Reason field in the opportunities. However, similar calls to retrieve the picklists for Stage, Process and Products fail. Any idea on how this can be done?

 

Thank you in advance.

 

T


Accepted Solutions
Solution
Accepted by rkain (Copper Super Contributor)
‎09-25-2015 03:20 AM
Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom

Re: Opportunities: Trying to retrieve Picklists for Stage, Process and Products. Any idea how?

For Stages:

 

e.g:

ActFramework oFRam = new ActFramework();

Stage[] stgs = oFram.StageManager.Processes[0].Stages;

 

For Products:

 

ActFramework.Opportunities.Products

e.g. oFram.Products.GetProducts(null);

 

HTH

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog

View solution in original post


All Replies
Solution
Accepted by rkain (Copper Super Contributor)
‎09-25-2015 03:20 AM
Bronze Elite Contributor
Posts: 2,115
Country: United_Kingdom

Re: Opportunities: Trying to retrieve Picklists for Stage, Process and Products. Any idea how?

For Stages:

 

e.g:

ActFramework oFRam = new ActFramework();

Stage[] stgs = oFram.StageManager.Processes[0].Stages;

 

For Products:

 

ActFramework.Opportunities.Products

e.g. oFram.Products.GetProducts(null);

 

HTH

Vivek Gargav
Caldere Associates Ltd.
www.caldere.com
vgargav@caldere.com
My Blog
Astute Commentator
Posts: 168
Country: United States

Re: Opportunities: Trying to retrieve Picklists for Stage, Process and Products. Any idea how?

Thank you. That worked great!

 

T