APVM_MATCHD_VW

(SQL View)
Index Back

SELECT D.MATCH_STATUS_VCHR , A.BUSINESS_UNIT ,A.VENDOR_SETID , C.VENDOR_NAME_SHORT , A.VENDOR_ID , A.VOUCHER_ID , A.VOUCHER_LINE_NUM , A.INVOICE_DT , A.PO_ID , A.SHIPTO_ID , B.MATCH_RULE_ID , E.DESCR254 , A.MERCH_AMT_VCHR , A.MERCH_AMT_RECV , A.MERCH_AMT_PO ,C.NAME1 , A.INVOICE_ID , D.MATCH_DUE_DT , A.MATCH_CNTRL_ID , A.BUYER_ID , A.BUSINESS_UNIT_PO , A.ITM_SETID , A.INV_ITEM_ID , D.AP_MATCH_TYPE , C.OFAC_STATUS FROM PS_VCHR_MTCH_DETLS A , PS_AP_MTCH_EXCPTN B , PS_VENDOR C , PS_VOUCHER D , PS_AP_MTCH_RULES E WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.VOUCHER_ID = B.VOUCHER_ID AND A.VOUCHER_LINE_NUM = B.VOUCHER_LINE_NUM AND A.VENDOR_SETID = C.SETID AND A.VENDOR_ID = C.VENDOR_ID AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.VOUCHER_ID = D.VOUCHER_ID AND B.MATCH_RULE_ID = E.MATCH_RULE_ID AND D.MATCH_STATUS_VCHR IN ('D', 'E')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 MATCH_STATUS_VCHR Character(1) VARCHAR2(1) NOT NULL Match Status
C=Overridden - Credit Note
D=Match Dispute
E=Match Exceptions Exist
M=Matched
N=Not Applicable
O=Manually Overridden
T=To Be Matched
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
4 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
5 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
6 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
7 VOUCHER_LINE_NUM Number(5,0) INTEGER NOT NULL Voucher Line Number
8 INVOICE_DT Date(10) DATE Invoice Date
9 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
10 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
11 MATCH_RULE_ID Character(10) VARCHAR2(10) NOT NULL Match Rule ID
12 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254
13 MERCH_AMT_VCHR Signed Number(28,3) DECIMAL(26,3) NOT NULL Voucher Merchandise Amount
14 MERCH_AMT_RECV Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amount Received
15 MERCH_AMT_PO Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amount
16 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
17 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number
18 MATCH_DUE_DT Date(10) DATE Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received.
19 MATCH_CNTRL_ID Character(10) VARCHAR2(10) NOT NULL Match Rule
20 BUYER_ID Character(30) VARCHAR2(30) NOT NULL Buyer
21 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit
22 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
23 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
24 AP_MATCH_TYPE Character(1) VARCHAR2(1) NOT NULL Match Type
C=Matched with Credit Note
D=Matched with Debit Memo
O=Matched with Override
P=Auto - Matched
25 OFAC_STATUS Character(1) VARCHAR2(1) NOT NULL OFAC Status
B=Blocked
C=Cleared
R=Review
V=Valid