---
id: object/codeunit/10672-no
type: object
title: Codeunit 10672 "SAF-T Mapping Helper" (NO)
summary: Codeunit 10672 "SAF-T Mapping Helper" (NO) in the NO country layer (Microsoft.Finance.AuditFileExport). 24 public procedures, 1 events, 2 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - no 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: 7ab59654fe553c59abd4cda274bec74b6ea7a01473c3648867b347c082eba198
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/NO/NorwegianSAFT/app/src/GLAccount%20Mapping/SAFTMappingHelper.Codeunit.al
    title: src/Apps/NO/NorwegianSAFT/app/src/GLAccount Mapping/SAFTMappingHelper.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/no
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 10672
name: SAF-T Mapping Helper
namespace: Microsoft.Finance.AuditFileExport
app: NorwegianSAFT
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: "NO"
counts:
  fields: 0
  procedures: 38
  events: 1
  subscribers: 2
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 10672 "SAF-T Mapping Helper" (NO)

> Codeunit 10672 "SAF-T Mapping Helper" (NO) in the NO country layer (Microsoft.Finance.AuditFileExport). 24 public procedures, 1 events, 2 event subscribers. Introduced in BC29, still in BC30.

NO country layer · Microsoft.Finance.AuditFileExport · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/NO/NorwegianSAFT/app/src/GLAccount%20Mapping/SAFTMappingHelper.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| TableNo | SAF-T Mapping Range |

## Events published

- `OnCollectSourceCodeFieldsForSAFTMapping(var TempNameValueBuffer: Record "Name/Value Buffer" temporary)` (integration)

## Event subscriptions

- UpdateSAFAnalysisTypeOnBeforeDimensionInsert subscribes to Table "Dimension" OnBeforeInsertEvent
- AssignSAFTaxCodesOnBeforeDimensionInsert subscribes to Table "VAT Posting Setup" OnBeforeInsertEvent

## Procedures

- `GetDefaultSAFTMappingRange(var SAFTMappingRange: Record "SAF-T Mapping Range")`
- `ValidateMappingRange(var SAFTMappingRange: Record "SAF-T Mapping Range")`
- `MatchChartOfAccounts(SAFTMappingRange: Record "SAF-T Mapping Range")`
- `CreateChartOfAccounts(SAFTMappingRange: Record "SAF-T Mapping Range")`
- `CopyMapping(FromMappingRangeCode: Code[20]; ToMappingRangeCode: Code[20]; Replace: Boolean)`
- `UpdateGLEntriesExistStateForGLAccMapping(MappingRangeCode: Code[20])`
- `UpdateMasterDataWithNoSeries()`
- `UpdateSAFTSourceCodesBySetup()`
- `MapRestSourceCodesToAssortedJournals()`
- `GetGLSAFTSourceCode(): Code[9]`
- `GetARSAFTSourceCode(): Code[9]`
- `GetAPSAFTSourceCode(): Code[9]`
- `GetASAFTSourceCode(): Code[9]`
- `GetASAFTSourceCodeDescription(): Text[100]`
- `VerifyMappingIsDone(MappingRangeCode: Code[20])`
- `VerifyMapping13IsDone(MappingRangeCode: Code[20])`
- `VerifyNoMappingDone(SAFTMappingRange: Record "SAF-T Mapping Range")`
- `VerifyDimensionsHaveAnalysisCode()`
- `VerifyVATPostingSetupHasTaxCodes()`
- `VerifySourceCodesHasSAFTCodes()`
- `GetGLAccountsMappedInfo(MappingRangeCode: Code[20]): Text[20]`
- `GetVATPostingSetupMappedInfo(): Text[20]`
- `InsertDefaultNoSeriesInSAFTSetup()`
- `InsertSAFTSourceCodes()`

Plus 11 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: "SAF-T Mapping Helper")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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