Category Archives: Ax 2012

Extract security objects details for a role

There are situations where we feel it would be handy to get a report having the details of  all the security objects which are used by a role. There is another option of getting these details by navigating to AOT>Roles> … Continue reading

Posted in Ax 2012, Ax Security, Ax2012, Dynamics Ax, Uncategorized | Tagged , | Leave a comment

Roles of current user – D365 operations

There are situations where we need to enable/disable a control based on the users role. I have written a code which is split into 2 sections : First part of the code checks – the roles assigned to the user … Continue reading

Posted in Ax 2012, D365 Operations, Dynamics 365 Operations - Ax 7.0, Uncategorized | Tagged | Leave a comment

“AX client execution of ‘Executing CIL generation’ timed out” TFS build

I was setting up a new build definition for my project and was facing the exception of Time out error “AX client execution of ‘Executing CIL generation’ timed out” Initially I assumed that there should be some issue in Ax … Continue reading

Posted in Ax 2012, TFS build | Tagged , | Leave a comment

Trace Parser – Ax2012

If you find any performance issues in the code or if Ax moves to not- responding mode in mid of executing a process, developer can take the help of readily available tool in Ax – Trace Parser. User can analyse … Continue reading

Posted in Ax 2012, Performance, Tracing | Tagged , , | 1 Comment

Update physical dimension of an item Ax2012 – CSV import

There are two ways where we can update the physical dimensions of an item in Ax2012. Option 1:   Option 2: Option 1 updates the fields in invent table . But it doesn`t reflect the changes in option 2 form … Continue reading

Posted in Ax 2012, Dynamics Ax, File Handling, Uncategorized | Tagged , | Leave a comment

Count of records in a query

Here is a simple command which can be executed even in a job to take a count of records for a query.  

Posted in Ax 2012, Uncategorized | Tagged | Leave a comment

Request for the permission of type “FileIO Permission” failed

Users would face this error though they had defined code level permission to access the file path. In order to test if the logic is correct, we try the code snippet for the path check in a job and we … Continue reading

Posted in Ax 2012, File Handling | Tagged | Leave a comment