IN_VMI_OM2_VW(SQL View) |
Index Back |
---|---|
IN_VMI_OM_VWIN_VMI_OM_VW. Used in VMI Replenishment process to calculate the qty ordered on orders not processed through to Inventory yet. This will affect the replenishment reorder quantity. |
SELECT L.BUSINESS_UNIT , L.ORDER_NO , L.ORDER_INT_LINE_NO , L.SHIP_TO_CUST_ID , L.PRODUCT_ID , L.QTY_ORDERED , L.UNIT_OF_MEASURE , L.SHIP_FROM_BU FROM PS_ORD_LINE L WHERE L.ORD_LINE_STATUS IN ('O', 'P') AND NOT EXISTS ( SELECT 'X' FROM PS_ORD_SCHEDULE S WHERE L.BUSINESS_UNIT = S.BUSINESS_UNIT AND L.ORDER_NO = S.ORDER_NO AND L.ORDER_INT_LINE_NO = S.ORDER_INT_LINE_NO) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_OM_NONVW |
2 | 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 |
3 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
4 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Ship To Customer
Prompt Table: VMI_CUSTSHP2_VW |
5 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
6 | QTY_ORDERED | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | Order Qty |
7 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage Prompt Table: PROD_UOM |
8 | SHIP_FROM_BU | Character(5) | VARCHAR2(5) NOT NULL |
Ship from INV BU
Prompt Table: %EDITTABLE2 |