---
title: "Codeunit 799 VAT Reporting Date Mgt, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/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 799 VAT Reporting Date Mgt, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/points/

14 procedures and triggers with a step in src/Layers/W1/BaseApp/Finance/VAT/Calculation/VATReportingDateMgt.Codeunit.al, in source order, read from the text, not from a run.

## UpdateLinkedEntries

[Line 70](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L70).

- [74](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L74) raises `OnBeforeUpdateLinkedEntries`, IsHandled
- [78](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L78) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUsage`
- [80](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L80) calls `UpdateVATEntries`
- [81](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L81) calls `UpdateGLEntries`
- [82](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L82) calls `UpdatePostedDocuments`
- [84](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L84) raises `OnAfterUpdateLinkedEntries`

## IsVATDateModifiable

[Line 91](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L91).

- [95](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L95) raises `OnBeforeIsVATDateModifiable`, IsHandled

## IsVATDateEnabled

[Line 127](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L127).

- [132](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L132) raises `OnBeforeIsVATDateEnabledForUse`, IsHandled

## IsValidDate

[Line 152](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L152).

- [160](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L160) calls [Codeunit 29 Error Message Handler](https://jonas-paprotka.de/ref/codeunit/29-error-message-handler/) `Activate`
- [164](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L164) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `PushContext`
- [164](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L164) calls [Codeunit 1431 Forward Link Mgt.](https://jonas-paprotka.de/ref/codeunit/1431-forward-link-mgt/) `GetHelpCodeForAllowedVATDate`
- [169](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L169) calls `CheckDateAllowed`
- [170](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L170) calls [Codeunit 29 Error Message Handler](https://jonas-paprotka.de/ref/codeunit/29-error-message-handler/) `HasErrors`
- [173](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L173) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `GetErrors`
- [179](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L179) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `PopContext`

## IsValidVATDate

[Line 189](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L189).

- [191](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L191) calls `IsValidDate`

## CheckDateAllowed

[Line 219](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L219), internal.

- [226](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L226) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `IsVATDateInAllowedPeriod`
- [227](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L227) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `LogContextFieldError`
- [227](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L227) calls [Codeunit 1431 Forward Link Mgt.](https://jonas-paprotka.de/ref/codeunit/1431-forward-link-mgt/) `GetHelpCodeForAllowedVATDate`
- [229](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L229) calls `CheckVATDateValidInVATReturnPeriod`

## CheckVATDateValidInVATReturnPeriod

[Line 232](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L232), internal.

- [247](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L247) calls [Table 737 VAT Return Period](https://jonas-paprotka.de/ref/table/737-vat-return-period/) `FindVATPeriodByDate`
- [254](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L254) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `LogContextFieldError`
- [254](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L254) calls [Codeunit 1431 Forward Link Mgt.](https://jonas-paprotka.de/ref/codeunit/1431-forward-link-mgt/) `GetHelpCodeForAllowedVATDate`
- [259](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L259) calls `GetVATReturnPeriodWarningResponse`
- [260](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L260) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `LogContextFieldError`
- [260](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L260) calls [Codeunit 1431 Forward Link Mgt.](https://jonas-paprotka.de/ref/codeunit/1431-forward-link-mgt/) `GetHelpCodeForAllowedVATDate`
- [264](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L264) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `LogContextFieldError`
- [264](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L264) calls [Codeunit 1431 Forward Link Mgt.](https://jonas-paprotka.de/ref/codeunit/1431-forward-link-mgt/) `GetHelpCodeForAllowedVATDate`
- [267](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L267) calls `GetVATReturnPeriodWarningResponse`
- [268](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L268) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `LogContextFieldError`
- [268](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L268) calls [Codeunit 1431 Forward Link Mgt.](https://jonas-paprotka.de/ref/codeunit/1431-forward-link-mgt/) `GetHelpCodeForAllowedVATDate`

## GetVATReturnPeriodWarningResponse

[Line 272](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L272), local.

- [279](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L279) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`

## ResetVATReturnPeriodWarningOnBeforeGenJnlPostLineCode

[Line 295](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L295), local.

- [298](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L298) calls `ResetVATReturnPeriodWarning`

## ResetVATReturnPeriodWarningOnAfterFinishPosting

[Line 302](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L302), local.

- [305](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L305) calls `ResetVATReturnPeriodWarning`

## UpdateGLEntries

[Line 308](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L308), local.

- [317](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L317) writes [Table 17 G/L Entry](https://jonas-paprotka.de/ref/table/17-g-l-entry/) ModifyAll

## UpdateVATEntries

[Line 320](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L320), local.

- [331](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L331) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) ModifyAll

## UpdatePostedDocuments

[Line 334](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L334), local.

- [349](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L349) calls `FilterSalesInvoiceHeader`
- [351](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L351) calls `UpdateVATDateFromRecordRef`
- [352](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L352) raises `OnUpdatePostedDocumentsOnAfterUpdateSalesInvoice`
- [355](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L355) calls `FilterPurchInvoiceHeader`
- [357](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L357) calls `UpdateVATDateFromRecordRef`
- [363](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L363) calls `FilterSalesCrMemoHeader`
- [365](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L365) calls `UpdateVATDateFromRecordRef`
- [366](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L366) raises `OnUpdatePostedDocumentsOnAfterUpdateSalesCreditMemo`
- [369](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L369) calls `FilterPurchCrMemoHeader`
- [371](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L371) calls `UpdateVATDateFromRecordRef`
- [376](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L376) calls `FilterIssuedFinChrgMemoHeader`
- [378](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L378) calls `UpdateVATDateFromRecordRef`
- [382](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L382) calls `FilterIssuedReminderHeader`
- [384](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L384) calls `UpdateVATDateFromRecordRef`

## OnAfterModifyEventCheckVATReportingDate

[Line 449](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L449), local.

- [462](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L462) writes [Table 91 User Setup](https://jonas-paprotka.de/ref/table/91-user-setup/) ModifyAll
- [463](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L463) writes [Table 91 User Setup](https://jonas-paprotka.de/ref/table/91-user-setup/) ModifyAll
- [467](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/source/#L467) writes [Table 189 VAT Setup](https://jonas-paprotka.de/ref/table/189-vat-setup/) Modify

## Source

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

JOP-AL, 2026-11-20.
