Cannot open Accounting Periods setup

mart1n0mart1n0 Member Posts: 123
I have an new company; Navision 5.0.
When I try to open Accounting Periods under Financial Management, Setup I get the following error screen:

There is no Accounting Period within the filter.
Filters: Starting Date: >=''


I never entered anything yet since it's a freshly created company so how can I enter accounting periods?

Answers

  • mgmmgm Member Posts: 126
    Are there any records in the table 50?
    What if you remove the .zup file?
  • nunomaianunomaia Member Posts: 1,153
    If you have applied filterers you can remove then by deleting ZUP
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    This is a bug in Dynamics NAV 5.0 :bug:

    You need to replace the code in Table 5814 Inventory Period, Function IsInvtPeriodClosed:

    Old Code:
    AccPeriod.SETFILTER("Starting Date",'>=%1',EndingDate);
    AccPeriod.FINDFIRST;
    IF AccPeriod.NEXT <> 0 THEN
      EndingDate := CALCDATE('<-1D>',AccPeriod."Starting Date");
    
    SETFILTER("Ending Date",'>=%1',EndingDate);
    SETRANGE(Closed,TRUE);
    EXIT(NOT ISEMPTY);
    

    New code:
    AccPeriod.SETFILTER("Starting Date",'>=%1',EndingDate); 
    IF NOT(AccPeriod.FINDFIRST) THEN
      EXIT(FALSE);
    IF AccPeriod.NEXT <> 0 THEN 
      EndingDate := CALCDATE('<-1D>',AccPeriod."Starting Date"); 
    
    SETFILTER("Ending Date",'>=%1',EndingDate); 
    SETRANGE(Closed,TRUE); 
    EXIT(NOT ISEMPTY);
    
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • mart1n0mart1n0 Member Posts: 123
    Thanks a million Luc, it works like a charm now!
Sign In or Register to comment.