---
title: "Report 297 Batch Post Sales Invoices, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/points/
object: https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/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/"
---

# Report 297 Batch Post Sales Invoices, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/points/

5 procedures and triggers with a step in src/Layers/W1/BaseApp/Sales/Document/BatchPostSalesInvoices.Report.al, in source order, read from the text, not from a run.

## Sales Header.OnPreDataItem

[Line 30](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L30), trigger.

- [35](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L35) raises `OnBeforeSalesHeaderPreDataItem`
- [37](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L37) calls [Codeunit 99 Posting Selection Management](https://jonas-paprotka.de/ref/codeunit/99-posting-selection-management/) `CheckUserCanInvoiceSales`
- [38](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L38) calls [Codeunit 1371 Sales Batch Post Mgt.](https://jonas-paprotka.de/ref/codeunit/1371-sales-batch-post-mgt/) `SetParameter`
- [39](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L39) calls [Codeunit 1371 Sales Batch Post Mgt.](https://jonas-paprotka.de/ref/codeunit/1371-sales-batch-post-mgt/) `SetParameter`
- [40](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L40) calls [Codeunit 1371 Sales Batch Post Mgt.](https://jonas-paprotka.de/ref/codeunit/1371-sales-batch-post-mgt/) `SetParameter`
- [41](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L41) calls [Codeunit 1371 Sales Batch Post Mgt.](https://jonas-paprotka.de/ref/codeunit/1371-sales-batch-post-mgt/) `RunBatch`

## PostingDate.OnValidate

[Line 65](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L65), trigger.

- [67](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L67) calls `UpdateVATDate`

## ReplacePostingDate.OnValidate

[Line 84](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L84), trigger.

- [89](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L89) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `IsVATDateUsageSetToPostingDate`
- [91](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L91) calls `UpdateVATDate`

## ReplaceDocumentDate.OnValidate

[Line 100](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L100), trigger.

- [102](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L102) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `IsVATDateUsageSetToDocumentDate`
- [104](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L104) calls `UpdateVATDate`

## OnOpenPage

[Line 155](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L155), trigger.

- [162](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L162) raises `OnBeforeOnOpenPage`, IsHandled
- [164](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L164) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `IsVATDateEnabled`
- [168](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L168) calls [Codeunit 4030 Client Type Management](https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/) `GetCurrentClientType`
- [177](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L177) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `IsVATDateEnabled`
- [179](https://jonas-paprotka.de/ref/report/297-batch-post-sales-invoices/source/#L179) raises `OnAfterOnOpenPage`

## Source

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

JOP-AL, 2026-11-20.
