---
id: object/page/623
type: object
title: Page 623 "Unapply Customer Entries"
summary: Page 623 "Unapply Customer Entries" in Base Application (Microsoft.Sales.Receivables). 2 public procedures, 2 events. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: e32c34b6c969af6c06b24cb0250716201cc0a0eb892503b22453d24c1856acab
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Receivables/UnapplyCustomerEntries.Page.al
    title: src/Layers/W1/BaseApp/Sales/Receivables/UnapplyCustomerEntries.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/payables-how-apply-purchase-transactions-manually
    title: Reconcile vendor payment receipts or refunds in the payment journal
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/payables-how-apply-purchase-transactions-manually
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/manage-payables
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 623
name: Unapply Customer Entries
namespace: Microsoft.Sales.Receivables
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/payables-how-apply-purchase-transactions-manually.md
counts:
  fields: 0
  procedures: 6
  events: 2
  subscribers: 0
  controls: 24
  actions: 2
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Page 623 "Unapply Customer Entries"

> Page 623 "Unapply Customer Entries" in Base Application (Microsoft.Sales.Receivables). 2 public procedures, 2 events. Present since at least BC23, still in BC30.

Base Application · Microsoft.Sales.Receivables · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Receivables/UnapplyCustomerEntries.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Unapply Customer Entries |
| SourceTable | Detailed Cust. Ledg. Entry |
| PageType | Worksheet |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | Document No. | `DocNo` | Specifies the document number of the entry to be unapplied. |
|  | Posting Date | `PostingDate` | Specifies the posting date of the entry to be unapplied. |
| Control1 | Posting Date | [Posting Date](../table/379.md#fields) | Specifies the posting date of the detailed customer ledger entry. <small>from the table field</small> |
|  | Entry Type | [Entry Type](../table/379.md#fields) | Specifies the entry type of the detailed customer ledger entry. <small>from the table field</small> |
|  | Document Type | [Document Type](../table/379.md#fields) | Specifies the document type of the detailed customer ledger entry. <small>from the table field</small> |
|  | Document No. | [Document No.](../table/379.md#fields) | Specifies the document number of the transaction that created the entry. <small>from the table field</small> |
|  | Customer No. | [Customer No.](../table/379.md#fields) | Specifies the customer account number to which the entry is posted. <small>from the table field</small> |
|  | Initial Document Type | [Initial Document Type](../table/379.md#fields) | Specifies the document type that the initial customer ledger entry was created with. <small>from the table field</small> |
|  | Initial Document No. | `GetDocumentNo()` | Specifies the number of the document for which the entry is unapplied. |
|  | Initial Entry Global Dim. 1 | [Initial Entry Global Dim. 1](../table/379.md#fields) | Specifies the Global Dimension 1 code of the initial customer ledger entry. <small>from the table field</small> |
|  | Initial Entry Global Dim. 2 | [Initial Entry Global Dim. 2](../table/379.md#fields) | Specifies the Global Dimension 2 code of the initial customer ledger entry. <small>from the table field</small> |
|  | Currency Code | [Currency Code](../table/379.md#fields) | Specifies the code for the currency if the amount is in a foreign currency. <small>from the table field</small> |
|  | Amount | [Amount](../table/379.md#fields) | Specifies the amount of the detailed customer ledger entry. <small>from the table field</small> |
|  | Amount (LCY) | [Amount (LCY)](../table/379.md#fields) | Specifies the amount of the entry in LCY. <small>from the table field</small> |
|  | Debit Amount | [Debit Amount](../table/379.md#fields) | Specifies the total of the ledger entries that represent debits. <small>from the table field</small> |
|  | Debit Amount (LCY) | [Debit Amount (LCY)](../table/379.md#fields) | Specifies the total of the ledger entries that represent debits, expressed in LCY. <small>from the table field</small> |
|  | Credit Amount | [Credit Amount](../table/379.md#fields) | Specifies the total of the ledger entries that represent credits. <small>from the table field</small> |
|  | Credit Amount (LCY) | [Credit Amount (LCY)](../table/379.md#fields) | Specifies the total of the ledger entries that represent credits, expressed in LCY. <small>from the table field</small> |
|  | Initial Entry Due Date | [Initial Entry Due Date](../table/379.md#fields) | Specifies the date on which the initial entry is due for payment. <small>from the table field</small> |
|  | User ID | [User ID](../table/379.md#fields) | Specifies the ID of the user who posted the entry, to be used, for example, in the change log. <small>from the table field</small> |
|  | Source Code | [Source Code](../table/379.md#fields) | Specifies the source code that specifies where the entry was created. <small>from the table field</small> |
|  | Reason Code | [Reason Code](../table/379.md#fields) | Specifies the reason code, a supplementary source code that enables you to trace the entry. <small>from the table field</small> |
|  | Cust. Ledger Entry No. | [Cust. Ledger Entry No.](../table/379.md#fields) | Specifies the entry number of the customer ledger entry that the detailed customer ledger entry line was created for. <small>from the table field</small> |
|  | Entry No. | [Entry No.](../table/379.md#fields) | Specifies the number of the entry, as assigned from the specified number series when the entry was created. <small>from the table field</small> |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Unapply | Unselect one or more ledger entries that you want to unapply this record. |  |
|  | Preview Unapply | Preview how unapplying one or more ledger entries will look like. |  |

## Events published

- `OnBeforeRecInsert(var RecDtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var DtldCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; DtldCustLedgEntry2: Record "Detailed Cust. Ledg. Entry")` (integration): Raised before inserting a detailed customer ledger entry into the temporary table for display.
- `OnInsertEntriesOnAfterSetFilters(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; DetailedCustLedgEntry2: Record "Detailed Cust. Ledg. Entry")` (integration): Raised after filters have been set when inserting entries into the page data source.

## Procedures

- `SetDtldCustLedgEntry(EntryNo: Integer)`: Sets the detailed customer ledger entry to be unapplied and initializes related page variables.
- `Caption(): Text`: Generates the page caption showing customer information and entry number.

Plus 2 local procedures.

## Triggers

OnOpenPage

## Relations

- source table [Table 379 "Detailed Cust. Ledg. Entry"](../table/379.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: none

## Documented on Microsoft Learn

- [Reconcile vendor payment receipts or refunds in the payment journal](https://learn.microsoft.com/dynamics365/business-central/payables-how-apply-purchase-transactions-manually)

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: "page", object_name: "Unapply Customer Entries")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
