TR_AVF_A_P_VW(SQL View) |
Index Back |
---|---|
AVF Actual ViewAVF Actual View |
SELECT D.BANK_CD , D.BANK_ACCT_KEY , A.BNK_ID_NBR , A.BANK_ACCOUNT_NUM , A.RECON_TRANS_CODE , %Coalesce((SELECT XLATLONGNAME FROM PSXLATITEM X WHERE FIELDNAME='RECON_TRANS_CODE' AND %EFFDTCHECK(PSXLATITEM X1, X, %CURRENTDATEIN) AND EFF_STATUS='A' AND X.FIELDVALUE=A.RECON_TRANS_CODE),'U') , A.CURRENCY_CD , D.VALUE_DT , A.AMOUNT FROM PS_TR_BS_P_SUM_VW A , PS_BANK_BAL_DAILY D LEFT OUTER JOIN PS_BANK_CD_TBL B ON B.BNK_ID_NBR = D.BNK_ID_NBR WHERE A.BNK_ID_NBR=D.BNK_ID_NBR AND A.BANK_ACCOUNT_NUM=D.BANK_ACCOUNT_NUM AND A.RECON_CYCLE_NBR=D.STATEMENT_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
2 | 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 |
3 | BNK_ID_NBR | Character(20) | VARCHAR2(20) NOT NULL | A literal alphanumeric attribute that uniquely identifies a given bank or counterparty. |
4 | BANK_ACCOUNT_NUM | Character(35) | VARCHAR2(35) NOT NULL | The literal unique identifier associated with a given bank/counterparty account. |
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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
8 | VALUE_DT | Date(10) | DATE | Equivalent to a deal transaction's settlement date. |
9 | AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount |