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
| Procedure | Versions |
|---|
| internal CreateShopifyProductImage(Product: Record "Shpfy Product"; Item: Record Item): BigInteger | new 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): JsonObject | 20 to 21 |
| internal RetrieveShopifyProduct(var ShopifyProduct: Record "Shpfy Product"): Boolean | new 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): Boolean | new in 20 |
| internal CreateProduct(var ShopifyProduct: Record "Shpfy Product"; var ShopifyVariant: Record "Shpfy Variant"; var ShopifyTag: Record "Shpfy Tag"): BigInteger | new in 22 |
| internal UpdateProductImage(Parameters: Dictionary of [Text, Text]): Boolean | new 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): BigInteger | new in 23 |
| internal UpdateProductStatus(ShopifyProduct: Record "Shpfy Product"; Status: Enum "Shpfy Product Status") | new in 23 |
| internal CheckShopifyProductImageExists(ProductId: BigInteger; ImageId: BigInteger): Boolean | new in 25 |
| internal GetProductOptions(ShopifyProductId: BigInteger): Dictionary | new 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"): Boolean | new 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): BigInteger | new in 28 |
All 22 procedures
Changes 1 in 29
| [InternalEvent] OnBeforeUploadImage(var TenantMedia: Record "Tenant Media"; var ResourceUrl: Text; var IsTestInProgress: Boolean) | 28 to 28 |
| gone |
All 17 changes in 20-29