﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
892	Dataviews with Missing Table Names in AT	Martin Reisinger		"Why do some fields in the AT not have a table reference? (note this DV is on my local host, but I just recently updated my server stuff. I assume it is the same as what is on the npgsweb or dev?)
from Kurt:
Marty,

That’s not just a problem on your system. I see the same thing on npgsdev and npgsdb. It looks like it’s just a glitch in the Admin Tool. The actual data looks fine in the sys_dataview_field table. It knows what table that field is. I think the admin tool is getting confused by the inventory_id_string field which essentially is the inventory_id showing up a second time.

This query reassures me everything is fine even though it doesn’t look right in the AT.

SELECT sdf.field_name AS DVfield, st.table_name, stf.field_name
FROM sys_dataview_field sdf
INNER join sys_dataview sd ON sdf.sys_dataview_id = sd.sys_dataview_id
LEFT JOIN sys_table_field stf ON sdf.sys_table_field_id = stf.sys_table_field_id
LEFT JOIN sys_table st ON st.sys_table_id = stf.sys_table_id
WHERE sd.dataview_name = 'get_inventory'
ORDER BY sdf.sort_order

"	defect	new	medium	Post 1.0	Admin Tool	1.9.6.11					N/A	N/A
