EM_PYMT_EXP_VW1(SQL View) |
Index Back |
---|---|
Express Pymnt Vchr Scroll View |
SELECT sec.oprid , a.bank_cd , a.bank_acct_key , a.business_unit , a.remit_setid , a.remit_vendor , a.vndr_loc , a.voucher_id , a.pymnt_cnt , a.pymnt_method , c.invoice_id , c.invoice_dt , c.gross_amt , c.txn_currency_cd FROM ps_pymnt_vchr_xref a , PS_VOUCHER c , ps_em_ve_buagrt_vw sec , ps_installation_em e WHERE a.business_unit = c.business_unit AND a.voucher_id = c.voucher_id AND a.pymnt_hold='N' AND a.pymnt_hold_wthd='N' AND a.pymnt_selct_status='N' AND ( a.NET_SELCT_STATUS IN ('N', ' ') OR a.NET_TXN_STATUS IN ('B', 'N') ) AND c.entry_status = 'P' AND c.appr_status = 'A' AND c.process_man_close = 'N' AND c.match_status_vchr IN ('M','N') AND c.BUDGET_HDR_STATUS = 'V' AND c.BUDGET_MISC_STATUS = 'V' AND sec.setid = a.remit_setid AND sec.vendor_id = a.remit_vendor AND ((E.EM_MODEL = 'D' AND A.PYMNT_METHOD IN ('EFT', 'ACH', 'GE','CHK')) OR (E.EM_MODEL = 'P' AND A.PYMNT_METHOD IN ('EFT', 'ACH') AND A.BANK_SETID = ( SELECT D.SETID FROM PS_EM_SEC_BU_BANK D WHERE A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.BANK_CD = D.BANK_CD AND A.BANK_ACCT_KEY = D.BANK_ACCT_KEY AND A.BANK_SETID = D.SETID))) GROUP BY sec.oprid , a.bank_setid , a.bank_cd , a.bank_acct_key, a.remit_setid, a.remit_vendor, a.vndr_loc, a.business_unit, a.voucher_id, a.pymnt_cnt, a.pymnt_method, c.invoice_id, c.invoice_dt, c.gross_amt, c.txn_currency_cd |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | EM_BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | A unique key identifier that represents a bank or counterparty. |
3 | EM_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 |
4 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
5 | REMIT_SETID | Character(5) | VARCHAR2(5) NOT NULL | Remit SetID |
6 | REMIT_VENDOR | Character(10) | VARCHAR2(10) NOT NULL | Remit Vendor |
7 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
8 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
9 | PYMNT_CNT_TOTAL | Number(5,0) | INTEGER NOT NULL | Total Payment Count |
10 | 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 |
11 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
12 | INVOICE_DT | Date(10) | DATE | Invoice Date |
13 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
14 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |