---
title: "Codeunit 30223 Shpfy GQL NextOrderReturns"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/30223-shpfy-gql-nextorderreturns/
type: codeunit
id: 30223
name: "Shpfy GQL NextOrderReturns"
app: "Shopify Connector"
namespace: Microsoft.Integration.Shopify
versions: "22-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
obsolete: "Pending 29.0"
source: "https://jonas-paprotka.de/ref/codeunit/30223-shpfy-gql-nextorderreturns/source/?v=27 https://jonas-paprotka.de/ref/codeunit/30223-shpfy-gql-nextorderreturns/source/?v=28 https://jonas-paprotka.de/ref/codeunit/30223-shpfy-gql-nextorderreturns/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Codeunit 30223 Shpfy GQL NextOrderReturns

JOP-AL, https://jonas-paprotka.de/ref/codeunit/30223-shpfy-gql-nextorderreturns/

| | |
| --- | --- |
| App | Shopify Connector |
| Namespace | Microsoft.Integration.Shopify |
| Versions | 22-29 |
| Minors | W1 22.2-29.0; DE 22.2-29.0; US 22.2-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/30223-shpfy-gql-nextorderreturns/editions.json) |
| Obsolete | Pending, tag 29.0, obsolete since 29: Replaced by .graphql resource files. Use "Shpfy GraphQL Queries".GetQueryWithCost() instead. |
| Source file | src/GraphQL/Codeunits/ShpfyGQLNextOrderReturns.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetGraphQL | () | Text | public | 22-29 | - | - |
| GetExpectedCost | () | Integer | public | 22-29 | - | - |

## Source

Symbols: Microsoft.ShopifyConnector.symbols.ec255f57-31d0-4ca2-b751-f2fa7c745abb, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at ad459712441b2fe6cb0cf1c560563f8ec7188a93.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
