<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-family:arial,sans-serif;font-size:13.3333339691162px">Yes - In my Module I can override the RelatedList.js and set the related_parent_module & related_parent_id values to a single id value from the UI10 in the Organisation field.</span></blockquote><div><span style="font-family:arial,sans-serif;font-size:13.3333339691162px"><br></span></div><div>Let us assume I create a new module called "GiftStore" having field "MarketRegion picklist" and add your module as n:n. Will your module handle this new relation without any changes?</div><div><br></div><div>Regards,</div><div>Prasad</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/vtiger6/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div></div>
<br><div class="gmail_quote">On Fri, Oct 17, 2014 at 6:20 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 17/10/14 13:30, Prasad wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Now the challenge is the make the "Select Products" be aware of the<br>
Contact Record (Context)<br>
it is working with and present different criteria for selection?<br>
</blockquote>
<br></span>
Yes - In my Module I can override the RelatedList.js and set the related_parent_module & related_parent_id values to a single id value from the UI10 in the Organisation field.<br>
<br>
Obviously if you have n:n relationships on "both sides" it becomes a bit more tricky but I'm sure the ids could be passed or a signal sent to tell the function retrieve them...<br>
<br>
Al<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>