EM_PYMTCNCLD_VW(SQL View) |
Index Back |
---|---|
Cancelled Payments |
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 , C.PAID_AMT_GROSS , C.CURRENCY_PYMNT , A.PYMNT_METHOD , A.CANCEL_DT , A.CANCEL_ACTION , A.BANK_ACCOUNT_NUM , A.PYMNT_STATUS , C.PYMNT_CNT , SEC.oprid FROM PS_PAYMENT_TBL a , ps_vchr_fs b , ps_pymnt_vchr_xref c , PS_SEC_BU_OPR SEC 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 b.business_unit = SEC.business_unit AND A.CANCEL_DT IS NOT NULL AND A.CANCEL_ACTION <> ' ' AND A.PYMNT_STATUS IN ('X','S','V') |
# | 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 | PAID_AMT_GROSS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Paid 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 | BANK_ACCOUNT_NUM | Character(35) | VARCHAR2(35) NOT NULL | The literal unique identifier associated with a given bank/counterparty account. |
18 | 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 |
19 | PYMNT_CNT | Number(5,0) | INTEGER NOT NULL | Payments |
20 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |