function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
bchopbchop 

How to access Opportunity's Sales Processes in VF page

Hi,

 

I'm in trouble, anyone guide me...... my problem is to display the value(in drop down box) of Sales Process in VF page listed under Setup>AppSetup>Opportunity>Sales Processes. I'm unable to fetch this value through eclipse.

 

 

Best Answer chosen by Admin (Salesforce Developers) 
Guyver118Guyver118
lol just realised that won't have the information :0
Message Edited by Guyver118 on 07-03-2009 07:08 AM

All Answers

Guyver118Guyver118

try the business process object

 

list<BusinessProcess> bpList = new  list<BusinessProcess>([Select b.Id, b.IsActive, b.Name, b.TableEnumOrId from BusinessProcess b Where b.TableEnumOrId  = 'Opportunity' And b.IsActive= TRUE]);

Guyver118Guyver118
lol just realised that won't have the information :0
Message Edited by Guyver118 on 07-03-2009 07:08 AM
This was selected as the best answer