---
id: object/codeunit/10861-fr
type: object
title: Codeunit 10861 "Payment-Apply" (FR)
summary: Codeunit 10861 "Payment-Apply" (FR) in the FR country layer (Microsoft.Bank.Payment). 3 public procedures, 9 events. Introduced in BC29, still in BC30. Obsolete (Pending since 28.0).
tier: official
language: en
tags:
  - codeunit
  - fr layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: "28.0"
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 199108933ba6d5a9c71f361d0e7728ab1418278318132479edb870be447459e4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/FR/BaseApp/Local/BankMgt/Payment/PaymentApply.Codeunit.al
    title: src/Layers/FR/BaseApp/Local/BankMgt/Payment/PaymentApply.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/fr
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 10861
name: Payment-Apply
namespace: Microsoft.Bank.Payment
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete:
  state: Pending
  tag: "28.0"
  reason: Moved to the Payment Management FR first-party app
countries: []
ms_search_form_ids: []
country: FR
counts:
  fields: 0
  procedures: 17
  events: 9
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 10861 "Payment-Apply" (FR)

> Codeunit 10861 "Payment-Apply" (FR) in the FR country layer (Microsoft.Bank.Payment). 3 public procedures, 9 events. Introduced in BC29, still in BC30. Obsolete (Pending since 28.0).

FR country layer · Microsoft.Bank.Payment · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/FR/BaseApp/Local/BankMgt/Payment/PaymentApply.Codeunit.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| TableNo | Payment Line |
| Permissions | TableData "Cust. Ledger Entry" = rm, TableData "Vendor Ledger Entry" = rm |
| ObsoleteState | Pending |
| ObsoleteTag | 28.0 |
| ObsoleteReason | Moved to the Payment Management FR first-party app |

## Events published

- `OnAfterApply(GenJnlLine: Record "Gen. Journal Line")` (integration)
- `OnAfterApplyCustomer(CustLedgEntry: Record "Cust. Ledger Entry"; GenJnlLine: Record "Gen. Journal Line")` (integration)
- `OnAfterApplyVendor(VendLedgEntry: Record "Vendor Ledger Entry"; GenJnlLine: Record "Gen. Journal Line")` (integration)
- `OnBeforeDeleteApply(Rec: Record "Payment Line"; CustLedgEntry: Record "Cust. Ledger Entry"; VendLedgEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)` (integration)
- `OnDeleteApplyOnBeforeCustLedgEntryModifyAll(PaymentLine: Record "Payment Line"; var CustLedgEntry: Record "Cust. Ledger Entry")` (integration)
- `OnDeleteApplyOnBeforeVendLedgEntryModifyAll(PaymentLine: Record "Payment Line"; var VendLedgEntry: Record "Vendor Ledger Entry")` (integration)
- `OnApplyOnElseCase(var PaymentLine: Record "Payment Line"; var GenJnlLine: Record "Gen. Journal Line"; var IsHandled: Boolean)` (integration)
- `OnApplyOnBeforeApplyCustomer(var PaymentLine: Record "Payment Line"; var GenJnlLine: Record "Gen. Journal Line")` (integration)
- `OnApplyOnBeforeApplyVendor(var PaymentLine: Record "Payment Line"; var GenJnlLine: Record "Gen. Journal Line")` (integration)

## Procedures

- `CheckAgainstApplnCurrency(ApplnCurrencyCode: Code[10]; CompareCurrencyCode: Code[10]; AccType: Option "G/L Account",Customer,Vendor,"Bank Account","Fixed Asset"; Message: Boolean): Boolean`
- `GetCurrency()`
- `DeleteApply(Rec: Record "Payment Line")`

Plus 5 local procedures.

## Triggers

OnRun

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none
- Obsolete: Pending since 28.0, "Moved to the Payment Management FR first-party app"

## Deprecations

- object: Pending 28.0 (#if not CLEAN28), "Moved to the Payment Management FR first-party app"

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: "Payment-Apply")`, 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.
