Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : r2r2LVJzNEio31QIs5tPuN
Microsoft Dynamics AX (Archived)

Map evolving to a table

Like (0) ShareShare
ReportReport
Posted on 18 Nov 2014 10:12:43 by

Ik have a standard R3 with no hotfixes. From there on we started cutomizations.

This morning a did a full compile using the AXBuild tool and no errors were reported. Then the CIL compile also finished with no errors, but when confirming a purchase order, stack traces occured on the FormLetterService class.

When manually compiling the service class, it seems that there are indeed X++ errors... and more specifically table assignments that fail. After a while I noticed that the FormLetterParmTable map (SYS) was missing in my environment. Taking a look at the Tables node in the AOT learned that apparently the map 'thinks' it is a table because I suddenly see it amongst the tables.

Any idea how this can happen?? (And for the record, I often suspect the AXBuild tool might be the culprit...)

*This post is locked for comments

  • Suggested answer
    Logger Profile Picture
    60 on 27 Jan 2024 at 12:53:49
    Map evolving to a table
    The solution to prevent such corruption :
     
    Some additional simple fix to correct corrupted map/view :
    This scripts accounts for layer of table.
  • Suggested answer
    Kenny Saelen Profile Picture
    on 18 Nov 2014 at 13:23:36
    RE: Map evolving to a table

    Meanwhile I solved the issue by updating the ModelElementData table. I went ahead and fetched the Properties field value from a valid environment. Then I update ModelElementData with the correct Properties hex string and restarted the AOS, solved the issue.

  • Community Member Profile Picture
    on 18 Nov 2014 at 11:43:27
    RE: Map evolving to a table

    Hi,

    There was a similar thread recently: Error during data dictionary synchronization: Table mistaken for View. Looks like a bug in the management util or SQL stored procedures responsible for modelstore.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,361 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,522 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete