Location/Location Hierarchy

fran.lowry@mdc.mo.gov's picture

Can anyone tell me which database table holds the Location and Location Hierarchy data? 

lotsill's picture

The location names and guids

The location names and guids are in a stored in a view, named "vlocation".  The Hierarchy are stored in ResourceAssociation table.

Here is an article (KB 29384) outlining the Resource Association.
kb.altiris.com/display/1n/articleDirect/index.asp

fran.lowry@mdc.mo.gov's picture

The location names and guids

Ok, thanks so much for your help! I have a view created in the Altiris database that will give me exactly what I need as far as the locations and location hierarchy go, but do you know if I can now pull this view into the Altiris Console/Incidents/Queries? I'm not sure how to get to the 'real' sql statements behind the interface and I'm also not sure if I can pull a view in from another database (our 'help desk' database is Altiris_Incidents)....

Thanks again for all of your help!

mccarthy.cw's picture

Not 100% sure what you are

Not 100% sure what you are attempting to accomplish.  The Altiris > Incidents > Queries section will only allow you to pull data from the workitem table based on the expression you supply.  


fran.lowry@mdc.mo.gov's picture

That's what I was afraid

That's what I was afraid of!!!  Our Help Desk staff had typed in the name of all of our offices (locations) in each of our 'regions'  for the queires to be run for all open calls per region.  Our location names change and locations are dropped and added more often than we would like so the mainteance on these queries is very high.  I thought I might be able to use a view that I created in the Altiris database that produces a list of the location name and the region so that the logic on the reports could be reduced.  Is there any tool available within the Help Desk Solution where I can add data from additional tables? 

I have offered to write queries or reports outside of the Help Desk Solution but the staff needs the ability to pull the results up within the Help Desk software. 

Thanks for your help and, in advance, for any advice....

mccarthy.cw's picture

 You can use the reports tab

 You can use the reports tab to create a report based on SQL that you build.  You can also schedule the report to be emailed using the tasks tab.