Page 471 VAT Product Posting Groups, source in 29

Source29

src/Layers/W1/BaseApp/Finance/VAT/Setup/VATProductPostingGroups.Page.al86 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.VAT.Setup;

/// <summary>
/// VAT product posting groups list page for managing item and service VAT categorization.
/// Provides interface to create, edit, and maintain VAT product posting groups used in VAT posting setup combinations.
/// </summary>
/// <remarks>
/// Data source: VAT Product Posting Group table containing codes and descriptions for item/service VAT categories.
/// Usage context: Administrative setup for categorizing items and services by VAT characteristics.
/// Integration: Used in combination with VAT business posting groups to create VAT posting setups.
/// </remarks>
page 471 "VAT Product Posting Groups"
{
    ApplicationArea = Basic, Suite;
    Caption = 'VAT Product Posting Groups';
    PageType = List;
    AboutTitle = 'About VAT Product Posting Groups';
    AboutText = 'Define VAT product posting groups to control how VAT is calculated and posted for different items and resources, using codes that specify applicable VAT rates for purchases and sales.';
    SourceTable = "VAT Product Posting Group";
    UsageCategory = Administration;

    layout
    {
        area(content)
        {
            repeater(Control1)
            {
                ShowCaption = false;
                field("Code"; Rec.Code)
                {
                    ApplicationArea = Basic, Suite;
                }
                field(Description; Rec.Description)
                {
                    ApplicationArea = Basic, Suite;
                }
            }
        }
        area(factboxes)
        {
            systempart(Control1900383207; Links)
            {
                ApplicationArea = RecordLinks;
                Visible = false;
            }
            systempart(Control1905767507; Notes)
            {
                ApplicationArea = Notes;
                Visible = false;
            }
        }
    }

    actions
    {
        area(processing)
        {
            action("&Setup")
            {
                ApplicationArea = Basic, Suite;
                Caption = '&Setup';
                Image = Setup;
                RunObject = Page "VAT Posting Setup";
                RunPageLink = "VAT Prod. Posting Group" = field(Code);
                ToolTip = 'View or edit combinations of VAT business posting groups and VAT product posting groups, which determine which G/L accounts to post to when you post journals and documents.';
            }
        }
        area(Promoted)
        {
            group(Category_Process)
            {
                Caption = 'Process';

                actionref("&Setup_Promoted"; "&Setup")
                {
                }
            }
        }
    }
}