---
id: object/table/204
type: object
title: Table 204 "Unit of Measure"
summary: Table 204 "Unit of Measure" in Base Application (Microsoft.Foundation.UOM). 7 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26, BC29.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: afcffe5a00336f12ceda9c2fa38f90688fa82ad280c790098c7799ea718a9c10
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/UOM/UnitofMeasure.Table.al
    title: src/Layers/W1/BaseApp/Foundation/UOM/UnitofMeasure.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_unitofmeasure_create
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_unitofmeasure_delete
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_unitofmeasure_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_unitofmeasure_update
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_unitOfMeasure
  objects: []
  features: []
  topics: []
  localizations:
    - localization/ca
    - localization/mx
    - localization/ru
    - localization/us
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 204
name: Unit of Measure
namespace: Microsoft.Foundation.UOM
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "29"
source_major: "29"
obsolete: null
countries:
  - ca
  - mx
  - ru
  - us
ms_search_form_ids: []
counts:
  fields: 7
  procedures: 4
  events: 0
  subscribers: 0
relations:
  out: 3
  referenced_by: 110
  pages: 3
  extended_by: 0
  event_subscribers: 1
  calls: 2
  called_by: 0
  implements: 0
---

# Table 204 "Unit of Measure"

> Table 204 "Unit of Measure" in Base Application (Microsoft.Foundation.UOM). 7 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26, BC29.

Base Application · Microsoft.Foundation.UOM · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/UOM/UnitofMeasure.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 30030 "APIV2 - Units of Measure"](../page/30030.md) (5 Learn pages).

## Properties

| Property | Value |
|---|---|
| Caption | Unit of Measure |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Code | Code[10] | Specifies a code for the unit of measure, which you can select on item and resource cards from where it is copied to. | NotBlank |
| 2 | Description | Text[50] | Specifies a description of the unit of measure. |  |
| 3 | International Standard Code | Code[10] | Specifies the unit of measure code expressed according to the UNECERec20 standard in connection with electronic sending of sales documents. For example, when sending sales documents through the PEPPOL service, the value in this field is used to populate the UnitCode element in the Product group. |  |
| 4 | Symbol | Text[10] | — |  |
| 5 | Last Modified Date Time | DateTime | — | not editable |
| 720 | Coupled to CRM | Boolean | Coupled to Dynamics 365 Sales <small>caption</small> | obsolete Removed 26.0; #if not CLEANSCHEMA26; not editable |
| 721 | Coupled to Dataverse | Boolean | Specifies that the unit of measure is coupled to a unit group in Dynamics 365 Sales. | FlowField: exist("CRM Integration Record" where("Integration ID" = field(SystemId), "Table ID" = const(Database::"Unit of Measure"))); not editable |

## Keys

- Key1: Code (clustered)
- Key2: Description
- Key3: SystemModifiedAt

## Trigger event subscribers

- OnAfterRenameEvent: [Codeunit 7006 "Price Helper - V16"](../codeunit/7006.md) AfterRenameUnitOfMeasure

## Procedures

- `GetDescriptionInCurrentLanguage(): Text[50]`
- `CreateListInCurrentLanguage(var TempUnitOfMeasure: Record "Unit of Measure" temporary)`

Plus 2 local procedures.

## Triggers

OnDelete, OnInsert, OnModify, OnRename

## Relations

- drill-down page [Page 209 "Units of Measure"](../page/209.md)
- lookup page [Page 209 "Units of Measure"](../page/209.md)
- Coupled to Dataverse: CalcFormula [Table 5331 "CRM Integration Record"](../table/5331.md)

## Referenced by

110 fields in 94 objects relate to this table (TableRelation or CalcFormula).

