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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Model precedence / order within a package

(0) ShareShare
ReportReport
Posted on by 766

Hi all,

can someone explain how the new AX (D365 for Operations) defines the order of models within a package. We have some 3rd party modules that still use overlayering to overlayer the application suite. They are located in VAR-Layer. But as I unserstood layers don't matter at all.

We try to customize them in another model which should be above them. So we created a new one in CUS layer. This seems to be underneath the VAR models ???

We get the following message when trying to customize: "Table XYZ is defined or customized in model 'Application Suite xyz' which has higher precedence than the model 'OurNewCusLayerModel' of the current project Project1. It cannot be customized in this project/model"

So we tried several other options creating a model in the same package in the USR or even in VAR layer is working fine.

Is there a possibility to define the precedence of models?

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    239,022 Most Valuable Professional on at

    What's the layer of 'Application Suite xyz'?

    Layers do matter; if it doesn't work in your case, it's a bug. Inside a single layer, the model ID is used for ordering (you can see it model descriptor files).

  • Gergely Balog Profile Picture
    on at

    Did you add a model dependency from OurNewCusLayerModel to ApplicationSuite.XYZ? 

    If you don't tell D365O that your own model depends on the ApplicationSuite.XYZ objects existing, then it won't be aware of them.

    You can do so in visual studio, choose the Dynamics 365 menu/Model Management/Update model parameters.

    You can see current model dependencies under Model management/View all package dependencies, which will generate a nice tree for you from the models in the system. 

  • ThomasWilke Profile Picture
    766 on at

    Hi Gregerly,

    it's all overlayering of applicationSuite so there is no dependence. It is just the reference to the other models. But yes they are defined.

    Hi Martin,

    thanks for the fast reply. The scenario looks like this:

    Class in ApplicationSuite (SYS)

    Overlayered in ApplicationSuite.XYZ (VAR)

    We want to overlayer in ApplicationSuite.OurModel (CUS)

    It is working if our model is in USR, USP, VAR, VAP but not in CUS or CUP.

    So yes, it looks like a bug.

  • Basheer17 Profile Picture
    2,720 on at

    Does your NewCusLayerModel belongs to Applicate Suite package? You should create a new model in the same package in order make customizations.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans