BCT_ITEM_INV_VW

(SQL View)
Index Back

Prompt for ship Item ID

04/08/04 MEG CN#IN890: Select from in_demand instead of ship_inf_inv and use sched_line_nbr instead of sched_line_no.

SELECT DISTINCT A.BUSINESS_UNIT , 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 , B.DESCR FROM PS_IN_DEMAND A , PS_MASTER_ITEM_TBL B , PS_SET_CNTRL_REC C WHERE A.IN_FULFILL_STATE BETWEEN '50' AND '60' AND A.INV_ITEM_ID = B.INV_ITEM_ID AND B.SETID = C.SETID AND C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.RECNAME = 'MASTER_ITEM_TBL'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
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
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 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
8 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
9 DESCR Character(30) VARCHAR2(30) NOT NULL Description