---
title: "Codeunit 1390 Document Notifications, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/points/
object: https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/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 1390 Document Notifications, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/points/

23 procedures and triggers with a step in src/Layers/W1/BaseApp/Utilities/DocumentNotifications.Codeunit.al, in source order, read from the text, not from a run.

## CopySellToCustomerAddressFieldsFromSalesDocument

[Line 24](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L24).

- [33](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L33) raises `OnBeforeCopySellToCustomerAddressFieldsFromSalesDocument`
- [39](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L39) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetName`
- [40](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L40) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetExistingAddress`
- [40](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L40) calls `GetCustomerFullAddress`
- [41](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L41) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetUpdatedAddress`
- [41](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L41) calls `GetSalesHeaderFullSellToAddress`
- [44](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L44) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `SetAddress`
- [47](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L47) raises `OnCopySellToCustomerAddressFieldsFromSalesDocumentOnBeforeModify`
- [48](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L48) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify(true)

## CopyBillToCustomerAddressFieldsFromSalesDocument

[Line 53](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L53).

- [62](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L62) raises `OnBeforeCopyBillToCustomerAddressFieldsFromSalesDocument`
- [68](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L68) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetExistingAddress`
- [68](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L68) calls `GetCustomerFullAddress`
- [69](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L69) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetName`
- [70](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L70) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetUpdatedAddress`
- [70](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L70) calls `GetSalesHeaderFullBillToAddress`
- [73](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L73) calls [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `SetAddress`
- [76](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L76) raises `OnCopyBillToCustomerAddressFieldsFromSalesDocumentOnBeforeModify`
- [77](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L77) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify(true)

## GetCustomerFullAddress

[Line 82](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L82), local.

- [94](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L94) calls `FormatAddress`
- [95](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L95) raises `OnAfterGetCustomerFullAddress`

## GetSalesHeaderFullSellToAddress

[Line 98](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L98), local.

- [110](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L110) calls `FormatAddress`

## GetSalesHeaderFullBillToAddress

[Line 113](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L113), local.

- [125](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L125) calls `FormatAddress`

## HideNotificationForCurrentUser

[Line 143](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L143).

- [147](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L147) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `DontNotifyCurrentUserAgain`

## EnableModifyCustomerAddressNotificationOnInitializingWithDefaultState

[Line 151](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L151), local.

- [155](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L155) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `SetModifyCustomerAddressNotificationDefaultState`

## EnableModifyBillToCustomerAddressNotificationOnInitializingWithDefaultState

[Line 159](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L159), local.

- [163](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L163) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `SetModifyBillToCustomerAddressNotificationDefaultState`

## CopyBuyFromVendorAddressFieldsFromSalesDocument

[Line 166](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L166).

- [175](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L175) raises `OnBeforeCopyBuyFromVendorAddressFieldsFromSalesDocument`
- [181](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L181) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetName`
- [182](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L182) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetExistingAddress`
- [182](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L182) calls `GetVendorFullAddress`
- [183](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L183) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetUpdatedAddress`
- [183](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L183) calls `GetPurchaseHeaderFullBuyFromAddress`
- [186](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L186) calls [Table 23 Vendor](https://jonas-paprotka.de/ref/table/23-vendor/) `SetAddress`
- [189](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L189) raises `OnCopyBuyFromVendorAddressFieldsFromSalesDocumentOnBeforeModify`
- [190](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L190) writes [Table 23 Vendor](https://jonas-paprotka.de/ref/table/23-vendor/) Modify(true)

## CopyPayToVendorAddressFieldsFromSalesDocument

[Line 195](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L195).

- [204](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L204) raises `OnBeforeCopyPayToVendorAddressFieldsFromSalesDocument`
- [210](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L210) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetName`
- [211](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L211) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetUpdatedAddress`
- [211](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L211) calls `GetPurchaseHeaderFullPayToAddress`
- [212](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L212) calls [Page 1330 Update Address](https://jonas-paprotka.de/ref/page/1330-update-address/) `SetExistingAddress`
- [212](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L212) calls `GetVendorFullAddress`
- [215](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L215) calls [Table 23 Vendor](https://jonas-paprotka.de/ref/table/23-vendor/) `SetAddress`
- [218](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L218) raises `OnCopyPayToVendorAddressFieldsFromSalesDocumentOnBeforeModify`
- [219](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L219) writes [Table 23 Vendor](https://jonas-paprotka.de/ref/table/23-vendor/) Modify(true)

## ShowVendorLedgerEntry

[Line 224](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L224).

- [236](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L236) runs [Page 29 Vendor Ledger Entries](https://jonas-paprotka.de/ref/page/29-vendor-ledger-entries/)

## ShowGLSetup

[Line 239](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L239).

- [244](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L244) runs [Page 118 General Ledger Setup](https://jonas-paprotka.de/ref/page/118-general-ledger-setup/)

## ShowUserSetup

[Line 247](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L247).

- [252](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L252) runs [Page 119 User Setup](https://jonas-paprotka.de/ref/page/119-user-setup/)

## GetVendorFullAddress

[Line 255](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L255), local.

- [267](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L267) calls `FormatAddress`
- [268](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L268) raises `OnAfterGetVendorFullAddress`

## GetPurchaseHeaderFullBuyFromAddress

[Line 271](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L271), local.

- [283](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L283) calls `FormatAddress`

## GetPurchaseHeaderFullPayToAddress

[Line 286](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L286), local.

- [298](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L298) calls `FormatAddress`

## HidePurchaseNotificationForCurrentUser

[Line 301](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L301).

- [305](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L305) calls [Table 38 Purchase Header](https://jonas-paprotka.de/ref/table/38-purchase-header/) `DontNotifyCurrentUserAgain`

## EnableModifyVendorAddressNotificationOnInitializingWithDefaultState

[Line 309](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L309), local.

- [313](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L313) calls [Table 38 Purchase Header](https://jonas-paprotka.de/ref/table/38-purchase-header/) `SetModifyVendorAddressNotificationDefaultState`

## EnableModifyPayToVendorAddressNotificationOnInitializingWithDefaultState

[Line 317](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L317), local.

- [321](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L321) calls [Table 38 Purchase Header](https://jonas-paprotka.de/ref/table/38-purchase-header/) `SetModifyPayToVendorAddressNotificationDefaultState`

## EnablePurchExternalDocAlreadyExistNotificationOnInitializingWithDefaultState

[Line 325](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L325), local.

- [329](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L329) calls [Table 38 Purchase Header](https://jonas-paprotka.de/ref/table/38-purchase-header/) `SetShowExternalDocAlreadyExistNotificationDefaultState`

## EnableSalesExternalDocAlreadyExistNotificationOnInitializingWithDefaultState

[Line 333](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L333), local.

- [337](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L337) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `SetShowExternalDocAlreadyExistNotificationDefaultState`

## EnableWarningWhenPostingSalesQtyZero

[Line 341](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L341), local.

- [345](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L345) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `SetWarnZeroQuantitySalesPosting`

## EnableWarningWhenPostingPurchaseQtyZero

[Line 349](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L349), local.

- [353](https://jonas-paprotka.de/ref/codeunit/1390-document-notifications/source/#L353) calls [Table 38 Purchase Header](https://jonas-paprotka.de/ref/table/38-purchase-header/) `SetWarnZeroQuantityPurchasePosting`

## Source

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

JOP-AL, 2026-11-20.
