PL_FCST_UNW_VW

(SQL View)
Index Back

Unconsumed Forecast w/DmdWght

Unconsumed Forecast w/DmdWght

SELECT A.PROBINST , A.BUSINESS_UNIT , A.INV_ITEM_ID , C.DP_WEIGHTPROFILE , A.PLAN_END_DTTM , A.PLAN_START_DTTM , MIN(QTY_FORECAST) , SUM(DP_DEMANDWGT1) , C.PL_ITEM_PREC FROM PS_PL_FCST_UNC A , PS_PL_CAL_WEIGHTS B , PS_PL_BU_ITEMS C WHERE A.PROBINST = B.PROBINST AND A.PROBINST = C.PROBINST AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.INV_ITEM_ID = C.INV_ITEM_ID AND B.DP_WEIGHTPROFILE = C.DP_WEIGHTPROFILE AND C.DP_WEIGHTPROFILE <> ' ' AND B.START_DATE >= %DatePart(A.PLAN_START_DTTM) AND B.START_DATE <= %DatePart(A.PLAN_END_DTTM) GROUP BY A.PROBINST, A.BUSINESS_UNIT, A.INV_ITEM_ID, C.DP_WEIGHTPROFILE, A.PLAN_END_DTTM, A.PLAN_START_DTTM, C.PL_ITEM_PREC

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROBINST Character(20) VARCHAR2(20) NOT NULL Optimization Problem Instance

Prompt Table: SP_PRBINS_NONVW

2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: %EDITTABLE

3 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: %EDITTABLE2

4 DP_WEIGHTPROFILE Character(20) VARCHAR2(20) NOT NULL DP_WEIGHTPROFILE
5 PLAN_END_DTTM DateTime(26) TIMESTAMP 08/29/01 EGS (CN#PL900-1): Added.
6 PLAN_START_DTTM DateTime(26) TIMESTAMP 08/29/01 EGS (CN#PL900-1): Added.
7 QTY_FORECAST Number(16,4) DECIMAL(15,4) NOT NULL 11/01/01 PCL (CN#PL900-1): Added
8 DP_DEMANDWGT1 Number(4,0) SMALLINT NOT NULL DP_DEMANDWGT1
9 PL_ITEM_PREC Number(3,0) SMALLINT NOT NULL 10/08/01 EGS (CN#PL900-1): Added.