07-16-2021 11:35 AM
One of my departments just asked for counts of all the documents they have 1) scanned and 2) imported in calendars years a) 2019 and b) 2020; they want this for a report they need to provide next week. I've looked at the Scan Reports and they don't meet this need. Can anyone suggest another tool that would do this, or some SQL that would return the desired info? Thank you!
Rhianon Price
Texas Woman's University
07-16-2021 12:56 PM
I found this in another post, which has helped point me to one of the tables I need to query this data. Can anyone point me to where Import Type is stored? Thanks!
SELECT itg.itemtypegroupname AS 'Document Type Group',
dt.itemtypename AS 'Document Type',
COUNT(id.itemnum) AS 'Document Count'
FROM hsi.itemdata id
JOIN hsi.doctype dt
ON dt.itemtypenum = id.itemtypenum
JOIN hsi.itemtypegroup itg
ON itg.itemtypegroupnum = dt.itemtypegroupnum
GROUP BY itg.itemtypegroupname, dt.itemtypename
ORDER BY itg.itemtypegroupname, dt.itemtypename
07-16-2021 12:56 PM
I found this in another post, which has helped point me to one of the tables I need to query this data. Can anyone point me to where Import Type is stored? Thanks!
SELECT itg.itemtypegroupname AS 'Document Type Group',
dt.itemtypename AS 'Document Type',
COUNT(id.itemnum) AS 'Document Count'
FROM hsi.itemdata id
JOIN hsi.doctype dt
ON dt.itemtypenum = id.itemtypenum
JOIN hsi.itemtypegroup itg
ON itg.itemtypegroupnum = dt.itemtypegroupnum
GROUP BY itg.itemtypegroupname, dt.itemtypename
ORDER BY itg.itemtypegroupname, dt.itemtypename
07-19-2021 05:02 PM
07-20-2021 07:40 AM
Thanks, Roger! I was able to work out a query to meet my users' needs. I hadn't hit upon the article you referenced in my searches, but you're right, that's a good one.
Cheers!
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.