LN_BOR_REL_VW2(SQL View) |
Index Back |
---|---|
Related borrower viewLoan Origination Related borrower view |
SELECT A.EMPLID , A.EMPLID_RELATED , A.NAME , A.PEOPLE_RELATION , A.GUARDIAN_RELATIONS FROM PS_RELATIONSHIPS A WHERE A.EMPLID_RELATED <> ' ' AND A.PEOPLE_RELATION = 'PL' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_RELATIONSHIPS A1 WHERE A1.EMPLID = A.EMPLID AND A1.RELATIONSHIP_NBR = A.RELATIONSHIP_NBR) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PEOPLE_SRCH |
2 | BORR_EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Borrower ID
Prompt Table: PEOPLE_SRCH |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | PEOPLE_RELATION | Character(2) | VARCHAR2(2) NOT NULL | Relationship |
5 | GUARDIAN_RELATIONS | Character(2) | VARCHAR2(2) NOT NULL |
Guardian Relationship
LG=Legal Guardian NA=Not Applicable OT=Other PG=Parent Guardian SG=Self Guardian XG=Primary Guardian |