Skip to main content

Posts

Showing posts from January, 2015

Assigning security roles to new AX user was never that easy !!!

Some time before I got a chance to write on a utility to make user role assignment a much easier....on ONE click. For example; a new accountant joined your organization and CFO asked AX System Admin to add this new user into AX and give him/her same permissions as other accountants have in AX. Without this utility AX system Admin will open existing user roles in a seperate window and add these roles for new joined users....Is it not the time consuming activity when you have to add dozens of roles. This utiltiy not limited to copy user roles but can copy User Groups and user Options too. Some important methods of this utility are; Create User lookup for FROM USER public void fromUserLookup(FormStringControl userLookupControl) {     Query                   qry = new Query();     QueryBuildDataSource...

Let's have inside into MS Dynamics AX 2012 R3

Inside MS Dynamics AX 2012 R3 is released with new features (functionally) and performance enhancement (technically). http://blogs.msdn.com/b/microsoft_press/archive/2014/08/12/new-book-inside-microsoft-dynamics-ax-2012-r3.aspx

Collection classes in AX – What, When and How to use

Data inserting, traversing and retrieving can be done with many different ways in AX. We do have different collection classes for it and each one has its own importance and performance impact. Let’s talk about each one by one and compare it. List -           are structures, contain values of any X++ type that are accessed sequentially -           all values must be of same X++ type (specified through baseEnum types) -           type is defined on creation and cannot be modified after initialization -           can be traversed through ListEnumerator class -           values can be added from both sides e.g. using addEnd() and addStart() methods   Example 1 static void ListExample1(Args _args) {     List list...