{"title":"Codeunit 99000757 Update Prod. Order Cost, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/99000757-update-prod-order-cost/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":"codeunit","id":99000757,"name":"Update Prod. Order Cost","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/99000757-update-prod-order-cost/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/99000757-update-prod-order-cost/source/","path":"src/Layers/W1/BaseApp/Manufacturing/Document/UpdateProdOrderCost.Codeunit.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":{"table:337":{"name":"Reservation Entry","url":"https://jonas-paprotka.de/ref/table/337-reservation-entry/"},"table:5407":{"name":"Prod. Order Component","url":"https://jonas-paprotka.de/ref/table/5407-prod-order-component/"},"table:5406":{"name":"Prod. Order Line","url":"https://jonas-paprotka.de/ref/table/5406-prod-order-line/"}},"procs":[{"name":"ModifySourceLineCost","line":20,"kind":"procedure","params":2,"steps":[[28,"ext","table",337,"UpdateSourceCost",1]]},{"name":"UpdateUnitCostOnProdOrder","line":45,"kind":"procedure","params":3,"steps":[[57,"event","OnBeforeUpdateUnitCostOnProdOrder",1],[76,"event","OnUpdateUnitCostOnProdOrderOnAfterGetProdOrderCompItem",0],[79,"ext","table",337,"InitSortingAndFilters",1],[80,"ext","table",5407,"SetReservationFilters",1],[82,"call","SumTrackingCosts",4],[84,"call","UpdateTotalUnitCostOnProdOrder",3],[91,"validate",5407,"Unit Cost"],[92,"write",5407,"Modify"],[110,"event","OnUpdateUnitCostOnProdOrderOnBeforeValidateUnitCost",0],[114,"validate",5406,"Unit Cost"],[118,"event","OnUpdateUnitCostOnProdOrderOnAfterValidateUnitCost",0],[120,"write",5406,"Modify"],[124,"ext","table",337,"InitSortingAndFilters",1],[125,"ext","table",5406,"SetReservationFilters",1],[132,"call","ModifySourceLineCost",2]]},{"name":"UpdateTotalUnitCostOnProdOrder","line":137,"kind":"procedure","access":"local","params":3,"steps":[[142,"event","OnBeforeUpdateTotalUnitCostOnProdOrder",1]]}]}