You need to sign in to do that
Don't have an account?
Junction Object not working
I cannot get records to show from a Junction Object. I have an 'Evaluation' object and an 'Audit' object both created directly from the Account object.I need to see the list of Audit records related to an account within the Exaluation object. So I've created a junction object with two Master Detail fields:
What could I be doing wrong ?
- Audit
- Evaluation
What could I be doing wrong ?
Couple of things to check here.
- Have you created the 2 Master Detail Relationship fields on the Audit Object or have you created a different object? The following relationship fields need to be created on the Audit Object such that.
- Account -> Master Detail relationship to Account
- Evaluation -> Master Detail relationship to Evaluation
- One thing you should be careful about is the order of creation of the Master Detail relationship fields. The Master Detail field created first on Audit will become the Primary Master for the Audit records. This means that the sharing and visibility of the Audit records will be governed by the Primary Master.
- Additionally, you will also need to ensure that you include the Audit object's related list on the respective Account and Evaluation object's detail page layouts.
In addition to this, it is always a good idea to verify if the exsiting Audit records that you may have, have the respective Account and Evaluation field values populated or it will restrict future DML on those existing Audit records that existed before the relationships were created.Please close this thread if your issue is resolved.
Let me know if you need additional help to address your issue.