AV_RELATE_E2_VW(SQL View) |
Index Back |
---|---|
Ext Org RelationshipsUse 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 below. SELECT A.ORG_RELATE_NBR , A.EXT_ORG_ID , A.ORG_RELATION , B.XLATLONGNAME , A.EXT_ORG_ID_RELATED , A.ORG_RELATE_RCP , A.ORG_RELATE_NBR_RCP , A.DESCR , 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.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 , XLATTABLE B WHERE B.FIELDNAME='ORG_RELATION' AND A.ORG_RELATION = B.FIELDVALUE ======================================================== |
SELECT A.ORG_RELATE_NBR , A.EXT_ORG_ID , A.ORG_RELATION , B.XLATLONGNAME , A.EXT_ORG_ID_RELATED , A.ORG_RELATE_RCP , A.ORG_RELATE_NBR_RCP , 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 , PSXLATITEM B WHERE B.FIELDNAME='ORG_RELATION' AND A.ORG_RELATION = B.FIELDVALUE |
# | 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 | AV_RELATIONSHIPS | Character(30) | VARCHAR2(30) NOT NULL | Relationship |
5 | EXT_ORG_ID_RELATED | Character(11) | VARCHAR2(11) NOT NULL |
Related ID
Prompt Table: AV_EXT_ORG_SRCH |
6 | ORG_RELATE_RCP | Character(2) | VARCHAR2(2) NOT NULL |
Reciprocal Relation
Prompt Table: AV_O_REL_RCP_VW |
7 | ORG_RELATE_NBR_RCP | Character(10) | VARCHAR2(10) NOT NULL | Relation Nbr |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
9 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: SCC_CNT_ADFMTVW |
10 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
11 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
12 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
13 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
14 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
15 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
16 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
17 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat Reference WW=House Trailer Reference |
18 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
19 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
20 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
21 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
22 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: STATE_TBL |
23 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
24 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
25 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit |
26 | PHONE_DAY | Character(30) | VARCHAR2(30) NOT NULL | Daytime Telephone |
27 | PHONE_EVE | Character(30) | VARCHAR2(30) NOT NULL | Evening Telephone |
28 | PHONE_FAX | Character(30) | VARCHAR2(30) NOT NULL | Fax Nbr |
29 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |
30 | URL_ADDRESS | Character(254) | VARCHAR2(254) NOT NULL | URL Address |
31 | BEGIN_DT | Date(10) | DATE | Begin Date |
32 | END_DT | Date(10) | DATE | end date |
33 | SRC_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Source Description |
34 | COMMENTS | Long Character | CLOB | Comment |