JDE Reference
F4105
masterAlso in JDE WorldItem cost table: one row per item, branch, location, lot, and cost method carrying the unit cost used to value inventory and purchasing transactions.
Module: 41 · Inventory ManagementColumn prefix: CO
What the badges mean
- Superseded
- Superseded — a newer table has replaced it, but older scripts still read this one.
- Also in JDE World
- Also present in JDE World A9.x on the same table name.
- master
- Data class: what the table holds — master data, transaction documents, control/setup values, history, or a workfile.
- Read/write access
- Access mode: how the paired program reads or writes this table — R (read), W (write), or R/W (both).
No lifecycle badge means the table is current and not documented in JDE World. In field listings, K marks a primary-key field.
Used in the library
KPI definitions
Cross-ERP guides
Fields
20 fields · 5 key
20 fields.
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | COITM | ITM | Short internal item number (8-digit numeric key). | Numeric | 8 | |
| Primary key | COMCU | MCU | Branch/plant (business unit); stored right-justified with leading blanks. | String | 12 | |
| Primary key | COLOCN | LOCN | Storage location within the branch, formatted per the branch location structure. | String | 20 | |
| Primary key | COLOTN | LOTN | Lot or serial number identifying the specific lot of stock. | String | 30 | |
| Primary key | COLEDG | LEDG | Cost method code (e.g. 01 last-in, 02 weighted average, 07 standard) selecting which cost applies. | String | 2 | |
| COLITM | LITM | Second (long) item number, the customer-facing alphanumeric item identifier. | String | 25 | ||
| COAITM | AITM | Third item number, an alternate catalog-style identifier. | String | 25 | ||
| COLOTG | LOTG | Lot grade code used for grade-controlled items. | String | 3 | ||
| COUNCS | UNCS | Unit cost for this item/branch/location/lot under the given cost method (4 implied decimals). | Numeric | 15 | ||
| COCSPO | CSPO | Marks the cost method purchasing uses for this item. | Character | 1 | ||
| COCSIN | CSIN | Marks the cost method inventory valuation uses for this item. | Character | 1 | ||
| COURCD | URCD | User-reserved code (open field for site-specific use). | String | 2 | ||
| COURDT | URDT | User-reserved date (open field for site-specific use). | Numeric (DD type: Date) | 6 | ||
| COURAT | URAT | User-reserved amount (open field for site-specific use). | Numeric | 15 | ||
| COURAB | URAB | User-reserved number (open field for site-specific use). | Numeric | 8 | ||
| COURRF | URRF | User-reserved reference (open field for site-specific use). | String | 15 | ||
| COCCFL | CCFL | Flag set when the cost has been changed and downstream updates are pending. | Character | 1 | ||
| COCRCS | CRCS | Per-unit carrying cost used by planning cost models. | Numeric | 15 | ||
| COOSTC | OSTC | Per-unit overstock cost used by planning cost models. | Numeric | 15 | ||
| COSTOC | STOC | Per-unit stockout cost used by planning cost models. | Numeric | 15 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F4105 on Databricks — Julian dates, implied decimals, and padded strings are already converted. Set your Unity Catalog location and filter values below; they’re substituted into the SQL and the copy button.
Query parameters
4 parameters not filled: <catalog>, <schema_data>, <ITM>, <MCU>
-- ============================================================
-- Table : F4105 Item cost table: one row per item, branch, location, lot, and cost method carrying the unit cost used to value inventory and purchasing transactions.
-- Purpose: Column-selected read of F4105 — auto-generated from field metadata
-- Grain : One row per COITM + COMCU + COLOCN + COLOTN + COLEDG
-- Notes : Auto-generated skeleton. Julian dates (CYYDDD) are converted to DATE and implied-decimal amounts are scaled (verify decimals in F9210); padded business-unit/UDC keys are TRIMmed. Audit columns (…USER/…PID/…UPMJ) are omitted — see the quirks guide. Set catalog/schema to your Unity Catalog location; fill remaining placeholders (<...>) for your tenant.
-- ============================================================
SELECT
f.COITM AS "Short internal item number (8-digit numeric key).",
TRIM(f.COMCU) AS "Branch/plant (business unit); stored right-justified with leading blanks.",
f.COLOCN AS "Storage location within the branch, formatted per the branch location structure.",
f.COLOTN AS "Lot or serial number identifying the specific lot of stock.",
f.COLEDG AS "Cost method code (e.g. 01 last-in, 02 weighted average, 07 standard) selecting which cost applies.",
f.COLITM AS "Second (long) item number, the customer-facing alphanumeric item identifier.",
f.COAITM AS "Third item number, an alternate catalog-style identifier.",
f.COLOTG AS "Lot grade code used for grade-controlled items.",
f.COUNCS / POWER(10, 4) AS "Unit cost for this item/branch/location/lot under the given cost method (4 implied decimals).", -- implied decimals: 4 (verify in F9210)
f.COCSPO AS "Marks the cost method purchasing uses for this item.",
f.COCSIN AS "Marks the cost method inventory valuation uses for this item.",
f.COURCD AS "User-reserved code (open field for site-specific use).",
CASE WHEN f.COURDT IS NULL OR f.COURDT = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.COURDT AS INT) DIV 1000, 1, 1), CAST(f.COURDT AS INT) % 1000 - 1) END AS "User-reserved date (open field for site-specific use).", -- CYYDDD Julian → DATE
f.COURAT / POWER(10, 2) AS "User-reserved amount (open field for site-specific use).", -- implied decimals: 2 (verify in F9210)
f.COURAB AS "User-reserved number (open field for site-specific use).",
f.COURRF AS "User-reserved reference (open field for site-specific use).",
f.COCCFL AS "Flag set when the cost has been changed and downstream updates are pending.",
f.COCRCS / POWER(10, 4) AS "Per-unit carrying cost used by planning cost models.", -- implied decimals: 4 (verify in F9210)
f.COOSTC / POWER(10, 4) AS "Per-unit overstock cost used by planning cost models.", -- implied decimals: 4 (verify in F9210)
f.COSTOC / POWER(10, 4) AS "Per-unit stockout cost used by planning cost models." -- implied decimals: 4 (verify in F9210)
FROM <catalog>.<schema_data>.f4105 f
WHERE
f.COITM = <ITM>
-- AND f.COMCU = '<MCU>'
ORDER BY f.COITM;Verified September 2026
Relationships
Diagram of 1-hop neighbors — join details below. UDC decode edges point coded fields at their F0005 lookup.
Join details
ON f4105.COITM = f4102.IBITM
Programs That Use This Table
R read · W write · R/W read + write
Secondary programs
- P4112Inventory Issues — remove inventory from stock (for example to scrap or expense) with matching journal entriesRead accessInteractive
- P4113Inventory Transfers — move inventory between locations or branch/plants, recording both sides of the movementRead accessInteractive
- P4114Inventory Adjustments — correct on-hand quantity discrepancies (cycle count variances, damage, initial loads)Read accessInteractive
- P4310Purchase Order Entry — create and revise purchase orders, requisitions, and quotes (header and detail lines)Read accessInteractive
More Inventory Management tables
- F4108Lot master: one row per lot or serial number by item and branch, holding lot status, grade, potency, supplier lot linkage, and the full set of lot control dates.
- F4111Item ledger (Cardex) — every inventory movement with quantity, cost, and links back to source documents
- F4100Warehouse location master: one row per storage location within a branch/plant, defining physical attributes plus putaway, pick, and replenishment behavior.
- F41001Branch/plant inventory constants: the per-branch switchboard for item number symbols, location formatting, costing methods, commitment rules, and G/L interface options.
- F41002Item-level unit of measure conversions: the factor that translates one UOM into another for a given item and branch, used everywhere quantities change units.
- F4101Item master — one row per item with descriptions, units of measure, and category codes shared across branches