To implement this hotfix, you must have a developer license.
You do not have to have rights to the data stores unless you have to perform data repair.
...
IF ClosingEntryFilter = ClosingEntryFilter::Exclude THEN BEGIN
AccountingPeriod.SETCURRENTKEY("New Fiscal Year");
AccountingPeriod.SETRANGE("New Fiscal Year",TRUE);
IF GETRANGEMIN("Date Filter") = 0D THEN
AccountingPeriod.SETRANGE("Starting Date",0D,GETRANGEMAX("Date Filter"))
// Delete the following lines.
ELSE
AccountingPeriod.SETRANGE(
"Starting Date",
GETRANGEMIN("Date Filter") + 1,
GETRANGEMAX("Date Filter"));
// End of the deleted lines.
IF AccountingPeriod.FIND('-') THEN
REPEAT
SETFILTER(
"Date Filter",GETFILTER("Date Filter") + '&<>%1',
CLOSINGDATE(AccountingPeriod."Starting Date" - 1));
...
...
IF ClosingEntryFilter = ClosingEntryFilter::Exclude THEN BEGIN
AccountingPeriod.SETCURRENTKEY("New Fiscal Year");
AccountingPeriod.SETRANGE("New Fiscal Year",TRUE);
IF GETRANGEMIN("Date Filter") = 0D THEN
AccountingPeriod.SETRANGE("Starting Date",0D,GETRANGEMAX("Date Filter"))
// Add the following lines.
ELSE BEGIN
IF NOT (GETRANGEMIN("Date Filter") = NORMALDATE(GETRANGEMIN("Date Filter"))) THEN
AccountingPeriod.SETRANGE(
"Starting Date",
GETRANGEMIN("Date Filter") + 1,
GETRANGEMAX("Date Filter"))
ELSE
AccountingPeriod.SETRANGE(
"Starting Date",0D,
GETRANGEMIN("Date Filter") + 1);
END;
// End of the added lines.
...