﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
1191	Codes for ACCESSION_ACTION group are missing	Mark J. Millard	dbmuqs	"There are 14 codes in the ACCESSION_ACTION group of codes.  The records using these codes either need to be edited to change the code to an existing code or these codes need to be added.  The query to find these missing codes is as follows.  And the codes, number of records and owners is listed below.

SELECT accession_action.action_name_code, last_name, COUNT(accession_action.action_name_code) reccount FROM accession_action JOIN cooperator on cooperator.cooperator_id = accession_action.owned_by WHERE accession_action.action_name_code NOT IN (SELECT value FROM code_value WHERE group_name = 'ACCESSION_ACTION') GROUP BY accession_action.action_name_code, last_name ORDER BY accession_action.action_name_code, last_name


action_name_code	last_name	reccount
HIDE LOCAL	White	2
HIDE_HAB	Loth	191
IPR	Spinks	2
IPR	White	114
IPR_NOTES	Millard	89
IPR_NOTES	Stout	3
LATITUDE	Stout	43
LONGITUDE	Stout	43
NC7SUMMARY	Burke	1
NC7SUMMARY	Carstens	18
NC7SUMMARY	Conrad	24
NC7SUMMARY	DeBuse	1
NC7SUMMARY	Dellefave	2
NC7SUMMARY	Hummer	1
NC7SUMMARY	Kubenka	1
NC7SUMMARY	Millard	19
NC7SUMMARY	Postman	1
NC7SUMMARY	Stieve	1
NC7SUMMARY	SYSTEM	2
OBSADDED	Spinks	4
PHOTOPERIO	Stout	444
PI_BOOKS	Stout	1
SMTA	Stout	1
SOS_ACCEPT	Brenner	17
SOS_ACCEPT	Carstens	252
SOS_ACCEPT	Marek	92
SOS_ACCEPT	Spinks	275
SOS_ACCEPT	Stieve	1
SOS_ACCEPT	Stout	2880
SOS_ACCEPT	SYSTEM	1
SOS_ACCEPT	Tennies	2
TABLEBEET	Stout	180
TAXON_ID	Brenner	2
TAXON_ID	Carstens	2
TAXON_ID	Marek	8
TAXON_ID	Spinks	10
TAXON_ID	Stieve	7
TAXON_ID	Stout	111
TAXON_ID	SYSTEM	1
TAXON_ID	Wells	7
"	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
