Codeunit 9555 Record Selection
Source AL, 53 lines
src/System Application/App/Record Selection/src/RecordSelection.Codeunit.allines 11 to 26 of 53, Copyright (c) Microsoft Corporation. MIT
codeunit 9555 "Record Selection"{ Access = Public; InherentEntitlements = X; InherentPermissions = X; /// <summary> /// Opens the record lookup page and assigns the selected records on the <paramref name="SelectedRecord"/> parameter. /// </summary> /// <param name="TableId">The ID of the table from which records should be selected.</param> /// <param name="MaximumCount">The maximum number of records allowed in the table that is being looked up. If there are more records, an error is thrown.</param> /// <param name="SelectedRecord">The variable to set the selected records.</param> /// <error>There is more than <paramref name="MaximumCount"/> records in the table.</error> /// <returns>Returns true if a record was selected.</returns> procedure Open(TableId: Integer; MaximumCount: Integer; var SelectedRecord: Record "Record Selection Buffer"): Boolean var