CM_WGHTAVG_COST

(SQL Table)
Index Back

Weighted Average Costs

10/09 - Created This record will hold the weighted average cost of a work order or PID. The value will be used to cost return issues and for PID splits. It will also be used to recalculate perp average for the item.

# 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 DT_TIMESTAMP DateTime(26) TIMESTAMP Date Timestamp
4 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
5 CM_BOOK Character(10) VARCHAR2(10) NOT NULL Cost Book
6 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
7 CM_SEQ_COST Number(15,0) DECIMAL(15) NOT NULL Cost Sequence Number. Incremented each time the actual cost is updated.
8 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
9 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
10 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
11 TRANSACTION_DT Date(10) DATE Transaction date (often used as trade date)
12 CM_COST_SOURCE Character(1) VARCHAR2(1) NOT NULL 12/29/2005 dbe ICE 1379942000 - Added "U" Xlat.
0=Depletion
1=PO Receipt
2=Expr Ptway
3=IUTransfer
4=AP Matched
5=User Adj
6=Qty Adjs.
7=Bin to Bin
8=Prelim Cst
9=Prdn Compl
C=NegQty
R=Return
S=Split from
U=75 Upgrade
13 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
14 CM_UNIT_COST Signed Number(27,15) DECIMAL(25,15) NOT NULL 07/99 GMG CN800-9.0:
15 CE_UNIT_COST Signed Number(32,15) DECIMAL(30,15) NOT NULL Unit Cost
16 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code