Enhancing Data Entities in Dynamics 365: Managing Date Effective Tables Without Time State Information

By Elliot Thompson | May 9, 2025

Recently, our team addressed a specific scenario when connecting Dynamics 365 Finance and Supply Chain Management and Customer Engagement through dual write.

A table we used in Finance and Supply Chain Management (F&SCM) connected to the contracts table in Customer Engagement (CE). The issue was the entity in F&SCM had ContractNumber and ValidFrom as the key, whereas in CE the key was only ContractNumber. 

As a result, whenever a user creates a new version of the record in F&SCM, CE reads the data as a new entire contract. This is clearly a problem, as we only wanted to track the “active record” version across the two systems.

The good news is we were able to fix the problem with a couple of settings on the data entity. Here are the steps we took to do this:

  1. First, make sure the property on the entity for "Valid Time State enabled" is set to "No."
    Valid Time State Enabled
  2. On the data source for the date effective table, set the "Apply date filter" property to "Yes."
    Apply filter date
  3. Next, ensure the ValidFrom and ValidTo fields from the date effective table are included as fields on the data entity. You can set these to private if you don't want to expose them to the end user.
    ValidFrom and ValidTo fields
  4. Finally, remove the time state fields from your data entity key.
    Remove the time state fields from data entity key

After you follow those steps, Save, regenerate the staging table, build, synchronize the data base, and then you're done!

Need Help Resolving Technical Issues within Your Dynamics 365 Environments?

Reach out to the Stoneridge team! They can help you address any issues or errors in your environment with creative solutions and thoughtful teaching.

Related Posts


Under the terms of this license, you are authorized to share and redistribute the content across various mediums, subject to adherence to the specified conditions: you must provide proper attribution to Stoneridge as the original creator in a manner that does not imply their endorsement of your use, the material is to be utilized solely for non-commercial purposes, and alterations, modifications, or derivative works based on the original material are strictly prohibited.

Responsibility rests with the licensee to ensure that their use of the material does not violate any other rights.

Start the Conversation

It’s our mission to help clients win. We’d love to talk to you about the right business solutions to help you achieve your goals.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!