---
title: "Codeunit 350 IntraJnlManagement"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/350-intrajnlmanagement/
type: codeunit
id: 350
name: "IntraJnlManagement"
app: "Base Application"
namespace: Microsoft.Inventory.Intrastat
versions: "17-24"
build: 24.5.23489.36097
obsolete: "Pending 22.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 350 IntraJnlManagement

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/350-intrajnlmanagement/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Intrastat |
| Versions | 17-24 |
| Obsolete | Pending 22.0, seen from 22. Intrastat related functionalities are moved to Intrastat extensions. |
| Source file | Inventory/Intrastat/IntraJnlManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| TemplateSelection | (Integer, var Record Intrastat Jnl. Line, var Boolean) | - | public | 17-24 | - | - |
| TemplateSelectionFromBatch | (var Record Intrastat Jnl. Batch) | - | public | 17-24 | - | - |
| OpenJnl | (var Code[10], var Record Intrastat Jnl. Line) | - | public | 17-24 | - | - |
| OpenJnlBatch | (var Record Intrastat Jnl. Batch) | - | public | 17-24 | - | - |
| CheckName | (Code[10], var Record Intrastat Jnl. Line) | - | public | 17-24 | - | - |
| SetName | (Code[10], var Record Intrastat Jnl. Line) | - | public | 17-24 | - | - |
| LookupName | (Code[10], Code[10], var Text[10]) | Boolean | public | 17-24 | - | - |
| CalcStatisticalValue | (var Record Intrastat Jnl. Line, Record Intrastat Jnl. Line, var Decimal, var Decimal, var Boolean, var Boolean) | - | public | 17-24 | - | - |
| ValidateChecklistReport | (Record Intrastat Jnl. Line) | - | public | 18-21 | Pending 19.0 | Replaced by Advanced Intrastat Checklist |
| ValidateReportWithAdvancedChecklist | (Record Intrastat Jnl. Line, Integer, Boolean) | Boolean | public | 18-24 | - | - |
| ValidateCodeunitWithAdvancedChecklist | (Record Intrastat Jnl. Line, Integer, Boolean) | Boolean | public | 18-24 | - | - |
| IsAdvancedChecklistReportField | (Integer, Integer, Text) | Boolean | public | 18-24 | - | - |
| ChecklistClearBatchErrors | (Record Intrastat Jnl. Batch) | - | public | 18-24 | - | - |
| CreateDefaultAdvancedIntrastatSetup | () | - | public | 18-24 | - | - |
| CheckForJournalBatchError | (Record Intrastat Jnl. Line, Boolean) | - | public | 19-24 | - | - |
| RoundTotalWeight | (Decimal) | Decimal | public | 19-24 | - | - |
| GetCompanyVATRegNo | () | Text[50] | public | 20-24 | - | - |
| GetVATRegNo | (Code[10], Text[20], Enum Intrastat VAT No. On File) | Text[50] | public | 20-24 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCreateDefaultAdvancedIntrastatSetup | () | 19-24 | - | - |
| Integration event | OnBeforeRoundTotalWeight | (var Boolean, var Decimal) | 19-24 | - | - |
| Integration event | OnBeforeCheckTemplateName | (Code[10], var Code[10], var Boolean) | 19-24 | - | - |
| Integration event | OnBeforeOpenJnl | (var Code[10], var Record Intrastat Jnl. Line) | 19-24 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.

Jonas Paprotka, 2026-09-20.
