AV_PER2PER_LANG(SQL View) |
Index Back |
---|---|
Person to Person Relationships |
SELECT B.LANGUAGE_CD ,A.EMPLID ,A.EMPLID_RELATED ,A.PEOPLE_RELATION ,B.XLATLONGNAME FROM PS_AV_RELATION_VW A ,PSXLATITEMLANG B WHERE B.FIELDNAME='PEOPLE_RELATION' AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PSXLATITEMLANG B1 WHERE B1.FIELDNAME=B.FIELDNAME AND B1.FIELDVALUE=B.FIELDVALUE AND B1.LANGUAGE_CD=B.LANGUAGE_CD AND B1.EFFDT <=%CurrentDateIn) AND B.FIELDVALUE = A.PEOPLE_RELATION |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | RELATED_ID | Character(11) | VARCHAR2(11) NOT NULL | Related ID |
4 | RELATIONSHIP | Character(2) | VARCHAR2(2) NOT NULL | Relationship to Employee |
5 | RELATIONSHIP_NAME | Character(30) | VARCHAR2(30) NOT NULL | Relationship Name |