PV_REQ_TOTAL

(SQL View)
Index Back

SELECT A.REQ_ID , A.BUSINESS_UNIT , B.REQUESTOR_ID , B.OPRID_ENTERED_BY , B.REQ_STATUS , SUM(A.MERCHANDISE_AMT) FROM PS_REQ_LINE A , PS_REQ_HDR B WHERE A.REQ_ID = B.REQ_ID AND A.BUSINESS_UNIT=B.BUSINESS_UNIT GROUP BY A.REQ_ID, A.BUSINESS_UNIT, B.OPRID_ENTERED_BY, B.REQUESTOR_ID, B.REQ_STATUS

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 REQUESTOR_ID Character(30) VARCHAR2(30) NOT NULL Requestor id
4 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
5 REQ_STATUS Character(4) VARCHAR2(4) NOT NULL Req status
A=Approved
C=Complete
D=Denied
I=Initial
LA=Line Approved
O=Open
P=Pending Approval
V=Preview
X=Canceled
6 REQ_TOTAL Signed Number(30,5) DECIMAL(28,5) NOT NULL Requisition Total