Page 657 IC Mapping Dimension Incoming, source in 29
Source29
src/Layers/W1/BaseApp/Finance/Intercompany/Dimension/ICMappingDimensionIncoming.Page.al65 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.Intercompany.Dimension;
using Microsoft.Finance.Dimension;
/// <summary>
/// Enables mapping of intercompany dimensions to local company dimensions for incoming transactions.
/// Provides editing interface for establishing dimension code mappings between IC and local structures.
/// </summary>
page 657 "IC Mapping Dimension Incoming"
{
PageType = ListPart;
SourceTable = "IC Dimension";
Editable = true;
DeleteAllowed = false;
InsertAllowed = false;
layout
{
area(Content)
{
repeater(Lines)
{
field(ICDimCode; Rec."Code")
{
Caption = 'IC Dim. Code';
ToolTip = 'Specifies the intercompany dimension code.';
ApplicationArea = All;
Editable = false;
Enabled = false;
}
field(ICDimName; Rec.Name)
{
Caption = 'IC Dim. Name';
ToolTip = 'Specifies the intercompany dimension name.';
ApplicationArea = All;
Editable = false;
Enabled = false;
}
field(CompanyDimCode; Rec."Map-to Dimension Code")
{
Caption = 'Dim. Code';
ToolTip = 'Specifies the dimension code associated with the corresponding intercompany dimension.';
ApplicationArea = All;
TableRelation = Dimension.Code;
Editable = true;
Enabled = true;
}
}
}
}
/// <summary>
/// Retrieves the currently selected intercompany dimension lines for processing.
/// </summary>
/// <param name="ICDimensions">Record variable to store selected IC dimension records</param>
procedure GetSelectedLines(var ICDimensions: Record "IC Dimension")
begin
CurrPage.SetSelectionFilter(ICDimensions);
end;
}