Codeunit 30281 Shpfy Bulk UpdateProductPrice

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 185 lines

src/Apps/W1/Shopify/App/src/Bulk Operations/Codeunits/ShpfyBulkUpdateProductPrice.Codeunit.allines 11 to 26 of 185, Copyright (c) Microsoft Corporation. MIT

codeunit 30281 "Shpfy Bulk UpdateProductPrice" implements "Shpfy IBulk Operation"{    Access = Internal;    var        NameLbl: Label 'Update product price';        PriceSyncRevertedWithErrorLbl: Label 'The product price update was reverted because Shopify returned an error: %1', Comment = '%1 = the error message returned by Shopify';        PriceSyncRevertedLbl: Label 'The product price update was reverted because Shopify did not confirm the update.';    procedure GetGraphQL(): Text    begin        exit('mutation call($productId: ID!, $variants: [ProductVariantsBulkInput!]!) { productVariantsBulkUpdate(productId: $productId, variants: $variants) { productVariants {id updatedAt}, userErrors {field, message}}}');    end;    procedure GetInput(): Text    begin

All 185 lines

Public procedures 6 in 29

GetGraphQL(): Textnew in 23
GetInput(): Textnew in 23
GetName(): Text[250]new in 23
GetType(): Textnew in 23
RevertFailedRequests(var BulkOperation: Record "Shpfy Bulk Operation")new in 26
RevertAllRequests(var BulkOperation: Record "Shpfy Bulk Operation")new in 26

Changes 2 in 26

List17181920212223242526272829
Procedures2
RevertFailedRequests(var BulkOperation: Record "Shpfy Bulk Operation")new in 26
added
RevertAllRequests(var BulkOperation: Record "Shpfy Bulk Operation")new in 26
added

All 2 changes in 23-29