RE: Connect custom Entities with custom fields
Hi
If Entity 2 is Parent of Entity 1, then you can use Rollup Field for Calc (In the field properties Field Type as Rollup).
But it would not update immediately and also some other limitations.
For all the limitations see the last two links below.
If this is not suitable for your requirement, we will have to use alternative ways of achieving this.
Please refer the following:
[View:http://www.crmsoftwareblog.com/2016/08/microsoft-dynamics-crm-2016-rollup-field-update/:750:50]
[View:https://community.dynamics.com/crm/f/117/t/182846:750:50]
[View:https://msdn.microsoft.com/en-gb/library/dn817863.aspx:750:50]
[View:http://www.summitgroupsoftware.com/blog/good-and-bad-calculated-and-rollup-fields-dynamics-crm:750:50]