web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / DAXRunBase / EDT Migration Tool bugfix

EDT Migration Tool bugfix

Vilmos Kintera Profile Picture Vilmos Kintera 46,149
We have a great tool in AX 2012 for upgrading EDT relations to the new structure of Table relations.

Unfortunately it does not handle system data types like UserId very well. You have to change the \\Classes\SysEDTMigration to prepare the tool for all types:


public boolean migrateToNewRelation(
tableName _tableName,
fieldName _fieldName,
SysEDTMigrationEDT _edtInfo,
boolean _deleteAction)
{

(...)

fkTableNode = TreeNode::findNode(strfmt('%1\\%2',#TablesPath,_tableName));
edtNode = TreeNode::findNode(strfmt('%1\\%2',#ExtendedDataTypesPath,_edtInfo.Name));

//--> WIK
if (!edtNode)
{
edtNode = TreeNode::findNode(strfmt('%1\\%2', #SystemTypesPath, _edtInfo.Name));
}
//

You can find more details on MSDN about the EDT Relation Migration Tool:
http://msdn.microsoft.com/en-us/library/gg989788.aspx

Comments

*This post is locked for comments