PYMNT_REC_DEL_V

(SQL View)
Index Back

Payment Delete View

Payment Delete View

SELECT DISTINCT A.BANK_SETID , A.BANK_CD , A.BANK_ACCT_KEY , A.PYMNT_ID , B.PSARCH_EVENTDTTM , A.REMIT_SETID , A.REMIT_VENDOR , A.PYMNT_METHOD , A.PYMNT_ID_REF , A.PAY_CYCLE , A.PAY_CYCLE_SEQ_NUM , A.NAME1 , A.ADDRESS1 , A.CITY , A.STATE , A.POSTAL , A.BANK_ACCOUNT_NUM , A.PYMNT_AMT FROM PS_AP_ARC_PYM_TB_H A , PSARCHAUDIT B WHERE A.PSARCH_ID = B.PSARCH_ID AND A.PSARCH_BATCHNUM = B.PSARCH_BATCHNUM AND B.RECNAME = 'PAYMENT_TBL' AND NOT EXISTS ( SELECT PYMNT_ID FROM PS_PAYMENT_TBL PAY WHERE PAY.BANK_SETID = A.BANK_SETID AND PAY.BANK_CD = A.BANK_CD AND PAY.BANK_ACCT_KEY = A.BANK_ACCT_KEY AND PAY.PYMNT_ID = A.PYMNT_ID AND PAY.REMIT_SETID = A.REMIT_SETID AND PAY.REMIT_VENDOR = A.REMIT_VENDOR AND PAY.pymnt_id_ref = A.pymnt_id_ref AND PAY.pymnt_method = A.pymnt_method)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BANK_SETID Character(5) VARCHAR2(5) NOT NULL The PeopleSoft tableset ID associated with a given bank/counterparty.

Default Value: OPR_BANK_VW_AP.BANK_SETID

2 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code

Prompt Table: BANK_CD_VW2

3 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

Prompt Table: BANK_ACCT_VW

4 PYMNT_ID Character(10) VARCHAR2(10) NOT NULL Payment Number
5 PSARCH_EVENTDTTM DateTime(26) TIMESTAMP Event Date/Time
6 REMIT_SETID Character(5) VARCHAR2(5) NOT NULL Remit SetID
7 REMIT_VENDOR Character(10) VARCHAR2(10) NOT NULL Remit Vendor
8 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
9 PYMNT_ID_REF Character(20) VARCHAR2(20) NOT NULL Payment Reference
10 PAY_CYCLE Character(6) VARCHAR2(6) NOT NULL Pay Cycle
11 PAY_CYCLE_SEQ_NUM Number(6,0) INTEGER NOT NULL Pay Cycle Sequence Number
12 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
13 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
14 CITY Character(30) VARCHAR2(30) NOT NULL City
15 STATE Character(6) VARCHAR2(6) NOT NULL State
16 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
17 BANK_ACCOUNT_NUM Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given bank/counterparty account.
18 PYMNT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Payment Amount