PO_RVCNTRCBU_VW

(SQL View)
Index Back

Off Contract Spend View


SELECT C.VENDOR_SETID , C.VENDOR_ID , L.BUSINESS_UNIT , L.VOUCHER_ID , L.VOUCHER_LINE_NUM , L.MERCHANDISE_AMT , L.TXN_CURRENCY_CD , C.SETID , C.CNTRCT_ID , L.CNTRCT_LINE_NBR , L.CAT_LINE_NBR FROM PS_CNTRCT_HDR C , PS_VOUCHER_LINE L , PS_SET_CNTRL_REC S WHERE C.CNTRCT_PROC_OPT IN ('AP', 'RPOV') AND C.VERSION_STATUS = 'C' AND C.AMT_CNTRCT_MAX > 0 AND S.SETCNTRLVALUE = L.BUSINESS_UNIT AND S.RECNAME = 'CNTRCT_HDR' AND C.SETID = S.SETID AND C.CNTRCT_ID = L.CNTRCT_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_AP_NONVW

4 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
5 VOUCHER_LINE_NUM Number(5,0) INTEGER NOT NULL Voucher Line Number
6 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
7 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
8 CNTRCT_SETID Character(5) VARCHAR2(5) NOT NULL SetID
9 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
10 CNTRCT_LINE_NBR Number(5,0) INTEGER NOT NULL Buying Agreement Line Nbr
11 CAT_LINE_NBR Number(5,0) INTEGER NOT NULL Contract Category Line Number