FANLTR_PDATA_VW

(SQL View)
Index Back

Award Letter PersonalData View

Personal data information that appears on an award notification letter.

SELECT A.EMPLID ,A.NAME ,%subrec(ADDRESS_SBR,C) ,B.NATIONAL_ID FROM PS_HCR_PERSON_NM_I A ,PS_HCR_PER_NID_I B ,PS_INSTALLATION B1 ,PS_HCR_NID_TYP_I B2 ,PS_FAN_ADDRUSAG_VW C WHERE B.EMPLID = A.EMPLID AND B1.COUNTRY = B.COUNTRY AND B2.COUNTRY = B.COUNTRY AND B2.NATIONAL_ID_TYPE = B.NATIONAL_ID_TYPE AND B2.NID_TYPE_DEFAULT = 'Y' AND C.EMPLID = A.EMPLID AND C.ADDR_USAGE = 'LOAN_MAIL'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 NAME Character(50) VARCHAR2(50) NOT NULL Name
3 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Default Value: OPR_DEF_TBL_HR.COUNTRY

Prompt Table: COUNTRY_TBL

4 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
5 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
6 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
7 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
8 CITY Character(30) VARCHAR2(30) NOT NULL City
9 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
10 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
11 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat Reference
WW=House Trailer Reference
12 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
13 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
14 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
15 COUNTY Character(30) VARCHAR2(30) NOT NULL County
16 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: STATE_TBL

17 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
18 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
19 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit
20 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID