﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	db_engine	os_version
3038	"Retroactive is_SMTA_restricted  = ""Y"" of IPR MTA-SMTA"	Stacey	Benjamin Haag	"Retroactively fill in the Y/N flag for order items and web order items distributed under SMTA because of an Accession IPR: MTA-SMTA. Setting the Is_SMTA_restricted column to ""Y"" harmonizes the information already presented in the OW IPR restriction and OW SMTA Warning columns of the OW order item table. 

Update these dataviews:
- order_wizard_get_order_item
- order_wizard_get_web_order_request_item
''I assume that order_wizard_get_packet_label and the order packing/picking2 report have a greyed out is_SMTA_restricted column that is populated from order_wizard_get_order_item.''


Run a script to fill in the new is_SMTA_restricted column(s) in the order_items and web_order_items tables as described. 


- is_smta_restricted column set to ""Y"" if the distributed item has an MTA-SMTA record in the Accession IPR table AND the item was distributed under the SMTA conditions (order_request_action.action_name_code = SMTAACCEPT).

There is a companion trac #3037 to flag items distributed internationally in 2024 under the blanket SMTA changes."	gap	closed	medium		Database, Data Updates	N/A		fixed	order wizard SMTA restricted MTA-SMTA	karen.kittell@…	N/A	N/A
