AV_PER2PER_REL

(SQL View)
Index Back

Person to Person Relationships


SELECT A.EMPLID ,A.EMPLID_RELATED ,A.NAME ,A.PEOPLE_RELATION ,( SELECT C.XLATLONGNAME FROM PSXLATITEM C WHERE C.FIELDNAME='PEOPLE_RELATION' AND C.EFFDT = ( SELECT MAX(Y.EFFDT) FROM PSXLATITEM Y WHERE Y.FIELDNAME=C.FIELDNAME AND Y.FIELDVALUE=C.FIELDVALUE AND Y.EFFDT <=%CurrentDateIn ) AND C.FIELDVALUE = A.PEOPLE_RELATION) FROM PS_AV_RELATION_VW A

  • Related Language Record: AV_PER2PER_LANG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    2 RELATED_ID Character(11) VARCHAR2(11) NOT NULL Related ID
    3 NAME Character(50) VARCHAR2(50) NOT NULL Name
    4 RELATIONSHIP Character(2) VARCHAR2(2) NOT NULL Relationship to Employee
    5 RELATIONSHIP_NAME Character(30) VARCHAR2(30) NOT NULL Relationship Name