CE_DEPCST_VW

(SQL View)
Index Back

SELECT BUSINESS_UNIT , CM_BOOK , PRODUCTION_ID , TRANSACTION_GROUP , INV_ITEM_ID , COST_ELEMENT ,%Round((%DecDiv(SUM(%DecMult(CM_UNIT_COST ,QTY_BASE)) ,(SUM(QTY_BASE))) ) ,15) FROM PS_CM_DEPLETE_COST GROUP BY BUSINESS_UNIT , CM_BOOK , PRODUCTION_ID , TRANSACTION_GROUP , INV_ITEM_ID , COST_ELEMENT HAVING SUM(QTY_BASE) <> 0

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 CM_BOOK Character(10) VARCHAR2(10) NOT NULL Cost Book
3 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
4 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.
5 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
6 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
7 CM_UNIT_COST Signed Number(27,15) DECIMAL(25,15) NOT NULL 07/99 GMG CN800-9.0: