diff --git a/src/System Application/App/Table Information/src/TableInformationCacheImpl.Codeunit.al b/src/System Application/App/Table Information/src/TableInformationCacheImpl.Codeunit.al index 4001329d7d..187979afc0 100644 --- a/src/System Application/App/Table Information/src/TableInformationCacheImpl.Codeunit.al +++ b/src/System Application/App/Table Information/src/TableInformationCacheImpl.Codeunit.al @@ -145,8 +145,8 @@ codeunit 8700 "Table Information Cache Impl." procedure GetTableUrl(Company: Text; TableNo: Integer): Text begin - if Company = '' then - Company := CompanyName(); // use the current company for the URL for the cases when table is not per company + if Company = CrossCompanyDataLbl then + Company := ''; // Clear the Company text if it is the CrossCompanyDataLbl to avoid errors with GetUrl exit(GetUrl(ClientType::Web, Company, ObjectType::Table, TableNo)); end;