---
title: "Table 2158 O365 Document Sent History"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/2158-o365-document-sent-history/
type: table
id: 2158
name: "O365 Document Sent History"
app: "Base Application"
versions: "17-25"
build: 25.5.30849.36072
obsolete: "Removed 24.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 2158 O365 Document Sent History

Jonas Paprotka, https://jonas-paprotka.de/ref/table/2158-o365-document-sent-history/

| | |
| --- | --- |
| App | Base Application |
| Versions | 17-25 |
| Obsolete | Removed 24.0, seen from 21. Microsoft Invoicing has been discontinued. |
| Source file | Removed/O365DocumentSentHistory.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Document Type | Enum Sales Document Type | 17-25 | - | - |
| 2 | Document No. | Code[20] | 17-25 | - | - |
| 3 | Posted | Boolean | 17-25 | - | - |
| 4 | Created Date-Time | DateTime | 17-25 | - | - |
| 7 | Source Type | Option | 17-25 | - | - |
| 8 | Source No. | Code[20] | 17-25 | - | - |
| 11 | Job Queue Entry ID | Guid | 17-25 | - | - |
| 12 | Job Last Status | Option | 17-25 | - | - |
| 13 | Job Completed | DateTime | 17-25 | - | - |
| 14 | Notified | Boolean | 17-25 | - | - |
| 15 | NotificationCleared | Boolean | 17-25 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Document Type, Document No., Posted, Created Date-Time | 17-25 |
| Key2 | Job Queue Entry ID | 17-25 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| NewInProgressFromJobQueue | (var Record Job Queue Entry) | Boolean | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| DeleteSentHistoryForDocument | (Option, Code[20], Boolean) | - | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| ShowJobQueueErrorMessage | () | - | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| GetJobQueueErrorMessage | () | Text | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| NewInProgressFromSalesHeader | (Record Sales Header) | Boolean | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| NewInProgressFromSalesInvoiceHeader | (Record Sales Invoice Header) | Boolean | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| NewInProgressFromRecRef | (RecordRef) | Boolean | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| SetStatusAsFailed | () | Boolean | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| SetStatusAsSuccessfullyFinished | () | Boolean | public | 17-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |
| SetHistoryForDocumentAsNotified | (Enum Sales Document Type, Code[20], Boolean) | - | public | 19-23 | Pending 21.0 | Microsoft Invoicing has been discontinued. |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeNewInProgressFromRecRef | (RecordRef, var Boolean, var Boolean) | 18 | - | - |
| Integration event | OnBeforeNewInProgressFromRecRef | (RecordRef, var Boolean, var Boolean, var Record O365 Document Sent History) | 19-23 | - | - |

## 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.
