---
title: "Codeunit 5915 Customer-Notify by Email, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/points/
object: https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 5915 Customer-Notify by Email, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/points/

2 procedures and triggers with a step in src/Layers/W1/BaseApp/Service/Document/CustomerNotifybyEmail.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 13](https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/source/#L13), trigger.

- [16](https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/source/#L16) calls `NotifyByEMailWhenServiceIsDone`

## NotifyByEMailWhenServiceIsDone

[Line 33](https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/source/#L33), local.

- [46](https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/source/#L46) raises `OnGetEmailForNotifyByEMailWhenServiceIsDone`
- [58](https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/source/#L58) raises `OnBeforeInsertOnNotifyByEMailWhenServiceIsDone`
- [59](https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/source/#L59) writes [Table 5935 Service Email Queue](https://jonas-paprotka.de/ref/table/5935-service-email-queue/) Insert(true)
- [60](https://jonas-paprotka.de/ref/codeunit/5915-customer-notify-by-email/source/#L60) calls [Table 5935 Service Email Queue](https://jonas-paprotka.de/ref/table/5935-service-email-queue/) `ScheduleInJobQueue`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
