Skip to main content

Posts

Financial Dimensions

Here are some useful videos which I found from Sunrise Consultants site: Financial Dimensions Overview: Definition of financial dimensions within Microsoft Dynamics AX Financial Dimensions Processing: Using the financial dimensions in Microsoft Dynamics AX Financial Dimensions Reporting: Reading financial dimensions in a report from Microsoft Dynamics AX Financial Dimensions Setup: Setting up the parameters of financial dimensions in Microsoft Dynamics AX

Debugging X++ code in Dynamics AX

When you are developing X++ code for Dynamics AX over the time you will run into a situation where the below Tips & Tricks can make your debugging live easier. The informations are very rare to find at one place. Since I was also once in the situation needing to find them, I thought it maybe a good idea to collect the most useful ones I'm using day to day... The most oblivious one: Interrupting the code execution When you have written some code that is causing an endless loop (or a very long execution) and you want to know what code is currently keeping the client busy. The easiest way is pressing [Ctrl] + [Break] on the keyboard. This will stop the code execution and show up a message box: Are you sure that you want to cancel this operation? If you hold down the [Shift] button on the keyboard while you click at the No button of the message box, the AX Debugger will be launched exactly at the line of code that was about to be executed. From here ...

Creating SSRS Report Step by Step

Saveen Reddy did an outstanding job by sharing such informative articles on crearting SSRS reports and consuming cubes. Here you can have these articles which I went through and found it very useful. Creating a Simple SSRS Report Creating an SSR Report through data methods (Business Logic) Launching an SSRS report from the Dynamics AX client UI Creating an SSRS Report that gets Data from an AX cube Ad hoc Analysis using Excel 2007 to get data from an AX OLAP Cube

How to make a parameter dropdown depend on the selection of another parameter drop down

“Expressions have the solution of every problem” Let’s say you have param1 which is data bound (drop down list from dataset1), and param2 which is data bound (drop down list from dataset2). Add dataset1 Add param1 and set its values to be “From dataset” with dataset set to dataset1 Add dataset2 with a parameter dataset2_param (it could be based on a data method with a parameter param, or a query with range param), dataset2_param is the parameter you want to use to filter the drop down list of the second parameter, report parameter param will be created automatically Set param default value to be expression “=Parameters!param1.Value” Add param2 and set its values to be “From dataset” with dataset set to dataset2 Add a data region Preview

Debugging business logic in AX 2009 SSRS reports

Background With AX2009 you are now able to do SSRS reports in Visual Studio. The typical process for designing a report consist in creating a query and bind to it, code some business logic (BL) specific to the report and design the visual part. This post will focus on debugging the report business logic. For more information on designing reports in general, see the  msdn documentation You can have an idea on it from excellent post on Channel 9  here . Debugging Let say you've designed a fancy report in VS and in order to make it do cool stuff, you had to write some pretty complex business logic. Unfortunately, your business logic does not do what you think it should be doing. You know that you've been working too late on too much caffeine, so you suspect that there might be a bug there and you need to do some debugging. The 'attach-to-the-server-process' approach One approach to debug your business logic consist of the following steps · Re...