﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
3080	Modify Web Accession Detail PVP Dataview	Benjamin Haag	Benjamin Haag	"=== Overview
The Web Accession Detail PVP dataview (**web_accession_detail_pvp_2**) is currently based on a join of the following tables:
* pvp_application
* pvp_applicant
* pvp_common_name
* pvp_application_status

Tables had been created several years ago in an attempt to normalize this component of the database, and are based on the table pvpo_import, which is used to import the more-or-less monthly spreadsheet posted by the AMS, and that contains PVP application updates.

Keeping these tables up to date requires an ETL procedure that duplicates work done by Alison LaTona, who currently manages the regular import of the spreadsheet indicated above. The proposed solution is to link the PW dataview directly to the accession_ipr table, allowing her vetted edits to appear with no additional steps or risk of errors.

There are however fields that are currently in the imported data set that are not in accession_ipr, and that appear on the PW accession detail page within the IPR tab. These fields could be added to accession_ipr and incorporated into the import process.

=== Steps
1. Modify dataview SQL (see attached)
2. Add fields to accession_ipr that are c"	enhancement	assigned	medium		Dataviews (CT)	N/A				cullen.mcgovern@…	N/A	N/A
