ORD_ADDR_SLD_VW

(SQL View)
Index Back

Order Sold To Addresses


SELECT A.BUSINESS_UNIT ,A.ORDER_NO ,A.ORDER_INT_LINE_NO ,A.SCHED_LINE_NBR ,A.CUST_ADDR_TYPE ,%subrec(ADDRESS_SBR,A) ,%subrec(BUS_PHONE_SBR,A) ,A.EMAILID ,A.CNTCT_NAME1 ,A.CUST_NAME ,A.LASTUPDDTTM ,A.LAST_MAINT_OPRID ,DATETIME_ADDED ,A.FSS_ACTIVITY_DT ,A.SDN_PUBLISH_DATE FROM PS_ORD_ADDR A WHERE A.CUST_ADDR_TYPE ='S'

# 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 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line

Prompt Table: ORD_LINE

4 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number

Prompt Table: ORD_SCHEDULE

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

Default Value: S

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

Prompt Table: COUNTRY_TBL

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

Prompt Table: %EDIT_STATE

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

Y/N Table Edit

23 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
24 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
25 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
26 FAX Character(24) VARCHAR2(24) NOT NULL Fax Number
27 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
28 CNTCT_NAME1 Character(40) VARCHAR2(40) NOT NULL Contact Name1
29 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
30 LASTUPDDTTM DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.
31 LAST_MAINT_OPRID Character(30) VARCHAR2(30) NOT NULL Last Maintained By Operator ID
32 DATETIME_ADDED DateTime(26) TIMESTAMP DateTime Added
33 FSS_ACTIVITY_DT Date(10) DATE EGS 03/02/06: Created
34 SDN_PUBLISH_DATE Date(10) DATE Publish date given on the loaded Financial Sanction list.