Display company currency in dynamics AX SSRS report - ssrs-2008

I have to add the company(master) currency to several existing report and i don't get it.
For example for the SSRS report:
"LedgerTrialBalance" (General Ledger/ Transactions/ Summary trial balance)
I only want to display the CurrencyCode in the attached screenshot in a textbox of the above mentioned report.
With company currency i mean this:
Have anybody some ideas?

The data sources of the LedgerTrialBalance report do not contain a field with the company currency code. You would therefore have to modify the report to include such a field. A detailed instruction on how to do that is not a good fit for the Q&A Format of stack overflow, but the high level steps would be:
identify the data sources of the report
add a new field to the appropriate data source
add code to fill the new field with data
add the new field to the report design
Since you mentioned in the comments that you have only experience with changing report designs I would recommend to get some training in this area and in AX development in general. A particular useful exercise would be to build a complete new report from scratch, this way you could learn about the anatomy of a report.

Related

crystal report 8.5 filter records

I am new to this position (production support) and asked to look into a problem in a crystal report 8.5. I am new to crystal report as well with some basic training only.
The report seems to be missing some records. It uses a SQL Server 2005 procedure as data source. I tested with same parameters the report used on the procedure and the it returns all records including the missing records in the report. So I think the report must filter the records. Then I checked Record Selection Formula, I saw something in there but it seems not related to the missing records. For testing, I commented them all, run the report but the records are still missing.
So I guess there may be something else that filters the data?
It turns out to be something in top N group expert. The report only lists top 50 items for a group based on sales units.
You might benefit from exporting the report definition into a .txt file by clicking file > export > export report > report definition txt ( you have to scroll for it). I believe this functionality existed back in 8.5.
What it does is display the underlying formatting, filtering and formulas in an easy to read format. You should be able to pick out what is happening much more quickly than clicking through all the potential places for something to be hidden. I see that you answered your own question but seeing that you're new to this position this is a troubleshooting tip I found invaluable.

Crystal Reports : This group section cannot be printed

I'm currently modifying an existing report and replacing the data source used in the report. The reason I'm not creating a new report is because the report is laid out exactly how I would like it to be laid out. I've updated every field with the new data source fields and checked that the formulas are all correctly formatted.
Everytime I attempt to view the report (I'm using the Crystal Reports tool in VS 2010), I get the error "The group section cannot be printed because its condition field is nonexistent or invalid. Format the section to choose another condition field."
I've read another question from stackoverflow but still can't seem to find out what is wrong with my report.
First of all, why doesn't Crystal tell you more specifically what is wrong?
Any suggestions or hints?
My first thought is that you didn't update the Groups correctly when you switched backends. Go into your Group Expert. Do you see any groups simply labeled with question marks? If so, there's your problem. Go into the options for that group and choose an appropriate grouping field.
Also, use the Database->Verify Database command to look for other possible errors.
As for your question about Crystal's design, I believe that it does give reasonably accurate error messages, especially considering everything that can go wrong with any one report.

Eclipse Birt Reports, Creating report from SQL database, (user key?)

I'm fairly new to using the Birt Report Designer and need to figure out how to generate a report from a SQLite database. I have suceeded in getting it to connect to the DB but am now unsure how to generate a report and the tutorials that I have found aren't of much help so far.
I have a template that was given to me by my employer that has a few fields, I'm wondering if these fieldnames (in the template) are supposed to match field names in the DB.
Also, when I go to Run->View Report-> As PDF I am unsure what I am supposed to enter for the field "User Key", does this correspond to a table name in the DB or something along these lines?
As of now, I have tried entering a table name but just a blank report is generated.
If anyone can point me to a good resource or help with this I would greatly appreciate it. Thanks
There are two books i could really advice:
BIRT - A Field Guide to Reporting
Integrating and Extending BIRT
and the Eclipse Help containing BIRT documentation.
I suppose the User Key could be report parameter (listed in Data Explorer window), which is passed to Data Set to select appropriate data. If I'm guessing right, check within a Data Set editor ("Parameters" tab and "Query" tab) where the User Key parameter goes in - probably to one of the table field in a WHERE clause. Parameters in a query are represented by question marks: SELECT * FROM fooTable WHERE barColumn = ?. Hope tracking this would lead to find out, what to enter to the parameter.
Additionally, ensure if your Data Set(s) is(are) connected correctly to your SQLite Data Source ("Data Source" tab in a Data Set editor).
Being as new as you are to BIRT, I would suggest building a couple of reports with the sample DB (Classic Models). There are many, many samples out there for you to use as a guide. Additionally, most tutorials will use the Classic Models data so you can follow right along. After you create a couple of practice reports (this should not take more than 30-45 minutes) the template you have been given will likely make A LOT more sense and allow you to make progress almost immediately.
If you are looking for a nice collection of tutorials and samples, be sure to check out Birt Exchange for Dev Share (samples) & tutorials.
As for the "User Key" this is almost certainly a report-level parameter used to filter the data set (as the previous answer points out).
Good Luck!

Composite reporting, Crystal Reports difficult to manage

I was wondering if someone had a suggestion on how to best do composite reporting.
I have tried to accomplish this with Crystal Reports [CR] (The one that comes with VS2k8) but for a codemonkey like me, it's hard to grasp the design part...
I have found that CR works nicely for reporting on tabular and repeatable data, but I can't grasp how to do what I want it to do.
What I want is a nice front-page, with title, subtitle and possibly some other text.
Maybe a TOC.
A summary report, consisting of some calculations and text-summaries calculated beforehand (not using the reporting tool).
Then a listing of one type of data, normal tabular.
Then another type of data, also tabular.
Then a drill-down on the first type of data. (Every "line" in the first type has 1..* associated items).
It looks to me like I have to do them all in separate reports, then "concatenate" the resulting reports to one another to get one report. And the front-page and the summary page I have no idea how to do at all.
Is there a better tool for doing this? Or does anyone have a good "quick-start" on composite reporting with CR? :)
EDIT: Oh, and these will only be used in printed-form. So no dynamic drill-down and such are necessary.
I create sub-reports and insert them into a footer section of the main report to create composite reports, using seperate reports as you suggest. I've searched myself, and failed to find any reasonable alternative. This approach works well enough and results in a single report file when done.
In my experience, Crystal is a pain in the butt for doing anything like a fixed page layout (ie: the title page). I usually put the title page in the report header (make sure to select "new page after" in the section options). Everything else pretty much has to go into subreports.
If you need to share totals and such between subreports, you need to use a shared variable in a formula field:
shared numbervar whateverTotal:= sum({whatever});
and then in the following reports, just use:
shared numbervar whateverTotal;

Difference between a report and a form

What's the difference between a report and a form?
In VB6, we have Data Report Designer to help with the creation of data reports.
I have not really used a report in my application yet. To me, it looks just like a form, but I think there must be some difference between them, or there is no need for the word "report" to exist?
Would someone please tell me the the difference between a report and a form?
A form is generally used to add/update/delete records.
A report is a readonly view of the data, you would like to see.
To give you a dumb example, you can assume a test question paper a form & a report card (which shows your grades), a report :)
A real example could be - when you borrow a book from the library, the software will use some sort of form to update the inventory & keep note of who the book is given to. A report in this example, could be - list of all books borrowed in this week.
Does that make it clear as mud?
A form is used to input data whereas a report is generated from the data that has been inputted.
Forms are for data entry - one record at a time.
Reports are for output - all relevant records.