I am working on:
Version 7.11.6
Sugar Version 6.5.25 (Build 344)
I have many to many relationship between Contacts & Custom Module (AD_Address). When I open DetailView of a Contact, Address Subpanel shown below.
In that subpanel, when I clicked Select button, a lookup window will open, where search fields and list of Addresses are given.
I need to get id of current record (Contact) in that lookup field. I am looking in following file but got no help :
\include\Popups\PopupSmarty.php
What I want to achieve?
- I have account associated with Contact. Account also have many-many relationship with Address.
- When someone try to attach an Address to Contact, then in the lookup search, only those Addresses will shown which are associated with Contact’s Account.