Sometimes we need to store values on runtime which are not really worthy of storing in database. Examples could be the fiscal calendar year and period entered by a particular user last time during the session. In many situations, the user would like to know what values he entered last time while doing some processing.... Continue Reading →
Recently, I came across a very light and handy tool to find out files stored anywhere on computer at the blink of an eye. Although, windows search have been improved alot lately but still its quite slow. This tool creates file indexes very quickly and therefor privide search results earlier then windows search. its simple and easy... Continue Reading →
I was reading an interview with Brandon George taken by DynamicsWorld. Thought it should be shared on my blog. worth reading it. http://www.dynamicsworld.co.uk/Brandon-George-Interview.php
The AOT maps residing in the data dictionary is very useful element under DD node after tables, enums and EDTs. Perhaps they aren't as widely used as they should be in usual application programming. However, they have the power to solve some key daily problems in AX running in the production environment. Map defines X++... Continue Reading →
The simple answer is RecordViewCache class. This class is used to implement set-based caching in your code at run-time. 1. First declare the variables. CustTrans custTrans; RecordViewCache recordViewCache; 2 . Call a nofetch query to create a record buffer. It will define the set of records that you want to cache. //Define records to cache select... Continue Reading →
In every new table the recID (surrogate key) range starts from the no. 5637144576 and since it is int64 so it goes upto 2^63 (9223372036854775808). It also signifies an important fact that we can't have unique recIDs accross different tables.
It is possible to pass a datasource bound to a grid in a class and then iterate like a query. In this post, I'll giving some code snippets to work with form datasource in some other object like classes. Step 1: Your method or constructor of the class should be able to recieve FormDataSource type... Continue Reading →
Finally Microsoft has come up with different separate wrokspace for developers of AX. If you have access to the latest build of AX 2009, you'll notice the absence of all development related tools. Only AOT can be accessed by clicking Ctrl + D (I think they'll move it away too). For doing all kind of... Continue Reading →
Q: How can I check whether the particular configuration key is enabled or not in the code at runtime? A: Simple, you can use the function isConfigurationkeyEnabled(configurationkeynum(LedgerBasic)) anywhere in the code. It returns a boolean type.