{"title":"Codeunit 608 Data Archive Export To Excel, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/608-data-archive-export-to-excel/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":608,"name":"Data Archive Export To Excel","app":"Data Archive","url":"https://jonas-paprotka.de/ref/codeunit/608-data-archive-export-to-excel/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/608-data-archive-export-to-excel/source/","path":"src/Apps/W1/DataArchive/App/src/DataArchiveExportToExcel.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:370":{"name":"Excel Buffer","url":"https://jonas-paprotka.de/ref/table/370-excel-buffer/"},"table:601":{"name":"Data Archive Table","url":"https://jonas-paprotka.de/ref/table/601-data-archive-table/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"}},"procs":[{"name":"OnRun","line":20,"kind":"trigger","steps":[[22,"call","ExportToExcel",1]]},{"name":"ExportToExcel","line":30,"kind":"procedure","access":"local","params":1,"steps":[[47,"ext","table",370,"CreateNewBook",1],[50,"ext","table",601,"HasReadPermission",0],[51,"write",370,"DeleteAll"],[52,"call","FillExcelBuffer",5],[53,"ext","table",370,"SelectOrAddSheet",1],[54,"ext","table",370,"WriteAllToCurrentSheet",1],[58,"ext","table",370,"CloseBook",0],[62,"ext","table",370,"OpenExcel",0]]},{"name":"FillExcelBuffer","line":65,"kind":"procedure","access":"local","params":5,"steps":[[88,"ext","codeunit",4100,"CreateOutStream",2],[90,"ext","codeunit",4100,"CreateInStream",2],[98,"validate",370,"Column No."],[99,"validate",370,"Row No."],[100,"validate",370,"Cell Type"],[102,"write",370,"Insert"],[107,"ext","codeunit",4100,"CreateOutStream",2],[109,"ext","codeunit",4100,"CreateInStream",2],[127,"validate",370,"Column No."],[128,"validate",370,"Row No."],[129,"validate",370,"Cell Type"],[136,"validate",370,"Cell Type"],[142,"validate",370,"Cell Type"],[148,"validate",370,"Cell Type"],[154,"validate",370,"Cell Type"],[160,"validate",370,"Cell Type"],[167,"validate",370,"Cell Type"],[171,"write",370,"Insert"]]}]}