Discussion:
[Vtigercrm-developers] Report on Documents related to Organization
lajeesh k
2018-11-01 08:57:24 UTC
Permalink
Hi,

I have set primary module as document and selected organisation in related
module
and in list column selected document title and organisation name, but the
organisation name values are empty .

Also if I put a filter to list records whose organisation name is not
empty, then the result set is empty

Regards,
Lajeesh
Freelance developer / entrepreneur
lajeesh k
2018-11-01 14:10:26 UTC
Permalink
Found solution for this issue

modified Documents.php

function setRelationTables($secmodule){
$rel_tables = array();
$rel_tables = array (
"Accounts" =>
array("vtiger_senotesrel"=>array("notesid","crmid"),"vtiger_notes"=>"notesid"),
);
return $rel_tables[$secmodule];
}


Regards,
Lajeesh
Freelance developer / entrepreneur
Post by lajeesh k
Hi,
I have set primary module as document and selected organisation in
related module
and in list column selected document title and organisation name, but the
organisation name values are empty .
Also if I put a filter to list records whose organisation name is not
empty, then the result set is empty
Regards,
Lajeesh
Freelance developer / entrepreneur
Loading...