Introduction:
Recently we had a business requirement to populate some of the details on the Child record from the Parent record when the child record is created by clicking the ‘+’ button on the child record sub-grid in Resco.
We can achieve the above-said functionality easily in Dynamics CRM simply by adding the attributes mapping in the parent child (1:N) relationship. However, we wanted to do this in Resco.
After some research and playing around in Resco, we found an effortless way to achieve the requirement.
Steps to populate the details from parent to child record in Resco:
1. First, we would need to add the attributes in the mapping of the Parent to child relationship in Dynamics CRM that we need to copy over to the child record.
For Example, we have a 1:N relation between the account and the contact, and we need to populate some of the account details on the child contact record when the contact record is created by the clicking ‘+’ button on the contact sub-grid. For this, we would need to add the attributes mapping in Account to contact relationship in Dynamics CRM.
2. Once we have added the attributes mapping to the relationship in the Dynamics CRM, the next step is open the Mobile project in Resco and navigate to the ‘Configuration’ section as shown in the screenshot below;
3. Now search ‘Use Entity & Attribute Map’ in the search box, and set the value as ‘True’ as shown in the screenshot below;
4. After this, you can quickly populate the details from the Parent record to the Child record.
Conclusion:
Users can easily populate the details on the child record in Resco by first adding the attributes mapping to the relationship in the Dynamics CRM and then setting the value of ‘Use Entity & Attribute’ in Resco as ‘True’.