---
id: object/codeunit/7500
type: object
title: Codeunit 7500 "Item Attribute Management"
summary: Codeunit 7500 "Item Attribute Management" in Base Application (Microsoft.Inventory.Item.Attribute). 15 public procedures, 12 events. Present since at least BC23, still in BC30, changed in BC28.
tier: official
language: en
tags:
  - codeunit
  - 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: 5d7384c9033f0e2b176ca607bf6cf240ab9ecaebb86b2fbc396b54f6189e7e05
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Item/Attribute/ItemAttributeManagement.Codeunit.al
    title: src/Layers/W1/BaseApp/Inventory/Item/Attribute/ItemAttributeManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 7500
name: Item Attribute Management
namespace: Microsoft.Inventory.Item.Attribute
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 39
  events: 12
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 2
  called_by: 6
  implements: 0
---

# Codeunit 7500 "Item Attribute Management"

> Codeunit 7500 "Item Attribute Management" in Base Application (Microsoft.Inventory.Item.Attribute). 15 public procedures, 12 events. Present since at least BC23, still in BC30, changed in BC28.

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

## Events published

- `OnBeforeItemAttributeValueMappingInsert(var ItemAttributeValueMapping: Record "Item Attribute Value Mapping"; var TempItemAttributeValue: Record "Item Attribute Value" temporary)` (integration)
- `OnBeforeInsertCategoryItemsAttributeValueMapping(var TempItemAttributeValueToInsert: Record "Item Attribute Value" temporary; CategoryCode: Code[20]; var IsHandled: Boolean)` (integration)
- `OnBeforeInsertCategoryItemsBufferedAttributeValueMapping(var TempItemAttributeValueToInsert: Record "Item Attribute Value" temporary; var TempInsertedItemAttributeValueMapping: Record "Item Attribute Value Mapping" temporary; CategoryCode: Code[20]; var IsHandled: Boolean)` (integration)
- `OnBeforeBufferedItemAttributeValueMappingInsert(var ItemAttributeValueMapping: Record "Item Attribute Value Mapping"; var TempItemAttributeValueMapping: Record "Item Attribute Value Mapping" temporary)` (integration)
- `OnBeforeDeleteCategoryItemsAttributeValueMapping(var TempItemAttributeValueToRemove: Record "Item Attribute Value" temporary; CategoryCode: Code[20]; var IsHandled: Boolean)` (integration)
- `OnBeforeGenerateAttributeDifference(var TempFirstItemAttributeValue: Record "Item Attribute Value" temporary; var TempSecondItemAttributeValue: Record "Item Attribute Value" temporary; var TempResultingItemAttributeValue: Record "Item Attribute Value" temporary; var IsHandled: Boolean)` (integration)
- `OnBeforeGetFilteredItems(var ItemAttributeValueMapping: Record "Item Attribute Value Mapping"; var TempFilteredItem: Record Item temporary; AttributeValueIDFilter: Text; var IsHandled: Boolean)` (integration)
- `OnFindItemsByAttributesOnBeforeFilterItemAttributesBufferLoop(var FilterItemAttributesBuffer: Record "Filter Item Attributes Buffer"; var TempFilteredItem: Record Item temporary; var ItemAttributeValueMapping: Record "Item Attribute Value Mapping")` (integration)
  - subscribers: [Codeunit 20403 "Qlty. Filter Helpers"](../codeunit/20403.md) HandleOnFindItemsByAttributesOnBeforeFilterItemAttributesBufferLoop
- `OnInsertBufferedItemAttributeValueMappingOnBeforeItemAttributeValueMappingInsert(var TempItemAttributeValueToInsert: Record "Item Attribute Value" temporary; var ItemAttributeValueMapping: Record "Item Attribute Value Mapping")` (integration)
- `OnSearchCategoryItemsForAttributeOnBeforeSearchByParentCategory(CategoryCode: Code[20]; AttributeID: Integer; var IsHandled: Boolean; var ReturnValue: Boolean)` (integration)
- `OnBeforeInheritAttributesFromItemCategory(var Item: Record Item; NewItemCategoryCode: Code[20]; OldItemCategoryCode: Code[20]; var Handle: Boolean)` (integration)
- `OnAfterInheritAttributesFromItemCategory(var Item: Record Item; NewItemCategoryCode: Code[20]; OldItemCategoryCode: Code[20])` (integration)

