You need to sign in to do that
Don't have an account?
Auler Cordoba
Junction Object Easy
Hi community,
I am new at this.
My data model is as follows:
Salesforce Certification 1 ---- n Certification Held n ----- 1 Account
So Certification_Held__c is my junction object between Salesforce_Certification__c and Account, since I have an n-n (many to many)
So far so good. Then, what I need is to make a trigger where it tells me how many Certifications (that is, I must use Certification Held) each Account has. This should happen every time the user does an update, insert, or delete.
It seems simple to me, but I can't do it.
So far what I have done has not given me the result I want....
I am new at this.
My data model is as follows:
Salesforce Certification 1 ---- n Certification Held n ----- 1 Account
So Certification_Held__c is my junction object between Salesforce_Certification__c and Account, since I have an n-n (many to many)
So far so good. Then, what I need is to make a trigger where it tells me how many Certifications (that is, I must use Certification Held) each Account has. This should happen every time the user does an update, insert, or delete.
It seems simple to me, but I can't do it.
So far what I have done has not given me the result I want....
QuickPayPortal (https://www.quickpayportal.one/)