{"title":"Codeunit 99000898 Mfg. Item Substitution, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/99000898-mfg-item-substitution/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":99000898,"name":"Mfg. Item Substitution","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/99000898-mfg-item-substitution/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/99000898-mfg-item-substitution/source/","path":"src/Layers/W1/BaseApp/Manufacturing/Inventory/Item/MfgItemSubstitution.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:5701":{"name":"Item Subst.","url":"https://jonas-paprotka.de/ref/codeunit/5701-item-subst/"},"page:5718":{"name":"Item Substitution Entries","url":"https://jonas-paprotka.de/ref/page/5718-item-substitution-entries/"},"codeunit:99000838":{"name":"Prod. Order Comp.-Reserve","url":"https://jonas-paprotka.de/ref/codeunit/99000838-prod-order-comp-reserve/"},"table:5407":{"name":"Prod. Order Component","url":"https://jonas-paprotka.de/ref/table/5407-prod-order-component/"},"codeunit:5402":{"name":"Unit of Measure Management","url":"https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/"}},"procs":[{"name":"GetProdOrderCompSubst","line":21,"kind":"procedure","params":1,"steps":[[31,"ext","codeunit",5701,"FindItemSubstitutions",8],[39,"ext","codeunit",5701,"ErrorMessage",2],[41,"event","OnGetCompSubstOnAfterCheckPrepareSubstList",0],[47,"run","page",5718],[48,"call","UpdateProdOrderComp",3],[50,"event","OnAfterGetCompSubst",0]]},{"name":"UpdateProdOrderComp","line":53,"kind":"procedure","params":3,"steps":[[61,"event","OnBeforeUpdateComponent",1],[66,"ext","codeunit",99000838,"DeleteLine",1],[76,"validate",5407,"Item No."],[77,"validate",5407,"Variant Code"],[86,"validate",5407,"Unit of Measure Code"],[89,"ext","codeunit",5402,"QtyRndPrecision",0],[90,"validate",5407,"Quantity per"],[92,"event","OnAfterUpdateComponentBeforeAssign",0]]}]}