MVP 2014 on Dynamics AX
Greetings!Few days ago, Microsoft given me the award as MVP on Dynamics AX.I'm very excited and I do not believe yet.Thanks to all and I'll continue to work hard to grow on Dynamics...
View ArticleEmail Parameters - Retrieve SMTP Account Password
Hi AllIf you don't know or remember the SMTP Account Password, you can use the code below : CryptoBlob CryptoBlob; ; CryptoBlob = WinapiServer::cryptUnProtectData( (select firstonly...
View ArticleOData Query Service - The exception message is 'Object reference not set to...
Hi Technophiles!The server encountered an error processing the request. The exception message is 'Object reference not set to an instance of an object.'. If someone have faced this error through...
View ArticleWhat are the differences between addOrderByField and addSortField
Hi GuysWith addSortField you can set "only" the records order.With AddOrderByField you can build some logic because is used the kernel class QueryOrderByField.So, you can use the follow methods :-...
View ArticleAX 2012 - Retrieve a Dimension Value from a Index
Hi GuysBelow an useful code for retrieve a Financial Dimension value from an Index :static DimensionValue DisplayDimensionValueFromIndex( DimensionDefault _DefaultDimension, int _level) {...
View ArticleDynamics AX issue ? No problem...
Hi AllIn our job, often we have faced some errors or strange behaviors.Also, often I seen a wrong approach about on figure out the issue.In many case, the developers try to figure out the issue using...
View ArticleAX 2012 DIXF Service is unavailable or The client and service bindings may be...
Hi GuysIf during the Data Import Export Framework validation parameters, you faced the errors :1- DIXF Service is unavailableOr2- System.ServiceModel.ProtocolException: Content Type...
View ArticleAX 2012 - Debug doesn't work, breakpoint doesn't stop
Hi GuysAbout this topic, you will find many post in google.With my, I just want to underline a strange behaviour that I have faced.Pratically, in my scenario, the Debugger opened ( with many "flash" )...
View ArticleSecond MVP Award on Dynamics AX
Hi All Is a pleasure announce the renewal to the Microsoft MVP on Dynamics AX! Although very busy with my daily activities I am happy to share my knowledge with others in the world. Become an MVP mean...
View ArticleChange the TITLE of the AX Main Window
HiWhen you open Dynamics AX, the main windows is a form.So, if you want to change the Title, the code is very easy :WinAPI::setWindowText( infolog.hWnd(), "Magic AX")If you want to manage...
View ArticleAX 2012 - How to fix Data Dictionary ( SqlDictionary ) issue after importing...
Hi All During the development phase, many tasks are made on the Data Dictionary.Create tables and fields, rename or delete them.So, often the Synchronization process failed.To avoid this issue, you can...
View ArticleMicrosoft Dynamics AX 7 Launch Portal
Hi AllMicrosoft have published the Launch Site for Dynamics AX 7 with WPC Sessions, Launch Events, Sales & Marketing, etc.Microsoft Dynamics ‘AX 7’ Launch Portal Stay Tuned!
View ArticleTFS - How to view and export the Changeset ?
Hi All Below an easy way to view and export the TFS Changeset. 1. Open the Source Control Explorer2. Go through "View History" from your Team Project3. Go to the bottom of the list4....
View ArticleAX 2012 – Have a list of the SSRS Reports to a specific Layer using Model tables
Hi GuysBelow a quick code to have the list of SSRS Reports created or modified to a specific Layer or Model.Run this against the Model DB By Layer will be :use ModelDbSELECT a.name, a.origin, a.axid,...
View ArticleAX 2012 - How to intercept the AX Shutdown?
Hi All How to block the AX Shutdown? Easy, go through the Info class, canShutdown method. So, insert an IF condition before the Return and ask to the user if is sure to close AX. That's it!
View ArticleRetrieve the Query name linked to a View
Hi AllBelow the code in order to retrieve the query name that defines a View. #AOT #Properties TreeNode treeNode; QueryName QueryName; treeNode =...
View ArticleAX 2012 - How to know if an AX User has the "Execute business operations in...
Hi AllSeems an easy question, but today I spent some time to get this answer.The answer is : If ( appl.parmExecuteBusinessOperationsWithCLR() ) info ("Enable"); else info...
View ArticleAX 2012 Close Open Forms
Hi GuysAbout this topics I spent some time and at the end I’m not able to call by code the standard AX 2012 command in order to Close All Forms, see picture below. In order to achieve this goal, I have...
View ArticleAX 2012 - Use Paging feature in the AIF Document Service
Hi AllAs you know, the Document Service doesn't support the Paging, only Query Service.Take a lookhere Below the trick to enable this feature also for the Document Service:1- Take a look to the...
View ArticleTFS – Add or Duplicate a Work Item Type
Hi GuysIn order to add a new Work Item Type you can take a look at https://msdn.microsoft.com/en-us/library/hh409273.aspxA more easy and fast way is to use the Microsoft Visual Studio Team Foundation...
View Article