ORG_LOC_CONT_VW(SQL View) |
Index Back |
---|---|
Organization Location ViewUse ORG_LOCATION to identify all the addresses an organization may have. Each location is assigned a unique number. Departments and contacts within an organization can be assigned a location number. Whenever an address changes it only has to be updated in one place, the ORG_LOCATION record. |
SELECT A.EXT_ORG_ID , A.ORG_LOCATION , A.EFFDT , A.EFF_STATUS , B.ORG_CONTACT , B.ORG_CONTACT_TYPE , B.CONTACT_NAME , %subrec(ADDRESS_SBR, A) , A.URL_ADDRESS , B.EMAILID FROM PS_ORG_LOCATION A , PS_ORG_CONTACT B WHERE A.EXT_ORG_ID = B.EXT_ORG_ID AND A.ORG_LOCATION = B.ORG_LOCATION AND %EffdtCheck(ORG_CONTACT B1, B, %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
2 | ORG_LOCATION | Number(3,0) | SMALLINT NOT NULL | Location Nbr |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
5 | ORG_CONTACT | Number(4,0) | SMALLINT NOT NULL | Contact Nbr |
6 | ORG_CONTACT_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Contact Type |
7 | CONTACT_NAME | Character(50) | VARCHAR2(50) NOT NULL | Contact Name |
8 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: SCC_CNT_ADFMTVW |
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
Prompt Table: STATE_TBL |
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
Y/N Table Edit |
25 | URL_ADDRESS | Character(254) | VARCHAR2(254) NOT NULL | URL Address |
26 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |