<?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>Change ItemType and Affected Item</title><link>https://www.aras.com/community/f/development/36440/change-itemtype-and-affected-item</link><description>Good day all. I am working on modifying our change ItemTypes (don&amp;#39;t use the OOTB ones). I have been looking at the Simple ECO as an example. Our current changes are associated to a single document/part. So if someone is updating a drawing that affects</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Change ItemType and Affected Item</title><link>https://www.aras.com/community/thread/6630?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 20:26:26 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:4bbd3ad7-c8ea-413d-a564-c8477a5f37e7</guid><dc:creator>Nathan H.</dc:creator><description>&lt;p&gt;AngelaIp,&lt;/p&gt;
&lt;p&gt;Thank you for this, that was what I was missing.&amp;nbsp; If I make it back to Europe I will definitely get you a tasty beverage.&amp;nbsp; &lt;span class="emoticon" data-url="https://www.aras.com/community/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change ItemType and Affected Item</title><link>https://www.aras.com/community/thread/6629?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 19:50:40 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:eb28f1ed-5118-4de1-9452-cb8f3e97250c</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1620071403712v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I already know who one day will own me a bottle of beer or wine...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change ItemType and Affected Item</title><link>https://www.aras.com/community/thread/6628?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 19:48:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1f06e99e-9f0f-4b2b-8a4a-a0c0352905e8</guid><dc:creator>Nathan H.</dc:creator><description>&lt;p&gt;I looked for it in the SQL category, but didn&amp;#39;t see it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change ItemType and Affected Item</title><link>https://www.aras.com/community/thread/6627?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 19:41:33 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:310dd81d-debb-4053-bc21-62c37825bee4</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Have also updated the corresponding &amp;quot;SQL&amp;quot; item ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change ItemType and Affected Item</title><link>https://www.aras.com/community/thread/6626?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 19:34:45 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1da70a42-0c7c-4dc8-b38c-2e6ff0355121</guid><dc:creator>Nathan H.</dc:creator><description>&lt;p&gt;AngelIp,&lt;/p&gt;
&lt;p&gt;Thank you for the reply.&amp;nbsp; I didn&amp;#39;t create a new method, I am trying to add to the existing methods.&amp;nbsp; In the PE_ChangeItemTransition method, I copied anything that referenced Simple ECO and changed it to my ItemType (sm_DEMO_NDR) and the same for Simple ECO Affected Item (sm_DEMO_NDR_Affected_Item).&amp;nbsp; The LifeCycle for sm_DEMO_NDR is the same as the Simple ECO.&amp;nbsp; Not sure what I am missing with this.&amp;nbsp; Thanks again for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change ItemType and Affected Item</title><link>https://www.aras.com/community/thread/6622?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 09:07:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9719215e-d158-4bca-a2cf-e5e32dd31ad4</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi Nathan,&lt;/p&gt;
&lt;p&gt;Try to inforce a &amp;quot;newError&amp;quot; error message to see if your Method reacts at all.&amp;nbsp;I assume your customized Methods is not called.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In the standard Aras CM processes, the Method &amp;quot;&lt;span&gt;PE_update_has_change_pending&amp;quot; is also called inside (!) other Methods. E.g. by &amp;quot;PE_OnChangeItemReleased&amp;quot;. Take a look at the existing Lifecycles of Simple ECO or similar. You will notice that there are a lot of Methods called by LifeCycle transitions.&amp;nbsp;Some of them are&amp;nbsp;used to set the change pending flags, release date and other stuff.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Not sure if&amp;nbsp;you even have to modify transition handlers, but for change pending the lifecycle transistion Methods should already do the trick.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>