{"title":"Codeunit 99000771 BOM Matrix Management, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/99000771-bom-matrix-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":99000771,"name":"BOM Matrix Management","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/99000771-bom-matrix-management/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/99000771-bom-matrix-management/source/","path":"src/Layers/W1/BaseApp/Manufacturing/ProductionBOM/BOMMatrixManagement.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:99000788":{"name":"Production Matrix BOM Line","url":"https://jonas-paprotka.de/ref/table/99000788-production-matrix-bom-line/"},"table:99000789":{"name":"Production Matrix  BOM Entry","url":"https://jonas-paprotka.de/ref/table/99000789-production-matrix-bom-entry/"},"codeunit:99000756":{"name":"VersionManagement","url":"https://jonas-paprotka.de/ref/codeunit/99000756-versionmanagement/"},"codeunit:5402":{"name":"Unit of Measure Management","url":"https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/"}},"procs":[{"name":"CompareTwoItems","line":68,"kind":"procedure","params":8,"steps":[[73,"event","OnBeforeCompareTwoItems",1],[77,"write",99000788,"DeleteAll"],[79,"write",99000789,"DeleteAll"],[85,"ext","codeunit",99000756,"GetBOMVersion",3],[89,"ext","codeunit",99000756,"GetBOMUnitOfMeasure",2],[93,"call","BuildMatrix",4],[96,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[98,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[102,"ext","codeunit",99000756,"GetBOMVersion",3],[106,"ext","codeunit",99000756,"GetBOMUnitOfMeasure",2],[110,"call","BuildMatrix",4],[113,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[115,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[119,"event","OnAfterCompareTwoItems",0]]},{"name":"BOMMatrixFromBOM","line":122,"kind":"procedure","params":2,"steps":[[127,"event","OnBeforeBOMMatrixFromBOM",1],[129,"write",99000788,"DeleteAll"],[131,"write",99000789,"DeleteAll"],[135,"call","BuildMatrix",4],[141,"call","BuildMatrix",4],[145,"event","OnAfterBOMMatrixFromBOM",0]]},{"name":"BuildMatrix","line":148,"kind":"procedure","access":"local","params":4,"steps":[[154,"event","OnBeforeBuildMatrix",1],[173,"event","OnBuildMatrixForItemOnAfterGetItem",0],[176,"ext","codeunit",99000756,"GetBOMVersion",3],[177,"event","OnBuildMatrixForItemOnBeforeRecursion",0],[181,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[182,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[183,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[184,"ext","codeunit",99000756,"GetBOMUnitOfMeasure",2],[192,"event","OnBuildMatrixForItemOnBeforeComponentListFind",0],[194,"write",99000788,"Insert"],[206,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[207,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2],[216,"write",99000789,"Modify"],[218,"write",99000789,"Insert"],[223,"event","OnBuildMatrixForProductionBOMOnAfterGetHeader",0],[226,"call","GetVersion",1]]}]}