---
id: change/bcapps/9440
type: change
title: "#9440 [Extensibility Request] issue 30331: add event to adjust corrective credit memo confirmation text"
summary: An integration event has been added before the corrective credit memo confirmation dialog, allowing extensions to adjust the confirmation text when a posted sales invoice is being corrected.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit correct posted sales invoice
system: sales
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:12:34.610Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ba5732ca9924483f48a5dbfc45e1e00c2be9eeab
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/9440
    title: "microsoft/BCApps#9440: [Extensibility Request] issue 30331: add event to adjust corrective credit memo confirmation text"
    date: "2026-07-15"
    commit: ba5732ca9924483f48a5dbfc45e1e00c2be9eeab
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/1303
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 9440
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/9440
kind: pr
base_branch: main
major: "30"
merged_at: "2026-07-15T12:59:14Z"
author: AleksandricMarko
author_type: User
community_contribution: false
labels:
  - "Team: SCM"
  - event-request
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 3
  additions: 51
  deletions: 6
  al: 3
apps:
  - Base Application
objects_touched:
  - key: codeunit/1303
    page: codeunit/1303
    type: codeunit
    id: 1303
    name: Correct Posted Sales Invoice
    app: Base Application
    status: modified
objects_unjoined:
  - path: src/Layers/ES/BaseApp/Sales/History/CorrectPostedSalesInvoice.Codeunit.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 641775
systems:
  - sales
quote: null
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #9440 [Extensibility Request] issue 30331: add event to adjust corrective credit memo confirmation text

> An integration event has been added before the corrective credit memo confirmation dialog, allowing extensions to adjust the confirmation text when a posted sales invoice is being corrected.

[Pull request](https://github.com/microsoft/BCApps/pull/9440) · merged into `main` (BC30) on 2026-07-15 by AleksandricMarko · 3 files (+51 -6), 3 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New integration event `OnCreateCreditMemoCopyDocumentOnBeforeConfirm` fires before the confirmation dialog appears
- Event exposes the posted invoice, originating sales order, and modifiable confirmation text
- Enables extensions to customize confirmation text to reflect their own behavior changes
- Change applied across W1, APAC, and ES layers

## AL objects touched

- [Codeunit 1303 "Correct Posted Sales Invoice"](../../objects/codeunit/1303.md), Base Application: modified
- `src/Layers/ES/BaseApp/Sales/History/CorrectPostedSalesInvoice.Codeunit.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#641775
- Labels: Team: SCM, event-request
- Systems: sales

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
