RBT_CUST_ACT_VW(SQL View) |
Index Back |
---|---|
RBT_CUST_360_VWRBT_CUST_360_VW SELECT DISTINCT A.BO_ID , A.ROLE_TYPE_ID , C.BO_NAME , B.BO_ID_CONTACT , B.ROLE_TYPE_ID_CNTCT , D.BO_NAME , Z.RBTACCTNO , G.ADDRESS1 , G.CITY , G.COUNTRY , G.STATE , G.POSTAL , %subrec(RB_AUDIT_SBR, A) FROM PS_BO_ROLE A LEFT OUTER JOIN PS_BO_ROLE_CNTCT_V B ON B.BO_ID = A.BO_ID AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn LEFT OUTER JOIN PS_RBT_ACCOUNT Z ON Z.RBTCUST_BO_ID = A.BO_ID LEFT OUTER JOIN PS_BO_NAME D ON D.BO_ID = B.BO_ID_CONTACT AND D.PRIMARY_IND = 'Y' , PS_CM G , PS_BO_CM E , PS_BO_CM_USE F , PS_BO_NAME C WHERE C.BO_ID = A.BO_ID AND C.PRIMARY_IND = 'Y' AND G.CM_ID = E.CM_ID AND E.CM_TYPE_ID = 1 AND E.BO_CM_START_DT <= %CurrentDateIn AND E.BO_CM_END_DT > %CurrentDateIn AND E.BO_ID = F.BO_ID AND E.PROFILE_CM_SEQ = F.PROFILE_CM_SEQ AND F.BO_CM_USE_TYPE = 'R' AND F.PRIMARY_IND = 'Y' AND F.CM_USE_START_DT <= %CurrentDateIn AND F.CM_USE_END_DT > %CurrentDateIn AND E.BO_ID = A.BO_ID AND A.ROLE_TYPE_ID IN (2,9) |
SELECT DISTINCT A.BO_ID , A.ROLE_TYPE_ID , Z.RBTCONT_BO_ID , Z.ROLE_TYPE_ID_CNTCT , Z.RBTACCTNO , %subrec(RB_AUDIT_SBR, A) FROM PS_BO_ROLE A , PS_RBT_ACCOUNT Z WHERE Z.RBTCUST_BO_ID = A.BO_ID AND Z.ROLE_TYPE_ID_CUST = A.ROLE_TYPE_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
2 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
3 | BO_ID_CONTACT | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. |
4 | ROLE_TYPE_ID_CNTCT | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the contact |
5 | ACCOUNT_NUMBER | Character(20) | VARCHAR2(20) NOT NULL | Account number ---------> FSI Account |
6 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
7 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
8 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
9 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
10 | 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. |
11 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |