---
title: "Codeunit 247 VAT Lookup Quota Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-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 247 VAT Lookup Quota Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/points/

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

## OnRun

[Line 21](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L21), trigger.

- [23](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L23) calls `RegisterAndCheckQuota`

## RegisterAndCheckQuota

[Line 34](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L34), local.

- [48](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L48) calls [Codeunit 457 Environment Information](https://jonas-paprotka.de/ref/codeunit/457-environment-information/) `IsSaaS`
- [51](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L51) calls `GetQuotaUnderLock`
- [60](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L60) calls `GetMaxDailyCallCount`
- [66](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L66) calls `GetMaxDailyCallCount`
- [68](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L68) calls [Codeunit 8714 Audit Log](https://jonas-paprotka.de/ref/codeunit/8714-audit-log/) `LogAuditMessage`
- [76](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L76) writes [Table 243 VAT Reg. No. Lookup Quota](https://jonas-paprotka.de/ref/table/243-vat-reg-no-lookup-quota/) Modify

## GetQuotaUnderLock

[Line 80](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L80), local.

- [89](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L89) writes [Table 243 VAT Reg. No. Lookup Quota](https://jonas-paprotka.de/ref/table/243-vat-reg-no-lookup-quota/) Insert

## InvokeVIESCallQuotaForTest

[Line 110](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L110), internal.

- [112](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L112) calls `RegisterAndCheckQuota`

## SeedVIESCallQuotaForTest

[Line 115](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L115), internal.

- [122](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L122) writes [Table 243 VAT Reg. No. Lookup Quota](https://jonas-paprotka.de/ref/table/243-vat-reg-no-lookup-quota/) Insert
- [126](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L126) writes [Table 243 VAT Reg. No. Lookup Quota](https://jonas-paprotka.de/ref/table/243-vat-reg-no-lookup-quota/) Modify

## ClearVIESCallQuotaForTest

[Line 140](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L140), internal.

- [145](https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/#L145) writes [Table 243 VAT Reg. No. Lookup Quota](https://jonas-paprotka.de/ref/table/243-vat-reg-no-lookup-quota/) Delete

## Source

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

JOP-AL, 2026-11-20.
