---
title: "Codeunit 5470 Graph Collection Mgt - Item, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/points/
object: https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 5470 Graph Collection Mgt - Item, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/points/

21 procedures and triggers with a step in src/Layers/W1/BaseApp/Integration/Graph/GraphCollectionMgtItem.Codeunit.al, in source order, read from the text, not from a run.

## InsertItemFromSalesDocument

[Line 31](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L31).

- [38](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L38) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Insert(true)
- [40](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L40) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Insert(true)
- [42](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L42) calls `UpdateOrCreateItemUnitOfMeasureFromSalesDocument`
- [45](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L45) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `ProcessNewRecordFromAPI`
- [48](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L48) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify(true)

## InsertItem

[Line 52](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L52).

- [58](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L58) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Insert(true)
- [60](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L60) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Insert(true)
- [62](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L62) calls `ProcessComplexTypes`
- [67](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L67) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `ProcessNewRecordFromAPI`
- [70](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L70) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify(true)

## InsertItem

[Line 74](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L74).

- [77](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L77) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Insert(true)
- [79](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L79) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Insert(true)
- [81](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L81) calls `ModifyItem`

## ModifyItem

[Line 85](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L85).

- [91](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L91) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `ProcessNewRecordFromAPI`
- [94](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L94) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify(true)

## ProcessComplexTypes

[Line 97](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L97).

- [99](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L99) calls `UpdateUnitOfMeasure`

## ItemUnitOfMeasureToJSON

[Line 102](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L102).

