---
id: object/codeunit/5205
type: object
title: Codeunit 5205 "Create Country/Region"
summary: Codeunit 5205 "Create Country/Region" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Foundation). 68 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - contosocoffeedemodataset
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: b5a20d6cc6c218badcdaae87c18606dc5d808f5f575c5ac2536c3540f7da0fd7
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Foundation/1.Setup%20data/CreateCountryRegion.Codeunit.al
    title: src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Foundation/1.Setup data/CreateCountryRegion.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 5205
name: Create Country/Region
namespace: Microsoft.DemoData.Foundation
app: ContosoCoffeeDemoDataset
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 68
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 5
  implements: 0
---

# Codeunit 5205 "Create Country/Region"

> Codeunit 5205 "Create Country/Region" in ContosoCoffeeDemoDataset (Microsoft.DemoData.Foundation). 68 public procedures. Introduced in BC29, still in BC30.

ContosoCoffeeDemoDataset · Microsoft.DemoData.Foundation · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/ContosoCoffeeDemoDataset/app/DemoData/Foundation/1.Setup%20data/CreateCountryRegion.Codeunit.al) · facts from BC29

## Procedures

- `AE(): Code[10]`
- `AT(): Code[10]`
- `AU(): Code[10]`
- `BE(): Code[10]`
- `BG(): Code[10]`
- `BN(): Code[10]`
- `BR(): Code[10]`
- `CA(): Code[10]`
- `CH(): Code[10]`
- `CN(): Code[10]`
- `CR(): Code[10]`
- `CY(): Code[10]`
- `CZ(): Code[10]`
- `DE(): Code[10]`
- `DK(): Code[10]`
- `DZ(): Code[10]`
- `EE(): Code[10]`
- `EL(): Code[10]`
- `ES(): Code[10]`
- `FI(): Code[10]`
- `FJ(): Code[10]`
- `FR(): Code[10]`
- `GB(): Code[10]`
- `HR(): Code[10]`
- `HU(): Code[10]`
- `ID(): Code[10]`
- `IE(): Code[10]`
- `IND(): Code[10]`
- `IS(): Code[10]`
- `IT(): Code[10]`
- `JP(): Code[10]`
- `KE(): Code[10]`
- `LT(): Code[10]`
- `LU(): Code[10]`
- `LV(): Code[10]`
- `MA(): Code[10]`
- `ME(): Code[10]`
- `MT(): Code[10]`
- `MX(): Code[10]`
- `MY(): Code[10]`
- `MZ(): Code[10]`
- `NG(): Code[10]`
- `NI(): Code[10]`
- `NL(): Code[10]`
- `NO(): Code[10]`
- `NZ(): Code[10]`
- `PH(): Code[10]`
- `PL(): Code[10]`
- `PT(): Code[10]`
- `RO(): Code[10]`
- `RS(): Code[10]`
- `RU(): Code[10]`
- `SA(): Code[10]`
- `SB(): Code[10]`
- `SE(): Code[10]`
- `SG(): Code[10]`
- `SI(): Code[10]`
- `SK(): Code[10]`
- `SZ(): Code[10]`
- `TH(): Code[10]`
- `TN(): Code[10]`
- `TR(): Code[10]`
- `TZ(): Code[10]`
- `UG(): Code[10]`
- `US(): Code[10]`
- `VU(): Code[10]`
- `WS(): Code[10]`
- `ZA(): Code[10]`

## Triggers

OnRun

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 5117 "Contoso Country Or Region"](../codeunit/5117.md) (1 call: `OnRun → InsertCountryOrRegion`)

## Called by

- [Codeunit 5695 "Create VAT Reg. No. Format"](../codeunit/5695.md) (26 calls: `OnRun → AT`, `OnRun → BE`, `OnRun → BG`, …)
- [Codeunit 5209 "Create Customer"](../codeunit/5209.md) (2 calls: `OnRun → DE`, `OnRun → US`)
- [Codeunit 5539 "Create Vendor"](../codeunit/5539.md) (2 calls: `OnRun → DE`, `OnRun → US`)
- [Codeunit 5203 "Foundation Module"](../codeunit/5203.md) (1 call: `CreateSetupData → (object)`)
- [Codeunit 5256 "Create Sust. Vendor"](../codeunit/5256.md) (1 call: `OnRun → US`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Create Country/Region")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
