---
title: "Codeunit 249 VAT Registration Log Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/249-vat-registration-log-mgt/
type: codeunit
id: 249
name: "VAT Registration Log Mgt."
app: "Base Application"
namespace: Microsoft.Finance.VAT.Registration
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/249-vat-registration-log-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 249 VAT Registration Log Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/249-vat-registration-log-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.VAT.Registration |
| Versions | 17-28 |
| Source file | Finance/VAT/Registration/VATRegistrationLogMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| LogCustomer | (Record Customer) | - | public | 17-28 | - | - |
| LogVendor | (Record Vendor) | - | public | 17-28 | - | - |
| LogContact | (Record Contact) | - | public | 17-28 | - | - |
| LogVerification | (var Record VAT Registration Log, DotNet XmlDocument, Text) | - | public | 17-28 | - | - |
| DeleteCustomerLog | (Record Customer) | - | public | 17-28 | - | - |
| DeleteVendorLog | (Record Vendor) | - | public | 17-28 | - | - |
| DeleteContactLog | (Record Contact) | - | public | 17-28 | - | - |
| AssistEditCustomerVATReg | (Record Customer) | - | public | 17-28 | - | - |
| CheckIfCountryCodeIsSet | (Record Customer) | - | public | 17-28 | - | - |
| AssistEditVendorVATReg | (Record Vendor) | - | public | 17-28 | - | - |
| AssistEditContactVATReg | (Record Contact) | - | public | 17-28 | - | - |
| AssistEditCompanyInfoVATReg | () | - | public | 17-28 | - | - |
| CheckVIESForVATNo | (var RecordRef, var Record VAT Registration Log, Variant, Code[20], Code[10], Option) | - | public | 17-28 | - | - |
| UpdateRecordFromVATRegLog | (var RecordRef, Variant, Record VAT Registration Log) | - | public | 17-28 | - | - |
| InitServiceSetup | () | - | public | 17-28 | - | - |
| SetupService | () | - | public | 17-28 | - | - |
| EnableService | () | - | public | 17-28 | - | - |
| ValidateVATRegNoWithVIES | (var RecordRef, Variant, Code[20], Option, Code[10]) | - | public | 17-28 | - | - |
| GetServiceDisclaimerUR | () | Text | public | 17-28 | - | - |
| HandleViesRegisterServiceConnection | (var Record Service Connection) | - | public | 17-28 | - | - |
| CheckVIESForVATNoField | (var RecordRef, var Record VAT Registration Log, Variant, Code[20], Code[10], Option, Text) | - | public | 20-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterInsertVATRegistrationLog | (var Record VAT Registration Log) | 17-28 | - | - |
| Integration event | OnAssistEditContactVATRegOnBeforeRunPageVATRegistrationLog | (var Record VAT Registration Log, Record Contact) | 17-28 | - | - |
| Integration event | OnAssistEditCustomerVATRegOnBeforeRunPageVATRegistrationLog | (var Record VAT Registration Log, Record Customer) | 17-28 | - | - |
| Integration event | OnAssistEditVendorVATRegOnBeforeRunPageVATRegistrationLog | (var Record VAT Registration Log, Record Vendor) | 17-28 | - | - |
| Integration event | OnBeforeCheckVIESForVATNoField | (var RecordRef, var Record VAT Registration Log, Variant, Code[20], Code[10], Option, var Text, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeUpdateRecordFromVATRegLog | (var RecordRef, Variant, Record VAT Registration Log, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeInsertValidLogVerification | (var Record VAT Registration Log) | 22-28 | - | - |
| Integration event | OnBeforeInsertInvalidLogVerification | (var Record VAT Registration Log) | 22-28 | - | - |
| Integration event | OnBeforeValidateVATRegNoWithVIES | (var RecordRef, Variant, Code[20], Code[10], Option, var Boolean) | 23-28 | - | - |

## 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.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
