In DEV environment AOT we have a table called
LedgerTrvExpTransCube
In DEV environment SQL we have a view called
LEDGERTRVEXPTRANSCUBE
The object is not modified.
Now, when we execute full Data Dictionary synchronization, we get following error:
Cannot execute a data definition language command on ().
The SQL database has issued an error.
SQL error description: [Microsoft][SQL Server Native Client 10.0][SQL Server]Cannot alter 'LEDGERTRVEXPTRANSCUBE' because it is not a table.
SQL statement: ALTER TABLE LEDGERTRVEXPTRANSCUBE DROP COLUMN PARTITION#2
I am confused how something like this could happen.
In all other environments there is the view in the AX AOT called LedgerTrvExpTransCube and view on the SQL server. According to TechNet this object is a view. So I wonder why we see it as a table in our DEV AOT...
The versions of the Microsoft models are all the same between these two environments.
Other info: the table SqlSyncInfo is empty.
Any ideas how it could have happened and how it could be solved?
I am thinking about dropping the view on SQL and sync again.
Thanks,
Waldemar