{"title":"Codeunit 6710 ODataUtility, procedures","url":"https://jonas-paprotka.de/ref/codeunit/6710-odatautility/procedures/","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":6710,"name":"ODataUtility","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/6710-odatautility/","json":"https://jonas-paprotka.de/ref/codeunit/6710-odatautility.json"},"aspect":"procedures","total":20,"rows":[{"name":"GenerateSelectText","sig":"(Text, Option, var Text)","named":"(ServiceNameParam: Text; ObjectTypeParam: Option  , , , , ,Codeunit, , ,Page,Query; var SelectTextParam: Text)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ServiceNameParam: Text; ObjectTypeParam: Option  , , , , ,Codeunit, , ,Page,Query; var SelectTextParam: Text)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"GenerateODataV3FilterText","sig":"(Text, Option, var Text)","named":"(ServiceNameParam: Text; ObjectTypeParam: Option  , , , , ,Codeunit, , ,Page,Query; var FilterTextParam: Text)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ServiceNameParam: Text; ObjectTypeParam: Option  , , , , ,Codeunit, , ,Page,Query; var FilterTextParam: Text)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"GenerateODataV4FilterText","sig":"(Text, Option, var Text)","named":"(ServiceNameParam: Text; ObjectTypeParam: Option  , , , , ,Codeunit, , ,Page,Query; var FilterTextParam: Text)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ServiceNameParam: Text; ObjectTypeParam: Option  , , , , ,Codeunit, , ,Page,Query; var FilterTextParam: Text)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"GenerateODataV3Url","sig":"(Text, Text, Option)","named":"(ServiceRootUrlParam: Text; ServiceNameParam: Text; ObjectTypeParam: Option  , , , , , , , ,Page,Query)","returns":"Text","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ServiceRootUrlParam: Text; ServiceNameParam: Text; ObjectTypeParam: Option  , , , , , , , ,Page,Query)","returns":"Text","kind":"procedure","access":"public","obsolete":null}]},{"name":"GenerateODataV4Url","sig":"(Text, Text, Option)","named":"(ServiceRootUrlParam: Text; ServiceNameParam: Text; ObjectTypeParam: Option  , , , , , , , ,Page,Query)","returns":"Text","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ServiceRootUrlParam: Text; ServiceNameParam: Text; ObjectTypeParam: Option  , , , , , , , ,Page,Query)","returns":"Text","kind":"procedure","access":"public","obsolete":null}]},{"name":"ConvertNavFieldNameToOdataName","sig":"(Text)","named":"(NavFieldName: Text)","returns":"Text","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Use ExternalizeName instead","tag":"19.0"},"range":"17-21","first":17,"last":21,"obsoleteSince":19,"spans":[{"from":17,"to":18,"named":"(NavFieldName: Text)","returns":"Text","kind":"procedure","access":"public","obsolete":null},{"from":19,"to":21,"named":"(NavFieldName: Text)","returns":"Text","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Use ExternalizeName instead","tag":"19.0"}}]},{"name":"GetColumnsFromFilter","sig":"(var Record Tenant Web Service, Text, var DotNet GenericList1)","named":"(var TenantWebService: Record \"Tenant Web Service\"; FilterText: Text; var ColumnList: DotNet GenericList1)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var TenantWebService: Record \"Tenant Web Service\"; FilterText: Text; var ColumnList: DotNet GenericList1)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CreateAssistedSetup","sig":"()","named":"()","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":" \"Set Up Reporting Data\" already exists in the codeunit 1814 \"Assisted Setup Subscribers\"","tag":"18.0"},"range":"17-20","first":17,"last":20,"obsoleteSince":18,"spans":[{"from":17,"to":17,"named":"()","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":18,"to":20,"named":"()","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":" \"Set Up Reporting Data\" already exists in the codeunit 1814 \"Assisted Setup Subscribers\"","tag":"18.0"}}]},{"name":"EditJournalWorksheetInExcel","sig":"(Text[240], Text, Text, Text)","named":"(PageCaption: Text[240]; PageId: Text; JournalBatchName: Text; JournalTemplateName: Text)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(PageCaption: Text[240]; PageId: Text; JournalBatchName: Text; JournalTemplateName: Text)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"EditWorksheetInExcel","sig":"(Text[240], Text, Text)","named":"(PageCaption: Text[240]; PageId: Text; Filter: Text)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by EditinExcelHandler.EditPageInExcel(PageCaption: Text[240]; ObjectId: Integer; CodeUnit \"Filters\")","tag":"23.0"},"range":"17-28","first":17,"last":28,"obsoleteSince":23,"spans":[{"from":17,"to":22,"named":"(PageCaption: Text[240]; PageId: Text; Filter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":28,"named":"(PageCaption: Text[240]; PageId: Text; Filter: Text)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by EditinExcelHandler.EditPageInExcel(PageCaption: Text[240]; ObjectId: Integer; CodeUnit \"Filters\")","tag":"23.0"}}]},{"name":"GenerateExcelWorkBook","sig":"(Option, Text, Boolean, Text)","named":"(ObjectTypeParm: Option  , , , , ,Codeunit, , ,Page,Query; ServiceNameParm: Text; ShowDialogParm: Boolean; SearchFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-18","first":17,"last":18,"obsoleteSince":null,"spans":[{"from":17,"to":18,"named":"(ObjectTypeParm: Option  , , , , ,Codeunit, , ,Page,Query; ServiceNameParm: Text; ShowDialogParm: Boolean; SearchFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"GenerateExcelWorkBookWithColumns","sig":"(Option, Text, Boolean, var Record Tenant Web Service Columns, Text)","named":"(ObjectTypeParm: Option  , , , , ,Codeunit, , ,Page,Query; ServiceNameParm: Text; ShowDialogParm: Boolean; var TenantWebServiceColumns: Record \"Tenant Web Service Columns\"; SearchFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-18","first":17,"last":18,"obsoleteSince":null,"spans":[{"from":17,"to":18,"named":"(ObjectTypeParm: Option  , , , , ,Codeunit, , ,Page,Query; ServiceNameParm: Text; ShowDialogParm: Boolean; var TenantWebServiceColumns: Record \"Tenant Web Service Columns\"; SearchFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"GenerateExcelTemplateWorkBook","sig":"(Option, Text[50], Boolean, Option)","named":"(ObjectTypeParm: Option  , , , , ,Codeunit, , ,Page,Query; ServiceNameParm: Text[50]; ShowDialogParm: Boolean; StatementType: Option BalanceSheet,SummaryTrialBalance,CashFlowStatement,StatementOfRetainedEarnings,AgedAccountsReceivable,AgedAccountsPayable,IncomeStatement)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ObjectTypeParm: Option  , , , , ,Codeunit, , ,Page,Query; ServiceNameParm: Text[50]; ShowDialogParm: Boolean; StatementType: Option BalanceSheet,SummaryTrialBalance,CashFlowStatement,StatementOfRetainedEarnings,AgedAccountsReceivable,AgedAccountsPayable,IncomeStatement)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CreateDataEntityExportInfo","sig":"(var Record Tenant Web Service, var DotNet DataEntityExportInfo, var Record Tenant Web Service Columns, Text)","named":"(var TenantWebService: Record \"Tenant Web Service\"; var DataEntityExportInfoParam: DotNet DataEntityExportInfo; var TenantWebServiceColumns: Record \"Tenant Web Service Columns\"; SearchFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-18","first":17,"last":18,"obsoleteSince":null,"spans":[{"from":17,"to":18,"named":"(var TenantWebService: Record \"Tenant Web Service\"; var DataEntityExportInfoParam: DotNet DataEntityExportInfo; var TenantWebServiceColumns: Record \"Tenant Web Service Columns\"; SearchFilter: Text)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"ExternalizeODataObjectName","sig":"(Text)","named":"(Name: Text)","returns":"Text","kind":"procedure","access":"public","obsolete":null,"range":"17-18","first":17,"last":18,"obsoleteSince":null,"spans":[{"from":17,"to":18,"named":"(Name: Text)","returns":"Text","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetTenantWebServiceMetadata","sig":"(Record Tenant Web Service, var DotNet QueryMetadataReader)","named":"(TenantWebService: Record \"Tenant Web Service\"; var TenantWebServiceMetadata: DotNet QueryMetadataReader)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(TenantWebService: Record \"Tenant Web Service\"; var TenantWebServiceMetadata: DotNet QueryMetadataReader)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetHostName","sig":"()","named":"()","returns":"Text","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"()","returns":"Text","kind":"procedure","access":"public","obsolete":null}]},{"name":"DownloadODataMetadataDocument","sig":"()","named":"()","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"()","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CreateMetadataWebRequest","sig":"(var Codeunit Http Web Request Mgt.)","named":"(var HttpWebRequestMgt: Codeunit \"Http Web Request Mgt.\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var HttpWebRequestMgt: Codeunit \"Http Web Request Mgt.\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"ExternalizeName","sig":"(Text)","named":"(Name: Text)","returns":"Text","kind":"procedure","access":"public","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(Name: Text)","returns":"Text","kind":"procedure","access":"public","obsolete":null}]}]}