Hi Experts,
We have a requirement on Account. We have a self relationship with Account and Account have 1:N relationship with products. Requirement is:
There are Two Accounts called, Account-A and Account-B. Account-A is a parent of Account-B. Account-B has associated with 4 products called Product-1, Product-2, Product-3 and Product-4.
When i directly open Account-B, then only Product-1, Product-2 and Product-3 should display in Products sub-grid. If i open Account-B from Account-A, then only Product-4 should display in products sub-grid.
I tried to workout this requirement with record URL by using "window.location.href" statement. but i am getting the same URL everytime(either in direct record or from parent record).
Did any one worked on this requirement and let me know any possible ways.
Regards,
Kumar