﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
1502	Develop an Alternative Method for Linking Accession-Source-Coop Records	Martin Reisinger	Kurt Endress	"The get_accession_source_cooperator dataview links the source to a cooperator, so it has foreign key links to both the accession source record and the cooperator records. When loading records in the source coop dataview, the user must specify the source record using its value from the accession source lookup. That lookup is a bit complicated since an accession can have multiple sources and distinguishing them apart is tricky. So the lookup for a source is something like ""PI 536894 DONATED 07/14/1987"".

We should consider that the CT accept numeric IDs in lookup fields as an alternative form of input. In that case, you'd use the accession_source_id, shown as Accession Source ID in the accession source dataview. When the CT fails to find a matching string in lookup table under display_member, check the value_member if the input is an integer. In many cases it would be easier to use the integer ID value than the cumbersome lookups.

Alternatively, I could make a special raw dataview for accession source coop that doesn't use a lookup on the source field so you could just use the ID number.
"	enhancement	new	medium	Server Release (TBD)	Dataviews (CT)	N/A			lookups		N/A	N/A
