mfp's two cents

...on Dynamics AX Development!

  • mfp's two cents

    Microsoft’s new domicile in Denmark – first impressions

    • 0 Comments

    This week I had the chance to visit the building site in Lyngby where the new domicile for Microsoft Denmark is under construction.

    I’ve been driving past it a few times and been impressed by the building’s modern and bold look – so I was curious to experience a tour on the inside.

    clip_image002

    From the outside it appears to be an office building with a number of floors. Once I entered the building I was surprised by the light and feel of spaciousness. Inside each “tower” is an open atrium offering a direct view to sky and allowing a lot of natural light to enter.

    clip_image003

    clip_image004

    As you enter the building you will obviously notice the big inviting stairway. But also pay attention to all the light entering from windows. This is a semi-clouded morning in February in Denmark. The pictures are taken with my Lumia 920 Windows Phone (no flash or extended exposure time), and there were just a few artificial light sources. The building is designed to allow natural light to enter from all sides (including the roof) – and it really makes a world of difference.

    As I’m typing this up I’m looking at my almost flicker-free fluorescence lamps at MDCC – I’m not going to miss them.

    clip_image006

     

    Here is one of the open offices where we will build the next generations of Dynamics AX. Again, notice the windows, the openess and all the light.
    clip_image007

     

    As you can tell from the pictures, there is still a lot of fit and finish pending  – yet, if at all possible the visit left me even more excited about this year at Microsoft in Denmark.

  • mfp's two cents

    Damgaard Data turns 30 this month

    • 0 Comments

    <nostalgia>

    Version 2 just published a nice article about Damgaard Data – the company behind DanMax, C4, C5, XAL and Axapta.

    You can read it here: In Danish and in English

    </nostalgia>

  • mfp's two cents

    X++ in AX7: Attributes without specifying ”Attribute”

    • 0 Comments

    The naming convention in X++ (and C# by the way) is to postfix attribute classes' name with "Attribute". When using the attribute to decorate a class, it is a bit verbose to type in "Attribute" as it is apparent from the context, so now in X++ - just like in C# - you can skip the last part of the name.
    Example:

    class MyTestCase extends SysTestCase 
    {
        [SysTestMethodAttribute]
        public void testCase1()
        {
        }
    }  
     

    Is semantically identical to:

    class MyTestCase extends SysTestCase 
    {
        [SysTestMethod]
        public void testCase1()
        {
        } 
    }  

    Now, there is a difference in opinion on which one is best. One camp would argue that the shorter code is easier to read and write. Another camp would argue that referring to the same type in two different ways makes tooling (like refactoring tools, F12/Go to declaration and cross references tool) harder to implement. I agree with both, however, now the door is opened for this dual way of referencing and the tooling needs to follow suit. I'm in favor for the short notion.

     

     

    THIS POST APPLIES TO MICROSOFT DYNAMICS AX7 TECHNICAL PREVIEW; IS PROVIDED AS-IS AND CONFERS NO RIGHTS.

  • mfp's two cents

    X++ in AX7: Type declarations can be 80 characters

    • 0 Comments

    Since the first version of Axapta developers have suffered a limitation of 40 characters when defining types, like classes, tables, extended data types, and even when defining methods and fields.

       

    This limit was at first completely removed, to the joy of us developers who could now come up with some really crazy method names. However; it turned out certain subsystems in the Dynamics AX Visual Studio integration was breaking down under this. The compromise was a limitation of 80 characters - still plenty to be creative.

    Just like that:

    class MyClassShouldHaveAProperNameThatClearlyDescribesItsPurposeItIsOkIfItIsLooong 
    {              
    }

     

     

    THIS POST APPLIES TO MICROSOFT DYNAMICS AX7 PREVIEW; IS PROVIDED AS-IS AND CONFERS NO RIGHTS.

     

  • mfp's two cents

    X++ in AX7: Private and public members

    • 0 Comments

    Since the first version of Axapta, member variables in classes have been protected. In AX7 the default remains protected, however, you can now mark them as public or private. 

    Here is an example: 

    class MyClass
    {      
        public int PublicMember;      
        private int privateMember;      
        int protectedMember; //Defaults to protected  
        protected int explicitlyProtectedMember;  
    }    


    You can access the public member using the same syntax as when accessing fields on Tables (or properties in C#). Notice the best practice is to use PascalCasing for public members – just like for fields on tables.

    var myClass = new MyClass();
    myClass.PublicMember = 42;  
     

    There is still no support for getters and setters (like we know them from C#).

     

    THIS POST APPLIES TO MICROSOFT DYNAMICS AX7 PREVIEW; IS PROVIDED AS-IS AND CONFERS NO RIGHTS.

     

  • mfp's two cents

    Holiday season crossword - final day!

    • 0 Comments

    If you still haven't participated in the crossword challenge you can still make it. Today is the final day of entry - tomorrow I'll be drawing the winner.

    I will of course use X++ to help me find the winner. I will generate a random number (n), and winner will be n'th reply in my Outlook mail folder containing the right responses. Here is the code I'll use (Yes, I've received 33 responses so far):

        #define.NumberOfResponses(33)
        RandomGenerate random = RandomGenerate::construct();
        ;
        random.parmSeed(TextBuffer::strHashKey(guid2str(newGuid())));
        print random.randomInt(1, #NumberOfResponses);
        pause;

    In many of the replies I've received were expressed how much fun it was to solve this puzzle. I really apprecieate all the comments, and I have a small surprise for you. Try to enter this URL in the help system in Axapta 3.0: "crossword://development".

    This posting is provided "AS IS" with no warranties, and confers no rights.

  • mfp's two cents

    Dynamics AX 4.0 SP1 Loc is available

    • 0 Comments

    You can now download the localized version of 4.0 SP1. It supports the following 32 countries/regions:

    Austria, Australia, Belgium, Brazil, Canada, China, Czech Republic, Denmark, Estonia, Finland, France, Germany, Hungary, Iceland, India, Italy, Ireland, Latvia, Lithuania, Malaysia, Mexico, Netherlands, New Zealand, Poland, Russia, Singapore, South Africa, Spain, Switzerland, United Kingdom, United States and Turkey.

    You can download it from Partner Source:
    https://mbs.microsoft.com/partnersource/downloads/servicepack/ax40sp1_download.htm

    And from Customer Source:
    https://mbs.microsoft.com/customersource/support/downloads/servicepacks/ax40sp1_download.htm

  • mfp's two cents

    The winner of the crossword puzzle!

    • 0 Comments

    Congratulations to Junior Alonso Aguilar Meléndez from Costa Rica.

    A signed copy of "Inside Dynamics AX 4.0" is on its way.

     

     

     

  • mfp's two cents

    Microsoft Dynamics AX 4.0 Implementation Guide

    • 0 Comments

    Microsoft Dynamics AX 4.0 Implementation Guide is now available

    This documentation is intended for partners and customers that are working on Microsoft Dynamics AX projects that involve upgrading, installing, configuring, customizing, or deploying to a production environment. Read this guide before you begin your project.

    http://www.microsoft.com/downloads/details.aspx?FamilyID=436cf64c-cd15-4121-a21b-bfef09b9906a&displaylang=en

  • mfp's two cents

    Channel9 - AX screencast on Exception Handling in X++

    • 0 Comments

    A brand new AX screencasts is now available on Channel9. It explains how exception handling in X++ and how exceptions are integrated with the Infolog in Dynamics AX 4.0.

    Here is the link:

    http://channel9.msdn.com/Showpost.aspx?postid=273765

     

Page 16 of 22 (215 items) «1415161718»