---
id: object/table/5722
type: object
title: Table 5722 "Item Category"
summary: Table 5722 "Item Category" in Base Application (Microsoft.Inventory.Item). 7 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 9ada33ef92cd831c115fdc1eeb2f1818e7bf9d869b48c1c19a27964b8d87d847
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Item/ItemCategory.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Item/ItemCategory.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_itemcategory_create
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_itemcategory_delete
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_itemcategory_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_itemcategory_update
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_itemCategory
    - https://learn.microsoft.com/dynamics365/business-central/inventory-how-categorize-items
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/inventory
    - topic/business-central/business-functionality/set-up-business-central/set-up-inventory
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5722
name: Item Category
namespace: Microsoft.Inventory.Item
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"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 7
  procedures: 6
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 37
  pages: 5
  extended_by: 1
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Table 5722 "Item Category"

> Table 5722 "Item Category" in Base Application (Microsoft.Inventory.Item). 7 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.

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

Learn documents this table through its pages: [Page 30025 "APIV2 - Item Categories"](../page/30025.md) (5 Learn pages), [Page 5730 "Item Categories"](../page/5730.md) (1), [Page 5733 "Item Category Card"](../page/5733.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Item Category |
| 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[20] | Specifies the item category. | NotBlank |
| 2 | Parent Category | Code[20] | Specifies the item category that this item category belongs to. Item attributes that are assigned to a parent item category also apply to the child item category. | TableRelation [Table 5722 "Item Category"](../table/5722.md) (Item Category) |
| 3 | Description | Text[100] | Specifies a description of the item category. |  |
| 9 | Indentation | Integer | — |  |
| 10 | Presentation Order | Integer | — |  |
| 11 | Has Children | Boolean | — |  |
| 12 | Last Modified Date Time | DateTime | — | not editable |

## Keys

- Key1: Code (clustered)
- Key2: Parent Category
- Key3: Presentation Order
- Key4: Indentation, Code, Description

## Procedures

- `HasChildren(): Boolean`
- `GetStyleText(): Text`
- `UpdateIndentationTree(Level: Integer)`

Plus 3 local procedures.

## Triggers

OnDelete, OnInsert, OnModify, OnRename

## Relations

- lookup page [Page 5730 "Item Categories"](../page/5730.md)
- Parent Category: TableRelation [Table 5722 "Item Category"](../table/5722.md)

## Referenced by

37 fields in 36 objects relate to this table (TableRelation or CalcFormula).

- [Table 27 "Item"](../table/27.md): Item Category Code, Item Category Id
- [Table 111 "Sales Shipment Line"](../table/111.md): Item Category Code
- [Table 113 "Sales Invoice Line"](../table/113.md): Item Category Code
- [Table 115 "Sales Cr.Memo Line"](../table/115.md): Item Category Code
- [Table 121 "Purch. Rcpt. Line"](../table/121.md): Item Category Code
- [Table 123 "Purch. Inv. Line"](../table/123.md): Item Category Code
- [Table 125 "Purch. Cr. Memo Line"](../table/125.md): Item Category Code
- [Table 1382 "Item Templ."](../table/1382.md): Item Category Code
- [Table 246 "Requisition Line"](../table/246.md): Item Category Code
- [Table 32 "Item Ledger Entry"](../table/32.md): Item Category Code
- [Table 37 "Sales Line"](../table/37.md): Item Category Code
- [Table 39 "Purchase Line"](../table/39.md): Item Category Code
- [Table 5108 "Sales Line Archive"](../table/5108.md): Item Category Code
- [Table 5110 "Purchase Line Archive"](../table/5110.md): Item Category Code
- [Table 5722 "Item Category"](../table/5722.md): Parent Category
- [Table 5741 "Transfer Line"](../table/5741.md): Item Category Code
- [Table 5745 "Transfer Shipment Line"](../table/5745.md): Item Category Code
- [Table 5747 "Transfer Receipt Line"](../table/5747.md): Item Category Code
- [Table 5851 "Invt. Document Line"](../table/5851.md): Item Category Code
- [Table 5853 "Invt. Receipt Line"](../table/5853.md): Item Category Code
- [Table 5855 "Invt. Shipment Line"](../table/5855.md): Item Category Code
- [Table 5857 "Direct Trans. Line"](../table/5857.md): Item Category Code
- [Table 5876 "Phys. Invt. Order Line"](../table/5876.md): Item Category Code
- [Table 5880 "Pstd. Phys. Invt. Order Line"](../table/5880.md): Item Category Code
- [Table 5902 "Service Line"](../table/5902.md): Item Category Code
- [Table 5991 "Service Shipment Line"](../table/5991.md): Item Category Code
- [Table 5993 "Service Invoice Line"](../table/5993.md): Item Category Code
- [Table 5995 "Service Cr.Memo Line"](../table/5995.md): Item Category Code
- [Table 6012 "Service Line Archive"](../table/6012.md): Item Category Code
- [Table 6651 "Return Shipment Line"](../table/6651.md): Item Category Code
- [Table 6661 "Return Receipt Line"](../table/6661.md): Item Category Code
- [Table 7416 "Excise Tax Rate"](../table/7416.md): Item Category Code
- [Table 753 "Standard Item Journal Line"](../table/753.md): Item Category Code
- [Table 83 "Item Journal Line"](../table/83.md): Item Category Code
- [Table extension 7413 "Excise Journal Line Ext"](../tableextension/7413.md): Item Category Code
- [Table extension 7414 "Excise Taxes Trans. Log Ext"](../tableextension/7414.md): Item Category Code

## Pages and codeunits on this table

- [Page 20025 "APIV1 - Item Categories"](../page/20025.md) (source table)
- [Page 30025 "APIV2 - Item Categories"](../page/30025.md) (source table)
- [Page 36967 "Item Category - PBI API"](../page/36967.md) (source table)
- [Page 5730 "Item Categories"](../page/5730.md) (source table)
- [Page 5733 "Item Category Card"](../page/5733.md) (source table)

## Extended by

- [Table extension 6228 "Sust. Item Category"](../tableextension/6228.md)

## 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 5722 "Item Category Management"](../codeunit/5722.md) (2 calls: `OnInsert → CalcPresentationOrder`, `OnModify → CalcPresentationOrder`)
- [Codeunit 7500 "Item Attribute Management"](../codeunit/7500.md) (1 call: `UpdateDeletedCategoryItems → DeleteItemAttributeValueMapping`)

## Across versions

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

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: "Item Category")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
