Friday, October 29, 2010

This seems to do nothing

I have been debugging new AX2009 to which we migrated recently, and sometimes it is a real fun!


if (numberOfTransOpen == 1 ||
            (numberOfTransOpen > 1 && !printPaymentSchedule))
        {
            // this seems to do nothing
            if (printPaymentSchedule)
            {
                select firstonly tmpCustVendTransOpen;
            }

Thursday, October 7, 2010

Free Axapta Training

Ladies and Gentlemen, AX trainings blog!


I find this information source on Dynamics AX very useful for those who are going to learn this ERP system for using and developing.

All trainings are well structured, so you have no chance to get lost.

Very good point to start the adventure!

Sunday, September 26, 2010

Pictures from the seminar

Some pictures from BI seminar are here.



PowerPivot in Excel 2010 looks really cool!

Thursday, September 16, 2010

Business Intelligence Seminar in Montreal, September 25

BI: SSIS, SSRS, SSAS, PowerPivot, OLAP Cubes. The event will be in Montreal, more info.



Who's going to participate?

Wednesday, September 15, 2010

Microsoft Dynamics Salary Survey 2010

Now, this is the time to participate in the annual Microsoft Dynamics Salary Survey conducted by Nigel Frank International.

It takes actually two minutes to fill in. This is in English, but it is very easy to understand.

As a prize you will get a copy of the survey results, which are a comprehensive analysis of comparative salary data in different aspects: geography, domains, positions and so on. You can see 2009 report here.



Copyright 2009 Nigel Frank International Ltd.

I am sure this job helps us a lot to improve our employment situation. So, please, enjoy!

Thursday, August 12, 2010

Value in Query range

How to use Enum values in Query ranges:



public void init()
{
    QueryBuildRange   criteriaOpen;
    ;
    super();
    criteriaOpen = this.query().dataSourceTable(tableNum(ProdTable)).addRange(fieldnum(ProdTable, ProdStatus));
    criteriaOpen.value("Started"); // it does not work in non-English interface!!!

    criteriaOpen.value(enum2str(ProdStatus::StartedUp)); // not enough good...

        criteriaOpen.value(QueryValue(ProdStatus::StartedUp); // now it is correct!    
}

Friday, May 7, 2010

Vania Kashperuk's Tutorial: refresh, reread, research, executeQuery

First of all, I have to admit that this subject was a little vague for me. This is why I read with a huge interest this new Vania's tutorial about how to use efficiently and correctly these four data source methods.

In fact, it is always much easier to acquire new knowledge on real examples, and luckily this is the case! Not only explained he step-by-step the difference between the methods but also provided us with a ready-to-use project  for Dynamics AX 2009, which can help a lot to them who have just started working with the system.

So, I highly recommend his blog to every AX developer. 

To whom it may be useful, I adapted this xpo-project to Dynamics AX 4.0. 

Didn't get it right? Just reread() it and refresh() your knowledge!