<div dir="ltr"><div><div>Hello Anyone,<br><br></div>Any tip?<br><br></div>Thanks in advance<br><div><div><div><div><div class="gmail_extra"><br><div><div class="gmail_signature"><br></div></div>
<br><div class="gmail_quote">On Sat, May 2, 2015 at 7:23 PM, Christophe Humbert <span dir="ltr"><<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello,<br><br></div>Please pardon my maybe stupid question but I would like to be able on each line item to select a contact (limited to the organization/account already chosen) (and as a bonus also to filter out contact already added/chosen on a previous line item)<br><br>I suppose I will need to alter the following table and add my new field (ideally just the id of the contact) to it:<br>vtiger_field  <br>and <br>vtiger_inventoryproductrel <br></div>of type 'Relation' and how do I make the relationship with Contacts in many-one relationship (each lineitem could have only one Contact but contacts could have many links to line item) and how do I make sur the contacts are related to the quote<br><div><div><br>the following files I need to  modified I imagine in layouts/vlayout/modules/Inventory/<br><br>    include\language\en_us.lang.php - holds new labels for new fields+ any langage file<br><br></div><div>Thanks in advance for any tip<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br><br clear="all"><div><div><div><div>Christophe Humbert<br><i></i><br></div></div>
</div></div></div></font></span></div></div>
</blockquote></div><br></div></div></div></div></div></div>