<?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>Wian le Roux さんのアクティビティ</title><link>https://www.aras.com/community/members/wian_2d00_lerouxdeltav_2d00_aerospace_2d00_com</link><description>Wian le Roux さんの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Warning: Versioning and tab pane very buggy in new Innovator versions!!!  Are you affected?</title><link>https://www.aras.com/community/f/development/36912/warning-versioning-and-tab-pane-very-buggy-in-new-innovator-versions-are-you-affected</link><pubDate>Mon, 20 Sep 2021 15:40:20 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:4db34c0d-78a3-4f20-90b9-890d60c714e8</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi community,&lt;/p&gt;
&lt;p&gt;I need your help to investigate an error that occurs in newer Innovator versions. In my case it occurred in Innovator 12SP17 and 12SP18 but NOT in Innovator 12SP7 / 9 / 10.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I look for a bug fix for this one, cause unfortunately Aras rate this one as unimportant glitch and not as high risk behavior. From my POV the bug is a huge source for trouble (data loss!!), so I just can warn people to update to SP17 and SP18 without this bug fixed.&lt;br /&gt;I want to investigate, which service pack version is NOT affected by this bug. I am not able to test out all available service pack, so I would be happy if community could help:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;&lt;em&gt;&lt;strong&gt;If you are a user of Innovator 12 SP11 / 12 / 14 / 15 / 16 / 17 I would be happy if you could test out at least the Error 1 scenario!! (2 minutes required!)&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Scope&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In 12SP17 and 12SP18 the tab pane can crash to easily when using item versions (like in Parts, Documents and Methods).&lt;br /&gt;In addition, old item revision can overwrite the latest item without the user noticing it!&lt;br /&gt;Both errors can&amp;nbsp;occur easily, as soon users display previous revisions of an item. Comparing old and new revisions is a typical work during a&amp;nbsp;Change Management process, so it&amp;acute;s an error that affects daily work of PLM users.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Test Setup&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If possible perform this test in a test database. No data is edited during the test when you closely follow the instructions. But I don&amp;acute;t want to bring you in trouble in case of error!&lt;/p&gt;
&lt;p&gt;1. Go to TOC -&amp;gt; Administration -&amp;gt; Open ItemType &amp;quot;Method&amp;quot; search grid&lt;br /&gt;2. Search for Method with with &amp;quot;Ver 2&amp;quot; or higher, to ensure the Method has more than one revision.&lt;br /&gt;&amp;nbsp; &amp;nbsp;(If you need extra safety, create a temporary custom Method for this test that you can delete after test finished)&lt;br /&gt;3. Open this Method (it doesn&amp;acute;t matter which one)&lt;br /&gt;4. Open the &amp;#39;Versions&amp;#39; dialog&lt;br /&gt;5. Select a previous version (e.g Ver 1) of this Method&lt;br /&gt;6. A Form with the previous version of your Method shall open.&lt;br /&gt;7. Do not touch the new window with the previous version&lt;br /&gt;8. Simply switch back to the tab with the newest version of the Method and close the &amp;quot;Versions&amp;quot; dialog&lt;/p&gt;
&lt;p&gt;We now have both versions in parallel in the tab pane. This is our basic setup. So far everything is fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1632148636969v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Reproduce Error 1 (Tab pane crash)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;1. Start from setup above. We are in the tab with the latest revision&lt;br /&gt;2. Click &amp;quot;Edit&amp;quot; (but do nothing else)!&lt;br /&gt;3. Now just switch back to the tab with the previous revision of the Method and simply close this window&lt;br /&gt;4. After closing the previous revision, we will automatically jump back to our latest revision tab&lt;br /&gt;5. Click &amp;quot;Discard&amp;quot; as we never wanted to edit anything&lt;br /&gt;6. Now the error should happen:&lt;br /&gt;In case of error a&amp;nbsp;second tab reappears. We now have the two tabs for the item. They do not work and you cannot close them. Tab pane is crashed. Everything will be fine again after restarting Innovator in browser.&lt;br /&gt;If you don&amp;acute;t see this error, your Innovator version is not affected by this bug. You can skip all other tests. Please&amp;nbsp;share which version you used!&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1632148871001v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Reproduce Error 2 (glitch)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;6. When you directly click &amp;quot;Search Method&amp;quot; in the TOC after above error occurred, a small additional glitch can appear&lt;br /&gt;7. As our tab pane is crashed, the search grid will overlab with the Method Form. None of the tabs can be used reliable anymore&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1632148990772v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Reproduce Error 3 (previous revision overwrites latest)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;Warning: Perform only in test database! Use a custom temporary Method for testing out this one, cause it can corrupt your data!!!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. Start from setup above. We are in the tab with the latest revision.&lt;br /&gt;&lt;/span&gt;2. First&amp;nbsp;switch back to the tab with the previous revision. This time do not close the window, but simply take a look at the &amp;quot;Edit&amp;quot; button. It&amp;acute;s grayed out and you cannot use it. (This is correct behavior, as we never should be able to edit previous revisions)&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1632149306916v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;3. Switch back to the latest revision and click &amp;quot;Edit&amp;quot;&lt;br /&gt;4. Again switch back to the previous revision and take a look at&amp;nbsp;the &amp;quot;Edit&amp;quot; button again. This time it&amp;acute;s not greyed out anymore!!!&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1632149376057v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;5. It&amp;acute;s now theoretically possible to click the edit button inside the Form of the previous revision!&lt;br /&gt;6. In case you click the &amp;#39;Edit&amp;#39; button, you can create a high risk scenario:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1632149873767v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;7. After clicking the &amp;#39;Edit&amp;#39; button, it&amp;acute;s seems to be possible to edit the previous revision. But what you see doesn&amp;acute;t represent the &amp;quot;truth&amp;quot; any more.&lt;/p&gt;
&lt;p&gt;a) The shown Method code still shows the content of the previous revision&lt;br /&gt;b) But the&amp;nbsp;context item has switched to the latest revision. But this revision change is not visible to users as they still watch the previous code/properties. You can only see it in the &amp;#39;Generation&amp;#39; value in the &amp;#39;Properties&amp;#39; dialog.&lt;/p&gt;
&lt;p&gt;If you now save your &amp;quot;fake&amp;quot; previous item, the latest item will be overwritten with code and properties of the previous version. This is a high danger situation not only for Methods, but for all ItemTypes that use revision as it will lead to data loss and corrupted data.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:150%;"&gt;Conclusion&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I discovered the bug while merging a few upgrade patches and actually destroyed a few Methods cause of this bug. If I as admin fail to handle versioned&amp;nbsp;items cause of this behavior, I expect that real users will face the same problem soon.&lt;/p&gt;
&lt;p&gt;I right would&amp;nbsp;&amp;nbsp;not recommend to use 12SP17/18 just because of this bug. Comparing and working with item versions is a daily task especially when using Change Management. But it&amp;acute;s important that users can trust the data they see. Right now working with revision in SP18 is very risky cause users can crash their tab (best case) or overwrite data without knowing (worst case).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please let me know if you are able to reproduce any of the above bugs in your Aras Innovator version!&amp;nbsp;If you&amp;acute;re Innovator version doesn&amp;acute;t show the bugs, please also write a short post! When we can determine in which service pack the error appeared first, it&amp;acute;s maybe possible detect the bug more easily.&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;
&lt;p&gt;Angela&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Calculate Stock on Order Values</title><link>https://www.aras.com/community/f/development/36547/calculate-stock-on-order-values</link><pubDate>Thu, 27 May 2021 10:41:05 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c5339088-0adf-4043-997a-ecf095c8587c</guid><dc:creator>Wian le Roux</dc:creator><description>&lt;p&gt;Hi Everyone&lt;/p&gt;
&lt;p&gt;I have been struggling with creating a server side method for the following scenario I have 2 Item Types and a Relationship between. I would like the value of the Relationship property _order_qty added to the value of the Child relationship property _stock_on_order when creating a&amp;nbsp; POR.&lt;/p&gt;
&lt;p&gt;ItemType 1 - POR&lt;/p&gt;
&lt;p&gt;Relationship - POR_Part (Property = _order_qty)&lt;/p&gt;
&lt;p&gt;ItemType 2 - Part (Property = _stock_on_order)&lt;/p&gt;
&lt;p&gt;So basically get the current&amp;nbsp;&lt;span&gt;_stock_on_order then&lt;/span&gt; _stock_on_order + _order_qty and then rewrite the _stock_on_order value on the Part ItemType.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a separate script that will subtract the received stock quantity from _stock_on_order.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>AngelaIp</title><link>https://www.aras.com/community/members/wian_2d00_lerouxdeltav_2d00_aerospace_2d00_com/activities/3e1d4291-f29a-4dd4-805b-0287d37adf0b</link><pubDate>Thu, 03 Sep 2020 15:03:29 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3e1d4291-f29a-4dd4-805b-0287d37adf0b</guid><dc:creator>AngelaIp</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Transferring relationship rows with a C# method</title><link>https://www.aras.com/community/f/development/34867/transferring-relationship-rows-with-a-c-method</link><pubDate>Mon, 01 Jun 2020 11:53:09 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:bb43c846-28ff-4ccc-9237-ebe6d1666d43</guid><dc:creator>Wian le Roux</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have a Request for quotation item type with an relationship to Parts. As well as a Purchase Order Item Type also&amp;nbsp;with a relationship&amp;nbsp;to Parts&amp;nbsp; This allowing users to select the parts that the want on the RFQ and POR. I then created a method that transfers all the form fields from the RFQ to the POR. Now i would like it to include the relationship rows as well (meaning the part rows). So when you trigger the method from the RFQ it should fill in the POR form as well as the Parts relationship.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does anyone perhaps have sample code on transferring relationship items to a new forms/item types relationship?&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Wian&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Versioning on lifecycle step</title><link>https://www.aras.com/community/f/development/5778/versioning-on-lifecycle-step</link><pubDate>Wed, 20 Feb 2019 12:07:22 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d4ee5f09-a799-4d9d-95af-a1b4ceb83993</guid><dc:creator>Wian le Roux</dc:creator><description>&lt;p&gt;Hi Guys&lt;/p&gt;
&lt;p&gt;I have a scenario where a user would like to keep record of a specific document type, namely pre-meeting and post-meeting to compare.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have manual versioning enabled on our documents itemtype, but the user would like this to happens automatically when the document is promoted to the next step in the document class lifecycle.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have created the linear life cycle&amp;nbsp;assigned with the class, with permissions and created the following script,that runs on the post method transition.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;// Version&lt;br /&gt;Innovator inn = this.getInnovator();&lt;br /&gt;Item newItem = this.apply(&amp;quot;version&amp;quot;);&lt;/p&gt;
&lt;p&gt;// Finish&lt;br /&gt;return this;&lt;/p&gt;
&lt;p&gt;This creates a new version of the document when i promote it to the lifecycle step, but it does not include the word file in the document view. Am i missing something in the script to pull the data from the previous version?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Wian&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://www.aras.com/community/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Wed, 20 Feb 2019 12:07:23 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:f1f45b5e-ca8b-457f-8965-24afbedb9fc8</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>