Relationship between Company and Department Table

anubhavkapoor76
ServiceNow Employee
ServiceNow Employee

Hi All,

Where does the relationship between Company ( core_company) and Departments ( cmn_department) table exist?

Assumption: Department field gets autopopulated on filling the Company field

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Anubhav,

"cmn_department" table has a field "company" that refers to the company table. Most likely there could be a client script in your instance which is auto-populating the Department field.

 

- Pradeep Sharma

View solution in original post

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Anubhav,

"cmn_department" table has a field "company" that refers to the company table. Most likely there could be a client script in your instance which is auto-populating the Department field.

 

- Pradeep Sharma

That's correct!! I just saw that....there is no client script that is filling it and I presume it was done first time when User Data was loaded.

Thanks Pradeep

You are very welcome. Let me know if that answered your question. If so, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

The reference field of company in cmn_department table does not populate any value)