Microsoft Dynamics is sponsoring the Lotus formula1 team

March 16, 2012 No comment

Ax2012 An SQL Server 2012

March 15, 2012 No comment

20120315-074725.jpg

Microsoft SQL Server 2012 RTM is released and hotfix 2680186 is availible for compatibiliteit with Microsoft Dynamics Ax2012.

https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;2680186

My first workday with Windows 8

March 1, 2012 No comment

Yesterday evening I installed the Windows 8 Customer Preview on my work laptop (EliteBook 8740w i7-620M, 8GB Ram and 2x 500GB HDD). With a small hart I went to work and hoped that everything would work fine. Her is wat I found.

At first I plugged in the network cable and I Couldn’t get connection. The only way I could get connection was by removing the network card in the device manager and reïnstalling it. For the rest of the day I had no special errors. Underneed are some of the applications I used within Windows 8:

Microsoft Windows 8 – Customer Preview

February 29, 2012 No comment

Microsoft Released the Customer Preview today, I just started downloading it with My TechNet-subscription and I’ll keep you up-to-date about my impressions 🙂

http://windows.microsoft.com/nl-BE/windows-8/consumer-preview

 

 

Ax2009 Event Processing Error

February 22, 2012 2 comments

I have a customer that gets a error every time the EventJobCUD-batch (Change Based Events) runs. They got the following error:

After some reseach I found out that when 2 fields are changed at the same time, you go several times through the listChangedFieldsEnumerator (location ClassesEventProcessorCUDprocessUpdate)

1
2
3
4
5
6
7
8
9
while (listChangedFieldsEnumerator.moveNext())
{
    // In this simple case we use the new and the original changed field value as
    // recorded at event detection time:
    [thisFieldId, changedFieldValue, origChangedFieldValue] = listChangedFieldsEnumerator.current();
 
    if (rule.AlertFieldId == thisFieldId)
        break;
}

The code underneed simulates the same situation in a small job:

1
2
3
4
5
6
7
8
9
static void Job5(Args _args)
{
    anytype any;
    ;
    any = ABC::A;
 
    // next line will throw a error
    any = BatchStatus::Canceled;
}

And here we get the basic same error “Error executing code: Wrong argument types in variable assignment.”

I modified the code so the anytype is assigned only when the field is correct:

1
2
3
4
5
6
7
8
9
10
11
12
while (listChangedFieldsEnumerator.moveNext())
{
    // In this simple case we use the new and the original changed field value as
    // recorded at event detection time:
    thisFieldId = conpeek(listChangedFieldsEnumerator.current(), 1);
 
    if (rule.AlertFieldId == thisFieldId)
    {
        [thisFieldId, changedFieldValue, origChangedFieldValue] = listChangedFieldsEnumerator.current();
        break;
    }
}

Install Ax2012 on SQL Server 2012 RC0

February 13, 2012 2 comments

During the preparations for Microsoft TechDays 2012 my colleague and I installed a fresh Windows Server 2008 R2 with SQL Server 2012 and Ax 2012. At first all seems to work (the AOS started and we could login with the client), but when we started to prepare and opened the ‘Datasource Name’ lookup on the ‘Document Datasources’ we got an error. After some research my colleague Kenny found that the SQL UtilElements-view used a deprecated keyword called FASTFIRSTROW. After updating the view this functionality seems to work fine. (more…)

TechDays 2012 – Extending the reach of your Microsoft Dynamics AX Application with the next-gen tools

January 7, 2012 No comment

On February th 14th this year I am giving my first presentation on TechDays 🙂 You can view some details about my presentation on
http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=275

Social Media for Microsoft Dynamics Partners

December 15, 2011 No comment

I was looking for some new Ax books and came accross a book titled ‘Social Media for Microsoft Dynamics Partners’  on Amazon.com

Authors: Jon Rivers, Mark Polino
Description: Social Media for Microsoft Dynamics Partners is a short, introductory book geared toward the specific business needs of Dynamics VAR’s and ISV’s. There are plenty of generic social media guides available, and Microsoft provides some guidance to partners, but we felt that Dynamics partners were missing an independent source of social media help designed for their business. So we wrote one.

I’m not sure if I’ll buy a copy, but maybe I’ll ask a copy for christmas 🙂

Ax 2012 Editor improvements

December 2, 2011 No comment

In Microsoft Dynamics AX 2012, a new X++ Editor is introduced which replaces the current legacy editor. The new X++ Editor is based on hosting a Visual Studio 2010 Editor Framework control.

Here are a few Tips & Tricks:

You can find more on chanel 9

Change the language at runtime

November 30, 2011 No comment

Normally when you change your language you go to your user options, change your current language and the restart the client. This week I got the question if it was possible to do so in runtime. You can do so by just calling the infolog.language(str 7 _languageCode). All labels that you load after calling this method will be translated to the new language. (more…)

Next Page »