{"title":"Codeunit 20522 Subc. Planning Comp. Ext., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/20522-subc-planning-comp-ext/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":20522,"name":"Subc. Planning Comp. Ext.","app":"Subcontracting","url":"https://jonas-paprotka.de/ref/codeunit/20522-subc-planning-comp-ext/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/20522-subc-planning-comp-ext/source/","path":"src/Apps/W1/Subcontracting/App/src/Manufacturing/SubcPlanningCompExt.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:20569":{"name":"Subc. Feature Flag Handler","url":"https://jonas-paprotka.de/ref/codeunit/20569-subc-feature-flag-handler/"},"codeunit:20505":{"name":"Subcontracting Management","url":"https://jonas-paprotka.de/ref/codeunit/20505-subcontracting-management/"},"table:99000829":{"name":"Planning Component","url":"https://jonas-paprotka.de/ref/table/99000829-planning-component/"},"codeunit:99000855":{"name":"Planning-Get Parameters","url":"https://jonas-paprotka.de/ref/codeunit/99000855-planning-get-parameters/"}},"procs":[{"name":"OnAfterValidateRoutingLinkCode","line":23,"kind":"procedure","access":"local","params":3,"steps":[[27,"ext","codeunit",20569,"IsSubcontractingEnabled",0],[33,"call","HandleRoutingLinkCodeValidation",2]]},{"name":"OnAfterTransferFromComponent","line":37,"kind":"procedure","access":"local","params":2,"steps":[[41,"ext","codeunit",20569,"IsSubcontractingEnabled",0]]},{"name":"OnAfterValidateLocationCode","line":51,"kind":"procedure","access":"local","params":3,"steps":[[55,"ext","codeunit",20569,"IsSubcontractingEnabled",0]]},{"name":"OnAfterValidateBinCode","line":66,"kind":"procedure","access":"local","params":3,"steps":[[70,"ext","codeunit",20569,"IsSubcontractingEnabled",0]]},{"name":"HandleRoutingLinkCodeValidation","line":80,"kind":"procedure","access":"local","params":2,"steps":[[99,"ext","codeunit",20505,"GetSubcontractor",2],[100,"ext","codeunit",20505,"ChangeLocationOnPlanningComponent",4],[104,"validate",99000829,"Location Code"],[107,"validate",99000829,"Bin Code"],[111,"ext","codeunit",99000855,"AtSKU",4],[116,"validate",99000829,"Location Code"]]}]}