Date Initials Issue Description 092107 dh F-AHAYT-95051 PRICE_REQ for ePro change from number to Sign to allow negative

PV_RTV_REQ_UP2

(SQL View)
Index Back

SELECT DISTINCT RTV.BUSINESS_UNIT , RTV.RTV_ID , B.BUSINESS_UNIT , B.PO_ID , B.BUSINESS_UNIT_REQ , B.REQ_ID , C.REQUESTOR_ID , C.OPRID_ENTERED_BY , H.ENTERED_DT , H.BUYER_ID , H.OPRID_MODIFIED_BY , H.ENTERED_BY , D.ITM_SETID , D.INV_ITEM_ID , D.DESCR254_MIXED , D.QTY_REQ , D.MERCHANDISE_AMT , D.PRICE_REQ , H.VENDOR_SETID , H.VENDOR_ID , RTV.RECEIVER_ID , H.RTV_STATUS , C.CURRENCY_CD , C.REQ_NAME , D.CATEGORY_ID , D.UNIT_OF_MEASURE , D.MFG_ID , D.MFG_ITM_ID , D.VNDR_CATALOG_ID , D.ITM_ID_VNDR , SUM(RTV.QTY_AM_RETRN_VUOM) , SUM(RTV.QTY_AM_SHIP_VUOM) , ' ' , ' ' FROM PS_PO_LINE_DISTRIB B , PS_REQ_HDR C , PS_REQ_LINE D , PS_RTV_LN_DISTRIB RTV , PS_RTV_HDR H WHERE B.BUSINESS_UNIT_REQ = C.BUSINESS_UNIT AND B.REQ_ID = C.REQ_ID AND C.BUSINESS_UNIT = D.BUSINESS_UNIT AND C.REQ_ID = D.REQ_ID AND RTV.BUSINESS_UNIT_PO = B.BUSINESS_UNIT AND RTV.PO_ID = B.PO_ID AND RTV.LINE_NBR = B.LINE_NBR AND RTV.SCHED_NBR = B.SCHED_NBR AND B.REQ_LINE_NBR = D.LINE_NBR AND H.BUSINESS_UNIT = RTV.BUSINESS_UNIT AND H.RTV_ID = RTV.RTV_ID GROUP BY RTV.BUSINESS_UNIT , RTV.RTV_ID , B.BUSINESS_UNIT , B.PO_ID , B.BUSINESS_UNIT_REQ , B.REQ_ID , C.REQUESTOR_ID , C.OPRID_ENTERED_BY , H.ENTERED_DT , H.BUYER_ID , H.OPRID_MODIFIED_BY , H.ENTERED_BY , D.ITM_SETID, D.INV_ITEM_ID , D.DESCR254_MIXED , D.QTY_REQ , D.MERCHANDISE_AMT , D.PRICE_REQ , H.VENDOR_SETID , H.VENDOR_ID , RTV.RECEIVER_ID , H.RTV_STATUS, C.CURRENCY_CD, C.REQ_NAME, D.CATEGORY_ID, D.UNIT_OF_MEASURE, D.MFG_ID, D.MFG_ITM_ID , D.VNDR_CATALOG_ID , D.ITM_ID_VNDR

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 RTV_ID Character(10) VARCHAR2(10) NOT NULL Return To Vendor ID
3 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit
4 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
5 BUSINESS_UNIT_REQ Character(5) VARCHAR2(5) NOT NULL Requesting Business Unit
6 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID
7 REQUESTOR_ID Character(30) VARCHAR2(30) NOT NULL Requestor id
8 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
9 ENTERED_DT Date(10) DATE Entered on
10 BUYER_ID Character(30) VARCHAR2(30) NOT NULL Buyer
11 OPRID_MODIFIED_BY Character(30) VARCHAR2(30) NOT NULL Last User to Modify Entered By 07/25/2011:Ensured that OPRID_MODIFIED_BY is set with format type of MixedCase.
12 ENTERED_BY Character(30) VARCHAR2(30) NOT NULL Entered by
13 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
14 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
15 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
16 QTY_REQ Number(16,4) DECIMAL(15,4) NOT NULL Requisition Quantity
17 PV_MERCH_AMT_REQ Signed Number(28,3) DECIMAL(26,3) NOT NULL Req Merchandise Amout
18 PRICE_REQ Signed Number(17,5) DECIMAL(15,5) NOT NULL Date Initials Issue Description 092107 dh F-AHAYT-95051 ePro change from number to Sign to allow negative
19 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
20 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
21 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
22 RTV_STATUS Character(1) VARCHAR2(1) NOT NULL Return Status
C=Closed
O=Open
S=Shipped
X=Cancelled
23 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
24 REQ_NAME Character(30) VARCHAR2(30) NOT NULL Requisition Name
25 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
26 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
27 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID
28 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID

Prompt Table: %EDIT_MFGITM_ID

29 VNDR_CATALOG_ID Character(20) VARCHAR2(20) NOT NULL Vendor's Catalog Number
30 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
31 QTY_AM_RETRN_VUOM Number(16,4) DECIMAL(15,4) NOT NULL Vendor Returned Qty
32 QTY_AM_SHIP_VUOM Number(16,4) DECIMAL(15,4) NOT NULL Supplier Shipped Qty
33 PV_RECV_MSG1 Character(254) VARCHAR2(254) NOT NULL Inquire Receipts
34 HTML_AREA_01 Long Character CLOB HTML Area