[Bug]: RecordSelection should not display Media Fields #1198
Open
Description
Describe the issue
Currently the RecordSelection Codeunit uses the page summary to select the fields for the record selection.
This results in non-helping media fields being displayed in a list view.
Expected behavior
Media should be ignored.
Steps to reproduce
field("Record SystemId"; RecordSystemId)
{
Caption = 'Record SystemId';
Editable = false;
ToolTip = 'Specifies the SystemId of the record.';
trigger OnAssistEdit()
var
TempRecordSelectionBuffer: Record "Record Selection Buffer" temporary;
RecordSelection: Codeunit "Record Selection";
RecordSystemId : Guid;
begin
CheckForTableId(true);
if RecordSelection.Open(Database::167, 2147483647, TempRecordSelectionBuffer) then
RecordSystemId := TempRecordSelectionBuffer."Record System Id";
end;
}
Additional context
Furthermore it would be usefult to replace fields for custom apps.
I will provide a fix for a bug
- I will provide a fix for a bug