LN_ORIG_EMPL_VW

(SQL View)
Index Back

EmplIDs with Loan Awds

Loan Origination EmplIDs with Loan Awards

SELECT DISTINCT C.OPRCLASS , A.EMPLID , C.COUNTRY , C.NATIONAL_ID_TYPE , D.DESCRSHORT , C.NATIONAL_ID , C.NATIONAL_ID_MSK , A.NAME FROM PS_SCC_PRI_NAME_VW A , PS_LOAN_ORIGNATN B , PS_PERS_NID_MSK_VW C , PS_NID_TYPE_TBL D WHERE A.EMPLID = B.EMPLID AND A.EMPLID = C.EMPLID AND A.EFFDT = ( SELECT MAX(X1.EFFDT) FROM PS_SCC_PRI_NAME_VW X1 WHERE X1.EMPLID = A.EMPLID) AND D.COUNTRY = C.COUNTRY AND D.NATIONAL_ID_TYPE = C.NATIONAL_ID_TYPE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRCLASS Character(30) VARCHAR2(30) NOT NULL Operator Class
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 NID_COUNTRY Character(3) VARCHAR2(3) NOT NULL National ID Country
4 NATIONAL_ID_TYPE Character(6) VARCHAR2(6) NOT NULL National ID Type

Prompt Table: HCR_NID_TYP_I

5 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
6 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
7 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
8 NAME Character(50) VARCHAR2(50) NOT NULL Name