AUC_AWD_DSTLN

(SQL View)
Index Back

Distinct Lines in Event

A list of distinct lines in an event.

SELECT AL.business_unit , AL.auc_id , AL.auc_round , AL.auc_version , AL.line_nbr , AL.descr254_mixed , AL.INV_ITEM_ID FROM ps_auc_line AL WHERE AL.auc_line_type = 'L' AND AL.AUC_ROUND = ( SELECT MAX(AUC_ROUND) FROM PS_AUC_HDR WHERE BUSINESS_UNIT = AL.BUSINESS_UNIT AND AUC_ID = AL.AUC_ID) AND AL.AUC_VERSION = ( SELECT MAX(AUC_VERSION) FROM PS_AUC_HDR WHERE BUSINESS_UNIT = AL.BUSINESS_UNIT AND AUC_ID = AL.AUC_ID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 AUC_ID Character(10) VARCHAR2(10) NOT NULL Event ID
3 AUC_ROUND Number(5,0) INTEGER NOT NULL Event Round
4 AUC_VERSION Number(5,0) INTEGER NOT NULL Event Version
5 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
6 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
7 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID