---
title: "Page 232 Apply Customer Entries, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/232-apply-customer-entries/points/
object: https://jonas-paprotka.de/ref/page/232-apply-customer-entries/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/page/232-apply-customer-entries/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/"
---

# Page 232 Apply Customer Entries, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/232-apply-customer-entries/points/

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

## AppliesToID.OnValidate

[Line 124](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L124), trigger.

- [132](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L132) calls `SetCustApplId`
- [135](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L135) calls `UpdateCustomAppliesToIDForGenJournal`

## Amount to Apply.OnValidate

[Line 222](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L222), trigger.

- [224](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L224) runs [Codeunit 103 Cust. Entry-Edit](https://jonas-paprotka.de/ref/codeunit/103-cust-entry-edit/)
- [229](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L229) calls `SetCustApplId`
- [231](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L231) calls `AmountToApplyOnAfterValidate`

## Pmt. Discount Date.OnValidate

[Line 250](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L250), trigger.

- [252](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L252) calls `RecalcApplnAmount`

## Remaining Pmt. Disc. Possible.OnValidate

[Line 267](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L267), trigger.

- [269](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L269) calls `RecalcApplnAmount`

## Dimensions.OnAction

[Line 463](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L463), trigger.

- [465](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L465) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `ShowDimensions`

## &Navigate.OnAction

[Line 487](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L487), trigger.

- [489](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L489) calls [Page 344 Navigate](https://jonas-paprotka.de/ref/page/344-navigate/) `SetDoc`

## Set Applies-to ID.OnAction

[Line 510](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L510), trigger.

- [515](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L515) calls `SetCustApplId`

## Post Application.OnAction

[Line 528](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L528), trigger.

- [530](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L530) calls `PostDirectApplication`

## Preview.OnAction

[Line 542](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L542), trigger.

- [544](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L544) calls `PostDirectApplication`

## ShowPostedDocument.OnAction

[Line 582](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L582), trigger.

- [584](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L584) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `ShowDoc`

## ShowDocumentAttachment.OnAction

[Line 595](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L595), trigger.

- [597](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L597) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `ShowPostedDocAttachment`

## OnAfterGetCurrRecord

[Line 659](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L659), trigger.

- [662](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L662) calls `CalcApplnAmount`
- [663](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L663) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `HasPostedDocAttachment`

## Category_Category5.OnAfterGetRecord

[Line 666](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L666), trigger.

- [668](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L668) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `SetStyle`

## OnModifyRecord

[Line 676](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L676), trigger.

- [678](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L678) runs [Codeunit 103 Cust. Entry-Edit](https://jonas-paprotka.de/ref/codeunit/103-cust-entry-edit/)
- [680](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L680) calls `CalcApplnAmount`

## OnOpenPage

[Line 684](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L684), trigger.

- [689](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L689) calls `FindApplyingEntry`
- [692](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L692) calls `ActivateFields`
- [702](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L702) calls `CalcApplnAmount`
- [705](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L705) raises `OnAfterOnOpenPage`

## OnQueryClosePage

[Line 708](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L708), trigger.

- [713](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L713) calls `LookupOKOnPush`
- [717](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L717) raises `OnBeforeEarlierPostingDateError`
- [724](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L724) raises `OnQueryClosePageOnAfterEarlierPostingDateTest`
- [729](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L729) runs [Codeunit 103 Cust. Entry-Edit](https://jonas-paprotka.de/ref/codeunit/103-cust-entry-edit/)
- [740](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L740) raises `OnOnQueryClosePageOnBeforeRunCustEntryEdit`
- [741](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L741) runs [Codeunit 103 Cust. Entry-Edit](https://jonas-paprotka.de/ref/codeunit/103-cust-entry-edit/)

## SetGenJnlLine

[Line 809](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L809).

- [829](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L829) calls `SetApplyingCustLedgEntry`

## SetSales

[Line 838](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L838).

- [845](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L845) calls [Codeunit 80 Sales-Post](https://jonas-paprotka.de/ref/codeunit/80-sales-post/) `SumSalesLines`
- [868](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L868) calls `SetApplyingCustLedgEntry`

## SetApplyingCustLedgEntry

[Line 884](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L884).

- [889](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L889) raises `OnBeforeSetApplyingCustLedgerEntry`, IsHandled
- [893](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L893) calls `SetApplyingCustledgEntrySalesHeader`
- [895](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L895) calls `SetApplyingCustLedgEntryGenJnlLine`
- [897](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L897) calls `SetApplyingCustledgEntryDirect`
- [900](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L900) calls `CalcApplnAmount`
- [903](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L903) raises `OnAfterSetApplyingCustLedgEntry`

## UpdateCustomAppliesToIDForGenJournal

[Line 917](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L917), local.

- [921](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L921) calls `JournalHasDocumentNo`

## SetApplyingCustledgEntrySalesHeader

[Line 939](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L939), local.

- [959](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L959) raises `OnAfterSetApplyingCustLedgEntrySalesHeader`

## SetApplyingCustLedgEntryGenJnlLine

[Line 963](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L963), local.

- [983](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L983) raises `OnAfterSetApplyingCustLedgEntryGenJnlLine`

## SetApplyingCustledgEntryDirect

[Line 986](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L986), local.

- [991](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L991) runs [Codeunit 103 Cust. Entry-Edit](https://jonas-paprotka.de/ref/codeunit/103-cust-entry-edit/)
- [993](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L993) calls `SetCustApplId`
- [999](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L999) calls `SetCustApplId`
- [1006](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1006) raises `OnSetApplyingCustLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount`

## SetCustApplId

[Line 1013](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1013).

- [1016](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1016) calls `CheckCustLedgEntry`
- [1018](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1018) raises `OnSetCustApplIdOnAfterCheckAgainstApplnCurrency`
- [1019](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1019) calls `SetCustEntryApplID`
- [1021](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1021) calls `CalcApplnAmount`

## SetCustEntryApplID

[Line 1024](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1024), local.

- [1029](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1029) raises `OnBeforeSetCustEntryApplID`, IsHandled
- [1029](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1029) calls `GetAppliesToID`
- [1036](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1036) calls [Codeunit 101 Cust. Entry-SetAppl.ID](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/) `SetApplId`
- [1039](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1039) calls [Codeunit 101 Cust. Entry-SetAppl.ID](https://jonas-paprotka.de/ref/codeunit/101-cust-entry-setappl-id/) `SetApplId`
- [1039](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1039) calls `GetAppliesToID`

## CheckCustLedgEntry

[Line 1047](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1047).

- [1055](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1055) raises `OnBeforeEarlierPostingDateError`
- [1061](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1061) raises `OnCheckCustLedgEntryOnAfterEarlierPostingDateTest`
- [1064](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1064) raises `OnCheckCustLedgEntryOnBeforeCheckAgainstApplnCurrency`
- [1067](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1067) raises `OnCheckCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWhenEntryNoIsNotNull`
- [1068](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1068) calls [Codeunit 225 Gen. Jnl.-Apply](https://jonas-paprotka.de/ref/codeunit/225-gen-jnl-apply/) `CheckAgainstApplnCurrency`

## GetAppliesToID

[Line 1074](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1074), local.

- [1082](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1082) raises `OnAfterGetAppliesToID`

## CalcApplnAmount

[Line 1088](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1088).

- [1093](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1093) raises `OnBeforeCalcApplnAmount`, IsHandled
- [1103](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1103) calls `FindAmountRounding`
- [1123](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1123) calls `HandleChosenEntries`
- [1128](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1128) calls `FindAmountRounding`
- [1130](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1130) runs [Codeunit 366 Exchange Acc. G/L Journal Line](https://jonas-paprotka.de/ref/codeunit/366-exchange-acc-g-l-journal-line/)
- [1138](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1138) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `UpdateAmountsForApplication`
- [1140](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1140) raises `OnCalcApplnAmountOnCalcTypeGenJnlLineOnApplnTypeToDocNoOnBeforeSetAppliedAmount`
- [1145](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1145) raises `OnCalcApplnAmountOnCalcTypeGenJnlLineOnApplnTypeToDocNoOnAfterSetAppliedAmount`
- [1147](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1147) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDiscGenJnlCust`
- [1150](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1150) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1153](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1153) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1157](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1157) calls `CheckRounding`
- [1167](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1167) calls `HandleChosenEntries`
- [1174](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1174) calls `FindAmountRounding`
- [1184](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1184) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmtFCYToFCY`
- [1187](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1187) raises `OnCalcApplnAmountOnCalcTypeSalesHeaderOnApplnTypeToDocNoOnBeforeSetAppliedAmount`
- [1192](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1192) calls `CheckRounding`
- [1202](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1202) calls `GetAppliesToID`
- [1204](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1204) calls `HandleChosenEntries`
- [1211](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1211) raises `OnAfterCalcApplnAmount`

## CalcApplnRemainingAmount

[Line 1214](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1214), protected.

- [1225](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1225) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ApplnExchangeAmtFCYToFCY`
- [1228](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1228) raises `OnAfterCalcApplnRemainingAmount`

## CalcApplnAmountToApply

[Line 1232](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1232), local.

- [1244](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1244) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ApplnExchangeAmtFCYToFCY`
- [1247](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1247) raises `OnAfterCalcApplnAmountToApply`

## FindAmountRounding

[Line 1251](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1251), protected.

- [1256](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1256) calls [Table 4 Currency](https://jonas-paprotka.de/ref/table/4-currency/) `InitRoundingPrecision`

## CheckRounding

[Line 1267](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1267).

- [1272](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1272) raises `OnBeforeCheckRounding`, IsHandled

## FindApplyingEntry

[Line 1309](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1309), local.

- [1324](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1324) raises `OnFindFindApplyingEntryOnAfterCustLedgEntrySetFilters`
- [1333](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1333) raises `OnFindApplyingEntryOnBeforeCalcApplnAmount`
- [1334](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1334) calls `CalcApplnAmount`

## HandleChosenEntries

[Line 1338](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1338), protected.

- [1350](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1350) raises `OnBeforeHandledChosenEntries`, IsHandled
- [1359](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1359) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Insert
- [1360](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1360) raises `OnHandleChosenEntriesOnAfterTempAppliedCustLedgEntryInsert`
- [1369](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1369) calls `ExchangeLedgerEntryAmounts`
- [1373](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1373) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDiscCust`
- [1375](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1375) calls [Codeunit 426 Payment Tolerance Management](https://jonas-paprotka.de/ref/codeunit/426-payment-tolerance-management/) `CheckCalcPmtDiscGenJnlCust`
- [1382](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1382) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1385](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1385) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1387](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1387) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1388](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1388) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1391](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1391) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1393](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1393) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1395](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1395) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1399](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1399) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1401](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1401) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1403](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1403) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1406](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1406) calls `CalcOppositeEntriesAmount`
- [1413](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1413) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `GetRemainingPmtDiscPossible`
- [1423](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1423) calls `ExchangeLedgerEntryAmounts`
- [1440](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1440) raises `OnHandleChosenEntriesOnBeforeDeleteTempAppliedCustLedgEntry`
- [1441](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1441) writes [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) Delete
- [1445](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1445) calls `CheckRounding`

## AmountToApplyOnAfterValidate

[Line 1448](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1448), local.

- [1451](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1451) calls `CalcApplnAmount`

## RecalcApplnAmount

[Line 1456](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1456), local.

- [1459](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1459) calls `CalcApplnAmount`

## LookupOKOnPush

[Line 1462](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1462), local.

- [1466](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1466) raises `OnAfterLookupOKOnPush`

## PostDirectApplication

[Line 1469](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1469), local.

- [1481](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1481) raises `OnBeforePostDirectApplication`, IsHandled
- [1488](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1488) calls `IsTheApplicationValid`
- [1489](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1489) calls [Codeunit 226 CustEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/226-custentry-apply-posted-entries/) `GetApplicationDate`
- [1491](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1491) raises `OnPostDirectApplicationBeforeSetValues`
- [1493](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1493) calls [Table 579 Apply Unapply Parameters](https://jonas-paprotka.de/ref/table/579-apply-unapply-parameters/) `CopyFromCustLedgEntry`
- [1494](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1494) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `GetRecordOnce`
- [1502](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1502) calls [Page 579 Post Application](https://jonas-paprotka.de/ref/page/579-post-application/) `SetParameters`
- [1507](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1507) calls [Page 579 Post Application](https://jonas-paprotka.de/ref/page/579-post-application/) `GetParameters`
- [1513](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1513) raises `OnPostDirectApplicationBeforeApply`
- [1515](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1515) calls [Codeunit 226 CustEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/226-custentry-apply-posted-entries/) `PreviewApply`
- [1517](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1517) calls [Codeunit 226 CustEntry-Apply Posted Entries](https://jonas-paprotka.de/ref/codeunit/226-custentry-apply-posted-entries/) `Apply`
- [1519](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1519) raises `OnPostDirectApplicationOnAfterApply`

## ExchangeLedgerEntryAmounts

[Line 1548](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1548).

- [1560](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1560) raises `OnExchangeLedgerEntryAmountsOnBeforeCalculateAmounts`, IsHandled
- [1566](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1566) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1569](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1569) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1572](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1572) calls [Table 330 Currency Exchange Rate](https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/) `ExchangeAmount`
- [1576](https://jonas-paprotka.de/ref/page/232-apply-customer-entries/source/#L1576) raises `OnAfterExchangeLedgerEntryAmounts`

## Source

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

JOP-AL, 2026-11-20.
