About Self Association

Hi, I am currently trying to have a parent-child relationship within one entity. There are 3 elements, "TOP", "Department" and "Section" structure. I am using the following site as a reference for the manufacturing process, but what I am really trying to do is to create a single screen that shows the parent-child relationship. (See the  image). self association The way this site works, I can only show two layers (parent-child) on the screen. I would appreciate your advice on how to achieve the ideal in my case using self-association. I am open to questions, etc., as I am sure this is an abstract subject. Best regards
1 answers

Hi Daichi

There are several ways to achieve this:

First set your Domain model like this with one to many relation in Organization

Now add a column in the grid with the Parent reference

Select the reference to Parent Organization on the new column as shown below :