{"title":"Codeunit 247 VAT Lookup Quota Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":247,"name":"VAT Lookup Quota Mgt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/247-vat-lookup-quota-mgt/source/","path":"src/Layers/W1/BaseApp/Finance/VAT/Registration/VATLookupQuotaMgt.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:457":{"name":"Environment Information","url":"https://jonas-paprotka.de/ref/codeunit/457-environment-information/"},"codeunit:8714":{"name":"Audit Log","url":"https://jonas-paprotka.de/ref/codeunit/8714-audit-log/"},"table:243":{"name":"VAT Reg. No. Lookup Quota","url":"https://jonas-paprotka.de/ref/table/243-vat-reg-no-lookup-quota/"}},"procs":[{"name":"OnRun","line":21,"kind":"trigger","steps":[[23,"call","RegisterAndCheckQuota",0]]},{"name":"RegisterAndCheckQuota","line":34,"kind":"procedure","access":"local","params":0,"steps":[[48,"ext","codeunit",457,"IsSaaS",0],[51,"call","GetQuotaUnderLock",1],[60,"call","GetMaxDailyCallCount",0],[66,"call","GetMaxDailyCallCount",0],[68,"ext","codeunit",8714,"LogAuditMessage",5],[76,"write",243,"Modify"]]},{"name":"GetQuotaUnderLock","line":80,"kind":"procedure","access":"local","params":1,"steps":[[89,"write",243,"Insert"]]},{"name":"InvokeVIESCallQuotaForTest","line":110,"kind":"procedure","access":"internal","params":0,"steps":[[112,"call","RegisterAndCheckQuota",0]]},{"name":"SeedVIESCallQuotaForTest","line":115,"kind":"procedure","access":"internal","params":2,"steps":[[122,"write",243,"Insert"],[126,"write",243,"Modify"]]},{"name":"ClearVIESCallQuotaForTest","line":140,"kind":"procedure","access":"internal","params":0,"steps":[[145,"write",243,"Delete"]]}]}