---
title: "Codeunit 6132 E-Document Log"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6132-e-document-log/
type: codeunit
id: 6132
name: "E-Document Log"
app: "E-Document Core"
namespace: Microsoft.eServices.EDocument
versions: "23-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/6132-e-document-log/source/?v=28 https://jonas-paprotka.de/ref/codeunit/6132-e-document-log/source/"
checked: 2026-11-20
changed: 2026-10-14
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 6132 E-Document Log

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6132-e-document-log/

| | |
| --- | --- |
| App | E-Document Core |
| Namespace | Microsoft.eServices.EDocument |
| Versions | 23-29 |
| Minors | W1 23.0-29.0; DE 23.0-29.0; US 23.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/6132-e-document-log/editions.json) |
| Source file | src/Logging/EDocumentLog.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InsertLog | (EDocument: Record "E-Document"; EDocumentServiceStatus: Enum "E-Document Service Status") | Record E-Document Log | internal | 23-29 | - | - |
| InsertLog | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; EDocumentServiceStatus: Enum "E-Document Service Status") | Record E-Document Log | internal | 23-29 | - | - |
| InsertLog | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob"; EDocumentServiceStatus: Enum "E-Document Service Status") | Record E-Document Log | internal | 23-25 | - | - |
| InsertLog | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; EDocDataStorageEntryNo: Integer; EDocumentServiceStatus: Enum "E-Document Service Status") | Record E-Document Log | internal | 23-29 | - | - |
| InsertLogWithIntegration | (EDocumentServiceStatus: Record "E-Document Service Status"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) | - | internal | 23-24 | - | - |
| InsertLogWithIntegration | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob"; EDocumentServiceStatus: Enum "E-Document Service Status"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) | - | internal | 23-24 | - | - |
| InsertLogWithIntegration | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; EDocumentServiceStatus: Enum "E-Document Service Status"; EDocDataStorageEntryNo: Integer; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) | - | internal | 23-24 | - | - |
| UpdateServiceStatus | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; EDocumentStatus: Enum "E-Document Service Status") | - | internal | 23-24 | - | - |
| InsertIntegrationLog | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) | - | internal | 23-24 | - | - |
| SetDataStorage | (EDocumentLog: Record "E-Document Log"; DataStorageEntryNo: Integer) | - | internal | 23-24 | - | - |
| AddTempBlobToLog | (var TempBlob: Codeunit "Temp Blob") | Integer | internal | 23-24 | - | - |
| InsertMappingLog | (EDocumentLogEntryNo: Integer; var Changes: Record "E-Doc. Mapping" temporary) | - | internal | 23-24 | - | - |
| GetDocumentBlobFromLog | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob"; EDocumentServiceStatus: Enum "E-Document Service Status") | Boolean | internal | 23-29 | - | - |
| GetLastServiceFromLog | (EDocument: Record "E-Document") | Record E-Document Service | internal | 23-29 | - | - |
| InsertIntegrationLog | (var EDocument: Record "E-Document"; var EDocumentService: Record "E-Document Service"; HttpRequest: HttpRequestMessage; HttpResponse: HttpResponseMessage) | - | internal | 25-29 | - | - |
| ModifyDataStorageEntryNo | (EDocumentLog: Record "E-Document Log"; DataStorageEntryNo: Integer) | - | internal | 25-29 | - | - |
| InsertDataStorage | (var TempBlob: Codeunit "Temp Blob") | Integer | internal | 25 | - | - |
| InsertMappingLog | (EDocumentLog: Record "E-Document Log"; var Changes: Record "E-Doc. Mapping" temporary) | - | internal | 25-29 | - | - |
| SetFields | (EDocument: Record "E-Document") | - | internal | 26-29 | - | - |
| SetFields | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service") | - | internal | 26-29 | - | - |
| SetBlob | (Name: Text[256]; EDocFileFormat: Enum "E-Doc. File Format"; Content: Text) | - | internal | 26-29 | - | - |
| SetBlob | (Name: Text[256]; EDocFileFormat: Enum "E-Doc. File Format"; TempBlob: Codeunit "Temp Blob") | - | internal | 26-29 | - | - |
| SetBlob | (Name: Text[256]; EDocFileFormat: Enum "E-Doc. File Format"; InStream: InStream) | - | internal | 26-29 | - | - |
| ConfigureLogToInsert | (EDocumentServiceStatus: Enum "E-Document Service Status"; EDocumentProcStatus: Enum "Import E-Doc. Proc. Status"; UndoStep: Boolean) | - | internal | 26-29 | - | - |
| InsertLog | () | Record E-Document Log | internal | 26-29 | - | - |
| InsertLog | (EDocumentServiceStatus: Enum "E-Document Service Status") | Record E-Document Log | internal | 26-29 | - | - |
| InsertLog | (EDocumentServiceStatus: Enum "E-Document Service Status"; EDocumentProcStatus: Enum "Import E-Doc. Proc. Status") | Record E-Document Log | internal | 26-29 | - | - |
| InsertLog | (EDocumentServiceStatus: Enum "E-Document Service Status"; EDocumentProcStatus: Enum "Import E-Doc. Proc. Status"; UndoStep: Boolean) | Record E-Document Log | internal | 26-29 | - | - |
| GetLog | () | Record E-Document Log | internal | 26-29 | - | - |
| InsertLog | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; TempBlob: Codeunit "Temp Blob"; EDocumentServiceStatus: Enum "E-Document Service Status") | Record E-Document Log | internal | 26-29 | - | - |
| InsertLog | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; EDocDataStorageEntryNo: Integer; EDocumentServiceStatus: Enum "E-Document Service Status"; EDocumentProcStatus: Enum "Import E-Doc. Proc. Status") | Record E-Document Log | internal | 26-29 | - | - |
| InsertDataStorage | (TempBlob: Codeunit "Temp Blob") | Integer | internal | 26-29 | - | - |
| GetDocumentBlobFromLog | (EDocument: Record "E-Document"; EDocumentService: Record "E-Document Service"; var TempBlob: Codeunit "Temp Blob"; EDocumentServiceStatus: Enum "E-Document Service Status"; var EDocumentLog: Record "E-Document Log") | Boolean | public | 27-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnUpdateEDocumentStatus | (var EDocument: Record "E-Document"; var IsHandled: Boolean) | 23-29 | Pending 26.0 | Obsoleted. Use interface IEDocumentStatus to indicate e-document status from service status |

## Source

Symbols: Microsoft.E-DocumentCore.symbols.e1d97edc-c239-46b4-8d84-6368bdf67c8b, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
