Page extension 30112 Shpfy Sales Invoice List
src/Apps/W1/Shopify/App/src/Order handling/Page Extensions/ShpfySalesInvoiceList.PageExt.al49 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;/// <summary>/// PageExtension Shpfy Sales Invoice List (ID 30112) extends Record Sales Invoice List./// </summary>pageextension 30112 "Shpfy Sales Invoice List" extends "Sales Invoice List"{ layout { addafter("External Document 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 Order Id" = filter(<> 0)); } } }}