Page 9373 Budget Names Purchase

Base Application, Microsoft.Purchases.Analysis

src/Layers/W1/BaseApp/Purchases/Analysis/BudgetNamesPurchase.Page.al107 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.Purchases.Analysis;using Microsoft.Inventory.Analysis;page 9373 "Budget Names Purchase"{    ApplicationArea = PurchaseBudget;    Caption = 'Purchase Budgets';    PageType = List;    SourceTable = "Item Budget Name";    SourceTableView = where("Analysis Area" = const(Purchase));    UsageCategory = ReportsAndAnalysis;    layout    {        area(content)        {            repeater(Control1)            {                ShowCaption = false;                field(Name; Rec.Name)                {                    ApplicationArea = PurchaseBudget;                    ToolTip = 'Specifies the name of the item budget.';                }                field(Description; Rec.Description)                {                    ApplicationArea = PurchaseBudget;                    ToolTip = 'Specifies a description of the item budget.';                }                field(Blocked; Rec.Blocked)                {                    ApplicationArea = PurchaseBudget;                    ToolTip = 'Specifies that the related record is blocked from being posted in transactions, for example a customer that is declared insolvent or an item that is placed in quarantine.';                }                field("Budget Dimension 1 Code"; Rec."Budget Dimension 1 Code")                {                    ApplicationArea = Dimensions;                    ToolTip = 'Specifies a dimension code for Item Budget Dimension 1.';                }                field("Budget Dimension 2 Code"; Rec."Budget Dimension 2 Code")                {                    ApplicationArea = Dimensions;                    ToolTip = 'Specifies a dimension code for Item Budget Dimension 2.';                }                field("Budget Dimension 3 Code"; Rec."Budget Dimension 3 Code")                {                    ApplicationArea = Dimensions;                    ToolTip = 'Specifies a dimension code for Item Budget Dimension 3.';                }            }        }        area(factboxes)        {            systempart(Control1900383207; Links)            {                ApplicationArea = RecordLinks;                Visible = false;            }            systempart(Control1905767507; Notes)            {                ApplicationArea = Notes;                Visible = false;            }        }    }    actions    {        area(processing)        {            action(EditBudget)            {                ApplicationArea = PurchaseBudget;                Caption = 'Edit Budget';                Image = EditLines;                ShortCutKey = 'Return';                ToolTip = 'Specify budgets that you can create in the general ledger application area. If you need several different budgets, you can create several budget names.';                trigger OnAction()                var                    PurchBudgetOverview: Page "Purchase Budget Overview";                begin                    PurchBudgetOverview.SetNewBudgetName(Rec.Name);                    PurchBudgetOverview.Run();                end;            }        }        area(Promoted)        {            group(Category_Process)            {                Caption = 'Process';                actionref(EditBudget_Promoted; EditBudget)                {                }            }        }    }}