- [Table 6217 "Sustainability Setup"](../table/6217.md): Disch. Into Water Unit of Meas, Emission Reporting UOM Code, Emission Unit of Measure Code, Energy Reporting UOM Code, Energy Unit of Measure Code, Waste Unit of Measure Code, Water Unit of Measure Code
- [Table 27 "Item"](../table/27.md): Base Unit of Measure, Put-away Unit of Measure Code, Unit of Measure Filter, Unit of Measure Id
- [Table 6240 "Sust. Excise Jnl. Line"](../table/6240.md): CO2e Unit of Measure, Material Breakdown UOM, Source Unit of Measure Code
- [Table 6241 "Sust. Excise Taxes Trans. Log"](../table/6241.md): CO2e Unit of Measure, Material Breakdown UOM, Source Unit of Measure Code
- [Table 156 "Resource"](../table/156.md): Base Unit of Measure, Unit of Measure Filter
- [Table 5476 "Sales Invoice Line Aggregate"](../table/5476.md): Unit of Measure Code, Unit of Measure Id
- [Table 5478 "Purch. Inv. Line Aggregate"](../table/5478.md): Unit of Measure Code, Unit of Measure Id
- [Table 1003 "Job Planning Line"](../table/1003.md): Unit of Measure Code
- [Table 111 "Sales Shipment Line"](../table/111.md): Unit of Measure Code
- [Table 113 "Sales Invoice Line"](../table/113.md): Unit of Measure Code
- [Table 115 "Sales Cr.Memo Line"](../table/115.md): Unit of Measure Code
- [Table 121 "Purch. Rcpt. Line"](../table/121.md): Unit of Measure Code
- [Table 123 "Purch. Inv. Line"](../table/123.md): Unit of Measure Code
- [Table 125 "Purch. Cr. Memo Line"](../table/125.md): Unit of Measure Code
- [Table 1382 "Item Templ."](../table/1382.md): Base Unit of Measure
- [Table 152 "Resource Group"](../table/152.md): Unit of Measure Filter
- [Table 171 "Standard Sales Line"](../table/171.md): Unit of Measure Code
- [Table 174 "Standard Purchase Line"](../table/174.md): Unit of Measure Code
- [Table 181 "Posted Gen. Journal Line"](../table/181.md): Job Unit Of Measure Code
- [Table 200 "Work Type"](../table/200.md): Unit of Measure Code
- [Table 203 "Res. Ledger Entry"](../table/203.md): Unit of Measure Code
- [Table 20401 "Qlty. Test"](../table/20401.md): Unit of Measure Code
- [Table 20403 "Qlty. Inspection Template Line"](../table/20403.md): Unit of Measure Code
- [Table 20406 "Qlty. Inspection Line"](../table/20406.md): Unit of Measure Code
- [Table 205 "Resource Unit of Measure"](../table/205.md): Code
- [Table 210 "Job Journal Line"](../table/210.md): Unit of Measure Code
- [Table 246 "Requisition Line"](../table/246.md): Unit of Measure Code
- [Table 278 "Job Journal Quantity"](../table/278.md): Unit of Measure Code
- [Table 37 "Sales Line"](../table/37.md): Unit of Measure
- [Table 5108 "Sales Line Archive"](../table/5108.md): Unit of Measure Code
- [Table 5110 "Purchase Line Archive"](../table/5110.md): Unit of Measure Code
- [Table 5137 "Job Planning Line Archive"](../table/5137.md): Unit of Measure Code
- [Table 5220 "Human Resource Unit of Measure"](../table/5220.md): Code
- [Table 5402 "Unit of Measure Translation"](../table/5402.md): Code
- [Table 5404 "Item Unit of Measure"](../table/5404.md): Code
- [Table 5510 "Employee Time Reg Buffer"](../table/5510.md): Unit of Measure Code
- [Table 5718 "Nonstock Item"](../table/5718.md): Unit of Measure
- [Table 5771 "Warehouse Source Filter"](../table/5771.md): Unit of Measure Filter
- [Table 5876 "Phys. Invt. Order Line"](../table/5876.md): Base Unit of Measure Code
- [Table 5880 "Pstd. Phys. Invt. Order Line"](../table/5880.md): Base Unit of Measure Code
- [Table 5902 "Service Line"](../table/5902.md): Unit of Measure Code
- [Table 5905 "Service Cost"](../table/5905.md): Unit of Measure Code
- [Table 5907 "Service Ledger Entry"](../table/5907.md): Unit of Measure Code
- [Table 5908 "Warranty Ledger Entry"](../table/5908.md): Unit of Measure Code
- [Table 5913 "Loaner"](../table/5913.md): Unit of Measure Code
- [Table 5940 "Service Item"](../table/5940.md): Unit of Measure Code
- [Table 5964 "Service Contract Line"](../table/5964.md): Unit of Measure Code
- [Table 5971 "Filed Contract Line"](../table/5971.md): Unit of Measure Code
- [Table 5991 "Service Shipment Line"](../table/5991.md): Unit of Measure Code
- [Table 5993 "Service Invoice Line"](../table/5993.md): Unit of Measure Code
- and 44 more objects (44 fields): data/code/relations/29.json

## Pages and codeunits on this table

- [Page 20030 "APIV1 - Units of Measure"](../page/20030.md) (source table)
- [Page 209 "Units of Measure"](../page/209.md) (source table)
- [Page 30030 "APIV2 - Units of Measure"](../page/30030.md) (source table)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 3006 "DotNet_DateTimeOffset"](../codeunit/3006.md) (1 call: `SetLastDateTimeModified → ConvertToUtcDateTime`)
- [Codeunit 43 "Language"](../codeunit/43.md) (1 call: `GetDescriptionInCurrentLanguage → GetUserLanguageCode`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26, BC29

## Countries that replace it

[CA](../../localizations/ca.md), [MX](../../localizations/mx.md), [RU](../../localizations/ru.md), [US](../../localizations/us.md)

## Deprecations

- field Coupled to CRM: Removed 26.0 (#if not CLEANSCHEMA26), "Replaced by flow field Coupled to Dataverse"

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Unit of Measure")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
