PO_APPR_USER_VW

(SQL View)
Index Back

Approve PO User View

Approve PO User View

SELECT DISTINCT A.BUSINESS_UNIT , A.PO_ID , A.EOAWSTEP_STATUS , A.EOAWSTEP_STATUS , A.OPRID , B.BUYER_ID , B.OPRID_ENTERED_BY , B.PO_DT , B.CURRENCY_CD , B.PO_TOTAL , B.PO_REF , B.PO_STATUS , B.BUYER_ID , B.VENDOR_SETID , B.VENDOR_ID , MIN(A.DTTM_CREATED) FROM PS_PO_AW_ACTION_VW A , PS_PO_APPR_HDR_VW B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PO_ID = B.PO_ID AND B.HOLD_STATUS = 'N' GROUP BY A.BUSINESS_UNIT , A.PO_ID , A.EOAWSTEP_STATUS , A.EOAWSTEP_STATUS , A.EOAWTHREAD_STATUS , A.OPRID , B.BUYER_ID , B.OPRID_ENTERED_BY , B.PO_DT , B.CURRENCY_CD , B.PO_TOTAL, B.PO_REF, B.PO_STATUS ,B.BUYER_ID, B.VENDOR_ID, B.VENDOR_SETID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
3 AWSTEP_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
K=Skipped
L=Terminated
M=Administrator approved
N=Not Active
P=Pending
R=No longer in role
S=Skipped
T=Terminated
U=Auto approved
X=Deleted
Y=Bypassed
4 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
5 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
6 ORIGINATORID Character(30) VARCHAR2(30) NOT NULL Originator Identifier
7 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
8 PO_DT Date(10) DATE Date
9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
10 PO_TOTAL Signed Number(28,3) DECIMAL(26,3) NOT NULL PO Total
11 PO_REF Character(30) VARCHAR2(30) NOT NULL Specifies the purchase order number associated with a receivables item.
12 PO_STATUS Character(2) VARCHAR2(2) NOT NULL PO Status
A=Approved
C=Complete
D=Dispatched
DA=Denied
I=Initial
LD=Line Denied
O=Open
PA=Pending Approval/Approved
PX=Pending Cancel
X=Canceled
13 BUYER_ID Character(30) VARCHAR2(30) NOT NULL Buyer
14 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
15 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

Prompt Table: VENDOR_VW

16 DTTM_CREATED DateTime(26) TIMESTAMP Datetime Created