SHIP_INV_VM_VW1(SQL View) |
Index Back |
---|---|
Shipment Inquiry ViewThis view is used for displaying VMI Shipment Inquiry. |
SELECT DISTINCT A.BUSINESS_UNIT , A.LOCATION , A.DEMAND_SOURCE , A.SOURCE_BUS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.DEMAND_LINE_NO , A.IN_FULFILL_STATE , A.SCHED_LINE_NBR , A.INTERUNIT_ID , A.INTERUNIT_STAT , A.VMI_OM_BU , A.SHIP_TO_CUST_ID , B.SOLD_TO_CUST_ID , A.INV_ITEM_ID , A.SHIP_DTTM , A.STORAGE_AREA , A.SCHED_ARRV_DTTM , A.QTY_SHIP_BASE , A.VMI_DESTIN_SHIPTO , A.DESTIN_BU , A.SHIP_ID , A.LAST_MAINT_OPRID , A.DATE_LAST_MAINT FROM PS_IN_DEMAND A , PS_IN_STOR_LOC_VMI B WHERE A.DESTIN_BU = B.BUSINESS_UNIT AND B.SOLD_TO_CUST_ID = ( SELECT C.SOLD_TO_CUST_ID FROM PS_IN_STOR_LOC_VMI C WHERE A.SHIP_TO_CUST_ID = C.SHIP_TO_CUST_ID OR A.VMI_DESTIN_SHIPTO = C.SHIP_TO_CUST_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUVM_NONVW |
2 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
3 | 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 |
4 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Source Bus Unit
Prompt Table: SP_BUIN_NONVW |
5 | 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 |
6 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
7 | DEMAND_LINE_NO | Number(4,0) | SMALLINT NOT NULL | Demand Line No |
8 | IN_FULFILL_STATE | Character(2) | VARCHAR2(2) NOT NULL |
Inventory Fulfillment State
10=Pending 20=Unfulfilled 30=Releasable 40=Released 50=Confirmed 60=Shipped 70=Depleted 90=Canceled |
9 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
10 | INTERUNIT_ID | Character(10) | VARCHAR2(10) NOT NULL | InterUnit Order ID |
11 | INTERUNIT_STAT | Character(1) | VARCHAR2(1) NOT NULL |
InterUnit Status
C=Cancelled I=In-Transit O=Open P=Picked R=Received Default Value: O |
12 | VMI_OM_BU | Character(5) | VARCHAR2(5) NOT NULL | OM Business Unit Related to VMI |
13 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
14 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
15 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
16 | SHIP_DTTM | DateTime(26) | TIMESTAMP | Ship Date/Time |
17 | STORAGE_AREA | Character(5) | VARCHAR2(5) NOT NULL | Storage Area |
18 | SCHED_ARRV_DTTM | DateTime(26) | TIMESTAMP | Schedule Arrival Dt/Tm |
19 | QTY_SHIP_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Ship Base |
20 | VMI_DESTIN_SHIPTO | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
21 | DESTIN_BU | Character(5) | VARCHAR2(5) NOT NULL | Destination Unit |
22 | SHIP_ID | Character(10) | VARCHAR2(10) NOT NULL | Shipping ID |
23 | LAST_MAINT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Last Maintained By Operator ID |
24 | DATE_LAST_MAINT | Date(10) | DATE | Date Last Maintained |