<?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>Promote BOM items</title><link>https://www.aras.com/community/f/development/3740/promote-bom-items</link><description>does anyone have any code that automatically promotes BOM items when the parent Part is promoted?</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Promote BOM items</title><link>https://www.aras.com/community/thread/1702?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 17:03:04 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:11881d24-9331-498a-a5d8-b5e7959fc0de</guid><dc:creator>Christopher Gillis</dc:creator><description>Hi Dominic,

You may be able to accomplish this by including an onBeforePromote or onAfterPromote server event on the Part ItemType. Taking this approach, you will only need to promote the immediate children of a Part. This will trigger the children&amp;#39;s server events, so the promotion will trickle down the entire Part BOM structure.

There are a few things to consider with this use case. Do you expect Parts to exist in multiple different BOMs? If so, how do you handle the case where a child Part is in a different state than the parent Part? If you add a new child Part to a BOM, should you require that it be in the same state as the parent?

Chris

&lt;hr /&gt;

Christopher Gillis

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