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?
Error says that you cannot update if change tracking is enabled. May be you can disable that and try.
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.
Hi, Are you trying to update manually or through data entity and what values are you updating in Valid from and Valid To dates.
Yes I am trying to change valid to to future date
Manual update I am trying to update (valid from to date >= today) and (valid To to future date)
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.
As Girish mentioned, please try Correction mode and also check this thread
community.dynamics.com/.../date-effective-record-not-updating
https://learn.microsoft.com/en-us/dynamicsax-2012/developer/effects-of-valid-time-state-tables-on-read-and-write-operations
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 1,771
André Arnaud de Cal... 806 Super User 2025 Season 2
Sohaib Cheema 542 User Group Leader