Hi, I looked but couldn’t find this anywhere, so here goes …
I have an object called COMPANY
I want to be able to define a hierarchy of companies, where any company may have one parent, and therefore a company may have many subsidiaries. I believe the way to achieve this is to create a self-referential CONNECTION from COMPANY to COMPANY.
That I can do, but my problem is that I cant work out how to make this work the way I need it to work:
I want to connect the SUBSIDIARY to the PARENT. i.e. when I create a new company, I want to select the parent from a list - thus establishing the subsidiary-parent connection.
What I DONT WANT is to connect the PARENT to the SUBSIDIARY. Doing it that way means every time I create a new subsidiary (like another branch office opens) I would need to edit the parent to connect the subsidiary to it. And of course, people will forget to do that and it all falls apart.
I have set up a connection from Company to Company and called it PARENT COMPANY, and that works, sort of. It gets populated while editing/creating the subsidiary. And the selected company is shown as the parent when viewing the subsidiary.
But I can find no way to display a list of the subsidiaries when viewing the parent company. I would have thought a simple grid of "This grid displays COMPANY records connected to this page’s COMPANY " would do the job. But it remains stubbornly blank when viewing the parent company. When viewing the subsidiary company, it shows the parent. Its like the connection is only recognized from the subsidiary to parent direction, but not in the parent to subsidiary direction
If this was a connection between two different objects the solution is obvious - define the connection in the other object! But I cant do that with a connection to the same object.
I have tried every combination of 1 to Many, Many to 1, 1 to 1, and Many to Many, and none of them work.
Does anyone know how I can achieve this, or if its possible at all?