{"title":"Codeunit 6223 OpenXML Management, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6223-openxml-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-08","object":{"type":"codeunit","id":6223,"name":"OpenXML Management","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6223-openxml-management/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6223-openxml-management/source/","path":"src/Layers/W1/BaseApp/System/OpenXMLManagement.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:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:419":{"name":"File Management","url":"https://jonas-paprotka.de/ref/codeunit/419-file-management/"},"codeunit:8615":{"name":"Config. Progress Bar","url":"https://jonas-paprotka.de/ref/codeunit/8615-config-progress-bar/"},"table:370":{"name":"Excel Buffer","url":"https://jonas-paprotka.de/ref/table/370-excel-buffer/"}},"procs":[{"name":"AddAndInitializeCommentsPart","line":29,"kind":"procedure","params":2,"steps":[[38,"call","AddVmlDrawingPart",2],[42,"call","AddWorkSheetAuthor",2]]},{"name":"AddColumnHeader","line":68,"kind":"procedure","params":5,"steps":[[73,"call","GetElementName",1]]},{"name":"AddColumnHeaderWithXPath","line":78,"kind":"procedure","params":6,"steps":[[83,"call","AddColumnHeader",5]]},{"name":"AddTable","line":124,"kind":"procedure","params":5,"steps":[[132,"call","GetXLColumnID",1],[134,"call","InitTable",4],[135,"call","AppendAutoFilter",1],[136,"call","AppendTableStyleInfo",1]]},{"name":"CleanMapInfo","line":190,"kind":"procedure","params":1,"steps":[[195,"call","ReplaceSubString",3],[199,"call","ReplaceSubString",3],[200,"call","ReplaceSubString",3]]},{"name":"CreateBook","line":204,"kind":"procedure","params":2,"steps":[[209,"ext","codeunit",4100,"CreateInStream",1]]},{"name":"CreateSchemaConnection","line":216,"kind":"procedure","params":2,"steps":[[231,"ext","codeunit",419,"GetFileName",1]]},{"name":"CopyDataToExcelTable","line":286,"kind":"procedure","params":3,"steps":[[308,"ext","codeunit",8615,"Init",3],[315,"call","WriteCellValue",6],[320,"ext","codeunit",8615,"Update",1],[323,"ext","codeunit",8615,"Close",0]]},{"name":"ExtractXMLSchema","line":327,"kind":"procedure","params":1,"steps":[[335,"ext","codeunit",419,"ServerTempFileName",0],[336,"ext","codeunit",419,"IsAllowedPath",2]]},{"name":"GetXLColumnID","line":369,"kind":"procedure","params":1,"steps":[[374,"validate",370,"Column No."]]},{"name":"OpenBook","line":445,"kind":"procedure","params":2,"steps":[[450,"ext","codeunit",4100,"CreateInStream",1]]},{"name":"SetSingleCellValue","line":548,"kind":"procedure","params":6,"steps":[[555,"call","AddSingleXMLCellProperties",5]]},{"name":"WriteCellValue","line":575,"kind":"procedure","params":6,"steps":[[577,"event","OnBeforeWriteCellValue",0],[583,"validate",370,"Column No."]]},{"name":"CreateCommentVmlShapeXml","line":609,"kind":"procedure","params":2,"steps":[[616,"call","CreateCommentVmlAnchor",2]]}]}