Reports Similar to Matrix Forms

Draqos
Member Posts: 36
Hi.
I have to develop a report that looks similar to "Analyses by Dimensions", meaning I'll have a variable no of columns and rows. Is there anyway to accomplish this, as I know C/AL doesn't allow dynamic casting of arrays , and I have to use a variable length array to display columns.
If such a report is impossible in Navision, then maybe a Matrix form, but the Matrix form should show records from more tables(2 or 3), with rows for totalling values from each table, and a general total at the end (last row of the matrix form).
I know this sounds very complicated (and I think it really is), but if someone has any ideea about what i'm talking about, please, give me a piece of mind.
Thank you
I have to develop a report that looks similar to "Analyses by Dimensions", meaning I'll have a variable no of columns and rows. Is there anyway to accomplish this, as I know C/AL doesn't allow dynamic casting of arrays , and I have to use a variable length array to display columns.
If such a report is impossible in Navision, then maybe a Matrix form, but the Matrix form should show records from more tables(2 or 3), with rows for totalling values from each table, and a general total at the end (last row of the matrix form).
I know this sounds very complicated (and I think it really is), but if someone has any ideea about what i'm talking about, please, give me a piece of mind.
Thank you
"Simplicity is the ultimate sophistication."
Leonardo DaVinci
Leonardo DaVinci
0
Comments
-
Create something like a sorting table, kind of Navision Table "Excel Buffer" to save Field Type and Values temporary.
After computing the values and saving them in this temp table
you are free to get them out in a Report - Integer DataItem.
Otherwise every report has a width limit. Just choose the largest amount of fields that can be listed in your report to determine your array length.0 -
Thanks, but what my customer wanted was not that simple. The sollution I found was account schedule, with some modifications, though I'm having some problems when entering formulas that divide a total from one table to the totals obtained from another table (GL Entry vs. GL Budget Entry)"Simplicity is the ultimate sophistication."
Leonardo DaVinci0 -
Correct me if I am wrong.
Does ur report output to look something like this?
Page 1:
Dim 1 Dim 2 Dim 3 Dim 4 Dim 5
G/L 1 x x x x x
G/L 2 x x x x x
.
.
.
Total y y y y y
Page 2:
Dim 6 Dim 7 Dim 8 Dim 9 Dim 10
G/L 1 x x x x x
G/L 2 x x x x x
.
.
.
Total y y y y y
If it is something like that, then you need to create 2 Data Items of Integer table independent of each other, one Data Item for row looping, the other Data Item for column looping
I have done this before, but I have forgotten the codes... I need to go back office and take a look at the codes before I reply you.0 -
Thanx for helping.
Here's how my MATRIX FORM looks - I gave up the report ideea - it was impossible.
GLAccount | Dim Value 1 | Dim Val 2 | ....... |Dim Val N
Direct Expense | identified by GL entry dimensions
1. 6xxxxx | amount 1 | amount 2 | .................
2. 6xxxxx | amount 1 | amount 2 | .................
Total Direct | TotalDAmt1 | TotalDAmt2 | .................
InDirect Expns | identified by GL entry dimensions
1. 6xxxxx | amount 1 | amount 2 | .................
2. 6xxxxx | amount 1 | amount 2 | .................
Total Indirect | TotalIAmt1 | TotalIAmt2 | .................
Total Exp | Sum of the two totals
Budgeted Amt | GL Budget Entry
6xxxxx | BudgAmtDim1 | BudgAmtDim2
6xxxxx |
TotalBudg Amt | xxxxxxxxxxx | xxxxxxxxxxxxx
And at the end, I must perform calculations involving the 3 grand totals, percent, sum, etc
Example :
TotalExpensesPerDIm / (BudgAmtPerDim/BudgAmtPerAccnt)
My problem is that final divide operations. There seems to be a problem when dividing calculated totals from row table (GLEntry and GLBudgetEntry) in Account Schedule. This i could not yet overcome."Simplicity is the ultimate sophistication."
Leonardo DaVinci0
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