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
722
stars
242
forks
source link
Custom List Page - Clear(rec) problem in Edit Mode #7663
1. Describe the bug
Build up a Custom Page for "Vendor Ledger Entry" with Custom Fields and Editable true property.
Filter is Set to Document Type::Invoice, Open: true
Custom Button with local Procedure:
Trigger The button on List-View Mode works Excellent and reset the Open Filter.
Now, im back in the Standard-View with Open, true and swith to the List-Edit/Editable mode (Noticed that here the OnOpenPage is triggered again).
Now in that Edit Mode, i trigger my Custom Button with the procedure, but the Open filter still exist and is set to true. I think there is a But in the System site.
Please include the following with each issue:
1. Describe the bug Build up a Custom Page for "Vendor Ledger Entry" with Custom Fields and Editable true property. Filter is Set to
Document Type::Invoice
,Open: true
Custom Button with local Procedure:Clear(Rec);
SetPaymentVisible();
rec.reset();
rec.SetCurrentKey("Document No.");
rec.SetRange(Reversed, false);
rec.setRange(open, false);
if rec.FindSet() then;
rec.Ascending(true);
CurrPage.Update(false);
Trigger The button on List-View Mode works Excellent and reset the
Open
Filter. Now, im back in the Standard-View withOpen, true
and swith to theList-Edit/Editable
mode (Noticed that here the OnOpenPage is triggered again). Now in that Edit Mode, i trigger my Custom Button with the procedure, but theOpen
filter still exist and is set totrue
. I think there is a But in the System site.Base Application 23.3.14876