{"title":"Report 99001025 Refresh Production Order, extension points 29","url":"https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"report","id":99001025,"name":"Refresh Production Order","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/99001025-refresh-production-order/source/","path":"src/Layers/W1/BaseApp/Manufacturing/Document/RefreshProductionOrder.Report.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"},"codeunit:99000787":{"name":"Create Prod. Order Lines","url":"https://jonas-paprotka.de/ref/codeunit/99000787-create-prod-order-lines/"},"table:5409":{"name":"Prod. Order Routing Line","url":"https://jonas-paprotka.de/ref/table/5409-prod-order-routing-line/"},"table:5407":{"name":"Prod. Order Component","url":"https://jonas-paprotka.de/ref/table/5407-prod-order-component/"},"codeunit:99000773":{"name":"Calculate Prod. Order","url":"https://jonas-paprotka.de/ref/codeunit/99000773-calculate-prod-order/"},"codeunit:5407":{"name":"Prod. Order Status Management","url":"https://jonas-paprotka.de/ref/codeunit/5407-prod-order-status-management/"},"codeunit:5774":{"name":"Whse.-Production Release","url":"https://jonas-paprotka.de/ref/codeunit/5774-whse-production-release/"},"codeunit:7325":{"name":"Whse.-Output Prod. Release","url":"https://jonas-paprotka.de/ref/codeunit/7325-whse-output-prod-release/"},"table:337":{"name":"Reservation Entry","url":"https://jonas-paprotka.de/ref/table/337-reservation-entry/"},"table:5405":{"name":"Production Order","url":"https://jonas-paprotka.de/ref/table/5405-production-order/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"}},"procs":[{"name":"Production Order.OnAfterGetRecord","line":28,"kind":"trigger","steps":[[47,"call","CheckVariantCodeMandatory",1],[50,"call","IsComponentPicked",1],[52,"event","OnProductionOrderOnAfterGetRecordOnBeforeAlreadyPickedLinesConfirm",1],[57,"ext","codeunit",27,"GetResponseOrDefault",2],[68,"call","GetRoutingNo",1],[69,"call","UpdateRoutingNo",2],[72,"event","OnBeforeCalcProdOrder",0],[73,"call","CheckReservationExist",0],[76,"event","OnBeforeCalcProdOrderLines",1],[78,"ext","codeunit",99000787,"Copy",4],[84,"event","OnBeforeCalcRoutingsOrComponents",1],[96,"ext","table",5409,"SetSkipUpdateOfCompBinCodes",1],[97,"write",5409,"Delete",1],[104,"write",5407,"DeleteAll",1],[110,"call","CheckProductionBOMStatus",2],[112,"call","CheckRoutingStatus",2],[115,"event","OnBeforeCalcProdOrderLine",1],[117,"ext","codeunit",99000773,"Calculate",6],[122,"event","OnProductionOrderOnAfterGetRecordOnAfterCalcRoutingsOrComponents",0],[130,"ext","codeunit",5407,"FlushProdOrder",3],[131,"ext","codeunit",5774,"Release",1],[133,"ext","codeunit",7325,"Release",1],[136,"event","OnAfterRefreshProdOrder",0]]},{"name":"OnInit","line":227,"kind":"trigger","steps":[[233,"event","OnAfterOnInit",0]]},{"name":"OnInitReport","line":237,"kind":"trigger","steps":[[241,"call","SetHideValidationDialog",1],[243,"event","OnAfterInitReport",0]]},{"name":"CheckReservationExist","line":266,"kind":"procedure","access":"local","params":0,"steps":[[282,"call","ShouldCheckReservedQty",6],[296,"event","OnCheckReservationExistOnBeforeCheckProdOrderComp2ReservedQtyBase",0],[298,"call","ShouldCheckReservedQty",6]]},{"name":"ShouldCheckReservedQty","line":309,"kind":"procedure","access":"local","params":6,"steps":[[313,"ext","table",337,"SetSourceFilter",5],[314,"ext","table",337,"SetSourceFilter",2]]},{"name":"UpdateRoutingNo","line":327,"kind":"procedure","access":"local","params":2,"steps":[[332,"event","OnBeforeUpdateRoutingNo",1],[338,"write",5405,"Modify"]]},{"name":"CheckVariantCodeMandatory","line":404,"kind":"procedure","access":"local","params":1,"steps":[[413,"ext","table",27,"IsVariantMandatory",2],[415,"event","OnBeforeCheckVariantCodeMandatory",1]]},{"name":"GetRoutingNo","line":421,"kind":"procedure","access":"local","params":1,"steps":[[448,"event","OnAfterGetRoutingNo",0]]}]}