Opened 2 years ago

Closed 22 months ago

#3011 closed enhancement (fixed)

Add SMTA Flag to Order Request Item and Web Order Request Item tables

Reported by: Benjamin Haag Owned by: Benjamin Haag
Priority: major Milestone:
Component: Database, Schema Changes Version: N/A
Severity: Keywords:
Cc: karen.kittell@… Database Engine: N/A
Operating System: N/A

Description (last modified by Martin Reisinger)

In order to ensure the accurate reporting of SMTA-related germplasm requests, add a flag to order_request_item, such that SMTA-covered distributed material can be precisely recorded.

Flag field was also added to the web_order_request_item table.

Attachments (1)

Trac_3011.sql​ (142 bytes ) - added by Benjamin Haag 2 years ago.
Scripts used to add columns to relevant tables.

Download all attachments as: .zip

Change History (15)

comment:1 by Benjamin Haag, 2 years ago

The column is_smta_restricted has been added to order_request_item on dev.

comment:2 by Benjamin Haag, 2 years ago

Column added to web_order_request_item on the assumption the PW user may need to review their web request detail page to see which accessions have been requested that have some sort of IPR associated.

comment:3 by Kay Kittell, 2 years ago

The orderdetailhistory page currently shows what items have SMTA attached and will continue to do so in the future. The "assumption" is a fact.

comment:4 by Kay Kittell, 2 years ago

Please attach the script that adds the field to the tables so that I can add it to my local database.

by Benjamin Haag, 2 years ago

Attachment: Trac_3011.sql​ added

Scripts used to add columns to relevant tables.

comment:5 by Benjamin Haag, 2 years ago

Tables re-mapped on dev.

comment:6 by Benjamin Haag, 2 years ago

Status: assigned → addressed

comment:7 by Stacey, 2 years ago

today on DEV:

NOT found: order_request_item.

Also needs to be added to

Order Packing/ Picking Report 2 (including disclaimer)

comment:8 by Kay Kittell, 2 years ago

The is_smta_restricted flag has been added to the order_request_item table and is currently on dev. This ticket is completed and works correctly.

What needs to happen now is that the OW/CT needs to use that flag in showing what accessions are SMTA. Pete is aware. Same with reports. Those 2 items are not part of this ticket.

comment:9 by Stacey, 2 years ago

This ticket specifically asks for the CT dataview to be updated.

The fields are present in DEV order_wizard dataviews and NOT present in the CT dataview. There's many tickets asking for all order item dataviews to be harmonized between the CT and the OW.

Adding the fields to the OW item tables was requested in #3020

comment:10 by Martin Reisinger, 23 months ago

Description: modified (diff)

comment:11 by Martin Reisinger, 23 months ago

Description: modified (diff)

comment:12 by Martin Reisinger, 23 months ago

Summary: Add SMTA Flag to Order Request Item Table → Add SMTA Flag to Order Request Item and Web Order Request Item tables

comment:13 by Stacey, 23 months ago

Verified on prod in January 1, 2025 - GG Server Release 2.3.11

for order wizard dataviews.

comment:14 by Benjamin Haag, 22 months ago

Resolution: → fixed
Status: addressed → closed
Note: See TracTickets for help on using tickets.