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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Missing NumerSeqModule enum value in lower layer after model import

(0) ShareShare
ReportReport
Posted on by 10

I have 2 enum values in ISV layer and 4 in VAR layer. After importing a model to VAR layer one VAR value is gone (I imported with "overwrite" on conflict) and one ISV value is not showing in AOT but in comparison with ISV layer I can still see it. Compilation gives an error on the missing ISV value that I can still see during comparison. What am I doing wrong?

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

    If I understand it correctly, you had four elements in VAR and then you overwrote with a model with an unknown content. What is the current content of the layer?

    Aren't there any conflicting values? For instance, maybe an element was imported with the same value as the ISV element. I don't remember what exactly happened in AX 2012 when trying to import such a thing.

  • nmkloster Profile Picture
    10 on at

    I have fixed the issue. The content of the VAR layer efter import was 3 of the previous VAR elements plus one element that is also present in ISV layer. I had forgotten that in reality only the topmost layer is show which will contain all lower layers. During the import only one ISV element was also contained in the imported model and the other was not.

    But I'm unsure what the proper procedure is. If I have two models that each have a value added to some standard enum, then only one will be added after importing both models, right? If both are in the same layer then the last imported model will simply overwrite the previous addition. And if they are not in the same layer then the element in the bottom layer will be hidden. Is that correct? What should you do if you want to import both models?

  • Verified answer
    Martin Dráb Profile Picture
    237,768 Most Valuable Professional on at

    The key question is granularity. Do I understand correctly that it was copied to a higher layer is the whole enum, not enum elements? I don't remember how it works in AX 2012; it's quite a few years.

    If that's the case, you'll always see what you have in VAR layer, not the ISV layer (because the whole enum is overridden in VAR). If you want to import changes to both the ISV layer and the VAR layer, you can't simply import everything to VAR layer, because it doesn't meet your requirements. You need to import one model to the ISV layer, another to VAR layer and upgrade code in VAR layer (if needed) to merge changes in ISV layer with objects overridden in VAR layer.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 704 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 570 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 408 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans