BNK_BTB_GTRM_VW(SQL View) |
Index Back |
---|---|
In Transit: TR Manual Acctg.Manual accounting entries made in Treasury accounting that are not associated with a system transaction. These entries will never drop out as there is nothing to reconcile with. At best the customer can net the amount to zero. |
SELECT 'TRGL' , B.BUSINESS_UNIT , B.ACCOUNTING_ID , B.ACCOUNTING_DT , B.ACCOUNTING_LINE , 0 , 'UNR' , 0 , ' ' , D.BNK_ID_NBR , E.BANK_ACCOUNT_NUM , B.FISCAL_YEAR , B.ACCOUNTING_PERIOD , B.BUSINESS_UNIT_GL , B.LEDGER , B.ACCOUNT , B.ACCOUNTING_ID , B.JOURNAL_ID , B.JOURNAL_DATE , B.MONETARY_AMOUNT , B.CURRENCY_CD , B.FOREIGN_AMOUNT , B.FOREIGN_CURRENCY , C.DESCR FROM PS_TRA_ACCTG_HDR A , PS_TRA_ACCTG_LINE B , PS_JRNL_HEADER C , PS_BANK_CD_TBL D , PS_BANK_ACCT_DEFN E WHERE A.BUILD_ACCOUNTING='O' AND B.BUSINESS_UNIT=A.BUSINESS_UNIT AND B.ACCOUNTING_ID=A.ACCOUNTING_ID AND C.BUSINESS_UNIT=B.BUSINESS_UNIT_GL AND C.JOURNAL_ID=B.JOURNAL_ID AND C.JOURNAL_DATE=B.JOURNAL_DATE AND C.UNPOST_SEQ = 0 AND C.JRNL_HDR_STATUS = 'P' AND E.SETID = D.SETID AND E.BANK_CD = D.BANK_CD AND E.BANK_CD_CPTY = D.BANK_CD AND E.BUSINESS_UNIT_GL = C.BUSINESS_UNIT AND EXISTS ( SELECT 'X' FROM PS_BANK_ACCT_CHRT WHERE SETID = E.SETID AND BANK_CD = E.BANK_CD AND BANK_CD_CPTY = E.BANK_CD_CPTY AND BANK_ACCT_KEY = E.BANK_ACCT_KEY AND COUNTERPARTY = E.BANK_CD_CPTY AND BANK_ACCT_LED_TYPE IN ('A', 'C', 'H') AND ACCOUNT = B.ACCOUNT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | 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 |
2 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
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 | SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Sequence Number |
6 | CASH_FLOW_LEG | Number(1,0) | SMALLINT NOT NULL | A sequential number that indicates the relationship between a cash flow and its corresponding deal transaction leg |
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 | RECON_RUN_ID | Character(15) | VARCHAR2(15) NOT NULL | Recon Run ID |
10 | BNK_ID_NBR | Character(20) | VARCHAR2(20) NOT NULL | A literal alphanumeric attribute that uniquely identifies a given bank or counterparty. |
11 | BANK_ACCOUNT_NUM | Character(35) | VARCHAR2(35) NOT NULL | The literal unique identifier associated with a given bank/counterparty account. |
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 | ACCOUNTING_ID | Character(10) | VARCHAR2(10) NOT NULL | Represents the unique alphanumeric identifier for treasury-specific accounting entries. |
18 | 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. |
19 | JOURNAL_DATE | Date(10) | DATE | Specifies the date the journal was created. |
20 | 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. |
21 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
22 | 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. |
23 | FOREIGN_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Foreign Currency Code |
24 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |