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);