#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.
- 3files
- 3AL files
- 3objects
Pull request · 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”, Base Application (FR layer): modified
- Report 1307 “Standard Sales - Credit Memo”, Base Application (FR layer): modified
- Report 1306 “Standard Sales - Invoice”, Base Application (FR layer): modified
Context
- Fixes: #8869 [Bug]: GetGoodsAndServicesText calculates that the document contains services if there is at least one comment line (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 — possibly related: touches Report 1307 “Standard Sales - Credit Memo”
- Standard Sales Draft Invoice report — 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).