Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Dual write for read-only entities to Dataverse

(1) ShareShare
ReportReport
Posted on by 2
I am attempting to sync some entities (that have a read-only mode set one in SSMS) into Dataverse (using dual-write) but they do not seem to update when changes are made in Finance and Operations after the initial sync from Finance and Operations to Dataverse. 
Is it common for read-only entities to not sync into Dataverse after the initial sync has been configured?
 
I have looked into some articles and found the below - and wanted to know whether it is relevant to my issue.
 
 
The above link says:
 
During live synchronization, you might encounter an issue where only part of the data is synced from finance and operations apps to Dataverse, or data isn't synced at all.
 Note
You must fix this issue during development.
Before you start to fix the issue, review the following prerequisites:
  • Make sure that your custom changes are written in a single transaction scope.
  • Business events and the dual-write framework don't handle doinsert(), doUpdate(), and recordset() operations, or records where skipBusinessEvents(true) is marked. If your code is inside these functions, dual-write won't be triggered.
  • Business events must be registered for the data source that is mapped. Some data sources might use an outer join and might be marked as read only in finance and operations apps. These data sources aren't tracked.
  • Changes are triggered only if the modifications are on the mapped fields. Unmapped field modifications won't trigger dual-write.
  • Make sure that filter evaluations provide a valid result.
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    Dual write for read-only entities to Dataverse
    Hi,
    Can you give us more information, such as screenshots or entity fields, to help us better resolve the issue for you? Is your entity a custom entity? Is it that all read-only entities are not synchronized to Dataverse?
    Best regards,
    Kevin
  • Komi Siabi Profile Picture
    Komi Siabi 12,725 Most Valuable Professional on at
    Dual write for read-only entities to Dataverse
    Hello, 
     
    Can you please tell one of the entity and the field that are not getting updated after changes are made?

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans