---
id: object/codeunit/13698-dk
type: object
title: Codeunit 13698 "Regnskab Basis Export" (DK)
summary: Codeunit 13698 "Regnskab Basis Export" (DK) in the DK country layer (Microsoft.Finance.AuditFileExport). 3 public procedures, 1 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - dk layer
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: 9103c177df524b31783ea360e4d3ef17849ca7a6f8f14c7738b400fccffea932
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/DK/SAFTModificationDK/app/src/RBAccountingFile/RegnskabBasisExport.Codeunit.al
    title: src/Apps/DK/SAFTModificationDK/app/src/RBAccountingFile/RegnskabBasisExport.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/dk
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 13698
name: Regnskab Basis Export
namespace: Microsoft.Finance.AuditFileExport
app: SAFTModificationDK
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: DK
counts:
  fields: 0
  procedures: 14
  events: 1
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 13698 "Regnskab Basis Export" (DK)

> Codeunit 13698 "Regnskab Basis Export" (DK) in the DK country layer (Microsoft.Finance.AuditFileExport). 3 public procedures, 1 events. Introduced in BC29, still in BC30.

DK country layer · Microsoft.Finance.AuditFileExport · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/DK/SAFTModificationDK/app/src/RBAccountingFile/RegnskabBasisExport.Codeunit.al) · facts from BC29

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

## Events published

- `OnGetAmountForDateRangeOnCaseElse(var GLAccount: Record "G/L Account"; FromDate: Date; ToDate: Date; CalcMethod: Enum "Analysis Amount Type"; var Result: Decimal)` (integration)

## Procedures

- `Initialize(NewStartingDate: Date; NewEndingDate: Date; NewGLAccountMappingHeader: Record "G/L Account Mapping Header"; NewCSVSeparator: Char; AmtCalcMethodIncomeStatement: Enum "Analysis Amount Type"; AmtCalcMethodBalanceSheet: Enum "Analysis Amount Type")`: Initializes the codeunit with the starting and ending dates, the G/L Account Mapping Header and the CSV separator.
- `InitializeDefault(NewGLAccountMappingHeader: Record "G/L Account Mapping Header")`: Simpler initialization method that uses the default CSV separator, default dates and default amount calculation methods.
- `GenerateFileToBlob(var TempBlob: Codeunit "Temp Blob"): Boolean`: Generates the Regnskab Basis Accounting file to a blob.

Plus 10 local procedures.

## Triggers

OnRun

## 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). 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: "Regnskab Basis Export")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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