## Procedures

- `FindItemsByAttribute(var FilterItemAttributesBuffer: Record "Filter Item Attributes Buffer"): Text`
- `FindItemsByAttributes(var FilterItemAttributesBuffer: Record "Filter Item Attributes Buffer"; var TempFilteredItem: Record Item temporary)`
- `GetItemNoFilterText(var TempFilteredItem: Record Item temporary; var ParameterCount: Integer): Text`
- `InheritAttributesFromItemCategory(var Item: Record Item; NewItemCategoryCode: Code[20]; OldItemCategoryCode: Code[20])`
- `UpdateCategoryAttributesAfterChangingParentCategory(ItemCategoryCode: Code[20]; NewParentItemCategory: Code[20]; OldParentItemCategory: Code[20])`
- `DeleteItemAttributeValueMapping(Item: Record Item; var TempItemAttributeValueToRemove: Record "Item Attribute Value" temporary)`
- `InsertItemAttributeValueMapping(Item: Record Item; var TempItemAttributeValueToInsert: Record "Item Attribute Value" temporary)`
- `UpdateCategoryItemsAttributeValueMapping(var TempNewItemAttributeValue: Record "Item Attribute Value" temporary; var TempOldItemAttributeValue: Record "Item Attribute Value" temporary; ItemCategoryCode: Code[20]; OldItemCategoryCode: Code[20])`
- `DeleteCategoryItemsAttributeValueMapping(var TempItemAttributeValueToRemove: Record "Item Attribute Value" temporary; CategoryCode: Code[20])`
- `InsertCategoryItemsAttributeValueMapping(var TempItemAttributeValueToInsert: Record "Item Attribute Value" temporary; CategoryCode: Code[20])`
- `InsertCategoryItemsBufferedAttributeValueMapping(var TempItemAttributeValueToInsert: Record "Item Attribute Value" temporary; var TempInsertedItemAttributeValueMapping: Record "Item Attribute Value Mapping" temporary; CategoryCode: Code[20])`
- `SearchCategoryItemsForAttribute(CategoryCode: Code[20]; AttributeID: Integer): Boolean`
- `DoesValueExistInItemAttributeValues(Text: Text[250]; var ItemAttributeValue: Record "Item Attribute Value"): Boolean`
- `InheritAttributesFromItem(var ItemVariant: Record "Item Variant"; ItemCode: Code[20])`
- `UpdateItemVariantAttributeFromItem(ItemCode: Code[20])`

Plus 12 local procedures.

## Triggers

OnRun

## 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 27 "Confirm Management"](../codeunit/27.md) (1 call: `UpdateItemVariantAttributeFromItem → GetResponseOrDefault`)
- [Codeunit 46 "SelectionFilterManagement"](../codeunit/46.md) (1 call: `GetItemNoFilterText → AddQuotes`)

## Called by

- [Page 5734 "Item Category Attributes"](../page/5734.md) (5 calls: `ChangeDefaultValue → SearchCategoryItemsForAttribute`, `OnDeleteRecord → DeleteCategoryItemsAttributeValueMapping`, `OnDeleteRecord → SearchCategoryItemsForAttribute`, …)
- [Codeunit 2026 "Item Attr Populate"](../codeunit/2026.md) (2 calls: `GetFirstMatchingAvailableItemAttributeId → DoesValueExistInItemAttributeValues`, `SetItemCategory → InheritAttributesFromItemCategory`)
- [Codeunit 20405 "Qlty. Inspec. Gen. Rule Mgmt."](../codeunit/20405.md) (1 call: `DoesMatchItemAttributeFiltersOrNoFilter → FindItemsByAttributes`)
- [Table 2028 "MS - Image Analyzer Tags"](../table/2028.md) (1 call: `OnValidateAction → DoesValueExistInItemAttributeValues`)
- [Table 5401 "Item Variant"](../table/5401.md) (1 call: `OnInsert → InheritAttributesFromItem`)
- [Table 5722 "Item Category"](../table/5722.md) (1 call: `UpdateDeletedCategoryItems → DeleteItemAttributeValueMapping`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: 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: "codeunit", object_name: "Item Attribute Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
