---
id: object/codeunit/5468
type: object
title: Codeunit 5468 "Graph Mgt - Complex Types"
summary: Codeunit 5468 "Graph Mgt - Complex Types" in Base Application (Microsoft.Integration.Graph). 19 public procedures, 1 event subscribers. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: null
  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: 125d9ff78d3da986cb699c809e9fce66eb4b1f5b3bc87e215df4563ecd2854dc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Integration/Graph/GraphMgtComplexTypes.Codeunit.al
    title: src/Layers/W1/BaseApp/Integration/Graph/GraphMgtComplexTypes.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: 5468
name: Graph Mgt - Complex Types
namespace: Microsoft.Integration.Graph
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 25
  events: 0
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 22
  implements: 0
---

# Codeunit 5468 "Graph Mgt - Complex Types"

> Codeunit 5468 "Graph Mgt - Complex Types" in Base Application (Microsoft.Integration.Graph). 19 public procedures, 1 event subscribers. Present since at least BC23, still in BC30.

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

## Event subscriptions

- HandleApiSetup subscribes to Codeunit "Graph Mgt - General Tools" ApiSetup

## Procedures

- `GetDocumentLineObjectDetailsEDM(): Text`
- `GetDocumentLineObjectDetailsJSON(No: Text; Name: Text): Text`
- `ParseDocumentLineObjectDetailsFromJSON(JSON: Text; var No: Code[20]; var Name: Text[100]; var Description: Text[50])`
- `GetBookingsDateEDM(): Text`
- `GetBookingsDateJSON(DateTime: DateTime; var JSON: Text)`
- `GetCodeAndDescriptionEDM(TypeName: Text[32]; CodeField: Code[50]; DescriptionField: Text[250]): Text`
- `GetCodeAndDescriptionJSON(Code: Code[50]; Description: Text[250]; var JSON: Text)`
- `GetCodeAndDescriptionFromJSON(JSON: Text; var Code: Code[50]; var Description: Text[250])`
- `GetPostalAddressEDM(): Text`
- `GetUnitOfMeasureJSON(UnitOfMeasureCode: Code[20]): Text`
- `ApplyPostalAddressFromJSON(JSON: Text; var EntityRecRef: RecordRef; Line1FieldNo: Integer; Line2FieldNo: Integer; CityFieldNo: Integer; StateFieldNo: Integer; CountryCodeFieldNo: Integer; PostCodeFieldNo: Integer)`
- `GetPostalAddressJSON(Line1: Text; Line2: Text; City: Text; State: Text; CountryCode: Code[10]; PostCode: Code[20]; var JSON: Text)`
- `GetDimensionEDM(): Text`
- `GetDimensionsJSON(DimensionSetId: Integer): Text`
- `GetDimensionSetFromJSON(DimensionsJSON: Text; OldDimensionSetId: Integer; var NewDimensionSetId: Integer)`
- `InsertOrUpdateBookingsDate()`
- `InsertOrUpdatePostalAddress()`
- `GetSalesLineDescriptionComplexType(var SalesInvoiceLineAggregate: Record "Sales Invoice Line Aggregate"): Text`
- `GetPurchaseLineDescriptionComplexType(var PurchInvLineAggregate: Record "Purch. Inv. Line Aggregate"): Text`

Plus 5 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 5459 "JSON Management"](../codeunit/5459.md) (39 calls: `ApplyPostalAddressFromJSON → GetJSONObject`, `ApplyPostalAddressFromJSON → GetStringPropertyValueFromJObjectByName`, `ApplyPostalAddressFromJSON → InitializeObject`, …)
- [Codeunit 5465 "Graph Mgt - General Tools"](../codeunit/5465.md) (7 calls: `ApplyPostalAddressFromJSON → GetMandatoryStringPropertyFromJObject`, `GetCodeAndDescriptionFromJSON → GetMandatoryStringPropertyFromJObject`, `GetDimensionFromJObject → GetMandatoryStringPropertyFromJObject`, …)
- [Codeunit 5470 "Graph Collection Mgt - Item"](../codeunit/5470.md) (3 calls: `GetUnitOfMeasureJSON → UOMComplexTypeSymbol`, `GetUnitOfMeasureJSON → UOMComplexTypeUnitCode`, `GetUnitOfMeasureJSON → UOMComplexTypeUnitName`)
- [Codeunit 5458 "Graph Collection Mgt - Contact"](../codeunit/5458.md) (2 calls: `ApplyPostalAddressFromJSON → SplitStreet`, `GetPostalAddressJSON → ConcatenateStreet`)
- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (1 call: `GetDimensionSetFromJSON → GetDimensionSetID`)

## Called by

