LN_PHONE_VW(SQL View) |
Index Back |
---|---|
Loan Phone Number ViewThis view joins the PS_PERSONAL_PHONE record to the FA_PRCSDEMO_TBL to get the phone number for loan application processing |
SELECT A.EMPLID , A.PHONE ,C.PHONE_TYPE FROM PS_PERSONAL_PHONE A , PS_PHONE_ORDER_TBL C , PS_FA_PRCSDEMO_TBL D WHERE A.PHONE_TYPE = C.PHONE_TYPE AND C.ADDR_USAGE = D.ISIR_PHONE_USAGE AND D.FA_PROCESS_NAME = 'L' AND C.ADDR_USAGE_ORDER = ( SELECT MIN(C1.ADDR_USAGE_ORDER) FROM PS_PHONE_ORDER_TBL C1 WHERE C1.ADDR_USAGE = D.ISIR_PHONE_USAGE AND C1.PHONE_TYPE IN ( SELECT A1.PHONE_TYPE FROM PS_PERSONAL_PHONE A1 WHERE A1.EMPLID = A.EMPLID )) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |
3 | PHONE_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Phone Type
BUSN=Business CAMP=Campus CELL=Mobile DORM=Dormitory FAX=FAX HOME=Home MAIN=Main OTR=Other PGR1=Pager 1 PGR2=Pager 2 TELX=Telex WORK=Work |