Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// ------------------------------------------------------------------------------------------------
// 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 30128 "Shpfy Item Attribute Card" extends "Item Attribute"
{
layout
{
addlast(content)
{
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;
}
Loading