Codeunit 30176 Shpfy Product API

Shopify Connector, Microsoft.Integration.Shopify

Source AL, 749 lines

src/Apps/W1/Shopify/App/src/Products/Codeunits/ShpfyProductAPI.Codeunit.allines 14 to 29 of 749, Copyright (c) Microsoft Corporation. MIT

codeunit 30176 "Shpfy Product API"{    Access = Internal;    Permissions = tabledata Item = r;    var        Shop: Record "Shpfy Shop";        CommunicationMgt: Codeunit "Shpfy Communication Mgt.";        JsonHelper: Codeunit "Shpfy Json Helper";        ProductEvents: Codeunit "Shpfy Product Events";        VariantApi: Codeunit "Shpfy Variant API";        MetafieldAPI: Codeunit "Shpfy Metafield API";    /// <summary>     /// Create Product.    /// </summary>

All 749 lines

Procedures 22

ProcedureVersions
internal CreateShopifyProductImage(Product: Record "Shpfy Product"; Item: Record Item): BigIntegernew in 20
internal CreateProduct(var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant")20 to 21
internal CreateProductImageAsJson(Item: Record Item; ProductId: BigInteger; ImageId: BigInteger): JsonObject20 to 21
internal RetrieveShopifyProduct(var ShopifyProduct: Record "Shpfy Product"): Booleannew in 20
internal RetrieveShopifyProductIds(var ProductIds: Dictionary of [BigInteger, DateTime]; NumberOfRecords: Integer)new in 20
internal RetrieveShopifyProductImages(var ProductImages: Dictionary of [BigInteger, Dictionary of [BigInteger, Text]])new in 20
internal SetShop(Code: Code[20])new in 20
internal SetShop(ShopifyShop: Record "Shpfy Shop")new in 20
internal UpdateProduct(var ShopifyProduct: Record "Shpfy Product"; var xShopifyProduct: Record "Shpfy Product")new in 20
internal UpdateShopifyProductFields(var ShopifyProduct: Record "Shpfy Product"; JProduct: JsonObject): Booleannew in 20
internal CreateProduct(var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; var ShopifyTag: Record "Shpfy Tag"): BigIntegernew in 22
internal UpdateProductImage(Parameters: Dictionary of [Text, Text]): Booleannew in 23changed in 26
internal UpdateShopifyProductImage(Product: Record "Shpfy Product"; Item: Record Item; var BulkOperationInput: TextBuilder; var ParametersList: List of [Dictionary of [Text, Text]]; RecordCount: Integer): BigIntegernew in 23
internal UpdateProductStatus(ShopifyProduct: Record "Shpfy Product"; Status: Enum "Shpfy Product Status")new in 23
internal CheckShopifyProductImageExists(ProductId: BigInteger; ImageId: BigInteger): Booleannew in 25
internal GetProductOptions(ShopifyProductId: BigInteger): Dictionarynew in 25
internal PublishProduct(ShopifyProduct: Record "Shpfy Product")new in 25
internal UpdateProductOption(ProductId: BigInteger; OptionId: BigInteger; NewOptionName: Text)new in 25
internal CreateImageUploadUrl(var Url: Text; var ResourceUrl: Text; var TenantMedia: Record "Tenant Media"): Booleannew in 28
internal UpdateShopifyProductImage(ProductId: BigInteger; ImageId: BigInteger; TenantMedia: Record "Tenant Media"; var BulkOperationInput: TextBuilder; var ParametersList: List of [Dictionary of [Text, Text]]; RecordCount: Integer): BigIntegernew in 28

All 22 procedures

Changes 1 in 29

List17181920212223242526272829
Procedures33414
Events11
[InternalEvent] OnBeforeUploadImage(var TenantMedia: Record "Tenant Media"; var ResourceUrl: Text; var IsTestInProgress: Boolean)28 to 28
gone

All 17 changes in 20-29