---
id: object/codeunit/5286
type: object
title: Codeunit 5286 "Data Check Mgt. SAF-T"
summary: Codeunit 5286 "Data Check Mgt. SAF-T" in SAF-T (Microsoft.Finance.AuditFileExport). 8 public procedures, 1 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - saf-t
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: 12bcd137554e738d3ed44cb44a1f1983f95b121d29fe76731eda1f0f4d7b3e82
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/SAF-T/app/src/CheckAuditDataSAFT/DataCheckMgtSAFT.Codeunit.al
    title: src/Apps/W1/SAF-T/app/src/CheckAuditDataSAFT/DataCheckMgtSAFT.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: 5286
name: Data Check Mgt. SAF-T
namespace: Microsoft.Finance.AuditFileExport
app: SAF-T
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: 37
  events: 1
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 1
  implements: 0
---

# Codeunit 5286 "Data Check Mgt. SAF-T"

> Codeunit 5286 "Data Check Mgt. SAF-T" in SAF-T (Microsoft.Finance.AuditFileExport). 8 public procedures, 1 events. Introduced in BC29, still in BC30.

SAF-T · Microsoft.Finance.AuditFileExport · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/SAF-T/app/src/CheckAuditDataSAFT/DataCheckMgtSAFT.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| TableNo | Audit File Export Header |

## Events published

- `OnCollectErrors(var ErrorMessageMgt: Codeunit "Error Message Management")` (integration)

## Procedures

- `ThrowNotificationIfCustomerDataMissed(Rec: Record Customer): Boolean`
- `ThrowNotificationIfVendorDataMissed(Rec: Record Vendor): Boolean`
- `ThrowNotificationIfCompanyInformationDataMissed(Rec: Record "Company Information"): Boolean`
- `ThrowNotificationIfBankAccountDataMissed(Rec: Record "Bank Account"): Boolean`
- `ThrowNotificationIfCustomerBankAccountDataMissed(Rec: Record "Customer Bank Account"): Boolean`
- `ThrowNotificationIfVendorBankAccountDataMissed(Rec: Record "Vendor Bank Account"): Boolean`
- `VerifySourceCodesHasSAFTCodes()`
- `VerifyDimensionsHaveAnalysisCode()`

Plus 28 local procedures.

## Triggers

OnRun

## Relations

- runs on [Table 5265 "Audit File Export Header"](../table/5265.md)

## 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 28 "Error Message Management"](../codeunit/28.md) (4 calls: `LogError → LogContextFieldError`, `OnRun → Activate`, `OnRun → PushContext`, …)
- [Codeunit 29 "Error Message Handler"](../codeunit/29.md) (2 calls: `OnRun → HasErrors`, `OnRun → ShowErrors`)
- [Codeunit 10 "Type Helper"](../codeunit/10.md) (1 call: `OnRun → GetCurrentDateTimeInUserTimeZone`)
- [Codeunit 5280 "SAF-T Data Mgt."](../codeunit/5280.md) (1 call: `CheckVATPostingSetup → GetEnvironmentCountryCode`)

## Called by

- [Codeunit 5285 "Audit Data Check SAF-T"](../codeunit/5285.md) (9 calls: `CheckAuditDocReadyToExport → VerifyDimensionsHaveAnalysisCode`, `CheckAuditDocReadyToExport → VerifySourceCodesHasSAFTCodes`, `CheckDataToExport → (object)`, …)

## 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: "Data Check Mgt. SAF-T")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
