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
finalistfinalist 

Opportunity Stages are not restricted to Record Type's Sales Process selections

I am writing a Visualforce page for Opportunities, and while I've updated the setting for the API to 19.0 to get the dependent picklists to work correctly, the Opportunity: Stage(StageName) selections are not being constrained by the Sales Process.

 

I am either creating or editing an Opportunity, and the controller has the Opportunity.RecordTypeId -- is there a way other than manually creating a picklist with the values that I know are valid now?  That seems like an inelegant solution to the problem.

 

I look forward to your suggestions.

hisrinuhisrinu

Controlling the picklist values based on recordtypes has been released in winter11... so I think if you could change the version to 20, then it should work

David RamseyDavid Ramsey
From what I can tell, this process is still controlled by the Sales Process (you must create a Sales Process and then associate it with a record type).