---
title: "Codeunit 99 Posting Selection Management, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/points/
object: https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/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 99 Posting Selection Management, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/points/

12 procedures and triggers with a step in src/Layers/W1/BaseApp/Finance/ReceivablesPayables/PostingSelectionManagement.Codeunit.al, in source order, read from the text, not from a run.

## ConfirmPostSalesDocument

[Line 60](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L60).

- [79](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L79) raises `OnConfirmPostSalesDocumentOnBeforeSalesOrderGetSalesInvoicePostingPolicy`, IsHandled
- [81](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L81) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetSalesInvoicePostingPolicy`
- [85](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L85) calls `GetSalesOrderPostingSelection`
- [92](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L92) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [92](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L92) calls `GetShipConfirmationMessage`
- [95](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L95) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [95](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L95) calls `GetShipInvoiceConfirmationMessage`
- [102](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L102) raises `OnConfirmPostSalesDocumentOnBeforeSalesOrderReturnGetSalesInvoicePostingPolicy`, IsHandled
- [104](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L104) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetSalesInvoicePostingPolicy`
- [115](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L115) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [115](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L115) calls `GetReceiveConfirmationMessage`
- [118](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L118) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [118](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L118) calls `GetReceiveInvoiceConfirmationMessage`
- [124](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L124) calls `CheckUserCanInvoiceSales`
- [125](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L125) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [126](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L126) calls `GetPostConfirmationMessage`
- [131](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L131) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [132](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L132) calls `GetPostConfirmationMessage`

## ConfirmPostPurchaseDocument

[Line 149](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L149).

- [168](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L168) raises `OnConfirmPostPurchaseDocumentOnBeforePurchaseOrderGetPurchaseInvoicePostingPolicy`, IsHandled
- [170](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L170) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetPurchaseInvoicePostingPolicy`
- [174](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L174) calls `GetPurchaseOrderPostingSelection`
- [181](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L181) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [181](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L181) calls `GetReceiveConfirmationMessage`
- [184](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L184) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [184](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L184) calls `GetReceiveInvoiceConfirmationMessage`
- [191](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L191) raises `OnConfirmPostPurchaseDocumentOnBeforePurchaseReturnOrderGetPurchaseInvoicePostingPolicy`, IsHandled
- [193](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L193) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetPurchaseInvoicePostingPolicy`
- [204](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L204) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [204](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L204) calls `GetShipConfirmationMessage`
- [207](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L207) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [207](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L207) calls `GetShipInvoiceConfirmationMessage`
- [213](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L213) calls `CheckUserCanInvoicePurchase`
- [214](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L214) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [215](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L215) calls `GetPostConfirmationMessage`
- [220](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L220) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [221](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L221) calls `GetPostConfirmationMessage`

## ConfirmPostWarehouseActivity

[Line 239](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L239).

- [256](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L256) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [259](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L259) calls `GetReceiveInvoiceSelectionForWhseActivity`
- [267](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L267) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [270](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L270) calls `GetShipInvoiceSelectionForWhseActivity`

## ConfirmPostWhseShipment

[Line 283](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L283).

- [288](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L288) calls `GetShipInvoiceSelectionForWhseActivity`

## CheckUserCanInvoiceSales

[Line 295](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L295).

- [302](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L302) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetSalesInvoicePostingPolicy`

## CheckUserCanInvoicePurchase

[Line 313](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L313).

- [320](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L320) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetPurchaseInvoicePostingPolicy`

## IsPostingInvoiceMandatoryPurchase

[Line 328](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L328), internal.

- [334](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L334) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetPurchaseInvoicePostingPolicy`

## GetShipInvoiceSelectionForWhseActivity

[Line 339](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L339), local.

- [346](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L346) raises `OnBeforeGetShipInvoiceSelectionForWhseActivity`, IsHandled
- [350](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L350) calls `GetInvoicePostingPolicy`
- [361](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L361) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [361](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L361) calls `GetShipConfirmationMessage`
- [367](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L367) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [367](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L367) calls `GetShipInvoiceConfirmationMessage`

## GetInvoicePostingPolicy

[Line 375](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L375), local.

- [379](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L379) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetSalesInvoicePostingPolicy`
- [381](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L381) raises `OnAfterGetInvoicePostingPolicy`

## GetReceiveInvoiceSelectionForWhseActivity

[Line 384](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L384), local.

- [391](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L391) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetPurchaseInvoicePostingPolicy`
- [401](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L401) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [401](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L401) calls `GetReceiveConfirmationMessage`
- [407](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L407) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [407](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L407) calls `GetReceiveInvoiceConfirmationMessage`

## GetSalesOrderPostingSelection

[Line 502](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L502), local.

- [507](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L507) raises `OnBeforeGetSalesOrderPostingSelection`, IsHandled

## GetPurchaseOrderPostingSelection

[Line 514](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L514), local.

- [519](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/source/#L519) raises `OnBeforeGetPurchaseOrderPostingSelection`, IsHandled

## Source

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

JOP-AL, 2026-11-20.
