RD_WS_C_PHN_VW

(SQL View)
Index Back

WS Search for Company Phone

This view listed out primary company phones that are current for BO_CM_START_DT and BO_CM_END_DT

SELECT A.SYNCID , A.BO_ID , B.PROFILE_CM_SEQ , B.CM_ID , B.PHONE FROM PS_RD_COMPANY A , PS_BO_SRCH_PHN B WHERE A.BO_ID = B.BO_ID AND B.BO_CM_START_DT <= %CurrentDateIn AND B.BO_CM_END_DT > %CurrentDateIn AND B.PRIMARY_IND = 'Y'

# 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.