BNK_BTBDXDP_VW

(SQL View)
Index Back

AR Deposits not posted to GL

Unbooked Deposits-- Reconciled AR Deposits not posted to GL

SELECT C.BNK_ID_NBR , C.BANK_ACCOUNT_NUM , C.RECON_CYCLE_NBR , C.RECORD_SEQ_NUMBER , 'D' , C.BANK_STMT_CODE , A.DEPOSIT_BU , A.DEPOSIT_ID , A.ACCOUNTING_DT , A.CONTROL_AMT , '1' , '6' , 'ARDP' FROM PS_DEPOSIT_CONTROL A , PS_BANK_STMT_TBL C WHERE A.RECON_STATUS = 'REC' AND C.BNK_ID_NBR = A.BNK_ID_NBR AND C.BANK_ACCOUNT_NUM = A.BANK_ACCOUNT_NUM AND C.RECON_CYCLE_NBR = A.RECON_CYCLE_NBR AND C.RECORD_SEQ_NUMBER = A.RECORD_SEQ_NUMBER AND NOT EXISTS ( SELECT 'X' FROM PS_ITEM_ACTIVITY D , PS_ITEM_DST E WHERE E.PRIMARY_LEDGER = 'Y' AND D.DEPOSIT_BU = A.DEPOSIT_BU AND D.DEPOSIT_ID = A.DEPOSIT_ID AND E.BUSINESS_UNIT = D.BUSINESS_UNIT AND E.CUST_ID = D.CUST_ID AND E.ITEM = D.ITEM AND E.ITEM_LINE = D.ITEM_LINE AND E.ITEM_SEQ_NUM = D.ITEM_SEQ_NUM AND EXISTS ( SELECT 'X' FROM PS_BANK_ACCT_CHRT WHERE SETID = A.BANK_SETID AND BANK_CD = A.BANK_CD AND BANK_CD_CPTY = A.BANK_CD AND BANK_ACCT_KEY = A.BANK_ACCT_KEY AND COUNTERPARTY = A.BANK_CD AND BANK_ACCT_LED_TYPE IN ('A', 'C', 'H') AND ACCOUNT = E.ACCOUNT) AND EXISTS ( SELECT 'X' FROM PS_JRNL_HEADER WHERE BUSINESS_UNIT = E.BUSINESS_UNIT_GL AND JOURNAL_ID = E.JOURNAL_ID AND JOURNAL_DATE = E.JOURNAL_DATE AND UNPOST_SEQ = 0 AND LEDGER_GROUP = E.LEDGER_GROUP AND JRNL_HDR_STATUS = 'P') ) AND NOT EXISTS ( SELECT 'X' FROM PS_PAY_MISC_DST F WHERE F.DEPOSIT_BU = A.DEPOSIT_BU AND F.DEPOSIT_ID = A.DEPOSIT_ID AND EXISTS ( SELECT 'X' FROM PS_BANK_ACCT_CHRT WHERE SETID = A.BANK_SETID AND BANK_CD = A.BANK_CD AND BANK_CD_CPTY = A.BANK_CD AND BANK_ACCT_KEY = A.BANK_ACCT_KEY AND COUNTERPARTY = A.BANK_CD AND BANK_ACCT_LED_TYPE IN ('A', 'C', 'H') AND ACCOUNT = F.ACCOUNT ) AND EXISTS ( SELECT 'X' FROM PS_JRNL_HEADER WHERE BUSINESS_UNIT = F.BUSINESS_UNIT_GL AND JOURNAL_ID = F.JOURNAL_ID AND JOURNAL_DATE = F.JOURNAL_DATE AND UNPOST_SEQ = 0 AND JRNL_HDR_STATUS = 'P' ) )

# 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 STATEMENT_ID Number(10,0) DECIMAL(10) NOT NULL Statement ID for bank statements, key on Bank Statement Header
4 RECORD_SEQ_NUMBER Number(10,0) DECIMAL(10) NOT NULL An internal work field utilized to enumerate database records in bank statement processing.
5 RECON_TRANS_CODE Character(3) VARCHAR2(3) NOT NULL The PeopleSoft-specific bank transaction code
ACH=Automated Clearing House
B=Direct Debit
BA=Bank Adjustments
BOE=Bill of Exchange - Disburse
BOO=Bill of Order - Disburse
C=Trade Receipt
CHK=Check
D=Deposits
DD=Direct Debit - Disburse
EFT=Electronic Funds Transfer
F=Fee Expense
G=General Transaction
I=Interest Expense
M=Miscellaneous Transaction
MAN=Manual Check
P=Payment
R=Drafts
S=Stop Pay
TRW=Treasury Wire
U=Funding Receipt
V=Voided Payment
WIR=Wire - Disbursement
WRI=Wire - Incoming
6 BANK_STMT_CODE Character(8) VARCHAR2(8) NOT NULL Bank Statement code - used to identify the codes used on the bank statement for different entires of balances and transactions.
7 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
8 TRAN_REF_ID Character(20) VARCHAR2(20) NOT NULL Represents the unique transaction identifier in bank reconciliation processing.
9 TRAN_DT Date(10) DATE Represents the transaction date in bank reconciliation processing.
10 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.
11 ADJUSTMENT_SIDE Character(1) VARCHAR2(1) NOT NULL Book to bank adjustment side.
1=Reconciled, not posted to GL
2=Reconciled and posted to GL
12 TYPE_ADJUST Character(1) VARCHAR2(1) NOT NULL Book to Bank Adjsutment Type
1=Payments in Transit
2=Deposits in Transit
3=GL Adjustments
4=Fees & Interest
5=Unbooked Payments
6=Unbooked Deposits
7=Bank Adjustments
8=Subtl Bank Adjustments
9=Subtl GL Adjustments
13 DESCR Character(30) VARCHAR2(30) NOT NULL Description