07/99 GMG CN800-9.0:

CM_PERDAVGS_VW

(SQL View)
Index Back

SELECT BUSINESS_UNIT , CM_BOOK , INV_ITEM_ID , COST_ELEMENT , %Round(SUM(%DecMult(CM_UNIT_COST,CM_QTY_BASE)),4) , %Round(SUM(%DecMult(CM_RECEIPT_QTY,CM_RECEIPT_COST)),4) , %Round(SUM(%DecMult(CM_RECADJ_QTY,CM_RECADJ_COST)),4) FROM PS_CM_PERDAVG_TMP GROUP BY BUSINESS_UNIT ,CM_BOOK ,INV_ITEM_ID ,COST_ELEMENT

# 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 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
4 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
5 CM_UNIT_COST Signed Number(27,15) DECIMAL(25,15) NOT NULL 07/99 GMG CN800-9.0:
6 CM_RECEIPT_COST Number(15,4) DECIMAL(14,4) NOT NULL 07/99 GMG CN800-9.0:
7 CM_RECADJ_COST Number(15,4) DECIMAL(14,4) NOT NULL 07/99 GMG CN800-9.0: