3 dimension grouping report

gulamdastagir
Member Posts: 411
hi navies,
how can we achieve the following report grouping
Global Dimension 2
>>Global Dimension 1
>>>Dimension#3(salesperson Code)
>>>>Customer No.
The Table is Customer.Any new keys should be created?
how can we achieve the following report grouping
Global Dimension 2
>>Global Dimension 1
>>>Dimension#3(salesperson Code)
>>>>Customer No.
The Table is Customer.Any new keys should be created?
Regards,
GD
GD
0
Comments
-
Apart from the obvious answer of adding in a new field for dim 3 and validating in the value there is another way.
Group your report on dim 1 -> dim 2. instead of printing on the customer have a indented dataitem running off a temporary default dimensions record. in the predata item fill the tempory table with records for dim 3 from a temporary customer record. only process the dataitem on change of dim 1 or dim 2 i.e.
if ( dim 1 = olddim1 ) or ( dim 2 = olddim2 ) then
break;
tempdefdim.deleteall;
tempcust.setfilter( dim1, customer.dim1 )
tempcust.setfilter( dim2, customer.dim2 )
if tempcust.findset then
repeat
insert into tempdefdim
until tempcustust.next = 0;
a lot of work but worth a try if you don't want to modify the customer table.
(I know it's not proper syntax but I'm not at my Nav machine - and too lazy to type)
0
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
- 320 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