Codeunit 30278 Shpfy Bulk Operation API

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 162 lines

src/Apps/W1/Shopify/App/src/Bulk Operations/Codeunits/ShpfyBulkOperationAPI.Codeunit.allines 8 to 23 of 162, Copyright (c) Microsoft Corporation. MIT

codeunit 30278 "Shpfy Bulk Operation API"{    var        Shop: Record "Shpfy Shop";        CommunicationMgt: Codeunit "Shpfy Communication Mgt.";        BulkOperationMutationResourceLbl: Label 'BULK_MUTATION_VARIABLES', Locked = true;        CategoryTok: Label 'Shopify Integration', Locked = true;        SendBulkRequestFailedLbl: Label 'Failed to send the bulk operation', Locked = true;        JsonlUploadFailedLbl: Label 'Uploading JSONL file failed. Status code: %1 Error: %2', Comment = '%1 = Http status code, %2 = Error message', Locked = true;        BulkOperationFailedErr: Label 'Bulk operation failed';    internal procedure SetShop(ShopifyShop: Record "Shpfy Shop")    begin        Shop := ShopifyShop;        CommunicationMgt.SetShop(Shop);    end;

All 162 lines

Procedures 10

ProcedureVersions
internal SetShop(ShopifyShop: Record "Shpfy Shop")new in 23
internal GetCurrentBulkRequest(var BulkOperationId: BigInteger; var Status: Enum "Shpfy Bulk Operation Status"; var ErrorCode: Text; var CompletedAt: DateTime)23 to 25
internal GetBulkRequest(BulkOperationId: BigInteger; var Status: Enum "Shpfy Bulk Operation Status"; var ErrorCode: Text; var CompletedAt: DateTime)23 to 25
internal SendBulkRequest(Mutation: Text; ResourceUrl: Text): BigIntegernew in 23
internal CreateBulkOperationMutation(Mutation: Text; Request: Text): BigIntegernew in 23
internal ConvertToBulkOperationStatus(Value: Text): Enum "Shpfy Bulk Operation Status"new in 23
internal GetBulkOperationResult(BulkOperationId: BigInteger; var Url: Text; var PartialDataUrl: Text)23 to 25
internal GetData(Url: Text): Textnew in 23
internal GetCurrentBulkRequest(var BulkOperationId: BigInteger; var Status: Enum "Shpfy Bulk Operation Status"; var ErrorCode: Text; var CompletedAt: DateTime; var Url: Text; var PartialDataUrl: Text)26 to 27
internal GetBulkRequest(BulkOperationId: BigInteger; var Status: Enum "Shpfy Bulk Operation Status"; var ErrorCode: Text; var CompletedAt: DateTime; var Url: Text; var PartialDataUrl: Text)new in 26

Changes 1 in 28

List17181920212223242526272829
Procedures51
internal GetCurrentBulkRequest(var BulkOperationId: BigInteger; var Status: Enum "Shpfy Bulk Operation Status"; var ErrorCode: Text; var CompletedAt: DateTime; var Url: Text; var PartialDataUrl: Text)26 to 27
gone

All 6 changes in 23-29