PL_FCST_UNB_VW(SQL View) |
Index Back |
---|---|
Unconsumed Forecast w/DmdWghtUnconsumed Forecast w/DmdWght |
SELECT A.PROBINST , A.BUSINESS_UNIT , A.INV_ITEM_ID , A.PLAN_END_DTTM , A.PLAN_START_DTTM , B.START_DATE , %Round(%DecMult(%DecDiv(%DecMult(B.DP_DEMANDWGT1, 1.0000), %DecMult(A.DP_DEMANDWGT1, 1.0000)), A.QTY_FORECAST), 4) , A.DP_DEMANDWGT1 FROM PS_PL_FCST_UNW_VW A , PS_PL_CAL_WEIGHTS B WHERE A.PROBINST = B.PROBINST AND A.DP_WEIGHTPROFILE = B.DP_WEIGHTPROFILE AND B.START_DATE >= %DatePart(A.PLAN_START_DTTM) AND B.START_DATE <= %DatePart(A.PLAN_END_DTTM) AND A.DP_DEMANDWGT1 <> 0 |
# | 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 | PLAN_END_DTTM | DateTime(26) | TIMESTAMP | 08/29/01 EGS (CN#PL900-1): Added. |
5 | PLAN_START_DTTM | DateTime(26) | TIMESTAMP | 08/29/01 EGS (CN#PL900-1): Added. |
6 | START_DATE | Date(10) | DATE | Start Date for Gen Standing PO |
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 |