---
id: object/codeunit/1395
type: object
title: Codeunit 1395 "Cancel Issued Fin. Charge Memo"
summary: Codeunit 1395 "Cancel Issued Fin. Charge Memo" in Base Application (Microsoft.Sales.FinanceCharge). 5 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC25, BC28.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: f2d8cab4e67152233639b7161a3fb2714e5f88d007b9f004c2d7612e8fb188f8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/FinanceCharge/CancelIssuedFinChargeMemo.Codeunit.al
    title: src/Layers/W1/BaseApp/Sales/FinanceCharge/CancelIssuedFinChargeMemo.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 1395
name: Cancel Issued Fin. Charge Memo
namespace: Microsoft.Sales.FinanceCharge
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 23
  events: 4
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 0
  implements: 0
---

# Codeunit 1395 "Cancel Issued Fin. Charge Memo"

> Codeunit 1395 "Cancel Issued Fin. Charge Memo" in Base Application (Microsoft.Sales.FinanceCharge). 5 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC25, BC28.

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

## Properties

| Property | Value |
|---|---|
| TableNo | Issued Fin. Charge Memo Header |
| Permissions | TableData "Cust. Ledger Entry" = rm, TableData "Reminder/Fin. Charge Entry" = rm, TableData "Issued Fin. Charge Memo Header" = rm, TableData "Issued Fin. Charge Memo Line" = rm |

## Events published

- `OnAfterInitGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; IssuedFinChargeMemoHeader: Record "Issued Fin. Charge Memo Header")` (integration): Raised after a general journal line is initialized for posting the cancellation entry.
- `OnAfterCancelIssuedFinChargeMemo(var IssuedFinChargeMemoHeader: Record "Issued Fin. Charge Memo Header")` (integration): Raised after the issued finance charge memo cancellation completes successfully.
- `OnBeforeCancelIssuedFinChargeMemo(var IssuedFinChargeMemoHeader: Record "Issued Fin. Charge Memo Header")` (integration): Raised before the issued finance charge memo cancellation process begins.
- `OnCheckAppliedFinChargeMemoCustLedgerEntryOnAfterCalcAmounts(var CustLedgerEntry: Record "Cust. Ledger Entry")` (integration): Raised after calculating amount fields on the customer ledger entry during applied entry check.

## Procedures

- `GetAppliedCustomerLedgerEntryNotificationId(): Guid`: Gets the unique identifier for the applied customer ledger entry notification.
- `GetErrorMessages(var TempErrorMessageResult: Record "Error Message" temporary): Boolean`: Retrieves accumulated error messages from the cancellation process.
- `SetParameters(NewUseSameDocumentNo: Boolean; NewUseSamePostingDate: Boolean; PostingDate: Date; NewSkipShowNotification: Boolean)`: Sets the parameters used when canceling an issued finance charge memo.
- `SetGenJnlBatch(NewGenJnlBatch: Record "Gen. Journal Batch")`: Sets the general journal batch to use when posting the cancellation entries.
- `ShowCustomerLedgerEntry(Notification: Notification)`: Opens the Customer Ledger Entries page filtered to the entry specified in the notification.

Plus 14 local procedures.

## Triggers

OnRun

## Relations

- runs on [Table 304 "Issued Fin. Charge Memo Header"](../table/304.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (2 calls: `SetDimensions → AddDimSource`, `SetDimensions → GetRecDefaultDimID`)
- [Codeunit 12 "Gen. Jnl.-Post Line"](../codeunit/12.md) (1 call: `PostGenJnlLines → RunWithCheck`)
- [Codeunit 1511 "Notification Lifecycle Mgt."](../codeunit/1511.md) (1 call: `ShowAppliedCustomerLedgerEntryNotification → SendNotificationWithAdditionalContext`)
- [Page 25 "Customer Ledger Entries"](../page/25.md) (1 call: `ShowCustomerLedgerEntry → (object)`)
- [Page 456 "No. Series"](../page/456.md) (1 call: `GetDocumentNoAndPostingDate → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25, BC28

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). The call sections above are our own, per object, from the BC29 call graph. 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: "Cancel Issued Fin. Charge Memo")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
