﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
1364	crop_trait_observation possible trigger addition	dbmuqs	dbmuqs	"The cto trigger checks that the proper column has data as per the information in the crop_trait row. If is_coded = 'Y' then data must be in the coded column, if not coded then the data_type_code is checked, NUMERIC - numeric column filled in, CHAR then string column.

What it doesn't do is prevent 2 or all three to have data. Just that the correct column has data. Having the extra columns shouldn't be a huge problem other than extra work for the person entering the data. But it seems the PW does not check the crop_trait table to see what column to display, instead it seems to have a fixed method of going through the 3 columns and showing not necessarily the correct column. "	enhancement	new	minor	1.10.2	Database, Custom Reports	N/A			trigger		N/A	N/A
