Jump to content

Adding Department Field to a Report


AnthonyUSS

Recommended Posts

You have to join a few tables so you need to use a Report Type of SQL Schema Designer.

h_sys_account_groups tells you the Org Units linked to a person.

h_sys_groups tells you which of the Org Units is a Department (ie Type 2).

You have to join the above to something like the Requests table depending on the criteria (ie Filter) you are basing your report on.

  • Like 1
Link to comment
Share on other sites

I did it myself using the wiki and of course Google! If you can just use the Report 'Entity' option then that is easier but for the query above you need to Join tables so have to use SQL Schema Designer (and probably also Database Direct under Platform Configuration)

But it needs some time and effort. You will need some SQL Coding knowledge so it depends how technically minded you are (or if you have someone who can help).

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
On 03/10/2023 at 08:56, Julie K said:

Is it possible to return the whole string within one field as we're looking to get the Company, Division and Department in one field? 

@Julie K, in short "No".
It is currently not possible to have a calculated field in the result set.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...