Page extension 30107 Shpfy Posted Sales Invoices
src/Apps/W1/Shopify/App/src/Order handling/Page Extensions/ShpfyPostedSalesInvoices.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.History;/// <summary>/// PageExtension Shpfy Posted Sales Invoices (ID 30107) extends Record Posted Sales Invoices./// </summary>pageextension 30107 "Shpfy Posted Sales Invoices" extends "Posted Sales Invoices"{ layout { addafter("Order 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)); } } }}