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 :
Dynamics 365 Community / Forums / Finance forum / Date effective record ...
Finance forum

Date effective record not updating

(0) ShareShare
ReportReport
Posted on by

greeting. i try to update previous record in date effective table but it does not update. help pls

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Date effective record not updating

    ok after reading i understand much problem I had thanks you both

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Date effective record not updating

    If a table has no gap then the records are stored as

    ValidFrom ValidTo
    1/1/2012 1/1/2013
    1/2/2013 1/1/2015
    1/2/2015 12/31/2154

    If a table has gap then the records are stored as

    ValidFrom ValidTo
    1/1/2012 1/1/2013
    1/1/2014 1/1/2015
    1/1/2020 1/1/2025

    Note that dates in no gap property allow for consecutive dates continuum timeline, the later one can have dates missing in the continuum timeline.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Date effective record not updating

    For example if we have following records

    Record1: ValidFrom 1.1.2018 ValidTo 31.1.2018

    Record2: ValidFrom 2.2.2018

    There is a gap between the records (neither record is active on 1.2.2018).

  • Community Member Profile Picture
    on at
    RE: Date effective record not updating

    ok i think understand what you mean and i will take look at link.

    i do not what you mean by map definition

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Date effective record not updating

    The setup is in two different places:

    - In the valid time state index of the table (for example index AK1 in LogisticsPostalAddress).

    - Form data source has property ValidTimeStateUpdate which determines how the data will be handled on this form (look at the LogisticsPostalAddressForm, LogisticsPostalAddress data source). This property is of course available only for ValidTimeState tables.

    I suggest you read the complete MS documentation about the topic: docs.microsoft.com/.../valid-time-state-tables-and-date-effective-data

    Gap property means whether the system will allow gaps between the ValidFrom/ValidTo of records (gap means a period of time when no record is valid).

  • Community Member Profile Picture
    on at
    RE: Date effective record not updating

    What do you mean by gap property

  • Community Member Profile Picture
    on at
    RE: Date effective record not updating

    how can i know valid time state update mode of table?

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Date effective record not updating

    If its a production environment, then it wont work since Past Records can't be updated.

    If you are on a development environment, use the SQL Server to bypass restrictions in Dynamics 365 to update records. Make sure you check the gap property for that table that you are going to update (so that you maintain consistency in your application between records of that table).

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Date effective record not updating

    Then you can't change the old records.

  • Community Member Profile Picture
    on at
    RE: Date effective record not updating

    its out of box table

    i do not have access to x plus plus code

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans