﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
1196	Additional Codes are missing in the INVENTORY_AVAILABILITY_STATUS group	Mark J. Millard	dbmuqs	"This is a supplementary ticket addressing additional missing codes beyond those mentioned in ticket #1193, #1194, and #1195.  The additional missing codes are PACKAGE, PART_HAR, REL_UNCO, and VIROID.  The records can be found in the Search Tool using these queries in the query box:

@inventory.availability_status_code = 'PACKAGE'

@inventory.availability_status_code = 'PART_HAR'

@inventory.availability_status_code = 'REL_UNCO'

@inventory.availability_status_code = 'VIROID'

The missing codes were found using the following SQL and the resulting list of missing codes and the owners of those records follows:

SELECT inventory.availability_status_code, last_name, COUNT(inventory.availability_status_code) reccount FROM inventory JOIN cooperator on cooperator.cooperator_id = inventory.owned_by WHERE inventory.availability_status_code NOT IN (SELECT value FROM code_value WHERE group_name = 'INVENTORY_AVAILABILITY_STATUS') GROUP BY inventory.availability_status_code, last_name ORDER BY inventory.availability_status_code, last_name

availability_status_code	last_name	reccount
DISCARDED	Bernhardt	320
PACKAGE	Stout	312
PART_HAR	Stout	6
REL_UNCO	King	38
UNKNOWN	Conrad	954
UNKNOWN	Stout	781
VIROID	Hummer	4
VIRUS	Hummer	64
VIRUS	Postman	11
"	defect	closed	critical	Post-NPGS Prod'n	Database, Custom Reports	1.9.4 Server		fixed	codes	lisa.burke@…	SQL Server	Windows 7 Ultimate 64 bit
