Cannot open Accounting Periods setup
mart1n0
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?
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?
0
Answers
-
Are there any records in the table 50?
What if you remove the .zup file?0 -
If you have applied filterers you can remove then by deleting ZUP0
-
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)0 -
Thanks a million Luc, it works like a charm now!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
