End of mainstream support for Microsoft Dynamics AX 2009, 2012, and 2012Mainstream support for Dynamics AX 2009 Service Pack 1 (SP1), Dynamics AX 2012, and Dynamics AX 2012 R2 ended Oct. 9, 2018. After that date, only security hotfixes will be provided for these three versions through the extended support period that until Oct. 12, 2021. Read more
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
I have to move all the code in USR layer to CUS layer. What is the checklist to be followed and is there any guidelines that will help me in doing this as I am moving the code between layers for the first time.
Please see link below. This provide great details and also make sure you don't lose data and object id's remains the same.
Make sure you have a good set of backup's before you start this activity just incase you need to restart for some reason. Hopefully you won't need it.
I am not sure how to work with point 6 in the link you sent me.
6. Export the CUS layer models from sandbox environment into axmodel files and import them into the source environment, with the USR layer still in place.
How to find CUS Layer models and how to add them as axmodel files? Please guide me.
In AX model list (which you can see for example in development workspace -> Tools -> Model management -> Models installed) you will see which layer the model is on. So this is how you can find CUS layer models. And how to export models to axmodel files? Well, just search the web for "dynamics ax 2012 export model".
Now, I started working on this process. Step 1:
To pull all AOT objects modified in USR layer , I followed the below link
But this xpo has AOT objects from Data dictionary, macro, classes, forms only. It is not pulling from other AOT objects like reports, parts, services, and other remaining places.
Am I missing anything?
There is enough disk space (40 GB) to run the process.
If you want XPO specific to layers , you can use below link to filter all the element in a project and then take XPO
I pulled Source environment USR objects to sandbox environment and later exported CUS model into Source envirornment. Now I have to do the last step.
Delete USR layer from source environment.
When I tried to do it using management shell, i got the below message:
"The deletion will cause the following elements in other models to be deleted:
Model: CUS Model
Classes\<Class name> \Methods 1-8
Forms \.<Form Name> \...\DesignList\.......\Methods\Clicked
Are you sure you want to delete the layer : Usr (y/N) ? "
what could be the reason for trying to delete these elements in CUS layer? Guide me.
You can delete it from project as well. Just filter project by usr layer as I suggested above and delete all objects.
CUS model is the default model for CUS layer, the modifications are usually in another modell (on CUS layer)
Is there any x++ code/job that will pull all the models in a given layer.
I found the list of models by Tools\Model Management\Change current model and tried to import the models.
I got the below error
How to fix this? Do i need to delete the old cus model and then import the new one?
Please guide me.
You can create a project from a specific layer, is that what you need?
This type of error occurs when a project is in both CUS and USR layer.
You can go through all your projects and export project to an xpo which has both CUS and USR layer and delete the USR layer of the projects.
To find out to which project this error is referring to,
Write a SQL Query in Model Database
select * from modelelement
where elementhandle = '1120873'
and then export an xpo of the project and delete the USR layer.
Business Applications communities