---
title: "Codeunit 101 Cust. Entry-SetAppl.ID, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/points/
object: https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 101 Cust. Entry-SetAppl.ID, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/points/

3 procedures and triggers with a step in src/Layers/W1/BaseApp/Sales/Receivables/CustEntrySetApplID.Codeunit.al, in source order, read from the text, not from a run.

## SetApplId

[Line 27](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L27).

- [33](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L33) raises `OnBeforeSetApplId`, IsHandled
- [51](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L51) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Insert
- [57](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L57) calls `UpdateCustLedgerEntry`

## UpdateCustLedgerEntry

[Line 61](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L61), local.

- [67](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L67) raises `OnBeforeUpdateCustLedgerEntry`, IsHandled
- [90](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L90) raises `OnUpdateCustLedgerEntryOnBeforeCustLedgerEntryModify`
- [91](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L91) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Modify
- [93](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L93) raises `OnAfterUpdateCustLedgerEntry`

## RemoveApplId

[Line 101](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L101).

- [110](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/source/#L110) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Modify

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
