web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Valid time state table in D365 FO

(0) ShareShare
ReportReport
Posted on by 9,056 Super User 2025 Season 2

Hi all,

When I am trying to update valid time state table using ValidTimeStateUpdate::CreateNewTimePeriod) mode an error is returned as below:


Message=Cannot edit a record in Category change status (VendProcurementCategoryStatus). 'Expiration' column cannot be updated in change tracking mode.

Any hint?

I have the same question (0)
  • Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at

    Error says that you cannot update if change tracking is enabled. May be you can disable that and try.

  • Suggested answer
    GirishS Profile Picture
    27,829 Moderator on at

    Hi Waed,

    I think you are trying to update "Valid to" (Expiration date). You cannot update the valid to in valid time state table since it will adjust automatically.

    Thanks,

    Girish S.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi, Are you trying to update manually or through data entity and what values are you updating in Valid from and Valid To dates.

  • Waed Ayyad Profile Picture
    9,056 Super User 2025 Season 2 on at

    Yes I am trying to change valid to to future date

  • Waed Ayyad Profile Picture
    9,056 Super User 2025 Season 2 on at

    Manual update I am trying to update (valid from to date >= today) and (valid To to future date)

  • GirishS Profile Picture
    27,829 Moderator on at

    I think if you want to update the valid to the future date then it can be done only in the Correction mode. You cannot do that in a Create new time period mode as the valid to will be automatically update based on the scenario.

    Thanks,

    Girish S.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    Also, as per this thread you can't update both ValidFrom and ValidTo fields at same time.

    community.dynamics.com/.../effective-can-only-be-updated-to-today-or-a-value-in-future-in-change-tracking-mode

  • Suggested answer
    Komi Siabi Profile Picture
    13,190 Most Valuable Professional on at

    Hello Waed,

    Since you are trying to update the field and not newly creating , the validTimeStateUpdateMode should be Correction.

    community.dynamics.com/.../error-when-updating-hcmpositiondeatil-table-x

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 629 Super User 2025 Season 2

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 444 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 288 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans