<?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>Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/f/development/36891/adding-columns-to-the-impact-matrix</link><description>Hi all, 
 
 Aside from adding the relevant lines to the Express ECO ImpactMatrixGrid, is there something else I need to edit to add the columns? My new column is appearing as undefined.</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/10372?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2024 09:15:50 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1c923aa7-7436-4c08-8621-cfbcf03206cf</guid><dc:creator>Pradnya Ravale</dc:creator><description>&lt;p&gt;Thanks. That was really useful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/7510?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 21:46:04 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:dbb131c7-ab13-448f-82c5-b2ddb4a288f3</guid><dc:creator>Morgan</dc:creator><description>&lt;p&gt;Thanks Angela, learning a lot during this implementation from the community so I am trying to give back where I can!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/7487?ContentTypeID=1</link><pubDate>Mon, 20 Sep 2021 14:03:28 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:eb3e3387-6503-4728-9845-458aa648c755</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Thanks for the cool overview! I forgot to mention the&amp;nbsp;&lt;span&gt;GetDataSource method. Happy that you were able to discover this one on your own!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;@Aras: A &amp;quot;highlights from the forums&amp;quot; section would really be helpful!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/7467?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 22:14:09 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:5ac8cae4-0ee2-4c16-89ae-2d5f6f2e2d3f</guid><dc:creator>Morgan</dc:creator><description>&lt;p&gt;So for anyone wondering how to do this, I decided to write up everything I found that needs to be changed. Hope this helps the community out~&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Adding and Removing Columns from the Aras Impact Matrix&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Ensure that the relevant properties are present on the Change Controlled Item Item Type. This may entail updating all item types that are poly sources to the Change Controlled Item.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Once, that is done we will be editing two methods -&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Express ECO ImpactMatrixGrid&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Express ECO GetDataSource&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;We will start with the Express ECO GetDataSource method.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The highlighted lines in the code below, which starts at line 128, is the AML that determines which properties are pulled into the tables that are referenced in the Express ECO ImpactMatrixGrid method. We will need to add our properties here.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1631743955106v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;We will also need to add our property in one more place, where highlighted, beginning at line 266.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1631743979702v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Now, we can update the Express ECO ImpactMatrixGrid to add our columns. Add a new line to the grid initialization to define the new property as seen below. Per the notes here, I added Changes Pending and Classification.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1631744000123v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;To remove an existing column, remove it from the initialization definition. Some columns drive additional functionality, and as such cannot be commented out such as EDR and Grouping without causing the matrix some issues.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1631744015096v4.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Next, beginning at line 1655, you will see functions that define the data being pulled into the grid. From here, add a function to setup your properties. Once complete, the new columns and relevant data should be displayed on the Impact Matrix. In the example below are the functions for Part Number and Name along with the added function for the new Changes Pending:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1631744042202v5.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/7465?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 20:27:13 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:2c903ec1-558f-48d1-811f-12a4bd1af89d</guid><dc:creator>Morgan</dc:creator><description>&lt;p&gt;Got this resolved too. Had to edit &amp;#39;&lt;span&gt;Express ECO GetDataSource&amp;#39; again -&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;At line 266, add properties here as well:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;String notRequestedItemsAmlTempalte =
