Sasha Nazarov's Remarks

about Microsoft Dynamics AX development

Posts
  • Sasha Nazarov's Remarks

    Remember to test performance!

    • 0 Comments
    When you write new code, and the execution time of this code is dependant on the number of records to process, you must ensure that the time grows proportionally to the number of the records. In many cases, it is not obvious how slow some algorithm is...
  • Sasha Nazarov's Remarks

    Relational operator 'like'

    • 0 Comments
    After having 5+ years of X++ experience, I finally realized that the relational operator 'like' might equally well be used outside of select-statements, just like this: static void testLike(Args _args) { str someString; ; ...
  • Sasha Nazarov's Remarks

    QuickSort

    • 0 Comments
    I have just written a simple class that implements QuickSort algorithm and allows sorting of some "keys" by their "values". And this is how it may be used: static void exampleQuickSort(Args _args) { QuickSort quickSort; ListEnumerator...
  • Sasha Nazarov's Remarks

    By the way...

    • 0 Comments
    ...the class that I mentioned in my previous post has been implemented in Dynamics AX 2009 as SysFormEnumComboBox. Be aware, that Vanya Kashperuk has published another version of this class, valid for both 4.0 and 2009.
  • Sasha Nazarov's Remarks

    How to exclude some enum values from a combobox?

    • 0 Comments
    Imagine a combobox based on an enum. By default it contains a list of items that correspond to the values of the enum. Quite often people wonder whether there is a simple way to limit this list to a set of allowed values. Maybe there is a solution...
  • Sasha Nazarov's Remarks

    Looking for help documentation

    • 0 Comments
    There is a simple way to programmatically fetch help documentation for system functions based on what text is stored in the xpo-files. If you run this: ----------------------------------------------- static void getSystemDocumentation_Job(Args _args)...
  • Sasha Nazarov's Remarks

    The way to read weighty books

    • 1 Comments
    I am a lazy guy. And some time ago it was very difficult for me to brace up and read a good thick technical book from cover to cover. For example, " Code Complete, 2nd Edition " is 960 pages thick. I knew, that this one was a "must read" for every developer...
  • Sasha Nazarov's Remarks

    Import of dimension set rules

    • 3 Comments
    A couple of days ago I had a question. One guy had to generate dimension set rules for ledger accounts, based on information from an Excel file. The file contained 3 columns: the first one for ledger accounts, the second one for values of the first dimension...
  • Sasha Nazarov's Remarks

    Facts and Fallacies of Software Engineering

    • 0 Comments
    I have just finished reading " Facts and Fallacies of Software Engineering ", by Robert L. Glass. Quite a funny book, very easy to read. Highly recommended! Here are some of the facts he mentions and elaborates on: Fact 2 - "The best programmers...
  • Sasha Nazarov's Remarks

    Default dimension set hierarchy

    • 1 Comments
    On the General tab-page of "Dimension sets" form there is a field, named "Default hierarchy". By default, if a ledger account, journal or table collection has no explicitely defined dimension set rule, than it will not be controlled by dimension sets...
  • Sasha Nazarov's Remarks

    Parent dimension sets

    • 1 Comments
    So far, I have been explaining everything based on one dimension set, consisting of Department and Cost Center dimensions. We created a hierarchy and rules for some ledger accounts and free text invoice. Now we control combinations “Department - Cost...
  • Sasha Nazarov's Remarks

    Prefixes and dimension set rules

    • 1 Comments
    When setting up dimension set rules, sometimes it is necessary to limit the range of valid dimension combinations even more. Find my first post about Dimension Set Hierarchies functionality, and look at the use case: there are only 2 departments and...
  • Sasha Nazarov's Remarks

    Inside Microsoft Dynamics AX 4.0

    • 0 Comments
    I have finished reading the book a couple of days ago, and it was real pleasure! Some sentences have kind of opened my eyes; others were quite cognitive, even if not related to my immediate tasks. And if you asked me, what were my favourite chapters...
  • Sasha Nazarov's Remarks

    Rapid Development, by Steve McConnell

    • 0 Comments
    Mfp mentions two books in one of his posts : "Code Complete" and "Rapid Development" by Steve McConnell. He expresses exactly what I felt after having read them both. The only thing that I would add to that, is that Rapid Development is a "must read"...
  • Sasha Nazarov's Remarks

    Dimension Set Hierarchies

    • 12 Comments
    This post is supposed to help people understand how Dimension Set Hierarchies functionality should be used in Microsoft Dynamics AX 4.0 (earlier known as Axapta). As far as I know, there is still no official whitepaper. Help texts exist, but don’t...
Page 1 of 1 (15 items)