PV_RTV_PBTN_BK

(SQL View)
Index Back

backup of PV_RTV_PBTN_VW

the pre-SP1 version

SELECT DISTINCT A.REQ_ID , A.BUSINESS_UNIT , A.OPRID_ENTERED_BY , A.REQUESTOR_ID , A.REQ_STATUS FROM PS_PV_RTV_BTN_VW4 A , PS_PV_RTV_BTN_VW3 B , PS_PO_LINE PO WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.REQ_ID = B.REQ_ID AND B.BUSINESS_UNIT_PO = PO.BUSINESS_UNIT AND B.PO_ID = PO.PO_ID AND B.LINE_NBR = PO.LINE_NBR AND ((B.QTY_SH_ACCPT_VUOM <> 0 AND (B.QTY_AM_RETRN_VUOM < B.QTY_SH_ACCPT_VUOM OR QTY_AM_RETRN_VUOM IS NULL)) OR PO.RECV_REQ <> 'Y')

# 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 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
4 REQUESTOR_ID Character(30) VARCHAR2(30) NOT NULL Requestor id
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