AV_REL_EP_VW

(SQL View)
Index Back

Org/Person Relationship View

Org/Person Relationship View

SELECT A.PE_RELATE_NBR, A.EMPLID, A.EXT_ORG_ID, A.BEGIN_DT, A.END_DT, A.DESCR, A.PE_RELATION, B.PE_REL_DESCR FROM PS_AV_RELATE_PE A, PS_AV_PE_RLTN_TBL B WHERE A.PE_RELATION=B.PE_RELATION AND B.EFFDT IN (SELECT MAX(EFFDT) FROM PS_AV_PE_RLTN_TBL A1 WHERE A.PE_RELATION=A1.PE_RELATION) AND EFF_STATUS='A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PE_RELATE_NBR Character(10) VARCHAR2(10) NOT NULL Relation Nbr
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID
4 BEGIN_DT Date(10) DATE Begin Date
5 END_DT Date(10) DATE end date
6 NAME Character(50) VARCHAR2(50) NOT NULL Name
7 PE_RELATION Character(2) VARCHAR2(2) NOT NULL Relationship
8 AV_RELATIONSHIPS Character(30) VARCHAR2(30) NOT NULL Relationship