EM_PYMNTCNCL_VW

(SQL View)
Index Back

MarketPay - To be Delete


SELECT DISTINCT b.vendor_id , b.vendor_setid , b.business_unit , b.voucher_id , a.BANK_SETID , a.BANK_CD , a.BANK_ACCT_KEY , a.PYMNT_ID , a.PYMNT_ID_REF , a.PYMNT_DT , b.invoice_id , a.PYMNT_AMT , a.CURRENCY_PYMNT , A.PYMNT_METHOD , A.CANCEL_DT , A.CANCEL_ACTION , A.NAME1 , A.NAME2 , %subrec(address_SBR, A) , A.BANK_ACCOUNT_NUM , A.PYMNT_STATUS , A.RECON_STATUS FROM PS_PAYMENT_TBL a , ps_vchr_fs b , ps_pymnt_vchr_xref c WHERE a.bank_setid = c.bank_setid AND a.bank_cd = c.bank_cd AND a.bank_acct_key = c.bank_acct_key AND a.pymnt_id = c.pymnt_id AND b.business_unit = c.business_unit AND b.voucher_id = c.voucher_id AND a.pymnt_status <> 'X' AND a.post_status_ap IN ('P','U') AND B.ENTRY_STATUS = 'P'

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

Default Value: OPR_DEF_TBL_FS.SETID

3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
5 BANK_SETID Character(5) VARCHAR2(5) NOT NULL The PeopleSoft tableset ID associated with a given bank/counterparty.
6 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
7 BANK_ACCT_KEY Character(4) VARCHAR2(4) NOT NULL A user defined unique identifier that facilitates the identification of a given account with a given bank
8 PYMNT_ID Character(10) VARCHAR2(10) NOT NULL Payment Number
9 PYMNT_ID_REF Character(20) VARCHAR2(20) NOT NULL Payment Reference
10 PYMNT_DT Date(10) DATE Payment Date
11 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number
12 PYMNT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Payment Amount
13 CURRENCY_PYMNT Character(3) VARCHAR2(3) NOT NULL Payment Currency
14 PYMNT_METHOD Character(3) VARCHAR2(3) NOT NULL Payment Method
ACH=Automated Clearing House
BEF=Draft - Customer EFT
BOO=Draft - Customer Initiated
CHK=System Check
D=Deposit
DD=Direct Debit
DFT=Draft - Supplier Initiated
DRA=Draft
EFT=Electronic Funds Transfer
GE=Giro - EFT
GM=Giro - Manual
LC=Letter of Credit
MAN=Manual Check
TRW=Treasury Wire
WIR=Wire Transfer
15 CANCEL_DT Date(10) DATE Date Cancelled
16 CANCEL_ACTION Character(1) VARCHAR2(1) NOT NULL Cancel Action
C=Do Not Reissue/Close Liability
H=Re-Open Voucher(s)/Put on Hold
N=No Cancel Action
P=Processed
R=Re-Open Voucher(s)/Re-Issue
S=Stale Dated Check
W=Escheated
17 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
18 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2
19 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

20 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
21 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
22 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
23 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
24 CITY Character(30) VARCHAR2(30) NOT NULL City
25 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
26 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
27 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat
WW=Trailer
28 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
29 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
30 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
31 COUNTY Character(30) VARCHAR2(30) NOT NULL County
32 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: %EDIT_STATE

33 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
34 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
35 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit

36 BANK_ACCOUNT_NUM Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given bank/counterparty account.
37 PYMNT_STATUS Character(1) VARCHAR2(1) NOT NULL Payment Status
A=Alignment
E=ACH/EFT Prenote
L=Stale Dated Payment
N=Reprinted with same ref number
O=Overflow
P=Paid
R=Replaced
S=Stopped
T=Undo Escheatment
U=Undo Cancel
V=Void
W=Escheated Check
X=Deleted
38 RECON_STATUS Character(3) VARCHAR2(3) NOT NULL Reconciliation Status
ALG=Alignment Check
AMB=Ambiguous Match
AMT=Amounts Not Equal
CUR=Currency not Defined
DAT=Tran Date <> Value Date
DPI=Duplicate Input Transactions
DUP=Duplicate Transaction
MSC=Miscellaneous Transaction
NAM=Payee Names Not Equal
NTB=Not Found in Statement
NTF=Not Found In System
NTP=Not Found in POS Data
NUL=Null Transaction ID Ref
OVR=Overflow
PND=Pending Reconciliation
REC=Reconciled
RPR=Reprinted Check
RR=Requires Review - BSAC
STP=Stop Payment
TYP=Wrong Transaction Type
UNR=Unreconciled
VOI=Voided Check