Page extension 30127 Shpfy Item Attributes
src/Apps/W1/Shopify/App/src/Products/Page Extensions/ShpfyItemAttributes.PageExt.al34 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Integration.Shopify;using Microsoft.Inventory.Item.Attribute;pageextension 30127 "Shpfy Item Attributes" extends "Item Attributes"{ layout { addlast(Control1) { field("Shpfy Incl. in Product Sync"; Rec."Shpfy Incl. in Product Sync") { ApplicationArea = All; Visible = ShopifyEnabled; } } } var ShopifyEnabled: Boolean; trigger OnOpenPage() var ShopMgt: Codeunit "Shpfy Shop Mgt."; begin ShopifyEnabled := ShopMgt.IsEnabled(); end;}