Codeunit 30255 Shpfy Open SalesInvoice

Shopify Connector, Microsoft.Integration.Shopify

src/Apps/W1/Shopify/App/src/Document Links/Codeunits/ShpfyOpenSalesInvoice.Codeunit.al23 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;codeunit 30255 "Shpfy Open SalesInvoice" implements "Shpfy IOpenBCDocument"{    procedure OpenDocument(DocumentNo: Code[20])    var        SalesHeader: Record "Sales Header";    begin        if SalesHeader.Get(SalesHeader."Document Type"::Invoice, DocumentNo) then begin            SalesHeader.SetRecFilter();            Page.Run(Page::"Sales Invoice", SalesHeader);        end;    end;}