You need to sign in to do that
Don't have an account?
sfdc dev 2317
Number of approvals on quote object
Hello there,
I can see in related list there 2 Approvals on quote object. But how do I check in formula field (in quote object), that Approvals is not equal to null.
I can see in related list there 2 Approvals on quote object. But how do I check in formula field (in quote object), that Approvals is not equal to null.
Thanks for your response. But I think its not possible to look for child (Approvals) records while creating a formula field on parent (Quote)record.
https://trailblazers.salesforce.com/answers?id=9063A000000E3OBQA0
All Answers
Greetings!
Can you please try the below SOQL query to see the approval records:
SELECT Id FROM ProcessInstance WHERE TARGETOBJECTID = "record id here" ORDER BY CreatedDate DESC
Reference:https://salesforce.stackexchange.com/questions/205496/soql-to-pull-out-approval-history-records
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
Thanks for your response. But I think its not possible to look for child (Approvals) records while creating a formula field on parent (Quote)record.
https://trailblazers.salesforce.com/answers?id=9063A000000E3OBQA0