Source AL, 134 lines
src/System Application/App/Edit in Excel/src/EditInExcel.Codeunit.allines 14 to 29 of 134, Copyright (c) Microsoft Corporation. MIT
codeunit 1481 "Edit in Excel"{ Access = Public; /// <summary> /// Creates web service for the specified page, and uses the web service to prepare and download an Excel file for the Edit in Excel functionality. /// </summary> /// <param name="PageCaption">The name of the page. This will be used for the name of the downloaded excel file, additionally the web service will be called [PageCaption]_Excel. Note if the PageCaption starts with a digit, the web service name will be WS[PageCaption]_Excel.</param> /// <param name="PageId">The ID of the page, for example, 21.</param> procedure EditPageInExcel(PageCaption: Text[240]; PageId: Integer) var EditInExcelImpl: Codeunit "Edit in Excel Impl."; EditinExcelFilters: Codeunit "Edit in Excel Filters"; begin EditInExcelImpl.EditPageInExcel(PageCaption, PageId, EditinExcelFilters, '');
All 134 lines
Events 3 in 29
| [IntegrationEvent] OnEditInExcelWithStructuredFilter(ServiceName: Text[240]; Filter: JsonObject; Payload: JsonObject; SearchFilter: Text; var Handled: Boolean) | new in 21 |
| [IntegrationEvent] OnEditInExcelWithFilters(ServiceName: Text[240]; var EditinExcelFilters: Codeunit "Edit in Excel Filters"; SearchFilter: Text; var Handled: Boolean) | new in 22 |
| [IntegrationEvent] OnBeforePageControlFieldFindSet(var PageControlField: Record "Page Control Field"; PageId: Integer) | new in 29 |
All 4 events in 19-29
Public procedures 6 in 29
| GenerateExcelWorkBook(TenantWebService: Record "Tenant Web Service"; SearchFilter: Text) | new in 19 |
| EditPageInExcel(PageCaption: Text[240]; PageId: Integer) | new in 22 |
| EditPageInExcel(PageCaption: Text[240]; PageId: Integer; EditinExcelFilters: Codeunit "Edit in Excel Filters") | new in 22 |
| EditPageInExcel(PageCaption: Text[240]; PageId: Integer; EditinExcelFilters: Codeunit "Edit in Excel Filters"; FileName: Text) | new in 22 |
| GenerateExcelWorkBook(TenantWebService: Record "Tenant Web Service"; EditinExcelFilters: Codeunit "Edit in Excel Filters") | new in 22 |
| ExternalizeODataObjectName(Name: Text): Text | new in 29 |
All 8 procedures in 19-29
Changes 2 in 29
All 14 changes in 19-29