Northern Trail Outfitters wants to change a master-detail relationship on
Account to a lookup relationship with a custom object Park. The app builder tries to
reconfigure this but is unable to do so.
What could be causing this?
When attempting to change a master-detail relationship to a lookup relationship, Salesforce imposes specific restrictions to maintain data integrity:
C . The Account record includes Parks roll-up summary fields. Master-detail relationships allow roll-up summary fields to aggregate data from child records onto the parent record. If any roll-up summary fields are present on the master object (Account in this case) that depend on the detail records (Parks), the relationship cannot be changed to lookup until these roll-up summary fields are removed.
To resolve this, follow these steps:
Identify and delete all roll-up summary fields on the Account object that reference the Park object.
Convert the master-detail relationship to a lookup relationship.
Recreate any necessary roll-ups using declarative tools like Process Builder or Flow if needed, as lookups do not support native roll-up summaries.
For more guidance, review Salesforce's documentation on Changing Field Types.
Oretha
6 months agoGalen
5 months agoElvera
5 months agoTamera
6 months agoEvan
6 months agoBrandee
6 months agoAdell
6 months agoLorenza
7 months agoBettina
6 months agoRikki
6 months agoSerina
7 months agoAliza
6 months agoErnie
7 months agoBrinda
7 months agoCharisse
7 months ago