---
id: object/codeunit/10826-fr
type: object
title: Codeunit 10826 "Generate File FEC" (FR)
summary: Codeunit 10826 "Generate File FEC" (FR) in the FR country layer (Microsoft.Finance.AuditFileExport). 3 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - fr 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: bf588ea5c70365b75c60b006ca9bca298f1be25840594d8526f0ac2ee47a723a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/FR/FECAuditFile/app/src/ExportEngine/GenerateFileFEC.Codeunit.al
    title: src/Apps/FR/FECAuditFile/app/src/ExportEngine/GenerateFileFEC.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/fr
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11941
    - change/bcapps/9710
object_type: codeunit
object_id: 10826
name: Generate File FEC
namespace: Microsoft.Finance.AuditFileExport
app: FECAuditFile
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: FR
counts:
  fields: 0
  procedures: 52
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 10826 "Generate File FEC" (FR)

> Codeunit 10826 "Generate File FEC" (FR) in the FR country layer (Microsoft.Finance.AuditFileExport). 3 public procedures. Introduced in BC29, still in BC30.

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

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

## Properties

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

## Procedures

- `GenerateFileContent(AuditFileExportLine: Record "Audit File Export Line"; var TempBlob: Codeunit "Temp Blob")`
- `GetLedgerEntryDataForCustVend(TransactionNo: Integer; SourceType: Enum "Gen. Journal Source Type"; var PartyNo: Code[20]; var PartyName: Text[100]; var FCYAmount: Text[250]; var CurrencyCode: Code[10]; var DocNoSet: Text; var DateApplied: Date)`
- `InitGlobalVariables(AuditFileExportHeader: Record "Audit File Export Header")`

Plus 49 local procedures.

## Recent changes

- 2026-10-01 [#11941 Bug 651577 CompAuxNum and CompAuxLib columns should be informed for Payment Discount lines on Unapplied Entries in the French Audit File.](../../changes/bcapps/11941.md) (main, BC30, fix)
- 2026-08-13 [#9710 [Main] [all-e]CompAuxNum and CompAuxLib columns should be informed for Payment Discount lines in the French Audit File.Initial Commit](../../changes/bcapps/9710.md) (main, BC30, fix)

## 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: "Generate File FEC")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

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