{"title":"Report 5801 Invt. Valuation - Cost Spec., extension points 29","url":"https://jonas-paprotka.de/ref/report/5801-invt-valuation-cost-spec/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":5801,"name":"Invt. Valuation - Cost Spec.","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/5801-invt-valuation-cost-spec/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/5801-invt-valuation-cost-spec/source/","path":"src/Layers/W1/BaseApp/Inventory/Reports/InvtValuationCostSpec.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":{},"procs":[{"name":"EntryTypeDescription5.OnAfterGetRecord","line":125,"kind":"trigger","steps":[[129,"call","ClearTotals",0],[143,"call","ClearBufferVariables",0],[145,"call","GetSign",1],[146,"call","CalcRemainingQty",1],[147,"call","CalcUnitCost",1],[156,"call","IncrTotals",0],[159,"call","CalcAvgCost",0]]},{"name":"CalcRemainingQty","line":275,"kind":"procedure","access":"local","params":1,"steps":[[281,"event","OnBeforeCalcRemainingQty",1],[297,"call","SumQty",4],[307,"call","SumQty",4]]},{"name":"SumQty","line":315,"kind":"procedure","access":"local","params":4,"steps":[[323,"event","OnSumQtyOnAfterCheckExitCondition",0]]},{"name":"CalcUnitCost","line":332,"kind":"procedure","access":"local","params":1,"steps":[[338,"call","SumUnitCost",3],[341,"call","SumUnitCost",3]]}]}