Page 9032 Acc. Payables Activities

Base Application, Microsoft.Finance.RoleCenters

src/Layers/W1/BaseApp/Finance/RoleCenters/AccPayablesActivities.Page.al106 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.Finance.RoleCenters;using Microsoft.Finance.GeneralLedger.Journal;using Microsoft.Purchases.Document;using Microsoft.Purchases.Payables;using Microsoft.Purchases.Vendor;page 9032 "Acc. Payables Activities"{    Caption = 'Activities';    PageType = CardPart;    RefreshOnActivate = true;    SourceTable = "Finance Cue";    layout    {        area(content)        {            cuegroup(Payments)            {                Caption = 'Payments';                field("Purchase Documents Due Today"; Rec."Purchase Documents Due Today")                {                    ApplicationArea = Basic, Suite;                    DrillDownPageID = "Vendor Ledger Entries";                    ToolTip = 'Specifies the number of purchase invoices that must be paid today.';                }                field("Vendors - Payment on Hold"; Rec."Vendors - Payment on Hold")                {                    ApplicationArea = Basic, Suite;                    DrillDownPageID = "Vendor List";                }                field("Purchase Return Orders"; Rec."Purchase Return Orders")                {                    ApplicationArea = PurchReturnOrder;                    DrillDownPageID = "Purchase Return Order List";                }                field("Outstanding Vendor Invoices"; Rec."Outstanding Vendor Invoices")                {                    ApplicationArea = Basic, Suite;                }                actions                {                    action("Edit Payment Journal")                    {                        ApplicationArea = Basic, Suite;                        Caption = 'Edit Payment Journal';                        RunObject = Page "Payment Journal";                        ToolTip = 'Pay your vendors by filling the payment journal automatically according to payments due, and potentially export all payment to your bank for automatic processing.';                    }                    action("New Purchase Credit Memo")                    {                        ApplicationArea = Basic, Suite;                        Caption = 'New Purchase Credit Memo';                        RunObject = Page "Purchase Credit Memo";                        RunPageMode = Create;                        ToolTip = 'Specifies a new purchase credit memo so you can manage returned items to a vendor.';                    }                    action("Edit Purchase Journal")                    {                        ApplicationArea = Basic, Suite;                        Caption = 'Edit Purchase Journal';                        RunObject = Page "Purchase Journal";                        ToolTip = 'Post purchase invoices in a purchase journal that may already contain journal lines.';                    }                }            }            cuegroup("Document Approvals")            {                Caption = 'Document Approvals';                field("POs Pending Approval"; Rec."POs Pending Approval")                {                    ApplicationArea = Suite;                    DrillDownPageID = "Purchase Order List";                }                field("Approved Purchase Orders"; Rec."Approved Purchase Orders")                {                    ApplicationArea = Suite;                    DrillDownPageID = "Purchase Order List";                }            }        }    }    actions    {    }    trigger OnOpenPage()    begin        Rec.Reset();        if not Rec.Get() then begin            Rec.Init();            Rec.Insert();        end;        Rec.SetFilter("Due Date Filter", '<=%1', WorkDate());    end;}