---
id: object/codeunit/31160-cz
type: object
title: Codeunit 31160 "Posted Entries Origin CZ" (CZ)
summary: Codeunit 31160 "Posted Entries Origin CZ" (CZ) in the CZ country layer (Microsoft.Inventory.Intrastat). 1 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - cz layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-11-25T00:57:14.902Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: aabda20897df4dce3fceaac6c8d63372c3a76f2c0cef481e4c94d4573167b2e9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/e646fc169eb3bb7b1947b2089ed943d91dec46b0/src/Apps/CZ/IntrastatCZ/app/src/Codeunits/PostedEntriesOriginCZ.Codeunit.al
    title: src/Apps/CZ/IntrastatCZ/app/src/Codeunits/PostedEntriesOriginCZ.Codeunit.al (releases/29.x)
    date: null
    commit: e646fc169eb3bb7b1947b2089ed943d91dec46b0
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/cz
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12846
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/whatsnew/whatsnew-update-24-2
      title: Update 24.2 for Microsoft Dynamics 365 Business Central 2024 Release Wave 1
      label: possibly related
      why: Documents Intrastat country of origin automation feature implementation
      by: model
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/whatsnew/whatsnew-update-24-4
      title: Update 24.4 for Microsoft Dynamics 365 Business Central 2024 Release Wave 1
      label: possibly related
      why: Documents Intrastat country of origin general availability and localization updates
      by: model
object_type: codeunit
object_id: 31160
name: Posted Entries Origin CZ
namespace: Microsoft.Inventory.Intrastat
app: IntrastatCZ
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: CZ
counts:
  fields: 0
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 31160 "Posted Entries Origin CZ" (CZ)

> Codeunit 31160 "Posted Entries Origin CZ" (CZ) in the CZ country layer (Microsoft.Inventory.Intrastat). 1 public procedures. Introduced in BC29, still in BC30.

CZ country layer · Microsoft.Inventory.Intrastat · BC29-30 · [source at e646fc16](https://github.com/microsoft/BCApps/blob/e646fc169eb3bb7b1947b2089ed943d91dec46b0/src/Apps/CZ/IntrastatCZ/app/src/Codeunits/PostedEntriesOriginCZ.Codeunit.al) · facts from BC29

An object of the [CZ localization](../../localizations/cz.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Access | Internal |

## Procedures

- `GetCountryOfOriginCode(IntrastatReportLine: Record "Intrastat Report Line"): Code[10]`

## Recent changes

- 2026-10-19 [#12846 [main] bug 652274 - [CZ] Add the Country/Region of Origin Code field to a document line](../../changes/bcapps/12846.md) (main, BC30, feature, added)

## Across versions

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

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Update 24.2 for Microsoft Dynamics 365 Business Central 2024 Release Wave 1](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/whatsnew/whatsnew-update-24-2) — possibly related: Documents Intrastat country of origin automation feature implementation (model-linked)
- [Update 24.4 for Microsoft Dynamics 365 Business Central 2024 Release Wave 1](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/whatsnew/whatsnew-update-24-4) — possibly related: Documents Intrastat country of origin general availability and localization updates (model-linked)

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). 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: "Posted Entries Origin CZ")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A CZ country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
