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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Map evolving to a table

(0) ShareShare
ReportReport
Posted on 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

I have the same question (0)
  • Suggested answer
    Logger Profile Picture
    60 on at
    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 at
    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 at
    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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Rahul Shah Profile Picture

Rahul Shah 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans