I have an entity subgrid on two different entity forms.
it should behave differently on each of these main forms will records are added to these subgrids.
EntityA(ParentForm) EntityB(Parent form)
EntityC(Subgrid)
When EntityC is on EntityA , Owner of the records added to subgrid should change on save.
When EntityC is on EntityB, It just have save the records.
How can i achieve this functionality?