BNK_BTBDXDP_VW2(SQL View) |
Index Back |
---|---|
AR Deposits posted to GL laterUnbooked Deposits-- Reconciled AR Deposits posted to GL in subsequent period associated with an item |
SELECT DISTINCT E.BNK_ID_NBR , E.BANK_ACCOUNT_NUM , E.RECON_CYCLE_NBR , E.RECORD_SEQ_NUMBER , E.RECON_REF_ID , E.RECON_BANK_DT , E.RECON_TRANS_CODE , E.BANK_STMT_CODE , '2' , ' ' , D.CONTROL_AMT , 'ARDP' , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD FROM PS_ITEM_DST A , PS_ITEM_ACTIVITY B , PS_PAYMENT C , PS_DEPOSIT_CONTROL D , PS_BANK_STMT_TBL E WHERE A.PRIMARY_LEDGER = 'Y' AND C.RECON_STATUS = 'REC' AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.CUST_ID = A.CUST_ID AND B.ITEM = A.ITEM AND B.ITEM_LINE = A.ITEM_LINE AND B.ITEM_SEQ_NUM = A.ITEM_SEQ_NUM AND C.DEPOSIT_BU = B.DEPOSIT_BU AND C.DEPOSIT_ID = B.DEPOSIT_ID AND C.PAYMENT_SEQ_NUM = B.PAYMENT_SEQ_NUM AND D.DEPOSIT_BU = C.DEPOSIT_BU AND D.DEPOSIT_ID = C.DEPOSIT_ID AND E.BNK_ID_NBR = D.BNK_ID_NBR AND E.BANK_ACCOUNT_NUM = D.BANK_ACCOUNT_NUM AND E.RECON_CYCLE_NBR = D.RECON_CYCLE_NBR AND E.RECORD_SEQ_NUMBER = D.RECORD_SEQ_NUMBER AND EXISTS ( SELECT 'X' FROM PS_BANK_ACCT_CHRT WHERE SETID = D.BANK_SETID AND BANK_CD = D.BANK_CD AND BANK_CD_CPTY = D.BANK_CD AND BANK_ACCT_KEY = D.BANK_ACCT_KEY AND COUNTERPARTY = D.BANK_CD AND BANK_ACCT_LED_TYPE IN ('A', 'C', 'H') AND ACCOUNT = A.ACCOUNT ) AND EXISTS ( SELECT 'X' FROM PS_JRNL_HEADER WHERE BUSINESS_UNIT = A.BUSINESS_UNIT_GL AND JOURNAL_ID = A.JOURNAL_ID AND JOURNAL_DATE = A.JOURNAL_DATE AND UNPOST_SEQ = 0 AND LEDGER_GROUP = A.LEDGER_GROUP 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 | TRAN_REF_ID | Character(20) | VARCHAR2(20) NOT NULL | Represents the unique transaction identifier in bank reconciliation processing. |
6 | TRAN_DT | Date(10) | DATE | Represents the transaction date in bank reconciliation processing. |
7 | 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 |
8 | 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. |
9 | 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 |
10 | 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 |
11 | 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. |
12 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
13 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
14 | 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. |