RBF_INT_ACCT_VW(SQL View) |
Index Back |
---|---|
Interaction Tree Account ViewView to display financial accounts in the 360 degree view tree |
SELECT DISTINCT CASE WHEN a.BUS_CONTACT_ID = b.BO_ID_OWNER THEN 0 ELSE a.BUS_CONTACT_ID END AS BO_ID_CONTACT , CASE WHEN a.BUS_CONTACT_ID = b.BO_ID_OWNER THEN 0 ELSE 8 END AS ROLE_TYPE_ID_CNTCT , b.BO_ID_OWNER , d.ROLE_TYPE_ID , b.FIN_ACCOUNT_ID , b.BO_ID , b.BO_ID_OWNER , b.FIN_ACCOUNT_TYPE , b.REGISTRATION_NAME , C.DESCR , b.LAST_REFRESH_DTTM , b.CURRENCY_CD , 0 , 0 , %subrec(RB_AUDIT_SBR,b) FROM PS_RBF_SRTY_MATRIX a , PS_RBF_FIN_ACCOUNT b , PS_PROD_ITEM C , PS_BO_ROLE d WHERE a.ACCOUNT_REF_ID = b.BO_ID AND b.PROD_SETID = C.SETID AND b.PRODUCT_ID = C.PRODUCT_ID AND b.BO_ID_OWNER = d.BO_ID AND d.ROLE_TYPE_ID IN (2,9,30,31) AND a.APPROVAL_FLG = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
2 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
3 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
4 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
5 | FIN_ACCOUNT_ID | Character(20) | VARCHAR2(20) NOT NULL | Financial Account Number |
6 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
7 | BO_ID_OWNER | Number(31,0) | DECIMAL(31) NOT NULL | Financial Account Business Object ID |
8 | FIN_ACCOUNT_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Account type
CHK=Checking CRE=Credit INV=Investment LON=Loan POL=Insurance SAV=Savings |
9 | REGISTRATION_NAME | Character(50) | VARCHAR2(50) NOT NULL | Registration Name --------> FSI Account |
10 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
11 | LAST_REFRESH_DTTM | DateTime(26) | TIMESTAMP | last refresh datetime |
12 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Currency Code value. |
13 | AVAILABLE_BALANCE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Shows the Available Balance for the account. This value is derived from legacy system |
14 | ATM_CARD_COUNT | Number(12,0) | DECIMAL(12) NOT NULL | Number of ATM Cards |
15 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
16 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
17 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
18 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
19 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |
20 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |