IN_TMS_H_EVW(SQL View) |
Index Back |
---|---|
TMS Load HeaderTransportation Management System (TMS) Load Notification Header |
SELECT A.PROCESS_INSTANCE , A.BUSINESS_UNIT , A.TMS_EXT_REF_ID , A.AUDIT_ACTN , A.IN_PROCESS_FLG , A.ORIGIN_LOCATION , A.DEMAND_SOURCE , A.SOURCE_BUS_UNIT , A.ORDER_NO , A.SETID , A.SETID_CUSTOMER , A.SETID_LOCATION , A.CUST_ID , A.SHIP_TO_CUST_ID , A.SHIP_CUST_NAME1 , A.BILL_TO_CUST_ID , A.LOCATION , A.LOAD_ID , A.CARRIER_ID , A.SHIP_TYPE_ID , A.SCHED_DATE , A.SCHED_TIME , A.SCHED_ARRV_DTTM , A.SHIP_EARLY_DATE , A.SHIP_EARLY_TIME , A.SHIP_LATE_DATE , A.SHIP_LATE_TIME , A.FREIGHT_TERMS , A.ADDRESS_SEQ_NUM , %subrec(ADDRESS_SBR,A) , A.STORE_NUMBER FROM PS_IN_TMS_H_TBL A |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | TMS_EXT_REF_ID | Character(10) | VARCHAR2(10) NOT NULL | TMS Reference ID |
4 | AUDIT_ACTN | Character(1) | VARCHAR2(1) NOT NULL |
Audit Action Code for Application Messages. This tells the subscriber whether the row has been added, changed, or deleted.
A=Add C=Change Old (PPR Only) D=Delete K=Change - Old Values N=Change - New Values O=Change - Original Values |
5 | IN_PROCESS_FLG | Character(1) | VARCHAR2(1) NOT NULL | In process flag |
6 | ORIGIN_LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Original Location |
7 | 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 |
8 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
9 | 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 |
10 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
11 | SETID_CUSTOMER | Character(5) | VARCHAR2(5) NOT NULL | Customer SetID |
12 | SETID_LOCATION | Character(5) | VARCHAR2(5) NOT NULL | Location SetID |
13 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
14 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
15 | SHIP_CUST_NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Ship To Name |
16 | BILL_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer |
17 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
18 | LOAD_ID | Character(10) | VARCHAR2(10) NOT NULL | Load ID |
19 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL | Carrier ID |
20 | SHIP_TYPE_ID | Character(10) | VARCHAR2(10) NOT NULL | Ship Via Code |
21 | SCHED_DATE | Date(10) | DATE | Schedule Date |
22 | SCHED_TIME | Time(15) | TIMESTAMP | Schedule Time |
23 | SCHED_ARRV_DTTM | DateTime(26) | TIMESTAMP | Schedule Arrival Dt/Tm |
24 | SHIP_EARLY_DATE | Date(10) | DATE | Earliest Ship Date |
25 | SHIP_EARLY_TIME | Time(15) | TIMESTAMP | Earliest Ship Time |
26 | SHIP_LATE_DATE | Date(10) | DATE | Latest Ship Date |
27 | SHIP_LATE_TIME | Time(15) | TIMESTAMP | Latest Ship Time |
28 | FREIGHT_TERMS | Character(10) | VARCHAR2(10) NOT NULL | Freight Terms Code |
29 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
30 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
31 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
32 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
33 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
34 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
35 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
36 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
37 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
38 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat WW=Trailer |
39 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
40 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
41 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
42 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
43 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
44 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
45 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
46 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit |
47 | STORE_NUMBER | Character(17) | VARCHAR2(17) NOT NULL | Store Number |