Kindly assist me with some id开发者_高级运维eas in writing the Upgrade script for upgrading the base enum in AX from AX 4.0 to AX 2009.
Also i would like to know the sequence of upgrading and the reasons behind. Like is it first we need to upgrade Enum? then Edt's etc etc.
Thanks a lot in advance.
Look for what others have done: see class ReleaseUpdateDB39_Basic method migrateIntercompanyCommerceGateway2AIF.
Do not delete enum values, rather rename and prefix with "DEL_", then change the ConfigurationKey to "SysDeletedObjects40". This allow you to reference the old obsolete values in the upgrade script.
See also Frameworks Introduction and How to Write Data Upgrade Scripts.
精彩评论