Opened 9 years ago

Closed 8 years ago

#1559 closed defect (fixed)

Order Wizard get items needs a fix

Reported by: dbmuqs Owned by: Kurt Endress
Priority: medium Milestone: Server Release 1.10.1
Component: CT Order Wizard Version: N/A
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

The dv order_wizard_get_order_request_item fails when there are > 1 expired PVP. The fix on dev is to add a top 1 to the pvp section. As per previous email:

The culprit seems to be having 2 expired PVP's on one accession, e.g. PI 600770 which is in both orders Vicki is having trouble with. The line in the CT wizard DV needs to be:

,(SELECT top 1 'xPVP' FROM accession_ipr ipr2 WHERE ipr2.accession_id = i.accession_id AND ipr2.type_code = 'PVP' AND ipr2.expired_date IS NOT NULL) AS xpvp_warning

Change History (3)

comment:1 by Mark J. Millard, 9 years ago

Milestone: → Server Release 1.10.1

comment:2 by Pete Cyr, 9 years ago

Owner: changed from Pete Cyr to Kurt Endress
Status: new → assigned

I believe this was fixed by Kurt and is now in production. Transferring ownership to Kurt for final processing.

comment:3 by Kurt Endress, 8 years ago

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