AX7: CREATE NEW PACKAGE\MODEL

To create a new package\model on AX first you should understand the concept of Packages and Models on AX7, click here to see the MS wiki tutorial or use this video.
On VS go to the menu Dynamics AX 7\Model Management\Create model

Setup  your model parameters:

Obs: If you want to create a model inside an existing package I advice you to identify that on the Model Name and on the Model display name. This will help you when you are selecting and using your model on your project. Example: If you want to create a new model on Application Suite, I would name it as “NewModel (Suite)” and use the same on the “model display name”.
Select if you want to create a new Package for the new model or if you want to create the model under an existing package.

If you choose “Create new package” remember that with this option you will be able to just extend element from referenced packages. If you need to customize I advice you to create 2 Packages:
• A new package for your elements and extensions.
• A new model inside “Application Suite” for example to do customization (SalesTable form). Don’t forget to make your new package as referenced package to this model, so you will be able to access your element on the customization model, ex: new tables.
Select the referenced models for your new model.

Usually you will need to select the models Platform, Foundation and Suite. Don’t worry if you forget some model because you can update your model using the Dynamics AX 7\Model management\Update model parameters…
If you want to use this model as a Unit Test and Automated Test model, select the references to Test Essentials and the Form Adaptor model related to the model that you want to test.
Finish your model creation and select the extra options to “Create new project” and “Make this my default model for new projects” if you prefer.

To see all models dependencies, go to “Dynamics AX7\Model management\View package dependencies”.

 

posted @   adingkui  阅读(273)  评论(0编辑  收藏  举报
编辑推荐:
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2012-11-28 AX 2009 EP 用户访问速度问题
2012-11-28 AX 判断数据库字段为NULL
点击右上角即可分享
微信分享提示