Report GroupFooter not triggered
sandman
Member Posts: 20
I have a problem with the Purchase Order Report. Right off the bat, this report has been somewhat modified and i do not know by how much.
Here are the data items it has as well as their respective indentation:
Purchase Header
<Purchase Header>
-Integer
<CopyLoop>
--Integer
<PageLoop>
---Purchase Line
<Purchase Line>
----Purch. Comment Line--<Purch. Comment Line>
---Purch. Comment Line---<Purch. Comment Line Total
---Tax Detail
<Tax Detail>
As for the sections :
>>PageLoop, Header(1)
>>>Purchase Line, Header(1)
>>>Purchase Line, TransHeader(2)
>>>Purchase Line, GroupHeader(3) >>>>> NEW SECTION
>>>Purchase Line, Body(4)
>>>>Purch. Comment Line, Body(1)
>>>Purchase Line, GroupFooter(5) >>>>>NEW SECTION
>>>Purchase Line, TransFooter(6)
>>>Purch. Comment Line Total, Header(1)
>>>Purch. Comment Line Total, Body(2)
>>>Tax Detail, Header(1)
>>>Tax Detail, Body(2)
>>>Tax Detail, Footer(3)
>>>Tax Detail, Footer(4)
>>PageLoop, Footer(2)
The Purchase Line Body section has many data fields and I have created a GroupTotalFields on one of its fields which I’ve placed in the GroupFooter. I don’t really need that field (which I’ve setup for testing purposes) because the GroupFooter is only there to print a horizontal line.
Now, my problem is that the Purchase Line GroupHeader and GroupFooter sections are not showing up when I run the report. Their triggers are not even run when I run it with the debugger.
I’ve read through all the documentation and search everywhere but I can’t find anything that little thing that's probably missing to make it work... ](*,)
Please help!
Here are the data items it has as well as their respective indentation:
Purchase Header
<Purchase Header>
-Integer
<CopyLoop>
--Integer
<PageLoop>
---Purchase Line
<Purchase Line>
----Purch. Comment Line--<Purch. Comment Line>
---Purch. Comment Line---<Purch. Comment Line Total
---Tax Detail
<Tax Detail>
As for the sections :
>>PageLoop, Header(1)
>>>Purchase Line, Header(1)
>>>Purchase Line, TransHeader(2)
>>>Purchase Line, GroupHeader(3) >>>>> NEW SECTION
>>>Purchase Line, Body(4)
>>>>Purch. Comment Line, Body(1)
>>>Purchase Line, GroupFooter(5) >>>>>NEW SECTION
>>>Purchase Line, TransFooter(6)
>>>Purch. Comment Line Total, Header(1)
>>>Purch. Comment Line Total, Body(2)
>>>Tax Detail, Header(1)
>>>Tax Detail, Body(2)
>>>Tax Detail, Footer(3)
>>>Tax Detail, Footer(4)
>>PageLoop, Footer(2)
The Purchase Line Body section has many data fields and I have created a GroupTotalFields on one of its fields which I’ve placed in the GroupFooter. I don’t really need that field (which I’ve setup for testing purposes) because the GroupFooter is only there to print a horizontal line.
Now, my problem is that the Purchase Line GroupHeader and GroupFooter sections are not showing up when I run the report. Their triggers are not even run when I run it with the debugger.
I’ve read through all the documentation and search everywhere but I can’t find anything that little thing that's probably missing to make it work... ](*,)
Please help!
0
Answers
-
Do you have any GroupTotalFields specified for the Purchase Line dataitem? That is one of the key properties that controls grouping actions.0
-
Also you need to have the sort on the field you are grouping on0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions