LD_SHP_IN2_LVW(SQL View) |
Index Back |
---|---|
Picked/Shipped Orders View 2 |
SELECT d.business_unit , d.demand_source , d.source_bus_unit , d.order_no , d.order_int_line_no , d.sched_line_nbr , d.inv_item_id , d.demand_line_no , L.LANGUAGE_CD , L.descr FROM ps_in_demand d , PS_MASTER_ITEM_TBL m , ps_inv_items i , PS_MASTER_ITM_LANG L WHERE m.setid = ( SELECT setid FROM ps_set_cntrl_rec sc WHERE setcntrlvalue = d.business_unit AND recname = 'MASTER_ITEM_TBL') AND m.inv_item_id = d.inv_item_id AND d.in_fulfill_state BETWEEN '20' AND '70' AND i.setid = ( SELECT setid FROM ps_set_cntrl_rec sc WHERE setcntrlvalue = d.business_unit AND recname = 'INV_ITEMS') AND i.inv_item_id = d.inv_item_id AND i.effdt = ( SELECT MAX(effdt) FROM ps_inv_items i2 WHERE i2.inv_item_id = i.inv_item_id AND i2.setid = i.setid AND i2.effdt <= %CurrentDateIn) AND M.SETID = L.SETID AND L.SETID = I.SETID AND M.INV_ITEM_ID = L.INV_ITEM_ID |
# | 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 | |
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 | |
8 | Number(4,0) | SMALLINT NOT NULL | Demand Line No | |
9 | Character(3) | VARCHAR2(3) NOT NULL | Language Code | |
10 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |