---
title: "Page 5939 Serv. Apply Customer Entries"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/page/5939-serv-apply-customer-entries/
type: page
id: 5939
name: "Serv. Apply Customer Entries"
app: "Base Application"
namespace: Microsoft.Sales.Receivables
versions: "25-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/page/5939-serv-apply-customer-entries/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Page 5939 Serv. Apply Customer Entries

Jonas Paprotka, https://jonas-paprotka.de/ref/page/5939-serv-apply-customer-entries/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Sales.Receivables |
| Versions | 25-28 |
| Source table | 21 |
| Source file | Service/Sales/Receivables/ServApplyCustomerEntries.Page.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetService | (Record Service Header, var Record Cust. Ledger Entry, Integer) | - | public | 25-28 | - | - |
| SetCustLedgEntry | (Record Cust. Ledger Entry) | - | public | 25-28 | - | - |
| SetApplyingCustLedgEntry | () | - | public | 25-28 | - | - |
| GetCustomAppliesToID | () | Code[50] | internal | 25-28 | - | - |
| SetCustApplId | (Boolean) | - | public | 25-28 | - | - |
| CheckCustLedgEntry | (var Record Cust. Ledger Entry) | - | public | 25-28 | - | - |
| CalcApplnAmount | () | - | public | 25-28 | - | - |
| CalcApplnRemainingAmount | (Decimal) | Decimal | protected | 25-28 | - | - |
| FindAmountRounding | () | - | protected | 25-28 | - | - |
| CheckRounding | () | - | public | 25-28 | - | - |
| GetCustLedgEntry | (var Record Cust. Ledger Entry) | - | public | 25-28 | - | - |
| HandleChosenEntries | (Enum Customer Apply Calculation Type, Decimal, Code[10], Date) | - | protected | 25-28 | - | - |
| SetAppliesToID | (Code[50]) | - | public | 25-28 | - | - |
| ExchangeLedgerEntryAmounts | (Enum Customer Apply Calculation Type, Code[10], var Record Cust. Ledger Entry, Date) | - | public | 25-28 | - | - |
| CalcOppositeEntriesAmount | (var Record Cust. Ledger Entry) | Decimal | public | 25-28 | - | - |
| GetApplnCurrencyCode | () | Code[10] | public | 25-28 | - | - |
| GetCalcType | () | Integer | public | 25-28 | - | - |
| SetCalcType | (Enum Customer Apply Calculation Type) | - | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCalcApplnAmount | (Record Cust. Ledger Entry, var Decimal, var Decimal, var Enum Customer Apply Calculation Type, var Record Cust. Ledger Entry, var Record Gen. Journal Line) | 25-28 | - | - |
| Integration event | OnAfterCalcApplnAmountToApply | (Record Cust. Ledger Entry, var Decimal) | 25-28 | - | - |
| Integration event | OnAfterCalcApplnRemainingAmount | (Record Cust. Ledger Entry, var Decimal) | 25-28 | - | - |
| Integration event | OnAfterExchangeLedgerEntryAmounts | (var Record Cust. Ledger Entry, Record Cust. Ledger Entry, Code[10]) | 25-28 | - | - |
| Integration event | OnAfterGetAppliesToID | (Enum Customer Apply Calculation Type, var Code[50]) | 25-28 | - | - |
| Integration event | OnAfterLookupOKOnPush | (var Boolean) | 25-28 | - | - |
| Integration event | OnAfterOnOpenPage | (var Record Gen. Journal Line, var Record Cust. Ledger Entry, var Record Cust. Ledger Entry) | 25-28 | - | - |
| Integration event | OnAfterSetApplyingCustLedgEntry | (var Record Cust. Ledger Entry, Record Gen. Journal Line, Record Service Header) | 25-28 | - | - |
| Integration event | OnBeforeCalcApplnAmount | (var Record Cust. Ledger Entry, var Record Gen. Journal Line, Record Service Header, var Record Cust. Ledger Entry, Option, Option, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeCheckRounding | (Enum Customer Apply Calculation Type, var Decimal, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeHandledChosenEntries | (Option, Decimal, Code[10], Date, var Record Cust. Ledger Entry, var Boolean, var Record Cust. Ledger Entry) | 25-28 | - | - |
| Integration event | OnBeforeEarlierPostingDateError | (Record Cust. Ledger Entry, Record Cust. Ledger Entry, var Boolean, Option, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforePostDirectApplication | (var Record Cust. Ledger Entry, Boolean, var Boolean, var Record Cust. Ledger Entry) | 25-28 | - | - |
| Integration event | OnBeforeSetApplyingCustLedgEntry | (var Record Cust. Ledger Entry, Record Gen. Journal Line, var Record Service Header, var Enum Customer Apply Calculation Type, var Boolean) | 25-28 | - | - |
| Integration event | OnBeforeSetCustEntryApplID | (Record Cust. Ledger Entry, Boolean, var Decimal, var Record Cust. Ledger Entry, Code[50], var Boolean, var Record Gen. Journal Line) | 25-28 | - | - |
| Integration event | OnCalcApplnAmountOnCalcTypeGenJnlLineOnApplnTypeToDocNoOnBeforeSetAppliedAmount | (var Record Cust. Ledger Entry, Date, Code[10]) | 25-28 | - | - |
| Integration event | OnCheckCustLedgEntryOnBeforeCheckAgainstApplnCurrency | (var Record Cust. Ledger Entry, Record Gen. Journal Line, var Record Cust. Ledger Entry, Enum Customer Apply Calculation Type) | 25-28 | - | - |
| Integration event | OnCalcApplnAmountOnCalcTypeGenJnlLineOnApplnTypeToDocNoOnAfterSetAppliedAmount | (var Record Cust. Ledger Entry, Date, Code[10], var Decimal) | 25-28 | - | - |
| Integration event | OnCalcApplnAmountOnCalcTypeSalesHeaderOnApplnTypeToDocNoOnBeforeSetAppliedAmount | (var Record Cust. Ledger Entry, Date, Code[10]) | 25-28 | - | - |
| Integration event | OnFindFindApplyingEntryOnAfterCustLedgEntrySetFilters | (Record Cust. Ledger Entry, var Record Cust. Ledger Entry) | 25-28 | - | - |
| Integration event | OnFindApplyingEntryOnBeforeCalcApplnAmount | (var Record Cust. Ledger Entry) | 25-28 | - | - |
| Integration event | OnHandleChosenEntriesOnAfterTempAppliedCustLedgEntryInsert | (var Record Cust. Ledger Entry) | 25-28 | - | - |
| Integration event | OnHandleChosenEntriesOnBeforeDeleteTempAppliedCustLedgEntry | (var Record Cust. Ledger Entry, Record Cust. Ledger Entry, Code[10]) | 25-28 | - | - |
| Integration event | OnSetCustApplIdAfterCheckAgainstApplnCurrency | (var Record Cust. Ledger Entry, Option, var Record Gen. Journal Line, Record Service Header, Record Cust. Ledger Entry) | 25-28 | - | - |
| Integration event | OnSetApplyingCustLedgEntryOnBeforeCalcTypeDirectCalcApplnAmount | (var Record Cust. Ledger Entry, var Decimal, var Record Cust. Ledger Entry) | 25-28 | Pending 27.0 | This event is never raised. |
| Integration event | OnOnQueryClosePageOnBeforeRunCustEntryEdit | (var Record Cust. Ledger Entry) | 25-28 | - | - |
| Integration event | OnPostDirectApplicationBeforeSetValues | (var Date) | 25-28 | - | - |
| Integration event | OnPostDirectApplicationBeforeApply | (Record General Ledger Setup, var Record Apply Unapply Parameters) | 25-28 | - | - |
| Integration event | OnAfterSetApplyingCustLedgEntryServiceHeader | (var Record Cust. Ledger Entry, var Record Service Header) | 25-28 | - | - |
| Integration event | OnAfterSetApplyingCustLedgEntryGenJnlLine | (var Record Cust. Ledger Entry, var Record Gen. Journal Line) | 25-28 | Pending 27.0 | This event is never raised. |
| Integration event | OnExchangeLedgerEntryAmountsOnBeforeCalculateAmounts | (var Record Cust. Ledger Entry, Record Cust. Ledger Entry, Code[10], Boolean, var Boolean) | 25-28 | - | - |
| Integration event | OnCheckCustLedgEntryOnAfterEarlierPostingDateTest | (Record Cust. Ledger Entry, Record Cust. Ledger Entry, Enum Customer Apply Calculation Type, var Boolean) | 25-28 | - | - |
| Integration event | OnQueryClosePageOnAfterEarlierPostingDateTest | (Record Cust. Ledger Entry, Record Cust. Ledger Entry, Enum Customer Apply Calculation Type, var Boolean) | 25-28 | - | - |
| Integration event | OnCheckCustLedgEntryOnBeforeCheckAgainstApplnCurrencyWhenEntryNoIsNotNull | (Record Cust. Ledger Entry, Record Gen. Journal Line) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
