Yetiforcecrm: How to create relation between modules

Created on 23 Aug 2018  ยท  6Comments  ยท  Source: YetiForceCompany/YetiForceCRM

Hello,

Issue

I am working on YetiForce 4.4.0 (Fresh installation) and I create some modules (with the Module Manager). I can create 1:M relation field with Layout Editor but I don't know how to add other relation (1:1, M:M) and/or bi-directional relations.

Is there any tips to create relations between modules ?

Thank you for your support.

Your Environment

  • YetiForce Version used: 4.4.0
  • Browser name and version: Firefox / Chrome
  • Environment name and version: Windows
  • Operating System and version: CentOS Linux 7.5.1804
โ” question

Most helpful comment

You need to activate this feature in /config/relation.php

All 6 comments

To follow up on vovpff, after that you can go to here:
/index.php?module=LayoutEditor&parent=Settings&view=Index&mode=showRelatedListLayout&block=2&fieldid=41

And add your relation from Source (e.g. Contact) to Target (e.g. te-duem MODULE).
With regard to the Many to Many and Many to Many with Separation of data. I'm not sure what the differences is yet. See issue: https://github.com/YetiForceCompany/YetiForceCRM/issues/7482

Thank you for your response.
I can now add my relations !

I just did that, but there is no "add relation button" - am I missing something? Something with cron, sessions or templates_c folder to delete maybe?

You need to activate this feature in /config/relation.php

Checked and seems fine but I had to restart apache2 and after reload it popped up.
So all is fine. But I do have one question.
If I have Accounts module and custom "Transactions" module where in Accounts I have custom userID which is unique and in Transactions I have also in multiple records userID which are supposed to be assigned to an account.
How do I make it to automatically assign Transactions to Accounts based on matching field? Just like tickets and mailscanner by email.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rskrzypczak picture rskrzypczak  ยท  3Comments

liberox picture liberox  ยท  3Comments

Raggazzoo picture Raggazzoo  ยท  3Comments

canomogollon picture canomogollon  ยท  3Comments

ldgbc picture ldgbc  ยท  3Comments