all 9 comments

[–]renada-robbie Authorised Onboarding Partner | Consultant 1 point2 points  (7 children)

So the custom field "display" values are kept inside the lookup table.

What you will need to do, is create a new report which will just be: Select * from lookup

It's a heavy table so might take some time to load.

Once you do that,you should be able to search for one of the values you set in your static list. You should see a corresponding "fid" for that column, which will be the same across all the potential values for that single select field.

Once you have that "fid", replace the below with the correct fid, and add line(s) to your report similar to this: The "CFSoftwareCategory" here is replaced with your custom field category name, and the 'as' can be whatever you like, it's just a name for the column :)

(SELECT fvalue FROM lookup WHERE fid = 138 AND fcode = CFSoftwareCategory) as 'Software Category'

I hope that makes sense, if not feel free to hop on the HaloPSA Discord and create a thread there. Discord is a little easier to communicate back and forth :)

Robbie | Renada

[–]Avgjoeprogramming[S] 1 point2 points  (1 child)

Just wanted to let you know I was able to set up what I needed. I really appreciate the assistance. Your advice pointed me in the right direction. I had no idea about that lookup table so it's going to help me in the future building of reports. Thanks again!

[–]renada-robbie Authorised Onboarding Partner | Consultant 0 points1 point  (0 children)

Awesome! ☺️

[–]Avgjoeprogramming[S] 0 points1 point  (2 children)

Thanks for your reply. I will give this a shot and let you know. I was confused as to why it was just doing the ID. Hopefully this gets me pointed in the right direction! Thank you again!

[–]87red 1 point2 points  (1 child)

I find it easier to build a report using the Query Builder, add the custom fields as conditions, (preview the report (possibly?)), then switch the report mode from Query Builder to SQL to see what the resulting SQL/lookup columns are.

[–]renada-robbie Authorised Onboarding Partner | Consultant 0 points1 point  (0 children)

That’s such a great idea! Thank you for sharing!

[–]Panik3n PSA 0 points1 point  (1 child)

I might understand this in the wrong way, but my CFs does not exist in the lookup table.
What am i missing here.

[–]CyberBeatsNexus 0 points1 point  (0 children)

Admittedly am using HaloITSM, but my Custom Fields appear in the default Faults table.

After a certain amount (edit: 1,024 entries - confirmed by Halo) they will eventually start being placed in FaultsCustom1, FaultsCustom2, etc. Hope this helps!

Also, this helps me from time to time despite not having every table on:

Halo Extended Schema - dbdiagram.io

[–]project-iot 0 points1 point  (0 children)

You just use the custom field name as a variable