{"title":"Codeunit 99000770 Where-Used Management, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/99000770-where-used-management/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":99000770,"name":"Where-Used Management","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/99000770-where-used-management/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/99000770-where-used-management/source/","path":"src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/WhereUsedManagement.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":{"codeunit:99000769":{"name":"Production BOM-Check","url":"https://jonas-paprotka.de/ref/codeunit/99000769-production-bom-check/"},"codeunit:99000756":{"name":"VersionManagement","url":"https://jonas-paprotka.de/ref/codeunit/99000756-versionmanagement/"},"table:99000790":{"name":"Where-Used Line","url":"https://jonas-paprotka.de/ref/table/99000790-where-used-line/"},"codeunit:5402":{"name":"Unit of Measure Management","url":"https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/"},"codeunit:99000758":{"name":"Mfg. Cost Calculation Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/99000758-mfg-cost-calculation-mgt/"}},"procs":[{"name":"WhereUsedFromItem","line":51,"kind":"procedure","params":3,"steps":[[53,"call","BuildWhereUsedListWithCheck",4]]},{"name":"WhereUsedFromProdBOM","line":56,"kind":"procedure","params":3,"steps":[[58,"call","BuildWhereUsedListWithCheck",4]]},{"name":"BuildWhereUsedListWithCheck","line":61,"kind":"procedure","access":"local","params":4,"steps":[[67,"event","OnBeforeBuildWhereUsedListWithCheck",1],[72,"call","GetItemBOMNo",1],[76,"ext","codeunit",99000769,"CheckBOM",2],[76,"ext","codeunit",99000756,"GetBOMVersion",3],[78,"write",99000790,"DeleteAll"],[82,"call","BuildWhereUsedList",5]]},{"name":"BuildWhereUsedList","line":85,"kind":"procedure","access":"local","params":5,"steps":[[90,"event","OnBeforeBuildWhereUsedList",0],[97,"event","OnBuildWhereUsedListOnAfterItemAssemblySetFilters",0],[108,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[109,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[111,"ext","codeunit",99000756,"GetBOMUnitOfMeasure",2],[113,"ext","codeunit",99000756,"GetBOMVersion",3],[114,"ext","codeunit",99000756,"GetBOMVersion",3],[115,"event","OnBeforeWhereUsedListInsert",0],[116,"write",99000790,"Insert"],[136,"event","OnBuildWhereUsedListOnBeforeFindSetProdBOMComponent",0],[140,"ext","codeunit",99000756,"GetBOMVersion",3],[144,"event","OnBuildWhereUsedListOnLoopProdBomComponent",0],[145,"call","IsActiveProductionBOM",1],[151,"ext","codeunit",99000758,"CalcCompItemQtyBase",5],[155,"event","OnAfterBuildWhereUsedList",0]]},{"name":"IsActiveProductionBOM","line":158,"kind":"procedure","params":1,"steps":[[163,"event","OnBeforeIsActiveProductionBOM",1],[168,"call","IsProductionBOMClosed",1],[170,"call","IsProdBOMVersionClosed",1]]},{"name":"GetItemBOMNo","line":189,"kind":"procedure","access":"local","params":1,"steps":[[194,"event","OnBeforeGetItemBOMNo",1]]}]}