SHIP_INV_VW2(SQL View) |
Index Back |
---|---|
Shipment Inquiry ViewThis view is used for displaying shipment Inquiry panel. 06/18/04 SLG Changed SCHED_LINE_NO --> SCHED_LINE_NBR |
SELECT A.BUSINESS_UNIT , A.LOCATION , A.DEMAND_SOURCE , A.SOURCE_BUS_UNIT , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.DEMAND_LINE_NO , A.INV_ITEM_ID , %DatePart(A.SHIP_DTTM) , A.QTY_SHIP_BASE , B.AVERAGE_COST , A.LAST_MAINT_OPRID , A.DATE_LAST_MAINT FROM PS_IN_DEMAND A , PS_BU_ITEMS_INV B WHERE A.IN_FULFILL_STATE IN ('70') AND A.DEMAND_SOURCE = 'IN' AND A.INV_ITEM_ID= B.INV_ITEM_ID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
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 |
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 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
8 | DEMAND_LINE_NO | Number(4,0) | SMALLINT NOT NULL | Demand Line No |
9 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
10 | SHIP_DATE | Date(10) | DATE | Item Shipping Date |
11 | QTY_SHIP_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Ship Base |
12 | AVERAGE_COST | Number(15,4) | DECIMAL(14,4) NOT NULL | Average Purchase Price |
13 | LAST_MAINT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Last Maintained By Operator ID |
14 | DATE_LAST_MAINT | Date(10) | DATE | Date Last Maintained |