- [111](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L111) calls [Codeunit 5468 Graph Mgt - Complex Types](https://jonas-paprotka.de/ref/codeunit/5468-graph-mgt-complex-types/) `GetUnitOfMeasureJSON`
- [119](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L119) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `InitializeObject`
- [120](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L120) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `GetJSONObject`
- [123](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L123) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `AddJPropertyToJObject`
- [124](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L124) calls `UOMConversionComplexTypeToUnitOfMeasure`
- [125](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L125) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `AddJPropertyToJObject`
- [126](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L126) calls `UOMConversionComplexTypeFromToConversionRate`
- [127](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L127) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `AddJObjectToJObject`
- [127](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L127) calls `UOMConversionComplexTypeName`
- [128](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L128) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `WriteObjectToString`

## UpdateOrCreateItemUnitOfMeasureFromSalesDocument

[Line 131](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L131).

- [143](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L143) calls `ParseJSONToUnitOfMeasure`
- [145](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L145) calls `ParseJSONToItemUnitOfMeasure`
- [148](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L148) calls `VerifyBaseUOMIsSet`
- [151](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L151) writes [Table 204 Unit of Measure](https://jonas-paprotka.de/ref/table/204-unit-of-measure/) Insert
- [155](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L155) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Base Unit of Measure`
- [156](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L156) calls `RegisterFieldSet`
- [157](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L157) calls `RegisterFieldSet`
- [161](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L161) calls `InsertOrUpdateItemUnitOfMeasureRecord`
- [163](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L163) calls `InsertOrUpdateUnitOfMeasureRecord`
- [166](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L166) validates [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `Base Unit of Measure`
- [167](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L167) calls `RegisterFieldSet`
- [168](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L168) calls `RegisterFieldSet`
- [178](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L178) writes [Table 5404 Item Unit of Measure](https://jonas-paprotka.de/ref/table/5404-item-unit-of-measure/) Insert(true)

## UpdateUnitOfMeasure

[Line 183](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L183).

- [209](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L209) calls `ItemUnitOfMeasureToJSON`
- [214](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L214) calls `ParseJSONToUnitOfMeasure`
- [216](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L216) calls `ParseJSONToItemUnitOfMeasure`
- [220](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L220) calls `InsertOrUpdateUnitOfMeasureRecord`
- [223](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L223) calls `InsertOrUpdateItemUnitOfMeasureRecord`

## InsertOrUpdateUnitOfMeasureRecord

[Line 231](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L231), local.

- [240](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L240) writes [Table 204 Unit of Measure](https://jonas-paprotka.de/ref/table/204-unit-of-measure/) Insert(true)
- [245](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L245) validates [Table 204 Unit of Measure](https://jonas-paprotka.de/ref/table/204-unit-of-measure/) `Description`
- [250](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L250) validates [Table 204 Unit of Measure](https://jonas-paprotka.de/ref/table/204-unit-of-measure/) `Symbol`
- [255](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L255) writes [Table 204 Unit of Measure](https://jonas-paprotka.de/ref/table/204-unit-of-measure/) Modify(true)

## InsertOrUpdateItemUnitOfMeasureRecord

[Line 258](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L258), local.

- [262](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L262) writes [Table 5404 Item Unit of Measure](https://jonas-paprotka.de/ref/table/5404-item-unit-of-measure/) Insert(true)
- [267](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L267) validates [Table 5404 Item Unit of Measure](https://jonas-paprotka.de/ref/table/5404-item-unit-of-measure/) `Qty. per Unit of Measure`
- [268](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L268) writes [Table 5404 Item Unit of Measure](https://jonas-paprotka.de/ref/table/5404-item-unit-of-measure/) Modify(true)

## ParseJSONToUnitOfMeasure

[Line 272](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L272).

- [279](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L279) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `InitializeObject`
- [280](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L280) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `GetJSONObject`
- [282](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L282) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `GetMandatoryStringPropertyFromJObject`
- [282](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L282) calls `UOMComplexTypeUnitCode`
- [284](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L284) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `GetStringPropertyValueFromJObjectByName`
- [284](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L284) calls `UOMComplexTypeUnitName`
- [285](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L285) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `GetStringPropertyValueFromJObjectByName`
- [285](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L285) calls `UOMComplexTypeSymbol`

## ParseJSONToItemUnitOfMeasure

[Line 288](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L288), local.

- [297](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L297) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `InitializeObject`
- [298](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L298) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `GetJSONObject`
- [300](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L300) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `GetStringPropertyValueFromJObjectByName`
- [300](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L300) calls `UOMConversionComplexTypeName`
- [309](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L309) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `InitializeObject`
- [310](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L310) calls [Codeunit 5459 JSON Management](https://jonas-paprotka.de/ref/codeunit/5459-json-management/) `GetJSONObject`
- [312](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L312) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `GetMandatoryStringPropertyFromJObject`
- [313](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L313) calls `UOMConversionComplexTypeToUnitOfMeasure`
- [316](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L316) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `GetMandatoryStringPropertyFromJObject`
- [317](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L317) calls `UOMConversionComplexTypeFromToConversionRate`
- [321](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L321) writes [Table 5404 Item Unit of Measure](https://jonas-paprotka.de/ref/table/5404-item-unit-of-measure/) Insert

## WriteItemEDMComplexTypes

[Line 327](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L327).

- [331](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L331) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `InsertOrUpdateODataType`
- [331](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L331) calls `GetItemUOMEDM`
- [332](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L332) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `InsertOrUpdateODataType`
- [332](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L332) calls `GetItemUOMConversionEDM`

## GetItemUOMEDM

[Line 335](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L335), local.

- [342](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L342) calls `UOMComplexTypeUnitCode`
- [344](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L344) calls `UOMComplexTypeUnitName`
- [346](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L346) calls `UOMComplexTypeSymbol`
- [348](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L348) calls `UOMConversionComplexTypeName`

## GetItemUOMConversionEDM

[Line 352](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L352), local.

- [359](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L359) calls `UOMConversionComplexTypeToUnitOfMeasure`
- [361](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L361) calls `UOMConversionComplexTypeFromToConversionRate`

## EnableItemODataWebService

[Line 365](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L365), local.

- [367](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L367) calls `WriteItemEDMComplexTypes`

## SetLastDateTimeModified

[Line 370](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L370).

- [382](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L382) calls [Codeunit 3006 DotNet_DateTimeOffset](https://jonas-paprotka.de/ref/codeunit/3006-dotnet-datetimeoffset/) `ConvertToUtcDateTime`
- [383](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L383) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify

## RegisterFieldSet

[Line 387](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L387), local.

- [389](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L389) calls [Codeunit 10 Type Helper](https://jonas-paprotka.de/ref/codeunit/10-type-helper/) `GetField`
- [394](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L394) validates [Table 2000000041 Field](https://jonas-paprotka.de/ref/table/2000000041-field/) `No.`
- [395](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L395) writes [Table 2000000041 Field](https://jonas-paprotka.de/ref/table/2000000041-field/) Insert(true)

## VerifyBaseUOMIsSet

[Line 428](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L428), local.

- [434](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L434) calls `UOMConversionComplexTypeToUnitOfMeasure`

## HandleApiSetup

[Line 438](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L438), local.

- [440](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L440) calls `EnableItemODataWebService`
- [441](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L441) calls `UpdateIds`

## UpdateIds

[Line 449](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L449).

- [459](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L459) calls [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `UpdateReferencedIds`
- [460](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L460) writes [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) Modify
- [462](https://jonas-paprotka.de/ref/codeunit/5470-graph-collection-mgt-item/source/#L462) calls [Codeunit 9994 API Data Upgrade](https://jonas-paprotka.de/ref/codeunit/9994-api-data-upgrade/) `CountRecordsAndCommit`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
