#3163 - more relations between tables
Is it possible to work with, for example: company, related opportunities and: related tasks to opportunities? If yes, how is the syntax?
tks for info.
br heiner
Is it possible to work with, for example: company, related opportunities and: related tasks to opportunities? If yes, how is the syntax?
tks for info.
br heiner
7 years ago
Hi,
Sorry, It can not be done because MMR only manages relationships on two levels, but you can create a calculated field to concatenate the tasks of an opportunity presenting them as a text, as it is done with any other variable.
You can find out an example similar to the one that is needed into the \custom\modules\Opportunities\DHA_DocumentTemplatesCalculatedFields.php file, please, see the ‘last-meeting-name’ variable, copy and adapt it to obtain what you need.
Important: the \custom\modules\Opportunities\DHA_DocumentTemplatesCalculatedFields.php file will be most likely overwritten in MMR updates. So, please, save backup for MMR updates.
Regards,
Anabel