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)

Is there a place in AX where table mappings for a database sync are stored?

(0) ShareShare
ReportReport
Posted on by 2,007

We are having an issue in one of our test environments that when someone attempts a database sync, we get errors on five custom tables, because we have DMF tables that are trying to write the data to the custom tables and the data types don't match so it fails. I have noted that the table IDs of both of the fields of the source (DMF) and target (custom) tables are the same, but I was wondering if there is somewhere AX is looking for the mapping of the source to target, which do not have the same table Ids. We looked in SQL dictionary, but since the field Ids are correct, we know the problem doesn't reside there. To be honest, we don't want this DMF table syncing with the custom table as they don't have the same data in them.

We are running the version of DIXF prior to the one that came out in CU7. Can anyone point me in the right direction?

*This post is locked for comments

I have the same question (0)
  • Brandt Fundak Profile Picture
    2,007 on at
    RE: Is there a place in AX where table mappings for a database sync are stored?

    Nitesh,

    You wouldn't happen to know which of the DMF tables these mappings reside in, do you?

    Brandt

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Is there a place in AX where table mappings for a database sync are stored?

    Please list which five custome table having database sync issue, try to investigate on those five table in SQLDictionary table

    as you said ... table IDs of both of the fields of the source (DMF) and target (custom) tables are the same...

    if so you have some issue in DMF entity and mapping.. please inventigate then and correnct it as it very unusual.

    As per my understanding DMF will not look to SQLDictionary Table for DMF mapping from Source to Target... it will be in Some DMF* tables

    if you have some bad mapping of Source and Traget tables in DMF, then you sould delete the mapping and recreate it in DMF Mapping Tool

    Please verify and update us with your findings

  • Brandt Fundak Profile Picture
    2,007 on at
    RE: Is there a place in AX where table mappings for a database sync are stored?

    Personally, if we don't have to manipulate anything, that would be best.

    When we query the SQLDictionary for the custom table by name in the affected environment, we don't get anything back. I find that odd, but I can't explain to you why this is happening. This would kind of feed into what you are saying Martin--that the DMF table thinks it should be mapping to a table with that id...because the tableId of the DMF table and the id of the custom table are not the same.

    However, I'm not sure exactly how we fix this...

    I'm going to sleep on it and maybe I'll have more questions in the morning.

    Thanks for the responses guys.

  • Martin Dráb Profile Picture
    236,192 Most Valuable Professional on at
    RE: Is there a place in AX where table mappings for a database sync are stored?

    You can manipulate SQLSYNCINFO, but if everything was really all right, you wouldn't get this error. It seems that you have a collision at table-level, i.e. that the IDs used by your tables before are now used by DIXF tables and DIXF tables try to synchronize with what was left in DB by the other tables.

    Maybe you've moved code or data from a system with different IDs?

  • Suggested answer
    Joris dG Profile Picture
    17,775 on at
    RE: Is there a place in AX where table mappings for a database sync are stored?

    SQLDICTIONARY

    However, be careful in there. Remember that there's more things using table IDs than the sync. For example, the system that tracks RecIDs uses it as well - so you could have some nasty consequences.

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
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans