Find parent and child table name from a report

Rahul Gaur
Giga Expert

Hello All, 

 

The attached 2 screenshot are of 2 different reports.

In this report "Primary parent.Managed by" is being called out from a different table. Referred as Primary Parent.

 

I would like to know and learn, how can I find the name of Primary parent table?

RahulGaur_0-1751296352960.png

 

Similarly 

in this report "Parent.NBS Sys ID", "Parent.Class", "Child.NBS Sys ID" and "Child.Class" are being called out from a different (Parent and Child) tables.

I would like to know and learn, how can I find the name of Parent and Child table?

RahulGaur_1-1751296586552.png

 

1 ACCEPTED SOLUTION

Rahul Gaur
Giga Expert

Hello All, 

 

In the first report screenshot.

I have checked Table (via sys_db_object.list) to see the table named “Service” (cmdb_ci_service) and column names in it.

I found that the “Primary parent” (parent) is listed as a column and referenced to another table named "Configuration Item" (cmdb_ci).

 

RahulGaur_0-1751471769510.png

 

In the second report screenshot.

I have checked Table (via sys_db_object.list) to see the table named “CI Relationship” (cmdb_rel_ci) and column names in it.

I found that the “Parent” (parent) and “Child” (child) are listed as column names and referenced to another table named "Configuration Item" (cmdb_ci).

 

RahulGaur_1-1751471787094.png

I feel this is the information I was looking for.

 

View solution in original post

3 REPLIES 3

AndersBGS
Tera Patron
Tera Patron

Hi @Rahul Gaur ,

 

From what I can see from your screenshot is, that your reports are based on the cmdb_rel_ci table which is a many to many table. Try looking up this table from your application menu, then it will give you a pretty good overview of what it contains (class = CMDB table extension e.g. cmdb_ci_computer

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Hello AndersBGS

Thank you for responding.

 

Regards

Rahul Gaur

Rahul Gaur
Giga Expert

Hello All, 

 

In the first report screenshot.

I have checked Table (via sys_db_object.list) to see the table named “Service” (cmdb_ci_service) and column names in it.

I found that the “Primary parent” (parent) is listed as a column and referenced to another table named "Configuration Item" (cmdb_ci).

 

RahulGaur_0-1751471769510.png

 

In the second report screenshot.

I have checked Table (via sys_db_object.list) to see the table named “CI Relationship” (cmdb_rel_ci) and column names in it.

I found that the “Parent” (parent) and “Child” (child) are listed as column names and referenced to another table named "Configuration Item" (cmdb_ci).

 

RahulGaur_1-1751471787094.png

I feel this is the information I was looking for.