Monthly Archives: December 2007

Parameters are now shown in Ax5 .Net method lookups

  Good afternoon   Next is a screenshot from Ax5, it looks just like Ax4 so Microsoft shouldn’t mind that I post it. In Ax5, when using .Net methods and classes, you now see the list of .Net parameters and … Continue reading

Posted in Dynamics Ax 5.0 TAP | Comments Off on Parameters are now shown in Ax5 .Net method lookups

FieldId switch-case on an table’s array-type field

  Good morning   Yesterday, my boss (-1 to Yvan) wanted to switch-case in a tables’s modifiedField() method on a member of a field of an array type. Since ‘fieldNum()’ returns a single fieldId for an array of fields, you … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on FieldId switch-case on an table’s array-type field

Forcing specific layers to compare in Ax 4.0x

  Good morning again!   I’m stuck compairing a lot of objects for a customer’s migration project. For example, last week, I had about one hundred tables, forms and classes to compare between the ‘bus’ and ‘old bus’ layers. In … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on Forcing specific layers to compare in Ax 4.0x

Showing Database name of current AOS in AX 4.0x title bar

  Good morning,   In prior versions of Ax (such as 2.5) you could see the currently running Database name in the title bar of your client. To have this in Dynamics Ax 4.0x, add this code to method ‘workspaceWindowCreated’ … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on Showing Database name of current AOS in AX 4.0x title bar

Quicksort on a container

Good evening Today, I wanted to fix the sorting in the Dynamics Ax 4.0x Active Directory user import wizard. I wanted the AD users sorted by their Windows alias. There are mutiple tools in DAX to sort records (in particular: … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on Quicksort on a container

Parameter passing in Dynamics Ax

Good evening, A conversation with a collegue made me realize that for developpers coming from VB, wether parameters are passed by reference or by value is not an obvious thing to figure out. Generally, parameter passing in DAX is always … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on Parameter passing in Dynamics Ax

New unified DateTime type in Dynamics Ax 5.0

  Good afternoon, Anyone that has experience with SQL has noticed that DAX versions prior to 5.0 handle date and time differently from SQL. Whereas SQL uses a single field to hold both date and time, DAX uses separate datatypes … Continue reading

Posted in Dynamics Ax 5.0 TAP | Comments Off on New unified DateTime type in Dynamics Ax 5.0