Page 1109 Cost Allocation Target Card

Base Application, Microsoft.CostAccounting.Allocation

src/Layers/W1/BaseApp/CostAccounting/Allocation/CostAllocationTargetCard.Page.al162 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.CostAccounting.Allocation;using System.Security.User;page 1109 "Cost Allocation Target Card"{    AutoSplitKey = true;    Caption = 'Cost Allocation Target Card';    PageType = Card;    SourceTable = "Cost Allocation Target";    layout    {        area(content)        {            group(General)            {                Caption = 'General';                field(ID; Rec.ID)                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the ID that applies to the cost allocation.';                }                field("Line No."; Rec."Line No.")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the number of this line.';                }                field("Target Cost Type"; Rec."Target Cost Type")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the type of target cost.';                }                field("Target Cost Center"; Rec."Target Cost Center")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the target cost center.';                }                field("Target Cost Object"; Rec."Target Cost Object")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the target cost object.';                }                field("Allocation Target Type"; Rec."Allocation Target Type")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies if the allocation comes from both budgeted and actual costs, only budgeted costs, or only actual costs.';                }                field("Percent per Share"; Rec."Percent per Share")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the percentage if the chosen Allocation Target Type is Percent per Share.';                }                field("Amount per Share"; Rec."Amount per Share")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the amount if the value in the Allocation Target Type field is Amount per Share.';                }                field(Base; Rec.Base)                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies whether or not the base is static.';                }                field("Static Base"; Rec."Static Base")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies whether or not the base is static.';                }                field("Static Weighting"; Rec."Static Weighting")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies whether the values in the static base are weighted.';                }                field(Share; Rec.Share)                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the values calculated from the Static Base and Static Weighting fields. ';                    trigger OnValidate()                    begin                        CurrPage.Update(false);                    end;                }                field(Percent; Rec.Percent)                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the percentage rate calculated based on all other allocation targets.';                }            }            group("Dyn. Allocation")            {                Caption = 'Dyn. Allocation';                field("No. Filter"; Rec."No. Filter")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies a filter for the numbers that are included. ';                }                field("Cost Center Filter"; Rec."Cost Center Filter")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the cost center code. The code serves as a default value for cost posting that is captured later in the cost journal.';                }                field("Cost Object Filter"; Rec."Cost Object Filter")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the cost object code. The code serves as a default value for cost posting that is captured later in the cost journal.';                }                field("Date Filter Code"; Rec."Date Filter Code")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies a filter to filter the calculation of the dynamic allocation base by dates. You use the Date Filter Code field to define a dynamic date range without using a static date. If the allocation bases are updated, the date filter is automatically updated by using the work date.';                }                field("Group Filter"; Rec."Group Filter")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies a filter so that the dynamic calculation of the Share field is based on the chosen group. Leave the field blank for static allocation.';                }            }            group(Statistics)            {                Caption = 'Statistics';                field("Share Updated on"; Rec."Share Updated on")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the date of when the Share field was last updated.';                }                field("Last Date Modified"; Rec."Last Date Modified")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies when the allocation target card was last modified.';                }                field("User ID"; Rec."User ID")                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies the ID of the user who posted the entry, to be used, for example, in the change log.';                    trigger OnDrillDown()                    var                        UserMgt: Codeunit "User Management";                    begin                        UserMgt.DisplayUserInformation(Rec."User ID");                    end;                }                field(Comment; Rec.Comment)                {                    ApplicationArea = CostAccounting;                    ToolTip = 'Specifies a comment that applies to the cost allocation.';                }            }        }    }    actions    {    }}