IN_IUVMI_VW

(SQL View)
Index Back

VMI Expected Interunit Receipt


SELECT DISTINCT A.PROCESS_INSTANCE , A.BUSINESS_UNIT , A.DESTIN_BU , A.LOCATION , A.INTERUNIT_STAT , A.INTERUNIT_ID , A.VMI_OM_BU , A.SHIP_TO_CUST_ID , A.SOLD_TO_CUST_ID , A.VMI_DESTIN_SHIPTO , A.CUSTOMER_PO , B.ORDER_NO , B.DEMAND_SOURCE FROM PS_IN_IUVMI_HDR_EC A , PS_IN_IUVMI_DTL_EC B WHERE A.PROCESS_INSTANCE = B.PROCESS_INSTANCE AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.DESTIN_BU = B.DESTIN_BU AND A.LOCATION = B.LOCATION AND A.INTERUNIT_STAT = B.INTERUNIT_STAT AND A.INTERUNIT_ID = B.INTERUNIT_ID

# 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 DESTIN_BU Character(5) VARCHAR2(5) NOT NULL Destination Unit
4 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
5 INTERUNIT_STAT Character(1) VARCHAR2(1) NOT NULL InterUnit Status
C=Cancelled
I=In-Transit
O=Open
P=Picked
R=Received

Default Value: I

6 INTERUNIT_ID Character(10) VARCHAR2(10) NOT NULL InterUnit Order ID
7 VMI_OM_BU Character(5) VARCHAR2(5) NOT NULL OM Business Unit Related to VMI
8 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
9 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
10 VMI_DESTIN_SHIPTO Character(15) VARCHAR2(15) NOT NULL Ship To Customer
11 CUSTOMER_PO Character(25) VARCHAR2(25) NOT NULL Customer PO
12 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
13 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