The Fincancial Dimensions Wizard is really helpfull if you need to add new dimensions to the system. It has come to my attention though that it skips an extended datatype which also should be updated. The datatype is DimensionExtCodeId and it is important to update if you use the AIF framework.

You can easily add it to the wizard by adding this line to the run method:

this.addElementToEDT(typeId(DimensionsExtCodeId),
labelDimension,

strFmt("External code type for converting %1", labelDimension));

And these lines to the versionControlCheckOut method:

treeNode = treeNodeEDTPath.AOTFindChild("DimensionExtCodeId");
listTreeNodePaths.addEnd(treeNode.treeNodePath());

If you use version control you'll find that the EDT DimensionPriority needs to be added to the versionControlCheckOut method too. It is modified in the run method, but not checked out first.

Also you should not create a new dimension with the value 255. This value is used in the Cost Accounting module to indicate that no dimension has been choosen. Future versions of the wizard will block for this value.

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm