Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: RecordSelection should not display Media Fields #1198

Open
1 task done
pri-kise opened this issue May 28, 2024 · 0 comments
Open
1 task done

[Bug]: RecordSelection should not display Media Fields #1198

pri-kise opened this issue May 28, 2024 · 0 comments
Assignees
Labels
Approved The issue is approved Integration GitHub request for Integration area

Comments

@pri-kise
Copy link
Contributor

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;
                }

image

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
@pri-kise pri-kise added the Bug Something isn't working label May 28, 2024
@JesperSchulz JesperSchulz added the Approved The issue is approved label May 28, 2024
@JesperSchulz JesperSchulz added the Integration GitHub request for Integration area label Sep 16, 2024
@aholstrup1 aholstrup1 removed the Bug Something isn't working label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved The issue is approved Integration GitHub request for Integration area
Projects
None yet
Development

No branches or pull requests

3 participants