You need to sign in to do that
Don't have an account?
Srinivas223
Opportunities with approval history related list status approved
Hello All,
Is there anyway that I can get the list of opportunity records with the approval history related list status approved.
writing a inner query like below is not working. It is pulling all opportunities. Can I filter opportunities based on the apporval history fields?
Thank you.
Is there anyway that I can get the list of opportunity records with the approval history related list status approved.
writing a inner query like below is not working. It is pulling all opportunities. Can I filter opportunities based on the apporval history fields?
select id, name, account.name, CloseDate, (Select Id, StepStatus From ProcessSteps where StepStatus = 'Approved'), from Opportunity where ownerid =: OpptyUser.id and stageName = 'closed won'I appreciate your help.
Thank you.
This code wil work for your use case. Let me know if any query.
All Answers
This code wil work for your use case. Let me know if any query.
Will try this one.