Hi,
I'm building a model-driven app, I have two entities that are connected to the Contact entity, Employments, and Incomes. These are 1:n.
Employment also has 1:n relationship to income and on the Employment form I have a subgrid for Income records.
When I add an employment it is linked to the Contact Record, and when I add an income directly from the Contact record they are linked & show on subgrids on the Contact form. But, when I add an income from the Employment form using the subgrid there, the Contact lookup field remains blank and I have to go into the subgrid on the Contact form to manually connect the records.
Is there any way to have the Income record inherit the Employment records' Contact when it is created from the Subgrid?
Many thanks
Pete
Solved! Go to Solution.
Hi @pridti ,
There is no OOB tool to inherit from the parent record, but I think your requirement can be implemented by MS Flow.
Create a Automated Flow triggered when a new Income record is created.
List the record from parent entity(employment) based on the LookUp field of record from trigger.
List the record from Contact entity based on the LookUp field of record from above employment entity.
Update the new-created record of Income entity, save the above contact record into LookUp field(Contact)
Then the Contact of Parent entity(employment) will be also saved to the income record.
Hope this helps.
Sik
Hi @pridti ,
There is no OOB tool to inherit from the parent record, but I think your requirement can be implemented by MS Flow.
Create a Automated Flow triggered when a new Income record is created.
List the record from parent entity(employment) based on the LookUp field of record from trigger.
List the record from Contact entity based on the LookUp field of record from above employment entity.
Update the new-created record of Income entity, save the above contact record into LookUp field(Contact)
Then the Contact of Parent entity(employment) will be also saved to the income record.
Hope this helps.
Sik
Hey, that makes sense. Thanks so much for the reply.
Pete