BNK_BTB_GXT_VW

(SQL View)
Index Back

In Transit: Ext. Transactions

Use for Book to Bank Reconciliation

SELECT A.BNK_ID_NBR , A.BANK_ACCOUNT_NUM , A.TRAN_REF_ID , A.TRAN_DT , A.BUSINESS_UNIT , 'XT' , A.RECON_STATUS , A.RECON_CYCLE_NBR , A.RECORD_SEQ_NUMBER , A.RECON_RUN_ID , A.STTLMNT_DT_ACTUAL , C.FISCAL_YEAR , C.ACCOUNTING_PERIOD , C.BUSINESS_UNIT_GL , C.LEDGER , C.ACCOUNT , C.JOURNAL_ID , C.JOURNAL_DATE , C.MONETARY_AMOUNT , C.CURRENCY_CD , C.FOREIGN_AMOUNT , C.FOREIGN_CURRENCY , G.DESCR FROM PS_BNK_RCN_TRAN A , PS_TRA_ACCTG_HDR B , PS_TRA_ACCTG_LINE C , PS_JRNL_HEADER G WHERE A.ACCTG_TMPL_ID <> ' ' AND B.EVENT_ID = A.BNK_ID_NBR AND B.BANK_ACCOUNT_NUM = A.BANK_ACCOUNT_NUM AND B.TRAN_REF_ID = A.TRAN_REF_ID AND B.TRANSACTION_DT = A.TRAN_DT AND C.BUSINESS_UNIT = B.BUSINESS_UNIT AND C.ACCOUNTING_ID = B.ACCOUNTING_ID AND G.BUSINESS_UNIT = C.BUSINESS_UNIT_GL AND G.JOURNAL_ID = C.JOURNAL_ID AND G.JOURNAL_DATE = C.JOURNAL_DATE AND G.UNPOST_SEQ = 0 AND G.LEDGER_GROUP = C.LEDGER_GROUP AND G.JRNL_HDR_STATUS = 'P' AND EXISTS ( SELECT 'X' FROM PS_BANK_CD_TBL BANK , PS_BANK_ACCT_DEFN ACCT , PS_BANK_ACCT_CHRT GLCF WHERE BANK.BNK_ID_NBR = A.BNK_ID_NBR AND BANK.BANK_STATUS = 'A' AND ACCT.SETID = BANK.SETID AND ACCT.BANK_CD = BANK.BANK_CD AND ACCT.BANK_ACCOUNT_NUM = A.BANK_ACCOUNT_NUM AND ACCT.ACCT_STATUS = 'A' AND GLCF.SETID = ACCT.SETID AND GLCF.BANK_CD = ACCT.BANK_CD AND GLCF.BANK_CD_CPTY = ACCT.BANK_CD AND GLCF.BANK_ACCT_KEY = ACCT.BANK_ACCT_KEY AND GLCF.COUNTERPARTY = ACCT.BANK_CD AND GLCF.BANK_ACCT_LED_TYPE IN ('A' , 'C' , 'H') AND GLCF.ACCOUNT = C.ACCOUNT )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BNK_ID_NBR Character(20) VARCHAR2(20) NOT NULL A literal alphanumeric attribute that uniquely identifies a given bank or counterparty.
2 BANK_ACCOUNT_NUM Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given bank/counterparty account.
3 TRAN_REF_ID Character(20) VARCHAR2(20) NOT NULL Represents the unique transaction identifier in bank reconciliation processing.
4 TRAN_DT Date(10) DATE Represents the transaction date in bank reconciliation processing.
5 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
6 BTB_SOURCE Character(4) VARCHAR2(4) NOT NULL Book To Bank Source
AP=AP Disbursements
ARCC=AR Deposits - Cash Clearing
ARDD=AR Direct Debits
ARDP=AR Deposits
ARDR=AR Drafts
EXAD=Expense Cash Advance
EXPN=Expense Report
GL=Journal Entry
TR0=Other
TRB=Bank Fees
TRD=Treasury Deals
TRE=Deal Fees
TRF=Facility Fees
TRGL=Manual Treasury Entry
TRR=EFT Fees
TRT=Letter of Credit Fees
TRW=EFT Requests
TRX=Bank Transfers
XT=External Transactions
7 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
8 RECON_CYCLE_NBR Number(10,0) DECIMAL(10) NOT NULL The bank statement ID.
9 RECORD_SEQ_NUMBER Number(10,0) DECIMAL(10) NOT NULL An internal work field utilized to enumerate database records in bank statement processing.
10 RECON_RUN_ID Character(15) VARCHAR2(15) NOT NULL Recon Run ID
11 RECON_BANK_DT Date(10) DATE The bank statement date.
12 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
13 ACCOUNTING_PERIOD Number(3,0) SMALLINT NOT NULL Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table.
14 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
15 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
16 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
17 JOURNAL_ID Character(10) VARCHAR2(10) NOT NULL Identifies a journal entry, consisting of a header and one or more lines. The Journal ID itself does not have to be unique, but together with the journal business unit and journal date, it forms a unique journal identifier.
18 JOURNAL_DATE Date(10) DATE Specifies the date the journal was created.
19 MONETARY_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit in the business unit base currency. Debit entries are positive and credit entries are negative. This amount is only zero if associated with a statistical account.
20 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
21 FOREIGN_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit (accounting entry line) in the entry currency of the item. The sum of FOREIGN_AMOUNT values on AR lines should equal the ENTRY_AMT on the pending item.
22 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
23 DESCR Character(30) VARCHAR2(30) NOT NULL Description