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
Fields
20 fields · 5 key
| 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 | 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 F4105on 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
-- ============================================================
-- 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;4 parameters not filled: <catalog>, <schema_data>, <ITM>, <MCU>
Relationships
1-hop neighbors — click a table to navigate there. UDC decode edges point coded fields at their F0005 lookup.
Join details
ON f4105.COITM = f4102.IBITM
Programs That Use This Table
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