I have Question on cmn_department Table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 04:20 AM
Hi There,
cmn_department table comes under core_company,
In my case, on cmn_department table company field is there, but in that field the department's associated company is not populating.
please find the below attached snapshot.
can someone please help me how to get the company names of those departments name.
Thanks,
Priya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 04:37 AM
I'm not sure what you mean by 'cmn_department table comes under core_company' as these are two separate tables, not extend from one or the other. In any event, right-click on the Company label and Show 'company' to confirm that this field is displayed from the department table and not elsewhere
Once you've confirmed the correct field is displaying on the department form, this is the field that associates a company to a department, so if nothing is shown there isn't one, and if you're seeing one somewhere else it's not setup correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 06:32 AM
Hi @Community Alums ,
The company field on the cmn_department table reference the core_company table.
Hence, you can get data from the core_company table. So what do you mean by "company is not populating"? Should it auto-populate? can't you lookup companies? or?
if my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
best regards
Anders
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/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2024 09:03 AM
Hi Priya, In my opinion, the reason you are able to see 'Company' field explicitly could be due to the 'View' associated to your user profile. And the Company filed not populating value is due to the multiple companies associated with that department.