Access lookup field from parent entity in child entity subgrid
-
Saturday, April 28, 2012 10:14 AM
There is 1:N relationship between A and b
I want to access data of A entity in B sungrid.
Please suggest me.
I want to access lookup from parent entity
All Replies
-
Saturday, April 28, 2012 11:26 AM
Hi,
As you said there is an 1:N relationship between A and B. To confirm, if you are inside entity A customization, then from there is a 1:N relationship with entity B?
In that case many B records can be related to 1 A record. So you cannot show A in B's sub-grid. 'A' can only be a lookup in B entity. B entity can be shown in the A's sub-grid.
You can only show A in B's subgrid, if there is a N:1 relationship between A and B.
I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- Proposed As Answer by Ashish Mahajan Australia (Architect) Saturday, April 28, 2012 11:26 AM
-
Monday, April 30, 2012 4:47 AM
Hi
I want to know how can i access A's lookup value. in B subgrid.
-
Monday, April 30, 2012 5:29 AM
Hi,
Can you please paste some screenshots of exactly what you mean by B subgrid?
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
-
Monday, April 30, 2012 1:04 PM
-
Monday, April 30, 2012 1:04 PMi want to access card batch lookup value in above card subgrid
-
Wednesday, May 02, 2012 9:15 AM
Hi,
It can be done by configuring your E-card associated view. I am assuming that there is a N:1 relationship from E-card to Card Batch. So Card Batch is a lookup in the E-card entity.
Go to settings and customizations. Go to entity E-card. Go to views and open the view which is of type associated view. Add the column there.
Just out of curiosity, of you add the lookup of card batch in the e-card associated view and then take example of your above screenshot. So after adding the card batch lookup in the e-card view, you will see the value "Card Batch 123" for all related e-cards.
I hope this helps. If my response answered your question, please mark the response as an answer and also vote as helpful.
Ashish Mahajan, CRM Developer, CSG (Melbourne)
My Personal Website: http://www.ashishmahajan.com
My Blogs: http://ashishmahajancrm.blogspot.com.au and http://ashishmahajancrm.wordpress.com
My Youtube Channel: http://www.youtube.com/user/ashishmahajanmscrm
My Twitter: https://twitter.com/#!/ashishmahajan74My Linkedin: 
- Proposed As Answer by Ashish Mahajan Australia (Architect) Wednesday, May 02, 2012 9:16 AM
-
Wednesday, May 02, 2012 11:34 AM
there is n:1 relationship between card:card batch. There is card type field in card batch. i want card type in card entity.means in above subgrid. i want to access card type value on click of approve button. which is present on above card subgrid.