RS_EMPL_PHONE_V(SQL View) |
Index Back |
---|---|
RS_EMPL_PHONE_VView to be used by RS_BUS_CRD_VW to get the Resource\EMPLID phone details. |
SELECT B.EMPLID , CASE WHEN A.PHONE IS NULL THEN ( SELECT C.RS_PHONE FROM PS_RS_WRKR_PHONE C WHERE C.EMPLID = B.EMPLID AND C.RS_PHONE_TYPE = 'BUSN') ELSE A.PHONE END "RS_PHONE" FROM PS_PERSONAL_PHONE A RIGHT OUTER JOIN PS_PERSONAL_DATA B ON A.EMPLID = B.EMPLID AND A.PHONE_TYPE ='BUSN' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | RS_PHONE | Character(24) | VARCHAR2(24) NOT NULL | Phone number. |