OM_DEL_CADR_VW(SQL View) |
Index Back |
---|---|
Customer Shipping Addresses |
SELECT s.ship_from_bu , 'OM' , s.business_unit , s.order_no , s.order_int_Line_no , s.sched_line_nbr , a.setid , a.cust_id , a.address_seq_num , %subrec(address_sbr,a) , c.name1 , c.name2 FROM ps_ord_schedule s , ps_cust_addr_seq q , PS_CUST_ADDRESS a , ps_customer c WHERE s.ship_to_cust_id = a.cust_id AND s.address_seq_num = a.address_seq_num AND s.ship_to_cust_id > ' ' AND q.setid = a.setid AND q.cust_id = a.cust_id AND q.address_seq_num = a.address_seq_num AND q.ship_to_addr = 'Y' AND %EffdtCheck(cust_address, a, %DatePart(s.sched_ship_dttm)) AND a.eff_status='A' AND %Join(common_keys, customer c, cust_addr_seq q) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | DEMAND_SOURCE | Character(2) | VARCHAR2(2) NOT NULL |
Demand Source
IN=Material Request OM=Sales Order PL=Planning Requisition PO=Purchase Order PR=Purchasing Requisition RT=Material Return SF=Production Request WM=Work Order |
3 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
4 | 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 |
5 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
6 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
7 | SETID_CUST_SHIPTO | Character(5) | VARCHAR2(5) NOT NULL | Shipto Cust SetID |
8 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
9 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
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 |
27 | SHIP_CUST_NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Ship To Name |
28 | SHIP_CUST_NAME2 | Character(40) | VARCHAR2(40) NOT NULL | Ship To Name 2 |