CM_PRODTOT_VW

(SQL View)
Index Back

Prdn Item Cost Total View

07/28/97 MEG - In the view text, surrounded EFFDT with %DateOut(). 12/30/97 DFL - Remove comment /* at end of view. cn#mg750-5.0 01/26/98 DSO - removed %dateout from view text

select business_unit, inv_item_id, config_code, effdt, sum(tl_cost), sum(ll_cost), sum(tl_cost + ll_cost) from PS_CM_PRODCOST group by business_unit, inv_item_id, config_code, effdt

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

Prompt Table: BUS_UNIT_TBL_IN

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

Prompt Table: MASTER_ITEM_TBL

3 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator
4 EFFDT Date(10) DATE Effective Date
5 TL_COST Number(15,4) DECIMAL(14,4) NOT NULL This Level Cost
6 LL_COST Number(15,4) DECIMAL(14,4) NOT NULL Lower Level Cost
7 TL_LL_COST Signed Number(16,4) DECIMAL(14,4) NOT NULL This/Lower Level Costs