AP_PYCYCL_MT_VW(SQL View) |
Index Back |
---|---|
Payment ViewPayment View |
SELECT XREF.BUSINESS_UNIT ,XREF.PAY_DOC_ID ,XREF.REMIT_SETID ,XREF.REMIT_VENDOR ,XREF.BANK_SETID ,XREF.BANK_CD ,XREF.BANK_ACCT_KEY ,XREF.PYMNT_METHOD ,SUM(XREF.PAID_AMT) ,XREF.CURRENCY_PYMNT ,XREF.PAY_CYCLE ,C.PYMNT_DT ,XREF.PYMNT_ID_REF ,XREF.PYMNT_ID ,BANK.DESCRSHORT ,XLAT.XLATSHORTNAME FROM PS_PYMNT_ADVICE XREF ,PS_PAYMENT_TBL C , PS_BANK_CD_TBL BANK ,PSXLATITEM XLAT WHERE XREF.PAY_CYCLE = C.PAY_CYCLE AND XREF.PAY_CYCLE_SEQ_NUM = C.PAY_CYCLE_SEQ_NUM AND XREF.BANK_SETID = C.BANK_SETID AND XREF.BANK_CD = C.BANK_CD AND XREF.BANK_ACCT_KEY = C.BANK_ACCT_KEY AND XREF.PYMNT_METHOD = C.PYMNT_METHOD AND XREF.PYMNT_ID_REF = C.PYMNT_ID_REF AND XREF.SOURCE_TXN = C.SOURCE_TXN AND XREF.BANK_SETID = BANK.SETID AND XREF.BANK_CD = BANK.BANK_CD AND C.PYMNT_STATUS ='P' AND XLAT.FIELDNAME = 'PYMNT_METHOD' AND XREF.PYMNT_METHOD = XLAT.FIELDVALUE AND XLAT.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PSXLATITEM A_ED WHERE XLAT.FIELDNAME = A_ED.FIELDNAME AND XLAT.FIELDVALUE = A_ED.FIELDVALUE AND A_ED.EFFDT <= %CurrentDateIn) GROUP BY XREF.BUSINESS_UNIT,XREF.PAY_DOC_ID,XREF.REMIT_SETID,XREF.REMIT_VENDOR,XREF.BANK_SETID,XREF.BANK_CD,XREF.BANK_ACCT_KEY,XREF.PYMNT_METHOD,XREF.CURRENCY_PYMNT,XREF.PAY_CYCLE,C.PYMNT_DT,XREF.PYMNT_ID_REF,XREF.PYMNT_ID, BANK.DESCRSHORT ,XLAT.XLATSHORTNAME |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
3 | REMIT_SETID | Character(5) | VARCHAR2(5) NOT NULL | Remit SetID |
4 | REMIT_VENDOR | Character(10) | VARCHAR2(10) NOT NULL | Remit Vendor |
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_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_GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Payment Amount |
10 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
11 | PAY_CYCLE | Character(6) | VARCHAR2(6) NOT NULL | Pay Cycle |
12 | PYMNT_DT | Date(10) | DATE | Payment Date |
13 | PYMNT_ID_REF | Character(20) | VARCHAR2(20) NOT NULL | Payment Reference |
14 | PYMNT_ID | Character(10) | VARCHAR2(10) NOT NULL | Payment Number |
15 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
16 | XLATSHORTNAME | Character(10) | VARCHAR2(10) NOT NULL | Translate Value Short Name |