RDM_REL_CM_VW

(SQL View)
Index Back

Rel Based Contact Methods

BO Relationship based contact method for the Contact person. Used by Mobile.

SELECT A.BO_ID , A.BO_REL_ID , A.PROFILE_CM_SEQ , B.CM_ID , A.BO_CM_USE_TYPE , A.BO_REL_POSITION , A.PRIMARY_IND , B.CM_TYPE_ID , B.CM_PURPOSE_TYPE_ID , %subrec(RB_AUDIT_SBR, A) FROM PS_BO_CM_USE A , PS_BO_CM B WHERE A.BO_ID = B.BO_ID AND A.PROFILE_CM_SEQ = B.PROFILE_CM_SEQ AND A.BO_CM_USE_TYPE = 'E' AND A.BO_REL_ID > 0 AND %CurrentDateIn >= A.CM_USE_START_DT AND %CurrentDateIn < A.CM_USE_END_DT AND %CurrentDateIn >= B.BO_CM_START_DT AND %CurrentDateIn < B.BO_CM_END_DT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID

Prompt Table: BO

2 BO_REL_ID Signed Number(32,0) DECIMAL(31) NOT NULL Relationship ID of a Business Object
3 PROFILE_CM_SEQ Number(31,0) DECIMAL(31) NOT NULL The Contact Method Profile ID is a key field that is used to reference the details of a Contact Method in various CM tables.
4 CM_ID Number(31,0) DECIMAL(31) NOT NULL Contact Method ID
5 BO_CM_USE_TYPE Character(1) VARCHAR2(1) NOT NULL Use type of a Busines Object's Contact Method.
E=Business Object Relationship
R=Business Object Role
U=Contact Method Usage
6 BO_REL_POSITION Character(1) VARCHAR2(1) NOT NULL This field describes the position of a Relationship pertaining to a BO. i.e. - To identify a BO in a relationship, BO_REL_ID and BO_REL_POSITION give you the relative position F = First, S = Second.
F=First Position
S=Second Postion
7 PRIMARY_IND Character(1) VARCHAR2(1) NOT NULL Flag that indicates whether or not it is Primary
N=No
Y=Yes
8 CM_TYPE_ID Number(6,0) INTEGER NOT NULL Contact Method Type ID
9 CM_PURPOSE_TYPE_ID Number(6,0) INTEGER NOT NULL Relationship Contact Method Purpose ID
10 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
11 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
12 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
13 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
14 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.
15 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time