﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
1167	A source descriptor observation data trigger is needed	dbmulg	dbmuqs	"when CT users enter source descriptor observation data, there should be a trigger to prevent user from saving incomplete data.

Currently user could save a row with just the source descriptor selected without putting any obs value, i.e. no data in any of these three column: source_descriptor_code_id, numeric_value and string_value.

Can we also make the 3 fields mutually exclusive?  For example, if the user is expected to input a code because it is a coded trait, could the trigger be edited (or a new one developed) that would then prevent the user from entering a numeric or text value in the other two fields?   As it is now, they can fill in all three.  The user has no initial visual clue what is required.  If it is a coded field (after they have selected  the inventory, crop, and trait) the user can select a coded value, but he can also input a numeric value and a text value in the other two (alternative) fields.

It would be ideal to have this control to avoid the user using the inappropriate field.  (Both Descriptors and Source Habitat Descriptors)
"	enhancement	new	minor	Post-NPGS Prod'n	Database, Custom Reports	1.9.4 Server					N/A	N/A
