AUC_EVT_MAP_VW

(SQL View)
Index Back

SELECT DISTINCT A.BUSINESS_UNIT ,A.AUC_ID ,A.AUC_ROUND ,A.AUC_VERSION ,A.CURRENCY_CD ,A.AUC_NAME ,A.AUC_STATUS ,A.AUC_TYPE ,A.AUC_FORMAT ,A.AUC_DTTM_START ,A.AUC_DTTM_FINISH ,A.OPRID_ENTERED_BY ,B.OPRDEFNDESC ,A.RATE_DATE ,A.RT_TYPE ,%DatePart(U.DTTM_CREATED) ,U.OPRID ,U.EOAWORIG_OPRID ,U.EOAWDTTM_COMPLETE ,S.EOAWTHREAD_ID ,S.EOAWSTEP_STATUS ,S.EOAWPRCS_ID ,S.EOAWDEFN_ID ,S.EFFDT ,S.EOAWSTEP_NBR ,X.ORIGINATORID ,X.EOAWREQUESTOR_ID ,X.EOAWTHREAD_STATUS ,X.EOAWDTTM_MODIFIED ,U.DTTM_CREATED ,'2' FROM PS_AUC_HDR A ,PS_AUC_EMPL_OPR_VW B ,PS_AUC_EVENT_APPR X ,PS_EOAW_STEPINST S ,PS_EOAW_USERINST U WHERE A.BUSINESS_UNIT=X.BUSINESS_UNIT AND A.AUC_ID=X.AUC_ID AND A.AUC_ROUND =X.AUC_ROUND AND A.AUC_VERSION=X.AUC_VERSION AND A.OPRID_ENTERED_BY=B.OPRID AND X.EOAWTHREAD_ID=S.EOAWTHREAD_ID AND X.EOAWPRCS_ID=S.EOAWPRCS_ID AND X.EOAWDEFN_ID=S.EOAWDEFN_ID AND S.EOAWSTEP_INSTANCE=U.EOAWSTEP_INSTANCE AND X.EOAWTHREAD_ID=( SELECT MAX(B.EOAWTHREAD_ID) FROM PS_AUC_EVENT_APPR B WHERE B.BUSINESS_UNIT=X.BUSINESS_UNIT AND B.AUC_ID=X.AUC_ID AND B.AUC_ROUND=X.AUC_ROUND AND B.AUC_VERSION=A.AUC_VERSION)

# 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 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
6 AUC_NAME Character(50) VARCHAR2(50) NOT NULL Event Name
7 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

Default Value: O

8 AUC_TYPE Character(1) VARCHAR2(1) NOT NULL Event Type
E=Auction
S=RFx
9 AUC_FORMAT Character(1) VARCHAR2(1) NOT NULL Event Format
F=Sell
I=RFI
R=Buy
S=Service
10 AUC_DTTM_START DateTime(26) TIMESTAMP Date Time Start
11 AUC_DTTM_FINISH DateTime(26) TIMESTAMP Date Time Finish
12 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
13 OPRDEFNDESC Character(30) VARCHAR2(30) NOT NULL Description field for a user
14 RATE_DATE Date(10) DATE Exchange Rate Date
15 RATE_TYPE Character(2) VARCHAR2(2) NOT NULL Rate Per
HR=Hourly
UN=Per Unit
16 EOAWSTART_DT Date(10) DATE Start Date
17 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
18 EOAWORIG_OPRID Character(30) VARCHAR2(30) NOT NULL User ID
19 EOAWDTTM_COMPLETE DateTime(26) TIMESTAMP Date/Time Completed
20 EOAWTHREAD_ID Number(15,0) DECIMAL(15) NOT NULL Approval Framework Thread ID
21 EOAWSTEP_STATUS Character(1) VARCHAR2(1) NOT NULL Step Instance Status
A=Approved
B=Pushed back
C=Auto Approved
D=Denied
E=Administrator denied
F=Deleted
G=Bypassed
H=On Hold
I=No Action Taken
K=Skipped
L=Terminated
M=Administrator approved
N=Not Active
P=Pending
R=No longer in role
T=Terminated
U=Auto approved
X=Deleted
Z=Pending Denial
22 EOAWPRCS_ID Character(30) VARCHAR2(30) NOT NULL Approval Process ID
23 EOAWDEFN_ID Character(30) VARCHAR2(30) NOT NULL Approval Framework Definition ID
24 EFFDT Date(10) DATE Effective Date

Default Value: %date

25 EOAWSTEP_NBR Number(6,2) DECIMAL(5,2) NOT NULL Sequence number of step in its path
26 ORIGINATORID Character(30) VARCHAR2(30) NOT NULL Originator Identifier
27 EOAWREQUESTOR_ID Character(30) VARCHAR2(30) NOT NULL Requestor id
28 EOAWTHREAD_STATUS Character(1) VARCHAR2(1) NOT NULL Thread Status
A=Approved
C=Complete
D=Denied
E=Pending Denial
H=Hard Deny
I=Initial
N=Not Active
P=Pending
S=Awaiting Further Approvals
T=Terminated
W=Canceled
X=Suspended/Pending Denial
29 EOAWDTTM_MODIFIED DateTime(26) TIMESTAMP Datetime modified
30 DTTM_CREATED DateTime(26) TIMESTAMP Datetime Created
31 PRIORITY_FLG Character(1) VARCHAR2(1) NOT NULL Priority Flag
1=High
2=Medium
3=Low