[Vtigercrm-developers] Add multiple products to campaign
Sutharsan Jeganathan
ajstharsan at gmail.com
Mon Jun 6 17:11:20 GMT 2016
Hi
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.
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)
Thanks
Sutharsan Jeganathan
On Thu, Jun 2, 2016 at 3:30 PM, IT-Solutions4You <info at its4you.sk> wrote:
> I suppose you need create N:N relation. You need somethink like this ?
> First backup your vtiger installation. Then create a file at root of
> vtiger installation and run it via browser.
>
> <?php
>
> include_once 'vtlib/Vtiger/Module.php';
>
> $focus=Vtiger_Module::getInstance('Campaigns');
> $focus->setRelatedList(Vtiger_Module::getInstance('Products'), 'ADD
> Product',Array('ADD','SELECT'));
>
>
> You will need deactivate standard 1:N relation cretaed in vtiger because
> Reports, Filters will don't work correctly.
>
>
> Matus
>
> Dňa 2. 6. 2016 o 10:44 Stuart Maynard-Keene napísal(a):
>
>> Hi list,
>>
>> Is there a way to add multiple products to a campaign?
>>
>> Thanks
>> Stu
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160606/552b9983/attachment.html>
More information about the vtigercrm-developers
mailing list