AV_RELATE_E_VW(SQL View) |
Index Back |
---|---|
Ext Org RelationshipsUse AV_RELATE_E_VW to record information about an Orgs relationship to other Organizations. ======================================================== modified view 2/20/01 for hr merge address_sbr impact, old sql below. I added addr_field1, 2 and 3. SELECT ORG_RELATE_NBR , EXT_ORG_ID , ORG_RELATION , EXT_ORG_ID_RELATED , ORG_RELATE_RCP , ORG_RELATE_NBR_RCP , 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 ORG_RELATE_NBR , EXT_ORG_ID , ORG_RELATION , EXT_ORG_ID_RELATED , ORG_RELATE_RCP , ORG_RELATE_NBR_RCP , DESCR , COUNTRY , ADDRESS1 , ADDRESS2 , ADDRESS3 , ADDRESS4 , CITY , NUM1 , NUM2 , HOUSE_TYPE , ADDR_FIELD1 , ADDR_FIELD2 , ADDR_FIELD3 , 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 |
# | 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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
9 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
10 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
11 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
12 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
13 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
14 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
15 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
16 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat Reference WW=House Trailer Reference |
17 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
18 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
19 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
20 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
21 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
22 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
23 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
24 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL | In City Limit |
25 | PHONE_DAY | Character(30) | VARCHAR2(30) NOT NULL | Daytime Telephone |
26 | PHONE_EVE | Character(30) | VARCHAR2(30) NOT NULL | Evening Telephone |
27 | PHONE_FAX | Character(30) | VARCHAR2(30) NOT NULL | Fax Nbr |
28 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |
29 | URL_ADDRESS | Character(254) | VARCHAR2(254) NOT NULL | URL Address |
30 | BEGIN_DT | Date(10) | DATE | Begin Date |
31 | END_DT | Date(10) | DATE | end date |
32 | SRC_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Source Description |
33 | COMMENTS | Long Character | CLOB | Comment |