CM_PERRAVG_HST

(SQL Table)
Index Back

Retro Average Costs

11/02 holds retro cost

# 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 CM_BOOK Character(10) VARCHAR2(10) NOT NULL Cost Book
4 DT_TIMESTAMP DateTime(26) TIMESTAMP Date Timestamp
5 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
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 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
10 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
11 ADJUST_TYPE Character(1) VARCHAR2(1) NOT NULL Adjustment Type
0=CM Only
A=VMI Return
D=Decrease
I=Increase
M=Misc Issue
R=Misc Return
S=Scrap
V=Scrap RTV
12 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.
13 CM_QTY_DIRECTION Signed Number(2,0) DECIMAL(1) NOT NULL This field shows the movement direction for the transactions in transaction_inv based on transaction group and adjust type. Positive for receipts of inventory and negative for depletions of inventory.s
14 CM_COST_PROC_GROUP Character(18) VARCHAR2(18) NOT NULL Cost Flow Record
15 NON_COST_FLAG Character(1) VARCHAR2(1) NOT NULL Non Cost
16 NON_OWN_FLAG Character(1) VARCHAR2(1) NOT NULL 07/30/1998 WHS CN#ENH8.0: Created Translate Values 'Y'es and 'N'o
N=No
Y=Yes
17 CONSIGNED_FLAG Character(1) VARCHAR2(1) NOT NULL Consigned Flag
18 TO_CONSIGNED_FLG Character(1) VARCHAR2(1) NOT NULL To Consigned Flag
19 PROCESS_FLAG Character(1) VARCHAR2(1) NOT NULL Process Flag
A=Purge All
S=Only purge items with at least
20 CM_RECALC_AVG_FLAG Character(1) VARCHAR2(1) NOT NULL CM Re calculate Average Flag
21 CM_DUMMY_FLG Character(1) VARCHAR2(1) NOT NULL Consignment Flag
22 CM_ACTUAL_COST Signed Number(27,15) DECIMAL(25,15) NOT NULL 07/99 GMG CN800-9.0:
23 CM_UNIT_COST Signed Number(27,15) DECIMAL(25,15) NOT NULL 07/99 GMG CN800-9.0:
24 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
25 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
26 CUMULATIVE_QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity Details
27 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
28 TRANSACTION_DT Date(10) DATE Transaction date (often used as trade date)