RB_PERS_NAME_V5(SQL View) |
Index Back |
---|---|
Person Name ViewCRM ERMS view about Person Name information |
SELECT A.PERSON_ID ,B.BO_NAME_DISPLAY ,C.OPRID ,E.EMPL_STATUS FROM PS_RD_PERSON A ,PS_BO_NAME_PRIM_VW B ,PSOPRALIAS C ,PSXLATITEM D , PS_RB_WORKER E WHERE A.BO_ID=B.BO_ID AND A.PERSON_ID = E.PERSON_ID AND A.PERSON_ID = C.OPRALIASVALUE AND OPRALIASTYPE='PER' AND E.EMPL_STATUS='A' AND D.FIELDVALUE = E.EMPL_STATUS AND D.FIELDNAME = 'EMPL_STATUS' AND D.EFFDT = ( SELECT MAX(F.EFFDT) FROM PSXLATITEM F WHERE F.FIELDNAME = D.FIELDNAME AND F.FIELDVALUE = D.FIELDVALUE AND F.EFF_STATUS = 'A' AND F.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | BO_NAME_DISPLAY | Character(80) | VARCHAR2(80) NOT NULL | Full name of the Business Object |
3 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
4 | EMPL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Employment Status. e.g., Active, Leave of Absence, Terminated, Retired, etc.
A=Active D=Deceased L=Leave of Absence P=Leave With Pay Q=Retired With Pay R=Retired S=Suspended T=Terminated U=Terminated With Pay V=Terminated Pension Pay Out W=Short Work Break X=Retired-Pension Administration |