Closed jvak closed 3 years ago
It seems that integer/decimal fields in the list are not refreshed, in contrast to other fields.
Do you mean that changing e.g. text fields, such that a different sort order would result, does cause reordering upon CurrPage.Update()
?
@dtkb Reordering works fine, only the values in some integer/decimal columns of the previous record are not refreshed correctly until you manually put your cursor in those fields.
Let's get the issue to a team who will fix and backport it, as this repository is only for issues related to the 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.
@jvak may i know what is the resolution for this ? i am also facing same sort of issue
I am facing this issue as well, any solution to this?
Describe the bug The list page does not refresh correctly when using CurrPage.Update(false) if you change the field in code on which the listpage is sorted , e.g. by using custom developed actions on the page like moveup / movedown. It seems that integer/decimal fields in the list are not refreshed, in contrast to other fields. See the screen recording in attachment. This has been tested on the latest sandbox environment.
To Reproduce Steps and to reproduce the behavior: Screen recording:
Edit - General Journals - Dynamics 365 Business Central.zip
AL Code to reproduce the issue
Here you can find the page extension for the general journal page with the sorting set and the moveup - movedown actions:pageextension 71000 "NVT General Journal Ext" extends "General Journal" { actions { addlast(processing) { action("NVT MoveUp") { ApplicationArea = All; Caption = 'Up'; Image = MoveUp; Promoted = true; PromotedCategory = Process; PromotedOnly = true;
}
Expected behavior The entire listpage should be correctly refreshed, displaying the correct information in all lines and columns.
Screenshots Initial state before pressing action. List is sorted on column.
after pressing action:
After manually focusing on the amount field in the previous line, the amount fields are the correctly refreshed.
5. Versions: