CM_COST_ADJ

(SQL Table)
Index Back

Cost Only Adjustment Trx

PSG 2/10/97: This is the transaction history of Cost Only Adjustments. Currently, only average costed items can be adjusted here. Only BU and item are enterable, other fields are populated by the programs. PSG 2/11/98: Added transaction_group for use in Acctg COBOL. KDN CM800-7.1: Added ALTACCT field. 08/10/01 DMW : R-CMORSE-DQ7K6 / R-MSUBBA-3F5MV Performance Enhancement - add posted_flag index A 10/02 tw - set cost_element as a key.

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUIN_NONVW

2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: MST_ITM_PRPT_VW

3 DT_TIMESTAMP DateTime(26) TIMESTAMP NOT NULL Date Timestamp
4 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
5 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
6 COST_ELEMENT Character(4) VARCHAR2(4) NOT NULL Cost Element
7 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
8 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
9 ADJ_CODE Character(1) VARCHAR2(1) NOT NULL Adjustment Method
D=Cost Adj - Decrease
I=Cost Adj - Increase
N=Cost Adj - New Cost
P=PPV Update
W=Write Off

Default Value: I

10 ADJ_COST Signed Number(16,4) DECIMAL(14,4) NOT NULL Adjustment
11 OLD_COST Signed Number(16,4) DECIMAL(14,4) NOT NULL 05/04 tw R158364/I701529003 Allow adjustment to negative averages
12 NEW_COST Signed Number(16,4) DECIMAL(14,4) NOT NULL 05/04 tw R158364/I701529003 Allow adjustment to negative averages
13 DISTRIB_TYPE Character(10) VARCHAR2(10) NOT NULL Distrib. Type
14 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
15 ORIG_DT_TIMESTAMP DateTime(26) TIMESTAMP Orig Date Timestamp
16 ORIG_SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Original Sequence Number
17 TRANS_LINE_TYPE Character(3) VARCHAR2(3) NOT NULL Transaction Line Type
0=Regular
1=Interunit Transfer
2=Gain
3=Loss
4=PPV (Favorable)
5=PPV (Unfavorable)
6=ERV (Favorable)
7=ERV (Unfavorable)
8=InterCompany Transfer
18 AP_SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Payables Sequence Number
19 WRITE_OFF_TYPE Character(1) VARCHAR2(1) NOT NULL Write Off Type
1=PPV Quantity too large
2=Negative cost calculated
3=Zero Inventory Quantity
4=Qty negative at Putaway
5=Qty negative at Depletion
20 REASON_CD Character(10) VARCHAR2(10) NOT NULL Reason Code

Prompt Table: CM_COST_ADJ_VW

21 TRANSACTION_GROUP Character(3) VARCHAR2(3) NOT NULL 11/7/02 LLR - Added the new (600's) transactions groups for 8.8.
22 SPEEDTYPE_KEY Character(10) VARCHAR2(10) NOT NULL SpeedType Key

Prompt Table: %SPEEDTYPE_VIEW
Set Control Field: BUSINESS_UNIT

23 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

Prompt Table: %EDIT_ACCOUNT

24 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account

Prompt Table: %EDIT_ALTACCT

25 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

26 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_BUGL_VW

27 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: PRODUCT_BUGL_VW

28 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: FUND_BUGL_VW

29 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: CLASSCF_BUGL_VW

30 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: PROGRAM_BUGL_VW

31 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: BUD_REF_BUGL_VW

32 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

33 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

34 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

35 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: CF1_BUGL_VW

36 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: CF2_BUGL_VW

37 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: CF3_BUGL_VW

38 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit

Prompt Table: %EDIT_BU_PC

39 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: %EDIT_PROJECT

40 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

Prompt Table: %EDIT_ACTIVITY

41 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

Prompt Table: PROJ_RESTYPE_FS
Set Control Field: BUSINESS_UNIT_PC

42 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category

Prompt Table: %EDIT_RES_CAT
Set Control Field: BUSINESS_UNIT_PC

43 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory

Prompt Table: %EDIT_RES_SUB
Set Control Field: BUSINESS_UNIT_PC

44 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type

Prompt Table: %EDIT_ANALYSIS
Set Control Field: BUSINESS_UNIT_PC

45 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
46 PROCESS_FLAG Character(1) VARCHAR2(1) NOT NULL Process Flag
A=Purge All
S=Only purge items with at least

Y/N Table Edit

Default Value: N

47 POSTED_FLAG Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not a Receivables item has been posted. This field is automatically updated by the Receivables Update program.
N=Not Posted
X=Don't Post
Y=Posted

Y/N Table Edit

Default Value: N