---
title: "Table 254 VAT Entry, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/254-vat-entry/points/
object: https://jonas-paprotka.de/ref/table/254-vat-entry/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/254-vat-entry/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/"
---

# Table 254 VAT Entry, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/254-vat-entry/points/

18 procedures and triggers with a step in src/Layers/W1/BaseApp/Finance/VAT/Ledger/VATEntry.Table.al, in source order, read from the text, not from a run.

## Bill-to/Pay-to No..OnValidate

[Line 171](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L171), trigger.

- [173](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L173) validates [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `Type`

## EU 3-Party Trade.OnValidate

[Line 202](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L202), trigger.

- [204](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L204) validates [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `Type`

## Country/Region Code.OnValidate

[Line 263](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L263), trigger.

- [265](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L265) validates [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `Type`
- [266](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L266) validates [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `VAT Registration No.`

## VAT Registration No..OnValidate

[Line 583](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L583), trigger.

- [587](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L587) calls [Table 381 VAT Registration No. Format](https://jonas-paprotka.de/ref/table/381-vat-registration-no-format/) `Test`

## VAT Reporting Date.OnValidate

[Line 747](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L747), trigger.

- [754](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L754) validates [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) `Type`
- [755](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L755) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `IsVATDateModifiable`
- [761](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L761) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `ResetVATReturnPeriodWarning`
- [762](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L762) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `CheckDateAllowed`
- [763](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L763) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `CheckDateAllowed`
- [764](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L764) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `UpdateLinkedEntries`

## SetVATDateFromGenJnlLine

[Line 926](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L926), internal.

- [929](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L929) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetVATDate`

## GetLastEntryNo

[Line 939](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L939).

- [943](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L943) calls [Codeunit 703 Find Record Management](https://jonas-paprotka.de/ref/codeunit/703-find-record-management/) `GetLastEntryIntFieldValue`

## GetCurrencyCode

[Line 946](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L946), local.

- [948](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L948) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetRecordOnce`

## GetUnrealizedVATPart

[Line 961](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L961).

- [969](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L969) calls `GetUnrealizedVATType`

## CopyFromGenJnlLine

[Line 1041](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1041).

- [1043](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1043) calls `SetVATDateFromGenJnlLine`
- [1044](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1044) calls `CopyPostingGroupsFromGenJnlLine`
- [1045](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1045) calls `CopyPostingDataFromGenJnlLine`
- [1056](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1056) calls [Codeunit 6200 Non-Deductible VAT](https://jonas-paprotka.de/ref/codeunit/6200-non-deductible-vat/) `Copy`
- [1058](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1058) raises `OnAfterCopyFromGenJnlLine`

## CopyPostingDataFromGenJnlLine

[Line 1065](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1065).

- [1069](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1069) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetVATDate`

## SetGLAccountNo

[Line 1098](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1098).

- [1103](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1103) calls `SetGLAccountNoWithResponse`

## SetGLAccountNoWithResponse

[Line 1112](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1112).

- [1127](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1127) raises `OnBeforeSetGLAccountNo`, IsHandled
- [1136](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1136) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [1154](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1154) calls `TryGetGLAccountNoForVATEntry`
- [1175](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1175) calls `ApplyBatchedGLAccountNoUpdates`
- [1181](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1181) raises `OnAfterSetGLAccountNo`, IsHandled
- [1185](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1185) calls `CheckGLAccountNoFilled`

## TryGetGLAccountNoForVATEntry

[Line 1213](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1213), local.

- [1221](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1221) calls `AddMissingGLEntryVATEntryLink`

## ApplyBatchedGLAccountNoUpdates

[Line 1232](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1232), local.

- [1260](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1260) calls `FlushBatchedGLAccountNoUpdate`
- [1268](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1268) calls `FlushBatchedGLAccountNoUpdate`

## FlushBatchedGLAccountNoUpdate

[Line 1276](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1276), local.

- [1288](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1288) writes [Table 254 VAT Entry](https://jonas-paprotka.de/ref/table/254-vat-entry/) ModifyAll

## AddMissingGLEntryVATEntryLink

[Line 1297](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1297), local.

- [1312](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1312) calls [Table 253 G/L Entry - VAT Entry Link](https://jonas-paprotka.de/ref/table/253-g-l-entry-vat-entry-link/) `InsertLinkSelf`

## CopyAmountsFromVATEntry

[Line 1321](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1321).

- [1348](https://jonas-paprotka.de/ref/table/254-vat-entry/source/#L1348) raises `OnAfterOnCopyAmountsFromVATEntry`

## Source

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

JOP-AL, 2026-11-20.
