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

Design issue? Accounting schedules & SetGLAccColumnFilters #211

Closed
hemisphera opened this issue Jun 19, 2018 · 1 comment
Closed

Design issue? Accounting schedules & SetGLAccColumnFilters #211

hemisphera opened this issue Jun 19, 2018 · 1 comment
Labels
ships-in-future-update Fix ships in a future update

Comments

@hemisphera
Copy link
Contributor

There is an issue with Codeunit 8 AccSchedManagement. It provides us the two methods SetGLAccRowFilters and SetGLAccColumnFilters. They are both public and marked as external, so my guess is that they are to be used "from outside". The problem is, that the latter (SetGLAccColumnFilters) uses two global variables FromDate and ToDate to apply the Date Filter on the acc. schedule line. Having this Codeunit in my event-handlers (I subscribe to OnBeforeCalcCellExit of the same Codeunit) obviously creates a new instance and therefore I lose the contents of these two variables and therefore an empty date filter gets applied to my acc. schedule line.

@hemisphera hemisphera changed the title Design issue: Accounting schedules & SetGLAccColumnFilters Design issue? Accounting schedules & SetGLAccColumnFilters Jun 19, 2018
@StanislawStempin StanislawStempin transferred this issue from microsoft/AL Nov 1, 2018
@JesperSchulz JesperSchulz added the ships-in-future-update Fix ships in a future update label Nov 2, 2018
@JesperSchulz
Copy link
Contributor

This issue has been fixed. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ships-in-future-update Fix ships in a future update
Projects
None yet
Development

No branches or pull requests

2 participants