You need to sign in to do that
Don't have an account?
Tsvety
Lock parent object
Hi sfdc experts,
I am trying to lock the Opportunity object when a related object (Commissions) is submitted for approval. The relationship between them is a lookup relationship.
Is there a way to accomplish this without having to create a "Read only" opp. record type or writing triggers?
I am trying to lock the Opportunity object when a related object (Commissions) is submitted for approval. The relationship between them is a lookup relationship.
Is there a way to accomplish this without having to create a "Read only" opp. record type or writing triggers?
I was able to resolve the issue using Steve's idea here - https://success.salesforce.com/answers?id=90630000000gslYAAQ.
Since the relationship between my objects was a lookup and not a master-detail, I used the Declarative Lookup Rollup Summaries - https://github.com/afawcett/declarative-lookup-rollup-summaries.
I hope this helps someone else who faces the same problem!