---
title: "Codeunit 6710 ODataUtility"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/6710-odatautility/
type: codeunit
id: 6710
name: "ODataUtility"
app: "Base Application"
namespace: System.Integration
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/6710-odatautility/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 6710 ODataUtility

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/6710-odatautility/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Integration |
| Versions | 17-28 |
| Source file | System/OData/ODataUtility.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GenerateSelectText | (Text, Option, var Text) | Boolean | public | 17-28 | - | - |
| GenerateODataV3FilterText | (Text, Option, var Text) | Boolean | public | 17-28 | - | - |
| GenerateODataV4FilterText | (Text, Option, var Text) | Boolean | public | 17-28 | - | - |
| GenerateODataV3Url | (Text, Text, Option) | Text | public | 17-28 | - | - |
| GenerateODataV4Url | (Text, Text, Option) | Text | public | 17-28 | - | - |
| ConvertNavFieldNameToOdataName | (Text) | Text | public | 17-21 | Pending 19.0 | Use ExternalizeName instead |
| GetColumnsFromFilter | (var Record Tenant Web Service, Text, var DotNet GenericList1) | - | public | 17-28 | - | - |
| CreateAssistedSetup | () | - | public | 17-20 | Pending 18.0 |  "Set Up Reporting Data" already exists in the codeunit 1814 "Assisted Setup Subscribers" |
| EditJournalWorksheetInExcel | (Text[240], Text, Text, Text) | - | public | 17-28 | - | - |
| EditWorksheetInExcel | (Text[240], Text, Text) | - | public | 17-28 | Pending 23.0 | Replaced by EditinExcelHandler.EditPageInExcel(PageCaption: Text[240]; ObjectId: Integer; CodeUnit "Filters") |
| GenerateExcelWorkBook | (Option, Text, Boolean, Text) | - | public | 17-18 | - | - |
| GenerateExcelWorkBookWithColumns | (Option, Text, Boolean, var Record Tenant Web Service Columns, Text) | - | public | 17-18 | - | - |
| GenerateExcelTemplateWorkBook | (Option, Text[50], Boolean, Option) | - | public | 17-28 | - | - |
| CreateDataEntityExportInfo | (var Record Tenant Web Service, var DotNet DataEntityExportInfo, var Record Tenant Web Service Columns, Text) | - | public | 17-18 | - | - |
| ExternalizeODataObjectName | (Text) | Text | public | 17-18 | - | - |
| GetTenantWebServiceMetadata | (Record Tenant Web Service, var DotNet QueryMetadataReader) | - | public | 17-28 | - | - |
| GetHostName | () | Text | public | 17-28 | - | - |
| DownloadODataMetadataDocument | () | - | public | 18-28 | - | - |
| CreateMetadataWebRequest | (var Codeunit Http Web Request Mgt.) | Boolean | public | 18-28 | - | - |
| ExternalizeName | (Text) | Text | public | 19-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnEditInExcel | (Text[240], Text) | 17-21 | Pending 19.0 | Event has been moved to System App, codeunit "Edit in Excel" event "OnEditInExcel". |
| Integration event | OnEditInExcelWithSearch | (Text[240], Text, Text) | 17-21 | Pending 19.0 | Event has been moved to System App, codeunit "Edit in Excel" event "OnEditInExcel". |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
