Wednesday, March 21, 2012

Admin Group Restriction

here is an easier way to determine if the current user is an Admin user

public void init()

{

     #Admin
     boolean isAdmin;
     ;

     super();

     isAdmin = UserInfoHelp::userInUserGroup(curUserId(),#AdminUserGroup);

}

A field called Select

When creating a table in Dynamics AX, DO NOT use "Select" as a field name. AX will allow you to create a field named "SELECT". it may even allow you to browse it, but sooner or later you will get a SQL error