RC_EMPL_POI_VW

(SQL View)
Index Back

prompt table for empl and POI

This view is used as prompt table for HRHD case search EMPLID.

SELECT p.EMPLID , %Substring(n.BO_NAME_DISPLAY,1,50) , n.NAME_PREFIX , n.FIRST_NAME , n.MIDDLE_NAME , n.LAST_NAME , n.NAME_SUFFIX , n.BO_ID FROM %Table(RD_PERSON) p , %Table(BO_NAME) n WHERE p.BO_ID IN ( SELECT r.BO_ID FROM %Table(BO_ROLE) r WHERE r.ROLE_TYPE_ID IN (4, 88) AND r.ROLE_START_DT <= %CurrentDateIn AND r.ROLE_END_DT > %CurrentDateIn ) AND n.BO_ID = p.BO_ID AND n.PRIMARY_IND = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 NAME Character(50) VARCHAR2(50) NOT NULL Name
3 NAME_PREFIX Character(4) VARCHAR2(4) NOT NULL Name Prefix
4 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
5 MIDDLE_NAME Character(30) VARCHAR2(30) NOT NULL Middle Name
6 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
7 NAME_SUFFIX Character(15) VARCHAR2(15) NOT NULL Name Suffix
8 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID