BO_PRIM_PHON_VW

(SQL View)
Index Back

Primary Phone for a Bus Object

This is the Primary Phone for a Bus Object view.

SELECT A.BO_ID , A.COUNTRY_CODE , A.PHONE , A.EXTENSION FROM PS_BO_SRCH_PHN A WHERE A.PRIMARY_IND = 'Y' AND A.CM_USE_START_DT <= %CurrentDateIn AND A.CM_USE_END_DT > %CurrentDateIn AND A.ROLE_TYPE_ID = ( SELECT MIN(B.ROLE_TYPE_ID) FROM PS_BO_SRCH_PHN B WHERE A.BO_ID = B.BO_ID AND B.ROLE_TYPE_ID > 0 )

# 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 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL This field stores the Country Code values.
3 PHONE Character(24) VARCHAR2(24) NOT NULL This field stores the Telephone number.
4 EXTENSION Character(6) VARCHAR2(6) NOT NULL This field stores the Phone extension.