CP_PRODCOST(SQL View) |
Index Back |
---|---|
CP Production Cost - ViewThe view is used only for internal variable retrieval of costs. It selects non-configure coded costs only and sums the costs. |
select business_unit, inv_item_id, effdt, sum(tl_cost), sum(ll_cost), sum(tl_cost + ll_cost) from PS_CM_PRODCOST where config_code = ' ' group by business_unit, inv_item_id, effdt |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | TL_COST | Number(15,4) | DECIMAL(14,4) NOT NULL | This Level Cost |
5 | LL_COST | Number(15,4) | DECIMAL(14,4) NOT NULL | Lower Level Cost |
6 | TL_LL_COST | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | This/Lower Level Costs |