Codeunit 3308 PA Open Current E-Document
Source AL, 27 lines
src/Apps/W1/PayablesAgent/app/Navigation/PAOpenCurrentEDocument.Codeunit.allines 11 to 26 of 27, Copyright (c) Microsoft Corporation. MIT
codeunit 3308 "PA Open Current E-Document"{ InherentEntitlements = X; InherentPermissions = X; trigger OnRun() var EDocument: Record "E-Document"; PayablesAgent: Codeunit "Payables Agent"; InboundEDocuments: Page "Inbound E-Documents"; begin EDocument := PayablesAgent.GetCurrentSessionsEDocument(); EDocument.SetRecFilter(); InboundEDocuments.SetTableView(EDocument); InboundEDocuments.Run(); end;