<div dir="ltr"><div><div><div><div>Hi<br><br></div>That is a good solution, but creates the product as a related list to campaign which will not provide the capability of filtering (and reporting) Campaigns by products.<br><br></div>Do you need to add larger set of products under Campaign? if not you need multiple product reference fields under the campaign create view (Or may be a Add Product field button)<br><br></div>Thanks<br></div>Sutharsan Jeganathan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 2, 2016 at 3:30 PM, IT-Solutions4You <span dir="ltr"><<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I suppose you need create N:N relation. You need somethink like this ?<br>
First backup your vtiger installation. Then create a file at root of vtiger installation and run it via browser.<br>
<br>
<?php<br>
<br>
include_once 'vtlib/Vtiger/Module.php';<br>
<br>
$focus=Vtiger_Module::getInstance('Campaigns');<br>
$focus->setRelatedList(Vtiger_Module::getInstance('Products'), 'ADD Product',Array('ADD','SELECT'));<br>
<br>
<br>
You will need deactivate standard 1:N relation cretaed in vtiger because Reports, Filters will don't work correctly.<br>
<br>
<br>
Matus<br>
<br>
Dňa 2. 6. 2016 o 10:44 Stuart Maynard-Keene napísal(a):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi list,<br>
<br>
Is there a way to add multiple products to a campaign?<br>
<br>
Thanks<br>
Stu<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br></div>