{"title":"Codeunit 5899 Calc. Inventory Value-Check, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/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":5899,"name":"Calc. Inventory Value-Check","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5899-calc-inventory-value-check/source/","path":"src/Layers/W1/BaseApp/Inventory/Journal/CalcInventoryValueCheck.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:5890":{"name":"Error Buffer","url":"https://jonas-paprotka.de/ref/table/5890-error-buffer/"},"codeunit:5849":{"name":"Avg. Cost Entry Point Handler","url":"https://jonas-paprotka.de/ref/codeunit/5849-avg-cost-entry-point-handler/"}},"procs":[{"name":"SetParameters","line":47,"kind":"procedure","params":6,"steps":[[49,"write",5890,"DeleteAll"]]},{"name":"RunCheck","line":62,"kind":"procedure","params":2,"steps":[[70,"call","CheckCalculatePer",1],[80,"event","OnBeforeFindOpenOutboundEntry",1],[82,"call","FindOpenOutboundEntry",1],[85,"call","CheckAdjusted",1],[86,"call","AddError",4],[98,"write",5890,"Insert"]]},{"name":"CheckAdjusted","line":102,"kind":"procedure","access":"local","params":1,"steps":[[109,"event","OnBeforeCheckAdjusted",1],[114,"ext","codeunit",5849,"IsEntriesAdjusted",2]]},{"name":"CheckCalculatePer","line":119,"kind":"procedure","access":"local","params":1,"steps":[[129,"event","OnCheckCalculatePerOnAfterSetFilters",0],[134,"call","AddError",4],[139,"call","AddError",4],[144,"call","AddError",4],[149,"call","AddError",4],[154,"call","AddError",4],[159,"call","CheckItemLocationVariantFilters",1],[162,"event","OnAfterCheckCalculatePer",0]]},{"name":"FindOpenOutboundEntry","line":165,"kind":"procedure","access":"local","params":1,"steps":[[171,"event","OnBeforeFindOpenOutboundEntry2",1],[187,"call","AddError",4]]},{"name":"AddError","line":197,"kind":"procedure","access":"local","params":4,"steps":[[207,"write",5890,"Insert"]]},{"name":"CheckItemLocationVariantFilters","line":212,"kind":"procedure","access":"local","params":1,"steps":[[217,"event","OnBeforeCheckItemLocationVariantFilters",1],[224,"call","AddError",4]]}]}