AUC_OPT_EVSR_VW

(SQL View)
Index Back

Analyze Search

Analyze Search record

SELECT A.business_unit , A.auc_id , A.auc_round , a.auc_version , A.auc_format , A.auc_type , A.blind_flg , A.auc_name , A.oprid_entered_by , B.oprdefndesc , A.auc_status , A.auc_dttm_finish FROM PS_AUC_HDR A , psoprdefn B WHERE A.oprid_entered_by = B.oprid AND A.auc_dttm_finish <= %CurrentDateTimeIn AND (A.auc_status = 'P' OR A.auc_status = 'T') AND A.auc_format = 'R' AND A.auc_round = ( SELECT MAX(auc_round) FROM PS_AUC_HDR WHERE business_unit = A.business_unit AND auc_id = A.auc_id) AND A.auc_version = ( SELECT MAX(auc_version) FROM PS_AUC_HDR WHERE business_unit = A.business_unit AND auc_id = A.auc_id AND auc_round = A.auc_round) AND EXISTS( SELECT LINE_NBR FROM PS_AUC_LINE WHERE BUSINESS_UNIT = A.BUSINESS_UNIT AND AUC_ID = A.AUC_ID AND AUC_ROUND = A.AUC_ROUND AND AUC_VERSION = A.AUC_VERSION AND AUC_LINE_STATUS = 'O' AND QTY_AUC > AUC_QTY_AWARDED)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_AUC_BU_NONVW

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 AUC_FORMAT Character(1) VARCHAR2(1) NOT NULL Event Format
F=Sell
I=RFI
R=Buy
S=Service
6 AUC_TYPE Character(1) VARCHAR2(1) NOT NULL Event Type
E=Auction
S=RFx
7 BLIND_FLG Character(1) VARCHAR2(1) NOT NULL Sealed Event
8 AUC_NAME Character(50) VARCHAR2(50) NOT NULL Event Name
9 OPRID_ENTERED_BY Character(30) VARCHAR2(30) NOT NULL Entered By 07/25/2011 MRAD 12383033 :Ensured that OPRID_ENTERED_BY is set with format type of MixedCase. 03/22/2013 GL 16482301: Switched OPRID_ENTERED_BY back to MixedCase again. Please don't change it to UpperCase!!! FYI - The alternatives to use a User ID as uppercase: 1) Create your own User ID, add comments in the Field Properties, and fill out the Owner ID 2) Use %Upper meta-SQL in SQL statements 3) Use Upper function in peoplecodes
10 OPRDEFNDESC Character(30) VARCHAR2(30) NOT NULL Description field for a user
11 AUC_STATUS Character(1) VARCHAR2(1) NOT NULL Event Status
A=Awarded
C=Collaborating Event
D=Collaborating Bid Analysis
E=Evaluating
F=RFI Reviewed
I=Pending RFI Review
N=Not Awarded
O=Open
P=Posted
Q=Paused
R=Pending Scheduled Review
S=Pending Post Approval
T=Pending Award
U=Pending Award Approval
W=Post to Third Party Failed
X=Cancelled
Z=Inactive Version
12 AUC_DTTM_FINISH DateTime(26) TIMESTAMP NOT NULL Date Time Finish