---
id: object/codeunit/10815-fr
type: object
title: Codeunit 10815 "Sales FR" (FR)
summary: Codeunit 10815 "Sales FR" (FR) in the FR country layer (Microsoft.Sales.SalesFR). 5 public procedures, 4 event subscribers. Introduced in BC29, still in BC30. Obsolete (Pending since 30.0).
tier: official
language: en
tags:
  - codeunit
  - fr layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: "30.0"
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-11-23T00:49:55.504Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 1b350497a452ed78866f6356cd40c6a1c9f61f26f8ba16694323601dac2d8f3e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/6a9588a817c12a5d35d3e6c4ad40e29ecca88acf/src/Apps/FR/SalesFR/app/src/Codeunits/SalesFR.Codeunit.al
    title: src/Apps/FR/SalesFR/app/src/Codeunits/SalesFR.Codeunit.al (releases/29.x)
    date: null
    commit: 6a9588a817c12a5d35d3e6c4ad40e29ecca88acf
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/fr
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9143
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/sales-powerbi-app
      title: Power BI Sales app
      label: possibly related
      why: Sales FR codeunit implements features tracked in Power BI Sales app analytics
      by: model
object_type: codeunit
object_id: 10815
name: Sales FR
namespace: Microsoft.Sales.SalesFR
app: SalesFR
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete:
  state: Pending
  tag: "30.0"
  reason: Feature SalesFR will be enabled by default in version 31.0.
countries: []
ms_search_form_ids: []
country: FR
counts:
  fields: 0
  procedures: 9
  events: 0
  subscribers: 4
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 10815 "Sales FR" (FR)

> Codeunit 10815 "Sales FR" (FR) in the FR country layer (Microsoft.Sales.SalesFR). 5 public procedures, 4 event subscribers. Introduced in BC29, still in BC30. Obsolete (Pending since 30.0).

FR country layer · Microsoft.Sales.SalesFR · BC29-30 · [source at 6a9588a8](https://github.com/microsoft/BCApps/blob/6a9588a817c12a5d35d3e6c4ad40e29ecca88acf/src/Apps/FR/SalesFR/app/src/Codeunits/SalesFR.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| ObsoleteState | Pending |
| ObsoleteTag | 30.0 |
| ObsoleteReason | Feature SalesFR will be enabled by default in version 31.0. |

## Event subscriptions

- CustomerOnAfterGetSIRENNoWithCaption subscribes to Table "Customer" OnAfterGetSIRENNoWithCaption
- SalesInvoiceOnAfterGetVATPaidOnDebitsText subscribes to Report "Standard Sales - Invoice" OnAfterGetVATPaidOnDebitsText
- SalesCreditMemoOnAfterGetVATPaidOnDebitsText subscribes to Report "Standard Sales - Credit Memo" OnAfterGetVATPaidOnDebitsText
- SalesDraftInvoiceOnAfterGetVATPaidOnDebitsText subscribes to Report "Standard Sales - Draft Invoice" OnAfterGetVATPaidOnDebitsText

## Procedures

- `IsEnabled(): Boolean`
- `GetFeatureKeyId(): Text`
- `LogFeatureDiscovered()`
- `LogFeatureSetUp()`
- `LogFeatureUsed()`

## Recent changes

- 2026-10-20 [#9143 Move French sales specifics to the new Sales FR first-party app](../../changes/bcapps/9143.md) (main, BC30, refactor, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none
- Obsolete: Pending since 30.0, "Feature SalesFR will be enabled by default in version 31.0."

## Possibly related

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

- [Power BI Sales app](https://learn.microsoft.com/dynamics365/business-central/sales-powerbi-app) — possibly related: Sales FR codeunit implements features tracked in Power BI Sales app analytics (model-linked)

## Deprecations

- object: Pending 30.0 (#if not CLEAN30), "Feature SalesFR will be enabled by default in version 31.0."

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: "Sales FR")`, 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.
