Codeunit 30207 Shpfy GQL OrderHeader
Source AL, 21 lines
src/Apps/W1/Shopify/App/src/GraphQL/Codeunits/ShpfyGQLOrderHeader.Codeunit.allines 8 to 21 of 21, Copyright (c) Microsoft Corporation. MIT
codeunit 30207 "Shpfy GQL OrderHeader" implements "Shpfy IGraphQL"{ Access = Internal; procedure GetGraphQL(): Text begin exit('{"query": "query { order(id: \"gid:\/\/shopify\/Order\/{{OrderId}}\") { legacyResourceId name createdAt confirmed updatedAt cancelReason cancelledAt closed closedAt currentSubtotalLineItemsQuantity test email phone poNumber customer { legacyResourceId firstName lastName defaultEmailAddress { emailAddress } defaultPhoneNumber { phoneNumber } defaultAddress { id phone }} displayAddress { id firstName lastName company address1 address2 zip city provinceCode province countryCodeV2 country phone } shippingAddress { id name firstName lastName company address1 address2 zip city provinceCode province countryCodeV2 country phone latitude longitude } billingAddressMatchesShippingAddress billingAddress { id name firstName lastName company address1 address2 zip city provinceCode province countryCodeV2 country phone } publication { name } app { name } currencyCode presentmentCurrencyCode fullyPaid unpaid note customAttributes { key value } discountCode displayFinancialStatus displayFulfillmentStatus edited totalWeight refundable returnStatus risk { assessments { facts { description sentiment } provider { title } riskLevel }} tags paymentGatewayNames processedAt requiresShipping sourceIdentifier {{StaffMember}} paymentTerms { id dueInDays paymentTermsName paymentTermsType translatedName paymentSchedules(first: 1) { nodes { dueAt } } } taxesIncluded cartDiscountAmountSet { presentmentMoney { amount } shopMoney { amount }} currentCartDiscountAmountSet { presentmentMoney { amount } shopMoney { amount }} currentSubtotalPriceSet { presentmentMoney { amount } shopMoney { amount }} currentTotalDiscountsSet { presentmentMoney { amount } shopMoney { amount }} currentTotalDutiesSet { presentmentMoney { amount } shopMoney { amount }} currentTotalPriceSet { presentmentMoney { amount } shopMoney { amount }} currentTotalTaxSet { presentmentMoney { amount } shopMoney { amount }} netPaymentSet { presentmentMoney { amount } shopMoney { amount }} originalTotalDutiesSet { presentmentMoney { amount } shopMoney { amount }} originalTotalPriceSet { presentmentMoney { amount } shopMoney { amount }} refundDiscrepancySet { presentmentMoney { amount } shopMoney { amount }} subtotalPriceSet { presentmentMoney { amount } shopMoney { amount }} totalCapturableSet { presentmentMoney { amount } shopMoney { amount }} totalDiscountsSet { presentmentMoney { amount } shopMoney { amount }} totalOutstandingSet { presentmentMoney { amount } shopMoney { amount }} totalPriceSet { presentmentMoney { amount } shopMoney { amount }} totalReceivedSet { presentmentMoney { amount } shopMoney { amount }} totalRefundedSet { presentmentMoney { amount } shopMoney { amount }} totalRefundedShippingSet { presentmentMoney { amount } shopMoney { amount }} totalShippingPriceSet { presentmentMoney { amount } shopMoney { amount }} totalTaxSet { presentmentMoney { amount } shopMoney { amount }} totalTipReceivedSet { presentmentMoney { amount } shopMoney { amount }} totalCashRoundingAdjustment { paymentSet { presentmentMoney { currencyCode amount } shopMoney { currencyCode amount }} refundSet { presentmentMoney { currencyCode amount } shopMoney { currencyCode amount }}} taxLines { channelLiable rate ratePercentage title priceSet { presentmentMoney { amount } shopMoney { amount }}} refunds { legacyResourceId updatedAt } returns(first: 20) { pageInfo { endCursor hasNextPage } nodes { id }} retailLocation { legacyResourceId name } purchasingEntity { ... on PurchasingCompany { company { id name mainContact { id customer { legacyResourceId firstName lastName defaultEmailAddress { emailAddress } defaultPhoneNumber { phoneNumber } }}} location { id }}}}}"}'); end; procedure GetExpectedCost(): Integer begin exit(36); end;}Public procedures 2 in 28
| Get | 22 to 28 |
| Get | 22 to 28 |