by Izertis

Create documents in docx, xlsx (MS Office Word and Excel), odt, ods (LibreOffice and OpenOffice) and pdf format without MS Office or others plugins installed from any module and subpanel using templates.

Includes a 30 day guarantee
Try it Now

By clicking you consent to share your profile with the developer

#3163 - more relations between tables

Closed General Question created by ht 5 years ago

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

  1. dharma member avatar

    Izertis Provider

    5 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

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating