RPM_WORKER_VW

(SQL View)
Index Back

Email address for worker

This view shows the email address defined for a worker.

SELECT A.PERSON_ID , B.FIRST_NAME , B.LAST_NAME , B.NAME_AC , A.TITLE , A.EMPLID , A.MARKET , A.DO_NOT_EMAIL , D.EMAIL_ADDR , %subrec(RB_AUDIT_SBR, B) FROM PS_RD_PERSON A , PS_BO_NAME B , PS_BO_ROLE C , PS_CM_EMAIL D , PS_BO_CM E WHERE A.BO_ID = B.BO_ID AND A.BO_ID = C.BO_ID AND C.ROLE_TYPE_ID = 4 AND B.PRIMARY_IND = 'Y' AND C.ROLE_START_DT <= %CurrentDateIn AND C.ROLE_END_DT > %CurrentDateIn AND D.CM_ID = E.CM_ID AND E.BO_ID = A.BO_ID AND E.CM_PURPOSE_TYPE_ID = 27

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID

Prompt Table: %EDIT_PERSON

2 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
3 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
4 NAME_AC Character(50) VARCHAR2(50) NOT NULL Name (Alternate Character)
5 TITLE Character(35) VARCHAR2(35) NOT NULL Title
6 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
7 MARKET Character(3) VARCHAR2(3) NOT NULL Market
8 DO_NOT_EMAIL Character(1) VARCHAR2(1) NOT NULL Do Not Email
N=No
Y=Yes
9 EMAIL_ADDR Character(70) VARCHAR2(70) NOT NULL Email address to store the address of email.
10 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
11 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
12 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
13 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
14 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.
15 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time