Opened 4 years ago

Last modified 20 months ago

#2737 addressed enhancement

Phyto_Log - Destination Country

Reported by: Stacey Owned by: Benjamin Haag
Priority: medium Milestone: ADCOM PRIORITY 2025
Component: Database, Schema Changes Version: N/A
Severity: Keywords: usability customer service international
Cc: jennifer.friedman@… Database Engine: SQL Server
Operating System: N/A

Description

Add a field: Destination Country to the order_request_phyto_log dataview

Ideally, this field could auto-populate with the geography_id of the Order_Request.Final_recipient_cooperator_id from the original order request but also be editable in the phyto_log dataview

Attachments (1)

Trac_2737.sql​ (315 bytes ) - added by Benjamin Haag 22 months ago.
SQL used to add table column and related key(s).

Download all attachments as: .zip

Change History (7)

comment:1 by Benjamin Haag, 22 months ago

Is this field supposed to be a country code, or geography ID?

comment:2 by Stacey, 22 months ago

Geography ID is fine. It may have additional ADM-1 information that is not needed.

by Benjamin Haag, 22 months ago

Attachment: Trac_2737.sql​ added

SQL used to add table column and related key(s).

comment:3 by Benjamin Haag, 22 months ago

Added geo-lookup column, titled Destination Country, to get_order_request_phyto_log dataview on dev.

comment:4 by Benjamin Haag, 22 months ago

Database Engine: N/A → SQL Server
Status: assigned → addressed

comment:5 by Benjamin Haag, 22 months ago

Milestone: → ADCOM PRIORITY 2025

comment:6 by Stacey, 20 months ago

Tested on DEV 4/10/25

ERROR MESSAGE: Get Data Error

There was an unexpected error retrieving data for get_order_request_phyto_log.

Full error message:

All queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists.

Note: See TracTickets for help on using tickets.