{"title":"Codeunit 1263 Transform. Rule - Substring, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/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":1263,"name":"Transform. Rule - Substring","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1263-transform-rule-substring/source/","path":"src/Layers/W1/BaseApp/System/DataExchange/Transformations/TransformRuleSubstring.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:1237":{"name":"Transformation Rule","url":"https://jonas-paprotka.de/ref/table/1237-transformation-rule/"}},"procs":[{"name":"TransformText","line":10,"kind":"procedure","params":3,"steps":[[12,"call","Substring",2]]},{"name":"ValidateTransformationRuleField","line":24,"kind":"procedure","params":3,"steps":[[32,"validate",1237,"Start Position"],[38,"validate",1237,"Length"],[46,"validate",1237,"Starting Text"],[54,"validate",1237,"Ending Text"]]},{"name":"Substring","line":66,"kind":"procedure","access":"local","params":2,"steps":[[71,"call","SubstringGetStartPosition",2],[75,"call","SubstringGetLength",3]]},{"name":"SubstringGetLength","line":83,"kind":"procedure","access":"local","params":3,"steps":[[95,"call","RemoveLeadingAndEndingQuotes",1]]},{"name":"SubstringGetStartPosition","line":101,"kind":"procedure","access":"local","params":2,"steps":[[112,"call","RemoveLeadingAndEndingQuotes",1]]}]}