We had code which filtered the G/L Entries by dimension and applied a filtergroup to this, example below.
GLEntry.Reset(); GLEntry.SetCurrentKey("Posting Date", "G/L Account No.", "Dimension Set ID"); GLEntry.FilterGroup(100); GLEntry.SetFilter("G/L Account No.", GLAccountFilter); GLEntry.SetFilter("Dimension Set ID", DimensionSetIDFilter); Page.Run(Page::"General Ledger Entries", GLEntry);
As you know, this should be easy to do if it can be added to the OnOpenPage trigger.
More details: https://yzhums.com/8427/
How about using Security Filter?
Hope this can give you some hints.
Thanks.
ZHU
Note: We Reset the FILTERGROUP before opening the page in the real example.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156