Skip to main content

Posts

Showing posts from December, 2010

6 steps to take backup of all the objects from 'user' layer

While working on client side with lot of customizations, someone must take the backup of all the changes which already have done in an application. A very short way of taking backup from a selected layer is as follows; 1. Create a new project and open it. 2. Click on the Advance filter/Sort for this project, it will open the following screen Note: Make sure the above options should be selected for this scenario. 3. Click on ‘Select’ button. 4. Remove all the ranges from this query form and add only one range. The form will now looks like this; 5. Press OK, form will be closed 6. Press OK The new project will contains the entire objects, group by their consecutive groups.

Microsoft Dynamics AX Recorded Webcasts

It’s like a dream to have a bulk of videos over Dynamics AX at one place. Advance System Integration did it for us and I am glad to share it with you here Webcast Title Topic Area Recorded Date Microsoft Dynamics AX 2009 General Functional Overview Demo General AX October 23, 2008 - Video Microsoft Dynamics AX 2009 General Technical Overview Demo General AX November 6, 2008 – Video Live Webcast: Upgrading to Microsoft Dynamics AX 2009 General AX November 4, 2009 – Video Microsoft Dynamics AX 2009 Financial Module Demo Finance November 20, 2008 – Video Microsoft Dynamics AX 2009 Project Accounting Module Demo Accounting January 14, 2009 – Video Microsoft Dynamics AX 2009 CRM Module Demo CRM June 2, 2010 – Video Microsoft Dynamics AX 2009 CRM Module Demo CRM February 25, 2009 – Video Live Webcast: Microsoft Dynamics AX ...

Filter datasources of same table on Tab Pages

I had a requirement to show the filtered data of one table on different tabs within a form. The standard filter functionality in AX forms is a powerful feature. Using this filter functionality in your code is something you'll definitely use at some point in time as a programmer. Let me explain it with an example; we have a currency table with multiple currencies e.g. EUR and USD. I have two different tabs named ‘EUR’ and ‘USD’ and these will show the respective filtered data from the currency table i.e. EUR tab will show the EUR currency and USD will show the USD currency data. Add two datasources (CurrencyEUR and CurrencyUSD) on the form of the same table (Currency), after assigning these datasources to the tabpages. You just need to follow the following 3 steps. Step 1: Declare a class variable In the ClassDeclaration method of the form, define a range. QueryBuildRange CurrencyQBREUR; QueryBuildRange CurrencyQBRUSD; Step 2: Instantiate the new range. In the init() m...

Suppress the scaling message on AX Reports

While working on AX reports, I got a very powerful and useful feature of AX. When a report doesn't fit on a page, depending on its properties Ax will resize the report. Now AX will inform you that the report has been rescaled (Report is scaled xx percent to fit to page) and this message is generally not well received by users. Users are annoyed by the message, they get it every time they run the report, they cannot do anything about it, and they have to click to close the infolog. In order to get rid of this message on a particular report you can just modify the init() method of that report and add this line of code. this.printJobSettings().suppressScalingMessage(true); How about to cut the roots of this message and just change on one place then you can get rid of this message on all the reports rather than to go on each report and modify its init() method. Go to class SysReportRun , in the Run method, place following code before the call to super: if(t...

Pack/Unpack Mechanism to reduce the RPC Count for Temporary Table

Many a times it’s becomes our need to use the temporary tables while displaying data either on the forms or dialog forms. We all are aware of how to use temp table in AX and also with this fact that there is always being a performance impact (chattiness between client & server) to insert data in temp table. We can use pack/unpack mechanism to reduce this chattiness and pack the whole temp table data once on client and use it on the server. You can use this mechanism like below, Create a temporary table like in my case I created it with name “ProjTmpBudgetDisplay” Create a class like in my case I created it with name “ClassTmpBudgetDisplay” Create a form and override its init() method