microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
718 stars 242 forks source link

Function GetRecord working incorrectly when in factbox we have more then 15 records #7755

Closed ABU-LT closed 1 month ago

ABU-LT commented 1 month ago

1. Describe the bug When we using function GetRecord to get selected record from then factbox to the main page, then we get wrong record. It happens when in factbox is more then 15 records. If we have till 15 records everything is working correctly

MS-BUG_BC24

2. To Reproduce Create Main page with factbox. image

In main page create action : image

Then add more then 15 records in factbox. Select first record in factbox and press action button "Test" You will get not first but last record from the factbox. image

3. Expected behavior Function GetRecord should return a record of what exactly I chosed

4. Actual behavior GetRecord return last records from then factbox if there is more then 15 records

5. Versions:

-AL Language: v13.0.1007491 -VSC Version: 1.89.1 (user setup) -Business Central: v. 24.1.18927.19633 -Microsoft Edge :Version 125.0.2535.67

SBalslev commented 1 month ago

Let's get the issue to a team who will fix and backport it, as this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.

To open a support case, you can:

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.