You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
hemisphera
changed the title
Design issue: Accounting schedules & SetGLAccColumnFilters
Design issue? Accounting schedules & SetGLAccColumnFilters
Jun 19, 2018
There is an issue with Codeunit 8
AccSchedManagement
. It provides us the two methodsSetGLAccRowFilters
andSetGLAccColumnFilters
. 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 variablesFromDate
andToDate
to apply theDate Filter
on the acc. schedule line. Having this Codeunit in my event-handlers (I subscribe toOnBeforeCalcCellExit
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.The text was updated successfully, but these errors were encountered: