RBF_INT_ACT_V_L(SQL View) |
Index Back |
---|---|
Interaction Tree Account ViewThis is view is used to display Interaction Tree Account View |
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 , e.LANGUAGE_CD , b.BO_ID , b.BO_ID_OWNER , b.FIN_ACCOUNT_TYPE , b.REGISTRATION_NAME , e.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 , PS_PROD_ITEM_LNG e 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' AND c.SETID = e.SETID AND c.PRODUCT_ID = e.PRODUCT_ID |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
8 | BO_ID_OWNER | Number(31,0) | DECIMAL(31) NOT NULL | Financial Account Business Object ID |
9 | FIN_ACCOUNT_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Account type
CHK=Checking CRE=Credit INV=Investment LON=Loan POL=Insurance SAV=Savings |
10 | REGISTRATION_NAME | Character(50) | VARCHAR2(50) NOT NULL | Registration Name --------> FSI Account |
11 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
12 | LAST_REFRESH_DTTM | DateTime(26) | TIMESTAMP | last refresh datetime |
13 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Currency Code value. |
14 | 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 |
15 | ATM_CARD_COUNT | Number(12,0) | DECIMAL(12) NOT NULL | Number of ATM Cards |
16 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
17 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
18 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
19 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
20 | 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. |
21 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |