Page extension 30121 Shpfy Sales Credit Memos

Shopify Connector, Microsoft.Integration.Shopify

src/Apps/W1/Shopify/App/src/Order Return Refund Processing/Page Extensions/ShpfySalesCreditMemos.PageExt.al46 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.Sales.Document;pageextension 30121 "Shpfy Sales Credit Memos" extends "Sales Credit Memos"{    layout    {        addafter("No.")        {            field(ShpfyOrderNo; Rec."Shpfy Order No.")            {                ApplicationArea = All;                DrillDown = true;                ToolTip = 'Specifies the order number from Shopify';                Visible = false;                trigger OnDrillDown()                var                    ShopifyOrderMgt: Codeunit "Shpfy Order Mgt.";                    VariantRec: Variant;                begin                    VariantRec := Rec;                    ShopifyOrderMgt.ShowShopifyOrder(VariantRec);                end;            }        }    }    views    {        addlast        {            view(FromShopify)            {                Caption = 'From Shopify';                Filters = where("Shpfy Refund Id" = filter(<> 0));            }        }    }}