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

mixed up AOT

(0) ShareShare
ReportReport
Posted on by 625
Hi
 
In our dev system we have a mismatch in the AOT. There is a Table in the AOT names TaxTransDetail_BE which should be a View and is a View on the SQL server.
 
How can this happen and more important how can I fix this?
 
Best regards
Chris
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,148 Super User 2025 Season 2 on at
    Hi Chris,
     
    Can you provide some more information? Do you know what happened to this environment? Did it work before?
    Possibly add some screenshots to show what you mean by "should be a view"? Have you tried a full X++ compilation and CIL build? Then there after, you can run a full database sync and check if it solves the issue.

     
  • CRSW Profile Picture
    625 on at
    Hi
     
    Yes the system worked before. I don't know what happend to it. Its a standard object still in the standard "Layer".
    It just turned from view to table
     
    In Test and Prod System it is fine. only in dev not
     
    CIL and DB sync failes because of this object.

    First pic. Not correct (Devsystem), second pic correct Test system

            â€‹â€‹â€‹â€‹â€‹â€‹â€‹
  • André Arnaud de Calavon Profile Picture
    301,148 Super User 2025 Season 2 on at
    Hi Chris,
     
    When reading your last reply, it may be the case that a database movement was performed from e.g. prod to this development environment. In case this move was done without moving the model store as well, there can be differences in object numbers that can cause this behavior. Can you check if there was indeed a database movement action?
  • CRSW Profile Picture
    625 on at
    there was no DB movement since at least 1 year. I checked the IDs in Modelstore Dev and Test. they are identical. because it is a standard object, never changed I didn't suppose anything else
     
  • André Arnaud de Calavon Profile Picture
    301,148 Super User 2025 Season 2 on at
    Hi Chris,

    It would be very hard now to guide you further. At least, something must have been changed, but you are not aware of it. For me, working with AX 2012 is too long ago to remember every single detail. PS. Did you already try a full compilation as I suggested in my first reply?
  • CRSW Profile Picture
    625 on at
    Hi Andre
     
    I am pretty sure nothing has been done because normally it's me doing this or one other developer. And he didn't do anything eather.
     
    To stop discussion I will take DB from Prod to fix this. seems to be the fastest way
     
    Thx
  • Verified answer
    CRSW Profile Picture
    625 on at
    Thx to all I just decided to do a copy from prod to fix everything(seems to be the fastest way)
     

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans