{"title":"Table 9 Country/Region, extension points 29","url":"https://jonas-paprotka.de/ref/table/9-country-region/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":"table","id":9,"name":"Country/Region","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/9-country-region/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/9-country-region/source/","path":"src/Layers/W1/BaseApp/Foundation/Address/CountryRegion.Table.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:3960":{"name":"Regex","url":"https://jonas-paprotka.de/ref/codeunit/3960-regex/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"},"table:381":{"name":"VAT Registration No. Format","url":"https://jonas-paprotka.de/ref/table/381-vat-registration-no-format/"},"table:11":{"name":"Country/Region Translation","url":"https://jonas-paprotka.de/ref/table/11-country-region-translation/"},"codeunit:43":{"name":"Language","url":"https://jonas-paprotka.de/ref/codeunit/43-language/"},"table:725":{"name":"Custom Address Format","url":"https://jonas-paprotka.de/ref/table/725-custom-address-format/"},"table:726":{"name":"Custom Address Format Line","url":"https://jonas-paprotka.de/ref/table/726-custom-address-format-line/"}},"procs":[{"name":"ISO Code.OnValidate","line":38,"kind":"trigger","steps":[[46,"ext","codeunit",3960,"IsMatch",2]]},{"name":"ISO Numeric Code.OnValidate","line":56,"kind":"trigger","steps":[[62,"ext","codeunit",10,"IsNumeric",1]]},{"name":"Address Format.OnValidate","line":82,"kind":"trigger","steps":[[86,"call","InitAddressFormat",0],[88,"call","ClearCustomAddressFormat",0]]},{"name":"OnDelete","line":144,"kind":"trigger","steps":[[150,"write",381,"DeleteAll"],[154,"write",11,"DeleteAll",1]]},{"name":"GetTranslatedName","line":203,"kind":"procedure","params":1,"steps":[[208,"ext","codeunit",43,"GetLanguageCode",1]]},{"name":"GetNameInCurrentLanguage","line":221,"kind":"procedure","params":0,"steps":[[225,"call","GetTranslatedName",1],[225,"ext","codeunit",43,"GetUserLanguageCode",0]]},{"name":"CreateAddressFormat","line":228,"kind":"procedure","params":3,"steps":[[236,"write",725,"Insert"],[239,"call","CreateAddressFormatLine",4],[241,"ext","table",725,"BuildAddressFormat",0],[242,"write",725,"Modify"]]},{"name":"CreateAddressFormatLine","line":247,"kind":"procedure","params":4,"steps":[[255,"validate",726,"Field ID"],[256,"write",726,"Insert"]]},{"name":"InitAddressFormat","line":259,"kind":"procedure","params":0,"steps":[[267,"event","OnBeforeInitAddressFormat",1],[271,"call","CreateAddressFormat",3],[272,"call","CreateAddressFormat",3],[273,"call","CreateAddressFormat",3],[274,"call","CreateAddressFormat",3],[275,"call","CreateAddressFormat",3],[279,"call","CreateAddressFormat",3],[280,"call","CreateAddressFormatLine",4],[281,"call","CreateAddressFormatLine",4],[286,"call","CreateAddressFormat",3],[287,"call","CreateAddressFormatLine",4],[288,"call","CreateAddressFormatLine",4],[292,"call","CreateAddressFormat",3],[293,"call","CreateAddressFormatLine",4],[294,"call","CreateAddressFormatLine",4],[295,"call","CreateAddressFormatLine",4],[298,"call","CreateAddressFormat",3],[302,"ext","table",725,"BuildAddressFormat",0],[303,"write",725,"Modify"]]},{"name":"ClearCustomAddressFormat","line":307,"kind":"procedure","access":"local","params":0,"steps":[[312,"write",725,"DeleteAll",1]]}]}