---
title: "Codeunit 5151 Integration Service"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/5151-integration-service/
type: codeunit
id: 5151
name: "Integration Service"
app: "Base Application"
versions: "17-21"
build: 21.5.53619.63803
obsolete: "Pending 18.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 5151 Integration Service

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/5151-integration-service/

| | |
| --- | --- |
| App | Base Application |
| Versions | 17-21 |
| Obsolete | Pending 18.0, seen from 18. This codeunit will be removed. The Integration Record is replaced by systemId and systemLastModifiedDateTime. |
| Source file | IntegrationService.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetDeletedIntegrationItems | (var XmlPort Integration Records, DateTime, Integer, Integer) | - | public | 17-21 | - | - |
| GetModifiedIntegrationItems | (var XmlPort Integration Records, DateTime, Integer, Integer) | - | public | 17-21 | - | - |
| UpdateIntegrationID | (Text[1024], Guid) | - | public | 17-21 | - | - |
| GetRecIDFromIntegrationID | (Guid) | Text[1024] | public | 17-21 | - | - |
| GetIntegrationIDFromRecID | (Text[1024]) | Guid | public | 17-21 | - | - |
| GetVersion | () | Text[30] | public | 17-21 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.

Jonas Paprotka, 2026-09-20.
