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

JOP-AL, https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/points/

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

## Sales Header.OnPreDataItem

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

- [36](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L36) raises `OnBeforeSalesHeaderOnPreDataItem`, IsHandled
- [38](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/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/6655-batch-post-sales-return-orders/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/6655-batch-post-sales-return-orders/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/6655-batch-post-sales-return-orders/source/#L41) calls [Codeunit 1371 Sales Batch Post Mgt.](https://jonas-paprotka.de/ref/codeunit/1371-sales-batch-post-mgt/) `SetParameter`
- [42](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L42) calls [Codeunit 1371 Sales Batch Post Mgt.](https://jonas-paprotka.de/ref/codeunit/1371-sales-batch-post-mgt/) `RunBatch`

## PostingDateReq.OnValidate

[Line 80](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L80), trigger.

- [82](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L82) calls `UpdateVATDate`

## ReplacePostingDate.OnValidate

[Line 99](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L99), trigger.

- [104](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L104) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `IsVATDateUsageSetToPostingDate`
- [106](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L106) calls `UpdateVATDate`

## ReplaceDocumentDate.OnValidate

[Line 115](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L115), trigger.

- [117](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L117) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `IsVATDateUsageSetToDocumentDate`
- [119](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L119) calls `UpdateVATDate`

## OnOpenPage

[Line 170](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L170), trigger.

- [178](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L178) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `IsVATDateEnabled`
- [182](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L182) calls [Codeunit 4030 Client Type Management](https://jonas-paprotka.de/ref/codeunit/4030-client-type-management/) `GetCurrentClientType`
- [191](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L191) calls [Codeunit 799 VAT Reporting Date Mgt](https://jonas-paprotka.de/ref/codeunit/799-vat-reporting-date-mgt/) `IsVATDateEnabled`
- [192](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L192) calls [Codeunit 5700 User Setup Management](https://jonas-paprotka.de/ref/codeunit/5700-user-setup-management/) `GetSalesInvoicePostingPolicy`
- [197](https://jonas-paprotka.de/ref/report/6655-batch-post-sales-return-orders/source/#L197) raises `OnAfterOnOpenPage`

## Source

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

JOP-AL, 2026-11-20.
