Page 9374 Budget Names Sales

App
Base Application
Namespace
Microsoft.Sales.Analysis
Versions
17-28
Source table
7132

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/Sales/Analysis/BudgetNamesSales.Page.al110 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.Sales.Analysis;

using Microsoft.Inventory.Analysis;

/// <summary>
/// Lists available sales budget names for budget planning and analysis.
/// </summary>
page 9374 "Budget Names Sales"
{
    ApplicationArea = SalesBudget;
    Caption = 'Sales Budgets';
    PageType = List;
    SourceTable = "Item Budget Name";
    SourceTableView = where("Analysis Area" = const(Sales));
    UsageCategory = ReportsAndAnalysis;

    layout
    {
        area(content)
        {
            repeater(Control1)
            {
                ShowCaption = false;
                field(Name; Rec.Name)
                {
                    ApplicationArea = SalesBudget;
                    ToolTip = 'Specifies the name of the item budget.';
                }
                field(Description; Rec.Description)
                {
                    ApplicationArea = SalesBudget;
                    ToolTip = 'Specifies a description of the item budget.';
                }
                field(Blocked; Rec.Blocked)
                {
                    ApplicationArea = SalesBudget;
                    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 = SalesBudget;
                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
                    SalesBudgetOverview: Page "Sales Budget Overview";
                begin
                    SalesBudgetOverview.SetNewBudgetName(Rec.Name);
                    SalesBudgetOverview.Run();
                end;
            }
        }
        area(Promoted)
        {
            group(Category_Process)
            {
                Caption = 'Process';

                actionref(EditBudget_Promoted; EditBudget)
                {
                }
            }
        }
    }
}