BO_PRIM_REL_ADD(SQL View) |
Index Back |
---|---|
Primary Contact AddressThis is the Primary Contact Address view. |
SELECT A.BO_ID , C.CM_ID , C.CM_CONCAT , A.BO_REL_ID FROM PS_BO_CM_USE A , PS_BO_CM B , PS_CM C WHERE A.PROFILE_CM_SEQ = B.PROFILE_CM_SEQ AND %CurrentDateIn >= CM_USE_START_DT AND %CurrentDateIn < CM_USE_END_DT AND %CurrentDateIn >= BO_CM_START_DT AND %CurrentDateIn < BO_CM_END_DT AND B.CM_ID = C.CM_ID AND A.PRIMARY_IND = 'Y' AND B.CM_TYPE_ID = 1 AND C.CM_TYPE_ID = 1 AND A.BO_REL_ID > 0 AND A.BO_ID = B.BO_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
2 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
3 | CM_CONCAT | Character(100) | VARCHAR2(100) NOT NULL | Concatenated Contact Method |
4 | BO_REL_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Relationship ID of a Business Object |