How can i change the order of control? Any short key?
I thought I should share a very useful trick for reordering the controls, relationships, fields and AOT. Sometimes it becomes head ache arranges controls or index on the Form and table. This post might...
View ArticleHow to get current company in Axapta 2009 and 2012
Ax 2009 CompanyInfo::find(); Ax2012 As you know, in ax2012 there is concept of legal entity in place of company. Legal Entity can be retrieved as follows CompanyInfo::Current()
View ArticleMethods of making a lookup
What is lookup Lookup is a term that is used in ax for showing records from other tables as a drop downs. Not all drop downs are look ups. Base eums are also shown as drop down. There are three methods...
View ArticleNames of services in Ax 6 and Ax5
Service name in Ax 6 has been changed, I thought I should do a post on it. Please see the snap shot below check out the names Ax 5 service names
View ArticleHow to convert from date to utcDateTime
You can write code like below to convert among date to date time DateTimeUtil::newDateTime(today(), 0, DateTimeUtil::getCompanyTimeZone());
View ArticleHow to create sales order through code
I found few good sample code for creating sales order in a book and I was able to compile a code for posting sales order invoice. I thought I should share on my blog. It might be useful for some one....
View ArticleHow to delete or add elements in a base enum(This is valid only for the...
Hi- There are lot of discussions or you can find articles on how to add or delete the base enum elements. Some are doing thing through reflection and some are doing through the SysFormEnumComboBox...
View ArticleA Hack to initialize list with multiple values in dynamics Ax
I guess there is a limitation in Axapta that you cannot declare or initialize list with multiple values like any other language. Here is a hack that you can do to initialize the list. static void...
View ArticleFinancial dimension uptake utility
Hi- I have just compiled a utility that can implement the new financial dimension control on the Form. This control is generated dynamically through classes in Ax 6 and it needs code at various...
View ArticleHow to resolve deadlock issues in multithreading batch
Last week I solved an issue with the deadlock with a table and thought it is worth sharing the information as we are using multi-threading batches a lot. Background about the issue: In the batch, we...
View Article