How to modify ModifiedOn field in Dynamics 365 using console application ?
How to modify ModifiedOn field in Dynamics 365 using console application ?
Hi Attiq Afridi,
Read this article to learn how to connect To Dynamics 365 Version 9.0 with a Console Application. To overwrite the 'modifiedon' field follow the steps in this article.
The code for setting the 'modifiedon' field will look like this.
TargetEntity[“modifiedon”] = new DateTime(2018, 01, 01);
You can pass the attribute like this.
Entity[“modifiedon”] = new
DateTime(xxxxxxx);
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156