<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Effective Date Field</title><link>https://www.aras.com/community/f/development/3179/effective-date-field</link><description>Looking into a solution to turn the effective_date field to a null when a lifecycle state is occurring. I&amp;#39;m assuming I need put a server method on a lifecycle transition, but I am having trouble writing the proper code in C#.

The issue is when the lifecycle</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Effective Date Field</title><link>https://www.aras.com/community/thread/183?ContentTypeID=1</link><pubDate>Wed, 01 Mar 2017 09:50:26 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ffecadd3-4ec9-4dd2-a8fc-e8020464084e</guid><dc:creator>shwnhlgn</dc:creator><description>Got it! Appreciate it that worked.

&amp;nbsp;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effective Date Field</title><link>https://www.aras.com/community/thread/178?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2017 12:10:21 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d6645bb4-f248-4114-8dbb-c0f01342c545</guid><dc:creator>Yoann Maingon</dc:creator><description>Yes you can definitely add a server method on a lifecycle transition you can do a pre or a post, not sure it is important here. For the code, not to give you the whole solution I would say:
&lt;ol&gt;
 	&lt;li&gt;get your item ID ( a simple  this.getID())&lt;/li&gt;
 	&lt;li&gt;start an edit query (Item myItem = this.newItem(&amp;quot;blabla&amp;quot;, edit); myItem.setID(this.getID());)&lt;/li&gt;
 	&lt;li&gt;add the null command on the effective date property&lt;/li&gt;
 	&lt;li&gt;and Apply !&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>