Link-Parent Does not work properly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grzegorzgie
    Member
    • Jun 2016
    • 31

    Link-Parent Does not work properly

    Good morning,


    I've created an extra unit "Individual clients" and I would like to independently connect it with "Opportunities" ("Account" was linked there earlier). I've created a relationship Many-To-One for "Individual Clients" and created a varchar field "Payer". Then I've edited it in custom\Espo\Custom\Resources\metadata\enityDefs\Op portunity.json changing its value to:

    Code:
    "Payer": {
       "type": "linkParent",
                "entityList": [
                    "Account",
                    "IndividualClients"
                ],
                "notStorable": true,
                "required": false,
                "audited": false
            }
    It seems that everything is working properly, but there's just one problem: from the view of the relationship between "Account" and "Individual Clients", the field of the form doesn't fill automatically.
    How to fix it?
  • grzegorzgie
    Member
    • Jun 2016
    • 31

    #2

    Anyone knows why that works?

    Comment

    • yuri
      Member
      • Mar 2014
      • 8698

      #3
      It's not clear for me what doesn't work.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      • grzegorzgie
        Member
        • Jun 2016
        • 31

        #4

        There is another way to create such a link ?

        Comment

        Working...