Monthly Archives: July 2010
I composed a post regarding “Error executing code” error executing code long time back at blog spot, I thought to shift this post here now. This post is still the useful. Please find the link at the address below
I found some good links regarding SAP vs Dynamics AX. This will give you idea where we stands, what our product Dynamics Ax is all about? And can we even compare SAP with dynamics AX?
Those of you who have already read these articles, please ignore this email J.
SAP vs dynamics AX
Why Dynamics Ax is better than SAP
Why you should migrate from SAP to Dynamics Ax
This is what SAP expert says about dynamics AX
I was working on the “GO to main table” Functionality today and came across many different techniques that AX use for implementing this functionality. So I thought to note it down all the techniques here. There are 3 ways of implementing this functionality
1. Define the relationship with the table on the EDT.
2. Define the Form in the “FormRef” property of the table in the data dictionary
3. Override the jumpRef(…) method at the control level or the dataSourcefield level
args = new Args();
menuFunction = new MenuFunction(menuitemdisplaystr(LedgerTransVoucher1), MenuItemType::Display);
Now that we have so many options, the question is why we have so many methods and what the scenarios in which these methods are used.
1. EDT “go to main table” functionality
This functionality is normally used when you don’t have a normal foreign key à primary key relationship between the tables and you are dropping a field into another table. This practice is going to be removed eventually from AX. The reason for this having relationship on the EDT is not a good practice and have high impact when it comes to reusability.
For instance, ProjId EDT.
2. Table formRef “Go to main table” functionality
This is used when you have a foreign key relationship between the tables on the basis of RecId.
3. “Go to main table” functionality by jumpRef
This is used when you do not have the direct relationship or field (which has the relationship on the EDT) between the two tables and still you want to explicitly provide this functionality.