---
id: object/codeunit/1393
type: object
title: Codeunit 1393 "Cancel Issued Reminder"
summary: Codeunit 1393 "Cancel Issued Reminder" in Base Application (Microsoft.Sales.Reminder). 6 public procedures, 9 events. Present since at least BC23, still in BC30, changed in BC24-25.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "25"
  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: f5b983b54fd305f2b2128d3580f8cd69330b4dc5f0510f815b0c7a6c48c4344b
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Sales/Reminder/CancelIssuedReminder.Codeunit.al
    title: src/Layers/W1/BaseApp/Sales/Reminder/CancelIssuedReminder.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: 1393
name: Cancel Issued Reminder
namespace: Microsoft.Sales.Reminder
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 32
  events: 9
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 0
  implements: 0
---

# Codeunit 1393 "Cancel Issued Reminder"

> Codeunit 1393 "Cancel Issued Reminder" in Base Application (Microsoft.Sales.Reminder). 6 public procedures, 9 events. Present since at least BC23, still in BC30, changed in BC24-25.

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

## Properties

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

## Events published

- `OnAfterInitGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; IssuedReminderHeader: Record "Issued Reminder Header")` (integration): Raised after initializing a general journal line for reminder cancellation posting.
- `OnAfterCheckIssuedReminder(IssuedReminderHeader: Record "Issued Reminder Header"; SkipShowNotification: boolean; var TempErrMessage: Record "Error Message" temporary; var Result: Boolean)` (integration): Raised after checking if an issued reminder can be canceled.
- `OnAfterCancelIssuedReminder(var IssuedReminderHeader: Record "Issued Reminder Header")` (integration): Raised after an issued reminder is successfully canceled.
- `OnBeforeCancelIssuedReminder(var IssuedReminderHeader: Record "Issued Reminder Header")` (integration): Raised before canceling an issued reminder.
- `OnCancelIssuedReminderOnBeforeProcessIssuedReminderLine(var IssuedReminderLine: Record "Issued Reminder Line"; var ReminderInterestAmount: Decimal; var ReminderInterestVATAmount: Decimal; DocumentNo: Code[20]; PostingDate: Date; var IsHandled: Boolean)` (integration): Raised before processing each issued reminder line during cancellation.
- `OnCheckAppliedReminderCustLedgerEntryOnAfterCalcFields(var CustLedgerEntry: Record "Cust. Ledger Entry")` (integration): Raised after calculating the amount fields on the customer ledger entry during applied entry check.
- `OnCheckNextReminderLevelOnAfterFilterIssuedReminderLine2(IssuedReminderHeader: Record "Issued Reminder Header"; var IssuedReminderLine: Record "Issued Reminder Line"; var IssuedReminderLine2: Record "Issued Reminder Line")` (integration): Raised after applying filters to find the next reminder level during validation.
- `OnDecreaseCustomerLedgerEntryLastIssuedReminderLevelOnBeforeModify(var CustLedgerEntry: Record "Cust. Ledger Entry")` (integration): Raised before modifying the customer ledger entry to decrease the last issued reminder level.
- `OnBeforeSetReminderEntryCancelled(var ReminderFinChargeEntry: Record "Reminder/Fin. Charge Entry"; IssuedReminderLine: Record "Issued Reminder Line"; var IsHandled: boolean)` (integration): Raised before setting the reminder entry as canceled.

## Procedures

- `GetErrorMessages(var TempErrorMessageResult: Record "Error Message" temporary): Boolean`: Retrieves the error messages that occurred during the cancellation process.
- `SetParameters(NewUseSameDocumentNo: Boolean; NewUseSamePostingDate: Boolean; PostingDate: Date; NewUseSameVATDate: Boolean; VATDate: Date; NewSkipShowNotification: Boolean)`: Sets the cancellation parameters including VAT date options for processing issued reminders.
- `SetParameters(NewUseSameDocumentNo: Boolean; NewUseSamePostingDate: Boolean; PostingDate: Date; NewSkipShowNotification: Boolean)`: Sets the cancellation parameters with VAT date defaulting to the original reminder date.
- `SetGenJnlBatch(NewGenJnlBatch: Record "Gen. Journal Batch")`: Sets the general journal batch to use for posting cancellation entries.
- `ShowIssuedReminder(Notification: Notification)`: Opens the issued reminder card page for the reminder number specified in the notification.
- `ShowCustomerLedgerEntry(Notification: Notification)`: Opens the customer ledger entries page for the entry number specified in the notification.

Plus 17 local procedures.

## Triggers

OnRun

## Relations

- runs on [Table 297 "Issued Reminder Header"](../table/297.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 1511 "Notification Lifecycle Mgt."](../codeunit/1511.md) (2 calls: `ShowAppliedCustomerLedgerEntryNotification → SendNotificationWithAdditionalContext`, `ShowNextLevelReminderNotification → SendNotificationWithAdditionalContext`)
- [Codeunit 12 "Gen. Jnl.-Post Line"](../codeunit/12.md) (1 call: `PostGenJnlLines → RunWithCheck`)
- [Page 25 "Customer Ledger Entries"](../page/25.md) (1 call: `ShowCustomerLedgerEntry → (object)`)
- [Page 438 "Issued Reminder"](../page/438.md) (1 call: `ShowIssuedReminder → (object)`)
- [Page 456 "No. Series"](../page/456.md) (1 call: `GetDocumentNoAndDates → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-25

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 Reminder")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
