RD_WS_W_PHN_SVW

(SQL View)
Index Back

WS Search for Worker Phone

This view listed out primary Worker phones that are current for BO_CM_START_DT and BO_CM_END_DT It does not include any Worker Home Phones.

SELECT C.SYNCID , A.BO_ID , B.PROFILE_CM_SEQ , B.CM_ID , B.PHONE FROM PS_RD_PERSON A , PS_BO_SRCH_PHN B , PS_RB_WORKER_ALL C WHERE A.BO_ID = B.BO_ID AND A.PERSON_ID = C.PERSON_ID AND B.BO_CM_START_DT <= %CurrentDateIn AND B.BO_CM_END_DT > %CurrentDateIn AND B.PRIMARY_IND = 'Y' AND B.CM_ID NOT IN ( SELECT CM_ID FROM PS_BO_CM_USE_W_VW)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 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.
2 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
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 PHONE Character(24) VARCHAR2(24) NOT NULL This field stores the Telephone number.