Codeunit 9806 Field Selection, source in 25
Source242526272829metadata in 25
src/System Application/App/Field Selection/src/FieldSelection.Codeunit.al30 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 System.Reflection;
/// <summary>
/// Exposes functionality to look up fields.
/// </summary>
codeunit 9806 "Field Selection"
{
Access = Public;
InherentEntitlements = X;
InherentPermissions = X;
/// <summary>
/// Opens the fields lookup page and assigns the selected fields on the <paramref name="SelectedField"/> parameter.
/// </summary>
/// <param name="SelectedField">The field record variable to set the selected fields. Any filters on this record will influence the page view.</param>
/// <returns>Returns true if a field was selected.</returns>
procedure Open(var SelectedField: Record "Field"): Boolean
var
FieldSelectionImpl: Codeunit "Field Selection Impl.";
begin
exit(FieldSelectionImpl.Open(SelectedField));
end;
}