<?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>Parent BOMs where components have been deleted</title><link>https://www.aras.com/community/f/development/3289/parent-boms-where-components-have-been-deleted</link><description>I want to get the Parent parts&amp;#160;for which there have been a deletion of a child component in the BOM structure. I need this data for the last 6 months. Through UI, I get the result by following below steps -
 
 Open the Part. 
 Go to Part BOM Relationship</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Parent BOMs where components have been deleted</title><link>https://www.aras.com/community/thread/603?ContentTypeID=1</link><pubDate>Mon, 10 Jul 2017 16:34:12 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:af7c2b07-6739-4691-9bc0-882f13a79dbc</guid><dc:creator>Eli Donahue</dc:creator><description>Hi Jasbir,

I would probably approach this problem with a server action or a report that uses a server method. The pseudocode for the method would be something like:
&lt;ol&gt;
 	&lt;li&gt;Get all Parts where the modified_on property is within the last 6 months &lt;strong&gt;&lt;em&gt;and&lt;/em&gt;&lt;/strong&gt; the major_rev property is not &amp;quot;A&amp;quot; (redline mode only works when a previous version was released).&lt;/li&gt;
 	&lt;li&gt;For each selected Part (&lt;em&gt;Part A&lt;/em&gt;):
&lt;ol&gt;
 	&lt;li&gt;Get the child Parts of the selected Part (&lt;em&gt;Part A children&lt;/em&gt;).&lt;/li&gt;
 	&lt;li&gt;Get the previous version of the selected Part (&lt;em&gt;Part B&lt;/em&gt;).&lt;/li&gt;
 	&lt;li&gt;Get the child Parts from the previous version (&lt;em&gt;Part B children&lt;/em&gt;).&lt;/li&gt;
 	&lt;li&gt;Compare the config_ids of the &lt;em&gt;Part A children&lt;/em&gt; to the config_ids of the &lt;em&gt;Part B children&lt;/em&gt;. If the &lt;em&gt;Part A children&lt;/em&gt; contain one or more config_ids that are not in the &lt;em&gt;Part B children&lt;/em&gt;, one or more child items were removed from &lt;em&gt;Part A&lt;/em&gt;&amp;#39;s BOM since the previous version.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;hr /&gt;

Eli Donahue

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>