{"title":"Codeunit 20572 Subc. Req Wksh Templ Upgrade, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/20572-subc-req-wksh-templ-upgrade/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":20572,"name":"Subc. Req Wksh Templ Upgrade","app":"Subcontracting","url":"https://jonas-paprotka.de/ref/codeunit/20572-subc-req-wksh-templ-upgrade/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/20572-subc-req-wksh-templ-upgrade/source/","path":"src/Apps/W1/Subcontracting/App/src/Install/SubcReqWkshTemplUpgrade.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:9999":{"name":"Upgrade Tag","url":"https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/"},"codeunit:20570":{"name":"Subc. Upgrade Tag Def. Ext.","url":"https://jonas-paprotka.de/ref/codeunit/20570-subc-upgrade-tag-def-ext/"}},"procs":[{"name":"OnUpgradePerCompany","line":14,"kind":"trigger","steps":[[16,"call","UpgradeReqWkshTemplateType",0]]},{"name":"UpgradeReqWkshTemplateType","line":19,"kind":"procedure","access":"internal","params":0,"steps":[[24,"ext","codeunit",9999,"HasUpgradeTag",1],[24,"ext","codeunit",20570,"GetReqWkshTemplateTypeUpgradeTag",0],[27,"call","MigrateReqWkshTemplateTypeFromLegacyValue",0],[29,"ext","codeunit",9999,"SetUpgradeTag",1],[29,"ext","codeunit",20570,"GetReqWkshTemplateTypeUpgradeTag",0]]},{"name":"MigrateReqWkshTemplateTypeFromLegacyValue","line":34,"kind":"procedure","access":"internal","params":0,"steps":[[45,"call","LegacySubcontractingTypeValue",0],[50,"call","LegacySubcontractingPageIDValue",0]]}]}