---
id: change/bcapps/9879
type: change
title: "#9879 Fixes #8869: French sales reports must ignore comment lines when evaluating GetGoodsAndServicesText"
summary: In the French localization, the Standard Sales Invoice, Draft Invoice and Credit Memo reports now filter out comment lines when GetGoodsAndServicesText decides whether the document covers goods or services.
tier: official
language: en
tags:
  - fix
  - main
  - bc30
  - report standard sales - draft invoice
  - report standard sales - credit memo
  - report standard sales - invoice
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-11-15T00:48:09.860Z"
  flags: []
generated:
  at: "2026-11-15T00:17:15.357Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 923a7b7d0ec31a519289db1caa90e39ef483c01b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9879
    title: "microsoft/BCApps#9879: Fixes #8869: French sales reports must ignore comment lines when evaluating GetGoodsAndServicesText"
    date: "2026-11-12"
    commit: 923a7b7d0ec31a519289db1caa90e39ef483c01b
    t: null
    quote: comment lines are filtered out
links:
  learn: []
  objects:
    - object/report/1303
    - object/report/1307
    - object/report/1306
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/reports/report-1307
      title: Standard Sales Credit Memo report
      label: possibly related
      why: touches Report 1307 "Standard Sales - Credit Memo"
      by: code
    - to: https://learn.microsoft.com/dynamics365/business-central/reports/report-1303
      title: Standard Sales Draft Invoice report
      label: possibly related
      why: touches Report 1303 "Standard Sales - Draft Invoice"
      by: code
number: 9879
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9879
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-12T11:35:37Z"
author: nicolassaleron
author_type: User
community_contribution: true
labels:
  - "ADO: Sync"
  - From Fork
  - "Ownership: Manual"
  - "Team: Finance"
change_class: code
change_kind: fix
behavior_change: true
breaking: false
files:
  count: 3
  additions: 3
  deletions: 3
  al: 3
apps:
  - Base Application
objects_touched:
  - key: report/1303
    page: report/1303
    type: report
    id: 1303
    name: Standard Sales - Draft Invoice
    app: Base Application
    status: modified
  - key: report/1307
    page: report/1307
    type: report
    id: 1307
    name: Standard Sales - Credit Memo
    app: Base Application
    status: modified
  - key: report/1306
    page: report/1306
    type: report
    id: 1306
    name: Standard Sales - Invoice
    app: Base Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues:
  - 8869
work_items:
  - 656996
systems:
  - sales
quote: comment lines are filtered out
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #9879 Fixes #8869: French sales reports must ignore comment lines when evaluating GetGoodsAndServicesText

> In the French localization, the Standard Sales Invoice, Draft Invoice and Credit Memo reports now filter out comment lines when GetGoodsAndServicesText decides whether the document covers goods or services.

[Pull request](https://github.com/microsoft/BCApps/pull/9879) · merged into `main` (BC30) on 2026-11-12 by nicolassaleron (community contribution) · 3 files (+3 -3), 3 AL · fix · tier official · reviewed (checked by Opus)

## What changed

- Comment lines are filtered out when GetGoodsAndServicesText is evaluated
- Previously, comment lines were counted as services on printed documents
- Affects the FR Standard Sales Invoice, Draft Invoice and Credit Memo reports
- Behaviour changes for users or extensions.

## AL objects touched

- [Report 1303 "Standard Sales - Draft Invoice"](../../objects/report/1303.md), Base Application (FR layer): modified
- [Report 1307 "Standard Sales - Credit Memo"](../../objects/report/1307.md), Base Application (FR layer): modified
- [Report 1306 "Standard Sales - Invoice"](../../objects/report/1306.md), Base Application (FR layer): modified

## Context

- Fixes: [#8869 [Bug]: GetGoodsAndServicesText calculates that the document contains services if there is at least one comment line](https://github.com/microsoft/BCApps/issues/8869) (closed)
- Work items: AB#656996
- Labels: ADO: Sync, From Fork, Ownership: Manual, Team: Finance
- Systems: sales
- From the description: "comment lines are filtered out"

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Standard Sales Credit Memo report](https://learn.microsoft.com/dynamics365/business-central/reports/report-1307) — possibly related: touches Report 1307 "Standard Sales - Credit Memo"
- [Standard Sales Draft Invoice report](https://learn.microsoft.com/dynamics365/business-central/reports/report-1303) — possibly related: touches Report 1303 "Standard Sales - Draft Invoice"

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).
