<?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/"><channel><title>Sudarshan_Srinath さんの グループ アクティビティ</title><link>https://www.aras.com/community/members/sudarshan_5f00_srinath</link><description>Sudarshan_Srinath さんの グループ ユーザーの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Distributed server config</title><link>https://www.aras.com/community/f/development/5766/distributed-server-config</link><pubDate>Fri, 15 Feb 2019 04:47:02 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f28d1102-f29f-4dad-ad25-071b0530a5de</guid><dc:creator>Mark.T</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/Untitled.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;Just wondering if anyone could point me in the direction of some documentation to support me with implementing the above Server configuration?&lt;/p&gt;
&lt;p&gt;Failing that, does anyone have any tips/ things to look out for, when compared to a standard OOTB installation?&lt;/p&gt;
&lt;p&gt;I have successful configured the OOTB&amp;nbsp; Partner Demo Environment, but I am still quite new to this technology.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Remove certain property values onAfterVersion an Item</title><link>https://www.aras.com/community/f/development/3997/remove-certain-property-values-onafterversion-an-item</link><pubDate>Thu, 25 Oct 2018 11:41:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7490ba81-4859-408d-b941-513e80b5592e</guid><dc:creator>AngelaIp</dc:creator><description>Hi,

this one sounds like an easy to do task, but it´s somehow not. I want to reset certain ERP related properties after creating a new generation of a Part.

My idea was to use a simple onAfterVersion Method for this task:
&lt;pre&gt;&lt;code&gt;innnovator inn=this.getInnovator();

string partConfigId=this.getProperty(&amp;quot;config_id&amp;quot;);
string itemType=this.getType();

// Get newest version of this Part
Item newPart = this.newItem(&amp;quot;Part&amp;quot;,&amp;quot;get&amp;quot;);
newPart.setProperty(&amp;quot;config_id&amp;quot;, this.getProperty(&amp;quot;config_id&amp;quot;));
newPart.setProperty(&amp;quot;is_current&amp;quot;,&amp;quot;1&amp;quot;);
newPart.setAttribute(&amp;quot;select&amp;quot;, &amp;quot;id&amp;quot;);
newPart = newPart.apply();
if (newPart.isError())
{
    return inn.newError(&amp;quot;Keine neue Revision gefunden: &amp;quot; + newPart.getErrorDetail() ); 
} 
string newId = newPart.getID(); // works!

// Edit newest version of this item
Item editPart = inn.getItemById(&amp;quot;Part&amp;quot;, newId);
editPart.setAction(&amp;quot;edit&amp;quot;);
editPart.setAttribute(&amp;quot;doGetItem&amp;quot;, &amp;quot;0&amp;quot;);
editPart.setProperty(&amp;quot;erp_is_matched&amp;quot;,&amp;quot;0&amp;quot;);
editPart.removeProperty(&amp;quot;erp_variant&amp;quot;);
editPart = editPart.apply();&lt;/code&gt;&lt;/pre&gt;
 

Unfortunately this code doesn´t update any value of the newest Part version.  Even applySQL or grant of special permission doesn´t change anything.

My only remaining idea is to customize related Methods like PE_CreateNewRevision and the transition handlers...again..
Is there some more general option available to change values after versioning an Item programatically?

Best regards,
Angela&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>