&amp;quot;&amp;lt;AML&amp;gt;&amp;quot; +
&amp;quot;  &amp;lt;Item type=&amp;#39;{0}&amp;#39; action=&amp;#39;get&amp;#39; select=&amp;#39;id, name, item_number, major_rev, state, keyed_name{2}, has_change_pending, classification&amp;#39; levels=&amp;#39;0&amp;#39; &amp;gt;&amp;quot; +
&amp;quot;    &amp;lt;id condition=&amp;#39;in&amp;#39;&amp;gt;{1}&amp;lt;/id&amp;gt;&amp;quot; + 
&amp;quot;  &amp;lt;/Item&amp;gt;&amp;quot; +
&amp;quot;&amp;lt;/AML&amp;gt;&amp;quot;;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hope this helps someone else &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;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/7463?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 18:58:36 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:6b73e93a-0b7d-4043-9535-cda5f85826b5</guid><dc:creator>Morgan</dc:creator><description>&lt;p&gt;Success, however now for some reason there is some odd behavior. My columns are there but values are only populating for Part...&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1631732063355v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;And when adding a sub-assembly, it only populates for the the item I add, and it&amp;#39;s parent...&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1631732186765v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;When I set an action on an item these populate as well.... unless the item in question is a CAD Document&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/pastedimage1631732314321v3.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/7461?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 16:49:24 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9cc395d8-cb08-4c85-a6ca-67d0801c59ec</guid><dc:creator>Morgan</dc:creator><description>&lt;p&gt;I got it working. I had to update &amp;#39;Express ECO GetDataSource&amp;#39; as well to account for the additional property - here specifically, beginning at line 128 -&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;String itemQueryAMLTemplate =
&amp;quot;&amp;lt;AML&amp;gt;&amp;quot; +
&amp;quot; &amp;lt;Item type=&amp;#39;{0}&amp;#39; action=&amp;#39;get&amp;#39; select=&amp;#39;id, name, item_number, major_rev, state, keyed_name{3}, has_change_pending&amp;#39;&amp;gt;&amp;quot; +
&amp;quot; &amp;lt;generation condition=&amp;#39;is not null&amp;#39;&amp;gt;%&amp;lt;/generation&amp;gt;&amp;quot; +
&amp;quot; &amp;lt;Relationships&amp;gt;&amp;quot; +
&amp;quot; &amp;lt;Item type=&amp;#39;{1}&amp;#39; action=&amp;#39;get&amp;#39; select=&amp;#39;source_id, related_id(id, name, item_number, major_rev, state, keyed_name{4}), quantity, sort_order{5}&amp;#39;&amp;gt;&amp;quot; +
&amp;quot; &amp;lt;OR&amp;gt;&amp;quot; +
&amp;quot; &amp;lt;source_id condition=&amp;#39;in&amp;#39;&amp;gt;{2}&amp;lt;/source_id&amp;gt;&amp;quot; +
&amp;quot; &amp;lt;AND&amp;gt;&amp;quot; +
&amp;quot; &amp;lt;related_id condition=&amp;#39;in&amp;#39;&amp;gt;{2}&amp;lt;/related_id&amp;gt;&amp;quot;;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I added the has_change_pending property to the aml.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now it shows the values - 1 or 0 for the bool, just need to modify the return statements I believe to reflect more user friendly text.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/7456?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 16:28:53 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:6021e943-b09c-4972-910c-e79a7628649b</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Maybe this answer from one of my previous posts work for you as well?&lt;/p&gt;
&lt;p&gt;&lt;a href="/f/development/3943/changes-pending-in-part"&gt;https://community.aras.com/f/development/3943/changes-pending-in-part&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/7454?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 16:23:23 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:886396e7-33dd-4984-8793-630d90b52127</guid><dc:creator>Morgan</dc:creator><description>&lt;p&gt;Thanks Angela, I&amp;#39;ve got it configured with these items and I can now view the column and the name however it is not populating the value.&lt;/p&gt;
&lt;p&gt;I am looking to add the has_change_pending property, which I have added to Change Controlled Item for the purpose of populating the impact matrix (this missing on the item type was causing the undefined).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently, it is always showing blank so that is the next thing I am trying to solve. I am assuming I need to setup my cell class to show a specific value if true so will do that and report back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding Columns to the Impact Matrix</title><link>https://www.aras.com/community/thread/7448?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 07:33:10 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9ba4b698-db34-4682-9fcc-a04de83b0955</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you mainly have to customize the Method &amp;#39;&lt;span&gt;Express ECO ImpactMatrixGrid&amp;#39; .&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For addition columns&amp;nbsp;you have to add your properties&amp;nbsp;in block &amp;quot;ImpactMatrixGrid.prototype.initializeGridStructur&amp;quot;.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;You need to specify your own &amp;quot;Cell Classes&amp;quot; as seen in available code.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You may have also to customize one ui_resources(ex?).xml&amp;nbsp;file in the codetree. Don&amp;acute;t remember which one. Either the one directly in the Client folder, or the one in the PE application folder.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>