Labels escape character
Labels in Ax should not contain Escape characters as they are ignored. Eg @TST123 hellow\nWorld This will be printed as is, and no new line will be shown on the UI. Filed under: Dynamics Ax Tagged:...
View ArticleMicrosoft Certified Solution Specialist
Finally certified Filed under: Ax 2009, Dynamics Ax, X++
View ArticleDynamics Ax 2009 – Enterprise portal – Page deployment
A page in Enterprise portal is defined by 2 objects in Ax 2009 1. Web menu item URL Path AOT –> Web –> Web Menu Items –> URLs 2. Page definition Path AOT –> Web –> Static Files –>...
View ArticleAx Reserved keywords for fields
The table defined has 3 fields and works as expected. However if the name of the field is changed to a SQL reserved e.g. “Exit”, you will get the following error when opening the table Errors are:...
View ArticleDynamics Ax 2012 – AIF Import CSV File – Part 1: Consume Web service
I will start a series for AIF 2012 to use the Inbound port file adapter settings structured: Part 1: Consume Web Service Part 2: Create Item from File adapter Part 3: Import CSV file with items Through...
View ArticleFind unused EDT’s in Dynamics Ax
To find unused EDT’s in your Dynamics Ax application, the following code will sscan through the crossreference and display the EDT’s on screen. Note, you will have to compile your application with...
View ArticleAx 2009 – MorphX style Version control using TFS 2010
With multiple Ax installations, and trying to make changes to each of them, the idea of having the standard TFS implementation of version control is tedious. So, I have recently created a version...
View ArticleShow batch class in task list
Sometimes running a batch job may depend on another one completing before it runs. To ensure that can happen, and to set it up involves some development work. To add a batch job to an existing batch...
View ArticleValidate Table from X++
Dynamics Ax forms calls the validateField whenever the field value changes. However, this is only called from the Forms. To validate a table for its values from X++, the following code does it static...
View ArticleShow query values on form
To show query values just like a report dialog does there are some internal classes that need to be used. To simplify this process, I have created a class, which will take in the form group control and...
View ArticleBackup and restore MorphX Version control
When an Ax environment is setup for version control with MorphX, there are times when the database needs to be restored, or another database is required to be used instead. This causes the loss of all...
View ArticleAndroid Ax App – Part 1–Set up the intermediate WCF service
I came across a blog by Joris De Gruyter http://daxmusings.blogspot.com/2011/11/10-minute-app-windows-phone-7-app.html and decided to use that to connect to an Android device. This is part 1 of 2 to...
View ArticleAndroid Ax App – Part 2–The Android app
This is part 2 of the series to create an Andorid App to consume AIF services from Ax 2012. Android Ax App – Part 1 – Set up the intermediate WCF service This post is the equivalent of Joris’s blog:...
View ArticleDynamics Ax 2012 – AIF Import CSV File – Part 2: Create Item from File adapter
This is part 2 of the series Import CSV file using AIF in AX 2012. This is a continuation of Part 1, where we consumed the InventItemService.create to add items to the released products in Ax. Part 1:...
View ArticleDynamics Ax 2012 – AIF Import CSV File – Part 3: Import CSV file using AIF
This is the final part to the serieds of Importing CSV files via AIF Part 1: Consume Web Service Part 2: Create Item from File adapter Part 3: Import CSV file with items Through AIF In the past posts...
View ArticleValidate table record fields through X++
This is a code snippet I use to validate a record created in X++. I do not have to manually go and check if the group I am adding exists in the reference table. The validateField method does this, but...
View ArticleAx 2012 AIF Calling the CustCustomerService.Create method from WCF
The CustCustomerService (External name CustomerService) can be used to create a customer in Ax through AIF. When using the http adapter and consuming this service in a .Net Application, this is a tried...
View ArticleAx 2012 Deploy reports through code
Following code can be used to deploy SSRS reports in Ax 2012. However make sure that this code runs from the client, and not as CIL (otherwise you will get run time errors) I can run this code as a job...
View ArticleAx bug in X++ join statement – Compile error
So i have found a bug in Ax relating to join statement. Based on the Image, you can see that i am joining 2 tables, and setting a where statement for the first one to a tableId All 3 should give me the...
View ArticleIterate through AOT tree
I came across this piece of code which was required to check the AOT elements for certain things. This iteration should work fine as long as all the developments done show up in your session. The best...
View Article