REGNCD_TRFT_VW(SQL View) |
Index Back |
---|---|
Region Cd Freight ViewThis is a view on the Region Code table, selecting only those region codes with a type of 'FRT'. |
select a.setid, a.region_cd_type, 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), a.global_flag from PS_REGION_CD a where a.region_cd_type in ('FRT','TRPT') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SP_SETID_NONVW |
2 | REGION_CD_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Region Code Type
ACCT=Accounting BO=Backorder/Reservation CDOM=Contract Domain CNTR=Contracts FRT=Freight MBR=Team Member PRC=Pricing RPT=Reporting RS=Resource Management SPRS=Procurement SSRC=Alternate Sources Of Supply TRPT=Transportation |
3 | 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 |
4 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
5 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
6 | REGION_TYPE_ID | Character(6) | VARCHAR2(6) NOT NULL |
Region Type ID
Prompt Table: REGION_TYPE |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | FREIGHT_TERMS | Character(10) | VARCHAR2(10) NOT NULL |
Freight Terms Code
Prompt Table: FREIGHT_TERMS |
9 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL |
Ship Via Code
Prompt Table: SHIP_METHOD |
10 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
11 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
12 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
13 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
14 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
15 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
16 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
17 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
18 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
19 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat WW=Trailer |
20 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
21 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
22 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
23 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
24 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
25 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
26 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
27 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit |
28 | GLOBAL_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Global
Y/N Table Edit |