Opened 23 months ago

Closed 11 days ago

#3047 closed enhancement (fixed)

Update Incorrect SMTA Web Order Request Item Records

Reported by: Benjamin Haag Owned by: Benjamin Haag
Priority: major Milestone:
Component: Database, Custom Reports Version: N/A
Severity: 1 -- Low Effort Keywords:
Cc: karen.kittell@…, kurt.endress@… Database Engine: N/A
Operating System: N/A

Description (last modified by Benjamin Haag)

Due to a bug, there are a number of web order requests with at least one SMTAACCEPT action, but no items designated as "SMTA restricted."

Run a script that will:
1) Identify all records in web_order_request_action with an action_code of 'SMTAACCEPT'
2) Use the item ID list stored in the web_order_request_action.action_for_id to set the is_smta_restricted flag of each item to 'Y'.

Attachments (2)

Trac_3047_Email.pdf​ (188.0 KB ) - added by Benjamin Haag 22 months ago.
Trac_3047.sql​ (910 bytes ) - added by Benjamin Haag 22 months ago.
Corrected script; previous version had omitted update to order_request_item.

Download all attachments as: .zip

Change History (7)

comment:1 by Benjamin Haag, 23 months ago

Attached SQL script run successfully on DEV.

comment:2 by Benjamin Haag, 22 months ago

Cc: karen.kittell@… kurt.endress@… removed

by Benjamin Haag, 22 months ago

Attachment: Trac_3047_Email.pdf​ added

by Benjamin Haag, 22 months ago

Attachment: Trac_3047.sql​ added

Corrected script; previous version had omitted update to order_request_item.

comment:3 by Benjamin Haag, 22 months ago

Cc: karen.kittell@… kurt.endress@… added
Status: assigned → addressed

1) Corrected and re-attached SQL script, which had omitted the update to order_request.
2) Ran corrected script on dev and prod.

comment:4 by Benjamin Haag, 22 months ago

Description: modified (diff)

comment:5 by Benjamin Haag, 11 days ago

Resolution: → fixed
Severity: → 1 -- Low Effort
Status: addressed → closed
Note: See TracTickets for help on using tickets.