INV_CHG_INF_VW3

(SQL View)
Index Back

IN View of Demand_Inf_Inv

Used for updated Demand_Inf_Inv in Stock Request Change panel. 07/07/04 cwa 8.9 data model change: Made necessary changes for new data model - fields and SQL. 09/15/04 TW 8.9 data model change: removed peer tables in join.

SELECT a.business_unit , a.demand_source , a.source_bus_unit , a.order_no , a.order_int_line_no , a.sched_line_nbr , a.inv_item_id , a.demand_line_no , a.parent_prod_id , a.pick_batch_id , a.picklist_line_no FROM PS_IN_DEMAND a , ps_bus_unit_tbl_in b WHERE a.business_unit = b.business_unit AND a.in_fulfill_state BETWEEN '20' AND '70'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUIN_NONVW

2 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
3 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit

Prompt Table: SP_BU_FS_NONVW

4 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
5 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
6 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
7 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: BU_ITM_INV_VW2

8 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
9 PARENT_PROD_ID Character(18) VARCHAR2(18) NOT NULL Parent Product Id
10 PICK_BATCH_ID Number(10,0) DECIMAL(10) NOT NULL Pick Batch ID
11 PICKLIST_LINE_NO Number(7,0) INTEGER NOT NULL Pick List Sorting Line Number