AV_RELATE_EP_VW

(SQL View)
Index Back

Ext Org Relationships

Use AV_RELATE_E_VW to record information about an Orgs relationship to other Organizations. ======================================================== modified on 2/16/01 for hr merge impact, old sql is below. SELECT ORG_RELATE_NBR , EXT_ORG_ID , ORG_RELATION , EXT_ORG_ID_RELATED , ORG_RELATE_RCP , ORG_RELATE_NBR_RCP , 'xx' , ' ' , ' ' , 'O' , ' ' , DESCR , COUNTRY , ADDRESS1 , ADDRESS2 , ADDRESS3 , ADDRESS4 , CITY , NUM1 , NUM2 , HOUSE_TYPE , COUNTY , STATE , POSTAL , GEO_CODE , IN_CITY_LIMIT , PHONE_DAY , PHONE_EVE , PHONE_FAX , EMAILID , URL_ADDRESS , BEGIN_DT , END_DT , SRC_DESCR , COMMENTS FROM PS_AV_RELATE_E ========================================================

SELECT A.ORG_RELATE_NBR , A.EXT_ORG_ID , A.ORG_RELATION , A.EXT_ORG_ID_RELATED , A.ORG_RELATE_RCP , A.ORG_RELATE_NBR_RCP , 'xx' , ' ' , ' ' , 'O' , ' ' , A.DESCR , %subrec(ADDRESS_SBR, A) , A.PHONE_DAY , A.PHONE_EVE , A.PHONE_FAX , A.EMAILID , A.URL_ADDRESS , A.BEGIN_DT , A.END_DT , A.SRC_DESCR , A.COMMENTS FROM PS_AV_RELATE_E A

  • Related Language Record: AVRELATEEPVWLNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 ORG_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 ORG_RELATION Character(2) VARCHAR2(2) NOT NULL Relationship
    BR=Branch
    CF=Corporate Foundation
    PC=Parent Company
    SS=Subsidiary
    4 EXT_ORG_ID_RELATED Character(11) VARCHAR2(11) NOT NULL Related ID

    Prompt Table: AV_EXT_ORG_SRCH

    5 ORG_RELATE_RCP Character(2) VARCHAR2(2) NOT NULL Reciprocal Relation

    Prompt Table: AV_O_REL_RCP_VW

    6 ORG_RELATE_NBR_RCP Character(10) VARCHAR2(10) NOT NULL Relation Nbr
    7 PE_RELATION Character(2) VARCHAR2(2) NOT NULL Relationship
    8 PE_RELATE_NBR Character(10) VARCHAR2(10) NOT NULL Relation Nbr
    9 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    10 SA_ID_TYPE Character(1) VARCHAR2(1) NOT NULL ID Type
    O=Organization
    P=Person
    11 NAME Character(50) VARCHAR2(50) NOT NULL Name
    12 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    13 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

    Prompt Table: SCC_CNT_ADFMTVW

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

    Prompt Table: STATE_TBL

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

    Y/N Table Edit

    30 PHONE_DAY Character(30) VARCHAR2(30) NOT NULL Daytime Telephone
    31 PHONE_EVE Character(30) VARCHAR2(30) NOT NULL Evening Telephone
    32 PHONE_FAX Character(30) VARCHAR2(30) NOT NULL Fax Nbr
    33 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
    34 URL_ADDRESS Character(254) VARCHAR2(254) NOT NULL URL Address
    35 BEGIN_DT Date(10) DATE Begin Date
    36 END_DT Date(10) DATE end date
    37 SRC_DESCR Character(30) VARCHAR2(30) NOT NULL Source Description
    38 COMMENTS Long Character CLOB Comment