REGNCD_NGMBR_VW(SQL View) |
Index Back |
---|---|
Non-Global Member Region CodeThis is a view on the Region Code table, selecting only those region codes with a type of 'MBR' and a global flag = 'N'. |
select a.setid, a.region_cd, a.effdt, a.eff_status, a.region_type_id, a.descr, a.freight_terms, a.ship_type_id, a.language_cd, %subrec(address_sbr,a) from PS_REGION_CD a where a.region_cd_type = 'MBR' and a.global_flag = 'N' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | REGION_CD | Character(10) | VARCHAR2(10) NOT NULL |
Identifies the Sales Region. Populated on the Item Table to identify the Sales Region the Item is applied to.
Prompt Table: REGION_CD |
3 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive Default Value: A |
5 | REGION_TYPE_ID | Character(6) | VARCHAR2(6) NOT NULL |
Region Type ID
Prompt Table: REGION_TYPE |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | FREIGHT_TERMS | Character(10) | VARCHAR2(10) NOT NULL |
Freight Terms Code
Prompt Table: FREIGHT_TERMS |
8 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL |
Ship Via Code
Prompt Table: SHIP_METHOD |
9 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
10 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
11 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
12 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
13 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
14 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
15 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
16 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
17 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
18 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat WW=Trailer |
19 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
20 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
21 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
22 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
23 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
24 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
25 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
26 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit |