I have one object that contains fields that stored decimal and it already have Account as parent object.Because I want to Roll up Summary to do calculation on that (SUM) those field,I need to create Parent object.

Is that possible to have two parent for one child?


Here is an example of two parents:


But be aware that by having both relationships set to Master-Detail (so the rollup can be done across either relationship) if either of the parent objects is deleted the child object is automatically deleted. This is often useful (for association objects) but may or may not be in your case.


If you want to use a roll-up summary, you need a Master-Detail relationship. You can define up to 2 of those per custom object.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.