---
title: "Report 698 Get Sales Orders, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/698-get-sales-orders/points/
object: https://jonas-paprotka.de/ref/report/698-get-sales-orders/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/report/698-get-sales-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 698 Get Sales Orders, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/698-get-sales-orders/points/

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

## Sales Line.OnAfterGetRecord

[Line 29](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L29), trigger.

- [34](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L34) raises `OnBeforeOnAfterGetRecord`, IsHandled
- [43](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L43) calls `InsertReqWkshLine`
- [52](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L52) calls `InsertReqWkshLine`
- [61](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L61) calls `InsertReqWkshLine`

## Sales Line.OnPostDataItem

[Line 65](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L65), trigger.

- [70](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L70) raises `OnPostDataItemOnBeforeCheckLineCount`, IsHandled

## OnPreReport

[Line 109](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L109), trigger.

- [111](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L111) raises `OnBeforeOnPreReport`

## InsertReqWkshLine

[Line 165](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L165).

- [170](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L170) raises `OnInsertReqWkshLineOnBeforeCode`, IsHandled
- [189](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L189) validates [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `Type`
- [190](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L190) raises `OnInsertReqWkshLineOnAfterValidateType`
- [193](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L193) validates [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `No.`
- [195](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L195) validates [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `Location Code`
- [197](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L197) raises `OnInsertReqWkshLineOnAfterSetBinCode`
- [203](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L203) validates [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `Replenishment System`
- [206](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L206) raises `OnInsertReqWkshLineOnBeforeValidateUoM`, IsHandled
- [208](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L208) validates [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `Unit of Measure Code`
- [209](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L209) calls `ValidateRequisitionLineQuantity`
- [212](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L212) raises `OnInsertReqWkshLineOnBeforeSetInsertRequisitionLineBatch`, IsHandled
- [217](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L217) raises `OnInsertReqWkshLineOnBeforeSetSellToCustomerNo`, IsHandled
- [229](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L229) raises `OnInsertReqWkshLineOnBeforeCalcEndingDate`
- [231](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L231) calls [Codeunit 5404 Lead-Time Management](https://jonas-paprotka.de/ref/codeunit/5404-lead-time-management/) `GetPlannedEndingDate`
- [234](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L234) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `CalcStartingDate`
- [235](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L235) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `UpdateDescription`
- [236](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L236) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `UpdateDatetime`
- [238](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L238) raises `OnBeforeInsertReqWkshLine`
- [239](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L239) writes [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) Insert
- [240](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L240) calls [Codeunit 6500 Item Tracking Management](https://jonas-paprotka.de/ref/codeunit/6500-item-tracking-management/) `CopyItemTracking`
- [240](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L240) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `RowID1`
- [240](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L240) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `RowID1`
- [245](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L245) writes [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) Modify
- [249](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L249) raises `OnAfterInsertReqWkshLine`

## ValidateRequisitionLineQuantity

[Line 252](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L252), local.

- [257](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L257) raises `OnBeforeValidateRequisitionLineQuantity`, IsHandled
- [261](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L261) validates [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `Quantity`
- [265](https://jonas-paprotka.de/ref/report/698-get-sales-orders/source/#L265) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`

## Source

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

JOP-AL, 2026-11-20.
