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

Opportunity Sales Processes

Hi all,


I'm trying to validate, for a given Opportunity (and associated Record Type), which sales stages are in the StageName picklist.


I've been able to query the OpportunityStage table, the RecordType table, and the BusinessProcess table, however there are no clear links between a OpportunityStage record and a BusinessProcess record.


Technically there should be another table that maps OppStageId to BusProcessId (many-to-many); are we able to access this through the API/Apex?