Codeunit 30359 Shpfy GQL TranslationsRegister
src/Apps/W1/Shopify/App/src/GraphQL/Codeunits/ShpfyGQLTranslationsRegister.Codeunit.al33 lines, Copyright (c) Microsoft Corporation. MIT
#if not CLEAN29// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Integration.Shopify;codeunit 30359 "Shpfy GQL TranslationsRegister"{ ObsoleteState = Pending; ObsoleteReason = 'Replaced by .graphql resource files. Use "Shpfy GraphQL Queries".GetQueryWithCost() instead.'; ObsoleteTag = '29.0'; procedure GetGraphQL(): Text var GraphQLQueries: Codeunit "Shpfy GraphQL Queries"; ExpectedCost: Integer; begin exit(GraphQLQueries.GetQueryWithCost(Enum::"Shpfy GraphQL Type"::Base_TranslationsRegister, ExpectedCost)); end; procedure GetExpectedCost(): Integer var GraphQLQueries: Codeunit "Shpfy GraphQL Queries"; ExpectedCost: Integer; begin GraphQLQueries.GetQueryWithCost(Enum::"Shpfy GraphQL Type"::Base_TranslationsRegister, ExpectedCost); exit(ExpectedCost); end;}#endif