{"title":"Report 5810 Costing Errors Detection, extension points 29","url":"https://jonas-paprotka.de/ref/report/5810-costing-errors-detection/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":5810,"name":"Costing Errors Detection","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/5810-costing-errors-detection/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/5810-costing-errors-detection/source/","path":"src/Layers/W1/BaseApp/Inventory/Costing/CostingErrorsDetection.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":{"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"}},"procs":[{"name":"Number_ItemErrors.OnAfterGetRecord","line":73,"kind":"trigger","steps":[[75,"call","ClearErrorText",0],[79,"call","CheckItem",1]]},{"name":"Number_Errors.OnAfterGetRecord","line":143,"kind":"trigger","steps":[[146,"call","ClearErrorText",0],[150,"call","CheckBasicData",0],[152,"call","CheckItemLedgEntryQty",0],[154,"call","CheckApplicationQty",0],[156,"call","CheckValuedByAverageCost",0],[158,"call","CheckValuationDate",0],[160,"call","CheckRemainingExpectedAmount",0],[162,"call","CheckOutputCompletelyInvdDate",0]]},{"name":"ItemLedgerEntryQuantity_ValueEntry.OnAfterGetRecord","line":234,"kind":"trigger","steps":[[243,"write",27,"Insert"]]},{"name":"CheckBasicData","line":545,"kind":"procedure","access":"local","params":0,"steps":[[547,"call","BasicCheckItemLedgEntry",0],[548,"call","BasicCheckValueEntry",0]]},{"name":"BasicCheckItemLedgEntry","line":551,"kind":"procedure","access":"local","params":0,"steps":[[556,"call","AddError",2],[559,"call","AddError",2],[561,"call","AddError",2],[563,"call","AddError",2],[565,"call","AddError",2],[567,"call","AddError",2],[571,"call","AddError",2],[577,"call","AddError",2]]},{"name":"BasicCheckValueEntry","line":581,"kind":"procedure","access":"local","params":0,"steps":[[594,"call","AddError",2],[600,"call","AddError",2],[604,"call","AddError",2],[611,"call","AddError",2],[624,"call","AddError",2],[632,"call","AddError",2],[636,"call","AddError",2],[645,"call","AddError",2],[649,"call","AddError",2]]},{"name":"CheckItemLedgEntryQty","line":654,"kind":"procedure","access":"local","params":0,"steps":[[657,"call","CheckNegOpenILEQty",0],[659,"call","CheckILEQty",0],[660,"call","SearchInbOutbCombination",0]]},{"name":"CheckNegOpenILEQty","line":663,"kind":"procedure","access":"local","params":0,"steps":[[670,"call","AddError",2],[677,"call","AddError",2]]},{"name":"CheckILEQty","line":682,"kind":"procedure","access":"local","params":0,"steps":[[691,"call","AddError",2],[693,"call","AddError",2]]},{"name":"SearchInbOutbCombination","line":696,"kind":"procedure","access":"local","params":0,"steps":[[710,"call","AddError",2]]},{"name":"CheckApplicationQty","line":716,"kind":"procedure","access":"local","params":0,"steps":[[731,"call","AddError",2],[739,"call","AddError",2]]},{"name":"CheckValuedByAverageCost","line":743,"kind":"procedure","access":"local","params":0,"steps":[[745,"call","CheckVEValuedBySetting",0],[746,"call","CheckItemApplCostApplSetting",0]]},{"name":"CheckVEValuedBySetting","line":749,"kind":"procedure","access":"local","params":0,"steps":[[767,"call","AddError",2],[776,"call","AddError",2]]},{"name":"CheckItemApplCostApplSetting","line":782,"kind":"procedure","access":"local","params":0,"steps":[[791,"call","AddError",2],[797,"call","AddError",2],[802,"call","AddError",2]]},{"name":"CheckValuationDate","line":808,"kind":"procedure","access":"local","params":0,"steps":[[827,"call","AddError",2]]},{"name":"CheckRemainingExpectedAmount","line":835,"kind":"procedure","access":"local","params":0,"steps":[[857,"call","AddError",2],[861,"call","AddError",2]]},{"name":"CheckOutputCompletelyInvdDate","line":864,"kind":"procedure","access":"local","params":0,"steps":[[871,"call","AddError",2],[880,"call","AddError",2],[886,"call","AddError",2],[891,"call","AddError",2]]},{"name":"CheckItem","line":897,"kind":"procedure","access":"local","params":1,"steps":[[900,"call","AddError",2]]},{"name":"AddError","line":903,"kind":"procedure","access":"local","params":2,"steps":[[910,"write",27,"Insert"]]}]}