Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Map evolving to a table

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...)

  • Suggested answer
    Logger Profile Picture
    Logger 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.
  • Verified answer
    Kenny Saelen Profile Picture
    Kenny Saelen 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
    Community Member Microsoft Employee 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.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans