{"title":"Codeunit 1482 Edit in Excel Impl., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1482-edit-in-excel-impl/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":1482,"name":"Edit in Excel Impl.","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/1482-edit-in-excel-impl/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1482-edit-in-excel-impl/source/","path":"src/System Application/App/Edit in Excel/src/EditinExcelImpl.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:1481":{"name":"Edit in Excel","url":"https://jonas-paprotka.de/ref/codeunit/1481-edit-in-excel/"},"codeunit:1488":{"name":"Edit in Excel Workbook","url":"https://jonas-paprotka.de/ref/codeunit/1488-edit-in-excel-workbook/"},"codeunit:9560":{"name":"Document Sharing","url":"https://jonas-paprotka.de/ref/codeunit/9560-document-sharing/"},"table:2000000168":{"name":"Tenant Web Service","url":"https://jonas-paprotka.de/ref/table/2000000168-tenant-web-service/"},"codeunit:1490":{"name":"Edit in Excel Filters","url":"https://jonas-paprotka.de/ref/codeunit/1490-edit-in-excel-filters/"}},"procs":[{"name":"EditPageInExcel","line":33,"kind":"procedure","params":4,"steps":[[38,"call","FindOrCreateWorksheetWebService",2],[41,"ext","codeunit",1481,"OnEditInExcelWithFilters",4],[47,"call","GetEndPointAndCreateWorkbookWStructuredFilter",3]]},{"name":"GetEndPointAndCreateWorkbookWStructuredFilter","line":53,"kind":"procedure","params":3,"steps":[[63,"ext","codeunit",1488,"Initialize",1],[64,"call","SetupFieldColumnBindings",2],[65,"ext","codeunit",1488,"SetFilters",1],[67,"call","ExportAndDownloadExcelFile",2],[67,"ext","codeunit",1488,"ExportToStream",0]]},{"name":"SetupFieldColumnBindings","line":70,"kind":"procedure","access":"local","params":2,"steps":[[87,"ext","codeunit",1481,"OnBeforePageControlFieldFindSet",2],[93,"ext","codeunit",1488,"AddColumn",2],[93,"call","ExternalizeODataObjectName",1],[106,"ext","codeunit",1488,"InsertColumn",3],[106,"call","ExternalizeODataObjectName",1],[111,"ext","codeunit",9560,"ShareEnabled",1],[112,"ext","codeunit",1488,"ImposeExcelOnlineRestrictions",0]]},{"name":"ExportAndDownloadExcelFile","line":118,"kind":"procedure","access":"local","params":2,"steps":[[121,"call","GenerateExcelFileName",1],[123,"call","DownloadExcelFile",2]]},{"name":"FindOrCreateWorksheetWebService","line":149,"kind":"procedure","access":"local","params":2,"steps":[[161,"call","NameBeginsWithADigit",1],[175,"write",2000000168,"Insert",1]]},{"name":"DownloadExcelFile","line":186,"kind":"procedure","access":"local","params":2,"steps":[[192,"ext","codeunit",9560,"ShareEnabled",1],[193,"ext","codeunit",9560,"Share",5]]},{"name":"ExternalizeODataObjectName","line":202,"kind":"procedure","params":1,"steps":[[214,"call","NameBeginsWithADigit",1]]},{"name":"OnEditInExcelWithStructuredFilterEvent","line":275,"kind":"procedure","access":"local","params":4,"steps":[[282,"ext","codeunit",1481,"OnEditInExcelWithStructuredFilter",5],[291,"ext","codeunit",1490,"ReadFromJsonFilters",4],[292,"ext","codeunit",1481,"OnEditInExcelWithFilters",4],[298,"call","FormatFilterErrors",1],[299,"call","GetEndPointAndCreateWorkbookWStructuredFilter",3]]}]}