BNK_RVL_AP_PYMN(SQL View) |
Index Back |
---|---|
Recon view: AP DisbursementsReconciliation Revaluation view over BNK_RCN_AP_PYMN |
SELECT A.bank_setid , A.bank_cd , A.bank_acct_key , A.pymnt_id , A.pymnt_id_ref , A.bnk_id_nbr , A.bank_account_num , A.branch_id , A.check_digit , A.name1 , A.VALUE_DT , A.VALUE_DT , A.pymnt_amt , A.currency_pymnt , A.pymnt_method , A.pymnt_status , A.pymnt_reconcile_dt , A.recon_type , A.recon_cycle_nbr , A.RECORD_SEQ_NUMBER , A.sttlmnt_dt_est , A.reconcile_oprid , A.recon_status , A.sttlmnt_dt_actual , A.business_unit_gl , A.RECON_RUN_ID , %Round(%DecMult(%DecDiv(A.PYMNT_AMT , B.RATE_DIV) , B.RATE_MULT) , B.DECIMAL_POSITIONS) , B.BASE_CURRENCY_BNK , A.PMT_ID , A.CASH_CLEARED_FLG , A.PAY_CYCLE , A.PAY_CYCLE_SEQ_NUM , A.REMIT_BANK_ACCOUNT , A.REMIT_BRANCH_ID , A.MICR_LINE , A.SOURCE_TXN , A.LC_ID , A.TREASURY_PMT_NBR , A.ADDENDA_VALUE , A.PMT_FIELD1 , A.PMT_FIELD2 , A.PMT_FIELD3 , A.PMT_FILE_ID , A.FORMAT_ID FROM PS_BNK_RCN_AP_PYMN A , PS_BNK_CURR_RVL_VW B WHERE A.BANK_SETID = B.SETID AND A.BANK_CD = B.BANK_CD AND A.BANK_ACCT_KEY = B.BANK_ACCT_KEY AND B.BNK_ID_NBR = A.BNK_ID_NBR AND B.BANK_ACCOUNT_NUM = A.BANK_ACCOUNT_NUM AND A.CURRENCY_PYMNT = B.TXN_CURRENCY_CD AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_BNK_CURR_RVL_V2 WHERE SETID = B.SETID AND BANK_CD = B.BANK_CD AND BANK_ACCT_KEY = B.BANK_ACCT_KEY AND BASE_CURRENCY_BNK = B.BASE_CURRENCY_BNK AND TXN_CURRENCY_CD = B.TXN_CURRENCY_CD AND EFFDT <= A.PYMNT_DT) |
# | 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.
Prompt Table: BANK_ACCT_VW |
2 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL |
Bank Code
Prompt Table: BANK_ACCT_VW |
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 | PYMNT_ID_REF | Character(20) | VARCHAR2(20) NOT NULL | Payment Reference |
6 | BNK_ID_NBR | Character(20) | VARCHAR2(20) NOT NULL | A literal alphanumeric attribute that uniquely identifies a given bank or counterparty. |
7 | BANK_ACCOUNT_NUM | Character(35) | VARCHAR2(35) NOT NULL | The literal unique identifier associated with a given bank/counterparty account. |
8 | BRANCH_ID | Character(10) | VARCHAR2(10) NOT NULL | The local branch office identifier associated with a given bank/counterparty. |
9 | CHECK_DIGIT | Character(2) | VARCHAR2(2) NOT NULL | Check Digit |
10 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
11 | PYMNT_DT | Date(10) | DATE |
Payment Date
Default Value: %date |
12 | VALUE_DT | Date(10) | DATE | Equivalent to a deal transaction's settlement date. |
13 | PYMNT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Payment Amount |
14 | CURRENCY_PYMNT | Character(3) | VARCHAR2(3) NOT NULL | Payment Currency |
15 | 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 |
16 | 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 |
17 | PYMNT_RECONCILE_DT | Date(10) | DATE | Date Reconciled |
18 | RECON_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Represents a series of options as to how a treasury wishes to perform reconciliation for a given bank
A=Automatically Reconciled B=Balance System(s) to BankTran F=Forced to Reconcile M=Manually Reconciled S=Semi Manual U=Unreconciled Default Value: U |
19 | RECON_CYCLE_NBR | Number(10,0) | DECIMAL(10) NOT NULL | The bank statement ID. |
20 | RECORD_SEQ_NUMBER | Number(10,0) | DECIMAL(10) NOT NULL | An internal work field utilized to enumerate database records in bank statement processing. |
21 | STTLMNT_DT_EST | Date(10) | DATE | Date in which a deal transaction is estimated to be settled with a counterparty. |
22 | RECONCILE_OPRID | Character(30) | VARCHAR2(30) NOT NULL | The user ID that performed the reconciliation for a given transaction. |
23 | 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 Default Value: UNR |
24 | STTLMNT_DT_ACTUAL | Date(10) | DATE | Date in which a deal transaction is actually settled with a counterparty. |
25 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
26 | RECON_RUN_ID | Character(15) | VARCHAR2(15) NOT NULL | Recon Run ID |
27 | BANK_ACCT_RVL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Field used to store the amount on a transaction revalued in the base currency of the transactions bank account. |
28 | BASE_CURRENCY_BNK | Character(3) | VARCHAR2(3) NOT NULL | The base currency of the subject bank general ledger business unit. |
29 | PMT_ID | Character(15) | VARCHAR2(15) NOT NULL | Payment id |
30 | CASH_CLEARED_FLG | Character(1) | VARCHAR2(1) NOT NULL | Cash Cleared Flag |
31 | PAY_CYCLE | Character(6) | VARCHAR2(6) NOT NULL | Pay Cycle |
32 | PAY_CYCLE_SEQ_NUM | Number(6,0) | INTEGER NOT NULL | Pay Cycle Sequence Number |
33 | REMIT_BANK_ACCOUNT | Character(35) | VARCHAR2(35) NOT NULL | Bank Account Number |
34 | REMIT_BRANCH_ID | Character(10) | VARCHAR2(10) NOT NULL | Branch ID |
35 | MICR_LINE | Character(50) | VARCHAR2(50) NOT NULL | MICR Line |
36 | SOURCE_TXN | Character(4) | VARCHAR2(4) NOT NULL | Source Transaction |
37 | LC_ID | Character(12) | VARCHAR2(12) NOT NULL | Treasury Letter of Credit Number Assigned by the System |
38 | TREASURY_PMT_NBR | Number(11,0) | DECIMAL(11) NOT NULL | Payment Confirm Number |
39 | ADDENDA_VALUE | Character(254) | VARCHAR2(254) NOT NULL | Addend Value use for Bank Statement Accounting |
40 | PMT_FIELD1 | Character(30) | VARCHAR2(30) NOT NULL | Payment field |
41 | PMT_FIELD2 | Character(30) | VARCHAR2(30) NOT NULL | Payment field |
42 | PMT_FIELD3 | Character(30) | VARCHAR2(30) NOT NULL | Payment field |
43 | PMT_FILE_ID | Character(8) | VARCHAR2(8) NOT NULL | Payment File ID |
44 | FORMAT_ID | Character(10) | VARCHAR2(10) NOT NULL | Format ID |