Budget by Fiscal Period not Month
leewhite1234
Member Posts: 45
I have a client who input their budget using fiscal periods which start on the first Sunday of each month, not the calendar period. No problem inputting, but when we go to export the budget to Excel, the only option is Month and the results are zero for all periods. Any ideas on how to export this budget? Do we need to customize this routine? This is report object 82.
0
Comments
-
If your accounting periods are set up as starting on first Sunday in each month:
Put an option on request form for date type selection (base date or accounting period),
On OnPreDataItem of GL Budget Entry (after FOR i := 1 TO NoOfPeriods DO BEGIN) add some code like:IF UseAccPeriod THEN BEGIN IF i = 1 THEN BEGIN AccPeriod.SETFILTER("Starting Date",'%1..',StartDate); IF AccPeriod.FINDFIRST THEN TempPeriod."Period Start" := AccPeriod."Starting Date"; END ELSE BEGIN AccPeriod.SETFILTER("Starting Date",'%1..', CALCDATE('<+1D>', AccPeriod."Starting Date")); IF AccPeriod.FINDFIRST THEN TempPeriod."Period Start" := AccPeriod."Starting Date"; END; AccPeriod.SETFILTER("Starting Date",'%1..', CALCDATE('<+1D>', AccPeriod."Starting Date")); IF AccPeriod.FINDFIRST THEN TempPeriod."Period End" := CALCDATE('<-1D>', AccPeriod."Starting Date"); END;Ufuk Asci
Pargesoft0
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