IN_DMD_LPRD_VW(SQL View) |
Index Back |
---|---|
Inv Demand Row Locking |
SELECT C.BUSINESS_UNIT , C.DEMAND_SOURCE , C.SOURCE_BUS_UNIT , C.ORDER_NO , C.ORDER_INT_LINE_NO , C.SCHED_LINE_NBR , C.INV_ITEM_ID , MIN(C.DEMAND_LINE_NO) , D.PRODUCT_ID , MAX(D.QTY_PACK_BASE) , C.PROCESS_INSTANCE , C.PRCSNAME FROM PS_IN_DEMAND_LOCK C , PS_IN_DEMAND D WHERE %Join(COMMON_KEYS, IN_DEMAND_LOCK C, IN_DEMAND D) GROUP BY C.BUSINESS_UNIT , C.DEMAND_SOURCE , C.SOURCE_BUS_UNIT , C.ORDER_NO , C.ORDER_INT_LINE_NO , C.SCHED_LINE_NBR , C.INV_ITEM_ID , D.PRODUCT_ID , C.PROCESS_INSTANCE , C.PRCSNAME |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUIN_NONVW |
|
2 | 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 |
|
3 | Character(5) | VARCHAR2(5) NOT NULL |
Source Bus Unit
Prompt Table: SP_BU_FS_NONVW |
|
4 | 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 | |
5 | Number(5,0) | INTEGER NOT NULL | Order Line | |
6 | Number(6,0) | INTEGER NOT NULL | Schedule Line Number | |
7 | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: BU_ITM_INV_VW2 |
|
8 | Number(4,0) | SMALLINT NOT NULL | Demand Line No | |
9 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
10 | QTY_PACK_BASE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Base Quantity Packed |
11 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
12 | PRCSNAME | Character(12) | VARCHAR2(12) NOT NULL | Process Name |