---
title: "Report 99001025 Refresh Production Order, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/points/
object: https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/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 99001025 Refresh Production Order, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/points/

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

## Production Order.OnAfterGetRecord

[Line 28](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L28), trigger.

- [47](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L47) calls `CheckVariantCodeMandatory`
- [50](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L50) calls `IsComponentPicked`
- [52](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L52) raises `OnProductionOrderOnAfterGetRecordOnBeforeAlreadyPickedLinesConfirm`, IsHandled
- [57](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L57) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [68](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L68) calls `GetRoutingNo`
- [69](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L69) calls `UpdateRoutingNo`
- [72](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L72) raises `OnBeforeCalcProdOrder`
- [73](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L73) calls `CheckReservationExist`
- [76](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L76) raises `OnBeforeCalcProdOrderLines`, IsHandled
- [78](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L78) calls [Codeunit 99000787 Create Prod. Order Lines](https://jonas-paprotka.de/ref/codeunit/99000787-create-prod-order-lines/) `Copy`
- [84](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L84) raises `OnBeforeCalcRoutingsOrComponents`, IsHandled
- [96](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L96) calls [Table 5409 Prod. Order Routing Line](https://jonas-paprotka.de/ref/table/5409-prod-order-routing-line/) `SetSkipUpdateOfCompBinCodes`
- [97](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L97) writes [Table 5409 Prod. Order Routing Line](https://jonas-paprotka.de/ref/table/5409-prod-order-routing-line/) Delete(true)
- [104](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L104) writes [Table 5407 Prod. Order Component](https://jonas-paprotka.de/ref/table/5407-prod-order-component/) DeleteAll(true)
- [110](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L110) calls `CheckProductionBOMStatus`
- [112](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L112) calls `CheckRoutingStatus`
- [115](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L115) raises `OnBeforeCalcProdOrderLine`, IsHandled
- [117](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L117) calls [Codeunit 99000773 Calculate Prod. Order](https://jonas-paprotka.de/ref/codeunit/99000773-calculate-prod-order/) `Calculate`
- [122](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L122) raises `OnProductionOrderOnAfterGetRecordOnAfterCalcRoutingsOrComponents`
- [130](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L130) calls [Codeunit 5407 Prod. Order Status Management](https://jonas-paprotka.de/ref/codeunit/5407-prod-order-status-management/) `FlushProdOrder`
- [131](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L131) calls [Codeunit 5774 Whse.-Production Release](https://jonas-paprotka.de/ref/codeunit/5774-whse-production-release/) `Release`
- [133](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L133) calls [Codeunit 7325 Whse.-Output Prod. Release](https://jonas-paprotka.de/ref/codeunit/7325-whse-output-prod-release/) `Release`
- [136](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L136) raises `OnAfterRefreshProdOrder`

## OnInit

[Line 227](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L227), trigger.

- [233](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L233) raises `OnAfterOnInit`

## OnInitReport

[Line 237](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L237), trigger.

- [241](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L241) calls `SetHideValidationDialog`
- [243](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L243) raises `OnAfterInitReport`

## CheckReservationExist

[Line 266](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L266), local.

- [282](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L282) calls `ShouldCheckReservedQty`
- [296](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L296) raises `OnCheckReservationExistOnBeforeCheckProdOrderComp2ReservedQtyBase`
- [298](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L298) calls `ShouldCheckReservedQty`

## ShouldCheckReservedQty

[Line 309](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L309), local.

- [313](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L313) calls [Table 337 Reservation Entry](https://jonas-paprotka.de/ref/table/337-reservation-entry/) `SetSourceFilter`
- [314](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L314) calls [Table 337 Reservation Entry](https://jonas-paprotka.de/ref/table/337-reservation-entry/) `SetSourceFilter`

## UpdateRoutingNo

[Line 327](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L327), local.

- [332](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L332) raises `OnBeforeUpdateRoutingNo`, IsHandled
- [338](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L338) writes [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) Modify

## CheckVariantCodeMandatory

[Line 404](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L404), local.

- [413](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L413) calls [Table 27 Item](https://jonas-paprotka.de/ref/table/27-item/) `IsVariantMandatory`
- [415](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L415) raises `OnBeforeCheckVariantCodeMandatory`, IsHandled

## GetRoutingNo

[Line 421](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L421), local.

- [448](https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/#L448) raises `OnAfterGetRoutingNo`

## Source

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

JOP-AL, 2026-11-20.
