ORD_ADDR_HKY_VW

(SQL View)
Index Back

Ord ShpTo Hdr Addr-no ln/sch


SELECT A.BUSINESS_UNIT ,A.ORDER_NO ,A.CUST_ADDR_TYPE ,%subrec(ADDRESS_SBR,A) ,%subrec(BUS_PHONE_SBR,A) ,A.EMAILID ,A.CUST_NAME ,A.CNTCT_NAME1 ,A.FSS_ACTIVITY_DT ,A.SDN_PUBLISH_DATE FROM PS_ORD_ADDR A WHERE A.CUST_ADDR_TYPE ='H' AND A.ORDER_INT_LINE_NO = 0 AND A.SCHED_LINE_NBR = 0

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: BUS_UNIT_TBL_OM

2 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop

Prompt Table: ORD_HEADER

3 CUST_ADDR_TYPE Character(1) VARCHAR2(1) NOT NULL Customer Address Type
H=Ship To Customer
S=Sold To Customer

Default Value: H

4 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

5 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
6 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
7 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
8 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
9 CITY Character(30) VARCHAR2(30) NOT NULL City
10 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
11 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
12 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat
WW=Trailer
13 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
14 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
15 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
16 COUNTY Character(30) VARCHAR2(30) NOT NULL County
17 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: %EDIT_STATE

18 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
19 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
20 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit

21 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
22 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
23 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
24 FAX Character(24) VARCHAR2(24) NOT NULL Fax Number
25 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
26 CUST_NAME Character(40) VARCHAR2(40) NOT NULL Name
27 CNTCT_NAME1 Character(40) VARCHAR2(40) NOT NULL Contact Name1
28 FSS_ACTIVITY_DT Date(10) DATE EGS 03/02/06: Created
29 SDN_PUBLISH_DATE Date(10) DATE Publish date given on the loaded Financial Sanction list.