AV_REL_PE_VW

(SQL View)
Index Back

Relationships

Use RELATIONSHIPS to record information about a person's relationship to other person. You can enter multiple people. The GUARDIAN_RELATIONS field allow you to enter information about the legal relationship to this person, while the PEOPLE_RELATION field identifies the familial or other relationship to the person. For example, a grandparent may legally be a guardian and you would want to capture both these pieces of information about the relationship to the person. ======================================================== modified on 2/16/01 for hr merge impact, old sql is below. SELECT A.PE_RELATE_NBR , A.EXT_ORG_ID , A.EMPLID , A.PE_RELATION , B.XLATLONGNAME , A.DESCR , A.NAME , A.NAME_PREFIX , A.NAME_SUFFIX , A.SSN , A.SEX , A.COUNTRY , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 , A.CITY , A.NUM1 , A.NUM2 , A.HOUSE_TYPE , A.COUNTY , A.STATE , A.POSTAL , A.GEO_CODE , A.IN_CITY_LIMIT , A.BEGIN_DT , A.END_DT , A.SRC_DESCR , A.COMMENTS FROM PS_AV_RELATE_PE A , XLATTABLE B WHERE B.FIELDNAME='PE_RELATION' AND A.PE_RELATION=B.FIELDVALUE ========================================================

SELECT A.PE_RELATE_NBR , A.EXT_ORG_ID , A.EMPLID , A.PE_RELATION , B.XLATLONGNAME , A.DESCR , A.NAME , A.NAME_PREFIX , A.NAME_SUFFIX , A.SSN , A.SEX , %subrec(ADDRESS_SBR, A) , A.BEGIN_DT , A.END_DT , A.SRC_DESCR , A.COMMENTS FROM PS_AV_RELATE_PE A , PSXLATITEM B WHERE B.FIELDNAME='PE_RELATION' AND A.PE_RELATION=B.FIELDVALUE

  • Related Language Record: AVRELPEVWLNG
  • Parent record: PERSON
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 PE_RELATE_NBR Character(10) VARCHAR2(10) NOT NULL Relation Nbr

    Default Value: NEW

    2 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID

    Prompt Table: AV_EXT_ORG_SRCH

    3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Prompt Table: AV_PEOPLE_SRCH

    4 PE_RELATION Character(2) VARCHAR2(2) NOT NULL Relationship

    Prompt Table: AV_PE_RLTN_TBL

    5 AV_RELATIONSHIPS Character(30) VARCHAR2(30) NOT NULL Relationship
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    7 NAME Character(50) VARCHAR2(50) NOT NULL Name
    8 NAME_PREFIX Character(4) VARCHAR2(4) NOT NULL Name Prefix

    Prompt Table: NAME_PREFIX_TBL

    9 NAME_SUFFIX Character(15) VARCHAR2(15) NOT NULL Name Suffix

    Prompt Table: NAME_SUFFIX_TBL

    10 SSN Character(9) VARCHAR2(9) NOT NULL Social Security #
    11 SEX Character(1) VARCHAR2(1) NOT NULL Gender
    F=Female
    M=Male
    U=Unknown
    X=Indeterminate/Intersex/Unspec
    12 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

    Prompt Table: SCC_CNT_ADFMTVW

    13 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
    14 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
    15 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
    16 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
    17 CITY Character(30) VARCHAR2(30) NOT NULL City
    18 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
    19 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
    20 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
    AB=House Boat Reference
    WW=House Trailer Reference
    21 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
    22 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
    23 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
    24 COUNTY Character(30) VARCHAR2(30) NOT NULL County
    25 STATE Character(6) VARCHAR2(6) NOT NULL State

    Prompt Table: STATE_TBL

    26 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
    27 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
    28 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

    Y/N Table Edit

    29 BEGIN_DT Date(10) DATE Begin Date

    Default Value: %date

    30 END_DT Date(10) DATE end date
    31 SRC_DESCR Character(30) VARCHAR2(30) NOT NULL Source Description
    32 COMMENTS Long Character CLOB Comment