---
id: change/bcapps/9710
type: change
title: "#9710 [Main] [all-e]CompAuxNum and CompAuxLib columns should be informed for Payment Discount lines in the French Audit File.Initial Commit"
summary: The French Audit File export now populates CompAuxNum and CompAuxLib columns for payment discount lines, fixing missing data in the generated audit file.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - codeunit generate file fec
system: finance
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:09:03.746Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 0db09cdd510e737d1d1518111d110e01b89e1c18
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9710
    title: "microsoft/BCApps#9710: [Main] [all-e]CompAuxNum and CompAuxLib columns should be informed for Payment Discount lines in the French Audit File.Initial Commit"
    date: "2026-08-13"
    commit: 0db09cdd510e737d1d1518111d110e01b89e1c18
    t: null
    quote: CompAuxNum and CompAuxLib columns should be informed for Payment Discount lines in the French Audit File.
links:
  learn: []
  objects:
    - object/codeunit/10826-fr
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9710
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9710
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-13T14:19:31Z"
author: Shikhverma
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 2
  additions: 454
  deletions: 1
  al: 1
apps:
  - FECAuditFile
objects_touched:
  - key: codeunit/10826
    page: codeunit/10826-fr
    type: codeunit
    id: 10826
    name: Generate File FEC
    app: FECAuditFile
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 643980
systems:
  - finance
quote: CompAuxNum and CompAuxLib columns should be informed for Payment Discount lines in the French Audit File.
joined_against:
  major: "30"
  commit: a4406cfa9e57437fedc49c53c327a199a854491e
---

# #9710 [Main] [all-e]CompAuxNum and CompAuxLib columns should be informed for Payment Discount lines in the French Audit File.Initial Commit

> The French Audit File export now populates CompAuxNum and CompAuxLib columns for payment discount lines, fixing missing data in the generated audit file.

[Pull request](https://github.com/microsoft/BCApps/pull/9710) · merged into `main` (BC30) on 2026-08-13 by Shikhverma · 2 files (+454 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- CompAuxNum and CompAuxLib columns were not being filled for payment discount lines
- Code added to GenerateFileFEC codeunit to insert values for these columns
- Test coverage added to validate the fix
- Affects French audit file compliance and reporting requirements
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 10826 "Generate File FEC"](../../objects/codeunit/10826-fr.md), FECAuditFile (FR layer): modified

## Context

- Work items: AB#643980
- Labels: Team: Finance
- Systems: finance
- From the description: "CompAuxNum and CompAuxLib columns should be informed for Payment Discount lines in the French Audit File."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