- [Codeunit 5475 "Graph Mgt - Sales Invoice"](../codeunit/5475.md) (6 calls: `BillToCustomerAddressToJSON → GetPostalAddressJSON`, `ParseBillToCustomerAddressFromJSON → ApplyPostalAddressFromJSON`, `ParseSellToCustomerAddressFromJSON → ApplyPostalAddressFromJSON`, …)
- [Codeunit 5495 "Graph Mgt - Sales Order"](../codeunit/5495.md) (6 calls: `BillToCustomerAddressToJSON → GetPostalAddressJSON`, `ParseBillToCustomerAddressFromJSON → ApplyPostalAddressFromJSON`, `ParseSellToCustomerAddressFromJSON → ApplyPostalAddressFromJSON`, …)
- [Codeunit 5505 "Graph Mgt - Sales Quote"](../codeunit/5505.md) (6 calls: `BillToCustomerAddressToJSON → GetPostalAddressJSON`, `ParseBillToCustomerAddressFromJSON → ApplyPostalAddressFromJSON`, `ParseSellToCustomerAddressFromJSON → ApplyPostalAddressFromJSON`, …)
- [Codeunit 5527 "Graph Mgt - Purchase Invoice"](../codeunit/5527.md) (6 calls: `BuyFromVendorAddressToJSON → GetPostalAddressJSON`, `ParseBuyFromVendorAddressFromJSON → ApplyPostalAddressFromJSON`, `ParsePayToVendorAddressFromJSON → ApplyPostalAddressFromJSON`, …)
- [Codeunit 5507 "Graph Mgt - Sales Credit Memo"](../codeunit/5507.md) (4 calls: `BillToCustomerAddressToJSON → GetPostalAddressJSON`, `ParseBillToCustomerAddressFromJSON → ApplyPostalAddressFromJSON`, `ParseSellToCustomerAddressFromJSON → ApplyPostalAddressFromJSON`, …)
- [Page 20041 "APIV1 - Time Registr. Entries"](../page/20041.md) (3 calls: `SetCalculatedFields → GetDimensionsJSON`, `SetCalculatedFields → GetUnitOfMeasureJSON`, `UpdateDimensions → GetDimensionSetFromJSON`)
- [Codeunit 5471 "Graph Mgt - Customer"](../codeunit/5471.md) (2 calls: `PostalAddressToJSON → GetPostalAddressJSON`, `UpdatePostalAddress → ApplyPostalAddressFromJSON`)
- [Codeunit 5472 "Graph Mgt - Vendor"](../codeunit/5472.md) (2 calls: `PostalAddressToJSON → GetPostalAddressJSON`, `UpdatePostalAddress → ApplyPostalAddressFromJSON`)
- [Codeunit 5483 "Graph Mgt - Employee"](../codeunit/5483.md) (2 calls: `PostalAddressToJSON → GetPostalAddressJSON`, `UpdatePostalAddress → ApplyPostalAddressFromJSON`)
- [Page 20011 "APIV1 - Company Information"](../page/20011.md) (2 calls: `PostalAddressToJSON → GetPostalAddressJSON`, `UpdatePostalAddress → ApplyPostalAddressFromJSON`)
- [Page 20049 "APIV1 - JournalLines"](../page/20049.md) (2 calls: `SetCalculatedFields → GetDimensionsJSON`, `UpdateDimensions → GetDimensionSetFromJSON`)
- [Page 20058 "APIV1 - Customer Payments"](../page/20058.md) (2 calls: `SetCalculatedFields → GetDimensionsJSON`, `UpdateDimensions → GetDimensionSetFromJSON`)
- [Codeunit 5470 "Graph Collection Mgt - Item"](../codeunit/5470.md) (1 call: `ItemUnitOfMeasureToJSON → GetUnitOfMeasureJSON`)
- [Codeunit 5476 "Graph Mgt - Sales Inv. Lines"](../codeunit/5476.md) (1 call: `GetUnitOfMeasureJSON → GetUnitOfMeasureJSON`)
- [Codeunit 5528 "Graph Mgt - Purch. Inv. Lines"](../codeunit/5528.md) (1 call: `GetUnitOfMeasureJSON → GetUnitOfMeasureJSON`)
- [Page 20018 "APIV1 - G/L Entries"](../page/20018.md) (1 call: `SetCalculatedFields → GetDimensionsJSON`)
- [Page 20043 "APIV1 - Sales Invoice Lines"](../page/20043.md) (1 call: `SetCalculatedFields → GetSalesLineDescriptionComplexType`)
- [Page 20044 "APIV1 - Sales Order Lines"](../page/20044.md) (1 call: `SetCalculatedFields → GetSalesLineDescriptionComplexType`)
- [Page 20045 "APIV1 - Sales Quote Lines"](../page/20045.md) (1 call: `SetCalculatedFields → GetSalesLineDescriptionComplexType`)
- [Page 20046 "APIV1 - Sales Credit Mem Lines"](../page/20046.md) (1 call: `SetCalculatedFields → GetSalesLineDescriptionComplexType`)
- [Page 20047 "APIV1 - Purchase Invoice Lines"](../page/20047.md) (1 call: `SetCalculatedFields → GetPurchaseLineDescriptionComplexType`)
- [Table 6707 "Booking Item"](../table/6707.md) (1 call: `SetDate → GetBookingsDateJSON`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

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: "Graph Mgt - Complex Types")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
