<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices</link><pubDate>Mon, 11 May 2020 20:18:32 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be8fe898-1038-467a-b264-a15c258f57ce</guid><dc:creator>Michael Kelley</dc:creator><comments>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices#comments</comments><description>Current Revision posted to OpenUtilities Wiki by Michael Kelley on 5/11/2020 8:18:32 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Promis.e, Bentley Substation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;through 08.11.13.96&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Project Management&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;BOM Explorer&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Devices and/or part numbers are appearing on reports but I can find no evidence of them in the project.&amp;nbsp; There are no symbols placed for these devices, but they are affecting the quantity on the bill of materials. I see device tags surrounded by square brackets on dialogs.&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;These devices may have been added using &lt;strong&gt;BOM Explorer&lt;/strong&gt;, imported into the project, existed as symbols that have since been deleted from the page, or left behind by some other workflow. This article refers to devices for which no symbols are placed on project pages as unplaced devices. This article assumes these devices are no longer wanted in the project. &lt;/p&gt;
&lt;h1&gt;Remove individual unplaced devices&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]]. Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Devices in the project that have no symbols inserted should appear with the &lt;strong&gt;ID&lt;/strong&gt; icon in a darker/bold color and the device tag may be surrounded by brackets. Right-click such device tags and select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-62/pastedimage1500304692809v1.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-62/pastedimage1500304692809v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Remove all unplaced devices&lt;/h1&gt;
&lt;h3&gt;Option 1 - Use the &lt;em&gt;Remove Unplaced Devices&lt;/em&gt; tool (SS7 and newer only)&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button was added to the &lt;strong&gt;BOM Explorer&lt;/strong&gt; tab of [[Project Manager]] in SELECTseries 7 (08.11.12.xx).&amp;nbsp; It removes &lt;em&gt;&lt;strong&gt;all&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt; devices that have no associated symbols placed in the project.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of &lt;em&gt;Project Manager.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button is near the top of the BOM Tree pane.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-62/RemoveUnplacedDevices.PNG"&gt;&lt;img alt=" " src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-62/RemoveUnplacedDevices.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Option 2 - Execute an SQL script&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Use this method at your own risk&lt;/strong&gt;. This process performs the same operations as the &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button, so when available, use &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt;. If this button is not present on &lt;strong&gt;BOM Explorer&lt;/strong&gt;, consider upgrading to the latest version.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First make a copy or [[Backup Project|backup]] of the problem project using [[Project Manager]].&lt;/li&gt;
&lt;li&gt;Run SQL Server Management Studio (SSMS) and connect to the server hosting the project database.&amp;nbsp; See [[Setup]] to determine the server.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;SELECT id, name, prjpath FROM promise.dbo.Project&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in that statement with the true name of the project database, which may be different. See [[Setup]] to determine database name.&lt;/li&gt;
&lt;li&gt;With no part of the statement highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;In the results, find the problem project&amp;#39;s name, confirm it is the correct project by looking at the &lt;strong&gt;prjpath&lt;/strong&gt; field, and note the &lt;strong&gt;id&lt;/strong&gt; value for that project.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;
&lt;pre class="brush: sql; gutter: false; fontsize: 100; first-line: 1; "&gt;USE promise
-- Clear Unused Partnumber
DELETE FROM partnumber WHERE part_number not in(SELECT partnumber FROM device_partnumber WHERE project_id=9999 or project_id=-9999) AND project_id=9999;
-- Clear Unused Device
DELETE FROM Device_PartNumber WHERE project_id=9999 AND device_id is null;
DELETE FROM Device WHERE project_id=9999 AND (type&amp;lt;&amp;gt;N&amp;#39;DEVICE&amp;#39; OR type is null) AND id NOT IN (SELECT DISTINCT device_id FROM symbol WHERE project_id=9999 AND device_id is not null UNION SELECT device_id FROM Spare WHERE project_id=9999);
DELETE FROM ParentDevice WHERE project_id=9999 AND (id not in (SELECT DISTINCT parent_device_id FROM device WHERE project_id=9999 UNION SELECT DISTINCT parentdevice_id FROM parentdeviceattribute WHERE project_id=9999));&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in the first line with the true name of your database.&lt;/li&gt;
&lt;li&gt;Replace all instances of &amp;quot;9999&amp;quot; with the id number you found in step 6.&lt;/li&gt;
&lt;li&gt;With no part of the script highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Review &lt;strong&gt;BOM Explorer&lt;/strong&gt; or [[Run Reports|run a BOM report]] to see if the unwanted part numbers were removed.&amp;nbsp; Do a spot check to see if any valid parts were removed; perhaps compare old and new report results.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img style="border-width:0px;" alt=" " height="60" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/p&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Matt_P&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Keywords, duplicate, Insert Symbol, device ID&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: promis.e, Menu, Bentley Substation, BOM Explorer, en, Design Features, Project Management, SELECTsupport, Problem Solving&lt;/div&gt;
</description></item><item><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices/revision/7</link><pubDate>Mon, 17 Jul 2017 15:19:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be8fe898-1038-467a-b264-a15c258f57ce</guid><dc:creator>Matt_P</dc:creator><comments>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices#comments</comments><description>Revision 7 posted to OpenUtilities Wiki by Matt_P on 7/17/2017 3:19:02 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Promis.e, Bentley Substation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;through 08.11.13.96&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Project Management&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;BOM Explorer&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Devices and/or part numbers are appearing on reports but I can find no evidence of them in the project.&amp;nbsp; There are no symbols placed for these devices, but they are affecting the quantity on the bill of materials. I see device tags surrounded by square brackets on dialogs.&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;These devices may have been added using &lt;strong&gt;BOM Explorer&lt;/strong&gt;, imported into the project, existed as symbols that have since been deleted from the page, or left behind by some other workflow. This article refers to devices for which no symbols are placed on project pages as unplaced devices. This article assumes these devices are no longer wanted in the project. &lt;/p&gt;
&lt;h1&gt;Remove individual unplaced devices&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]]. Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Devices in the project that have no symbols inserted should appear with the &lt;strong&gt;ID&lt;/strong&gt; icon in a darker/bold color and the device tag may be surrounded by brackets. Right-click such device tags and select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/pastedimage1500304692809v1.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-26/pastedimage1500304692809v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Remove all unplaced devices&lt;/h1&gt;
&lt;h3&gt;Option 1 - Use the &lt;em&gt;Remove Unplaced Devices&lt;/em&gt; tool (SS7 and newer only)&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button was added to the &lt;strong&gt;BOM Explorer&lt;/strong&gt; tab of [[Project Manager]] in SELECTseries 7 (08.11.12.xx).&amp;nbsp; It removes &lt;em&gt;&lt;strong&gt;all&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt; devices that have no associated symbols placed in the project.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of &lt;em&gt;Project Manager.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button is near the top of the BOM Tree pane.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG"&gt;&lt;img alt=" " src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Option 2 - Execute an SQL script&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Use this method at your own risk&lt;/strong&gt;. This process performs the same operations as the &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button, so when available, use &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt;. If this button is not present on &lt;strong&gt;BOM Explorer&lt;/strong&gt;, consider upgrading to the latest version.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First make a copy or [[Backup Project|backup]] of the problem project using [[Project Manager]].&lt;/li&gt;
&lt;li&gt;Run SQL Server Management Studio (SSMS) and connect to the server hosting the project database.&amp;nbsp; See [[Setup]] to determine the server.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;SELECT id, name, prjpath FROM promise.dbo.Project&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in that statement with the true name of the project database, which may be different. See [[Setup]] to determine database name.&lt;/li&gt;
&lt;li&gt;With no part of the statement highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;In the results, find the problem project&amp;#39;s name, confirm it is the correct project by looking at the &lt;strong&gt;prjpath&lt;/strong&gt; field, and note the &lt;strong&gt;id&lt;/strong&gt; value for that project.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;
&lt;pre class="brush: sql; gutter: false; fontsize: 100; first-line: 1; "&gt;USE promise
-- Clear Unused Partnumber
DELETE FROM partnumber WHERE part_number not in(SELECT partnumber FROM device_partnumber WHERE project_id=9999 or project_id=-9999) AND project_id=9999;
-- Clear Unused Device
DELETE FROM Device_PartNumber WHERE project_id=9999 AND device_id is null;
DELETE FROM Device WHERE project_id=9999 AND (type&amp;lt;&amp;gt;N&amp;#39;DEVICE&amp;#39; OR type is null) AND id NOT IN (SELECT DISTINCT device_id FROM symbol WHERE project_id=9999 AND device_id is not null UNION SELECT device_id FROM Spare WHERE project_id=9999);
DELETE FROM ParentDevice WHERE project_id=9999 AND (id not in (SELECT DISTINCT parent_device_id FROM device WHERE project_id=9999 UNION SELECT DISTINCT parentdevice_id FROM parentdeviceattribute WHERE project_id=9999));&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in the first line with the true name of your database.&lt;/li&gt;
&lt;li&gt;Replace all instances of &amp;quot;9999&amp;quot; with the id number you found in step 6.&lt;/li&gt;
&lt;li&gt;With no part of the script highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Review &lt;strong&gt;BOM Explorer&lt;/strong&gt; or [[Run Reports|run a BOM report]] to see if the unwanted part numbers were removed.&amp;nbsp; Do a spot check to see if any valid parts were removed; perhaps compare old and new report results.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img style="border-width:0px;" alt=" " height="60" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/p&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Matt_P&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Keywords, duplicate, Insert Symbol, device ID&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: promis.e, Menu, Bentley Substation, BOM Explorer, en, Design Features, Project Management, SELECTsupport, Problem Solving&lt;/div&gt;
</description></item><item><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices/revision/8</link><pubDate>Mon, 17 Jul 2017 15:19:02 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be8fe898-1038-467a-b264-a15c258f57ce</guid><dc:creator>Matt_P</dc:creator><comments>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices#comments</comments><description>Revision 8 posted to OpenUtilities Wiki by Matt_P on 7/17/2017 3:19:02 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Promis.e, Bentley Substation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;through 08.11.13.96&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Project Management&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;BOM Explorer&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Devices and/or part numbers are appearing on reports but I can find no evidence of them in the project.&amp;nbsp; There are no symbols placed for these devices, but they are affecting the quantity on the bill of materials. I see device tags surrounded by square brackets on dialogs.&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;These devices may have been added using &lt;strong&gt;BOM Explorer&lt;/strong&gt;, imported into the project, existed as symbols that have since been deleted from the page, or left behind by some other workflow. This article refers to devices for which no symbols are placed on project pages as unplaced devices. This article assumes these devices are no longer wanted in the project. &lt;/p&gt;
&lt;h1&gt;Remove individual unplaced devices&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]]. Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Devices in the project that have no symbols inserted should appear with the &lt;strong&gt;ID&lt;/strong&gt; icon in a darker/bold color and the device tag may be surrounded by brackets. Right-click such device tags and select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-62/pastedimage1500304692809v1.png"&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-wikis-components-files/00-00-00-00-62/pastedimage1500304692809v1.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Remove all unplaced devices&lt;/h1&gt;
&lt;h3&gt;Option 1 - Use the &lt;em&gt;Remove Unplaced Devices&lt;/em&gt; tool (SS7 and newer only)&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button was added to the &lt;strong&gt;BOM Explorer&lt;/strong&gt; tab of [[Project Manager]] in SELECTseries 7 (08.11.12.xx).&amp;nbsp; It removes &lt;em&gt;&lt;strong&gt;all&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt; devices that have no associated symbols placed in the project.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of &lt;em&gt;Project Manager.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button is near the top of the BOM Tree pane.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-62/RemoveUnplacedDevices.PNG"&gt;&lt;img alt=" " src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-62/RemoveUnplacedDevices.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Option 2 - Execute an SQL script&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Use this method at your own risk&lt;/strong&gt;. This process performs the same operations as the &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button, so when available, use &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt;. If this button is not present on &lt;strong&gt;BOM Explorer&lt;/strong&gt;, consider upgrading to the latest version.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First make a copy or [[Backup Project|backup]] of the problem project using [[Project Manager]].&lt;/li&gt;
&lt;li&gt;Run SQL Server Management Studio (SSMS) and connect to the server hosting the project database.&amp;nbsp; See [[Setup]] to determine the server.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;SELECT id, name, prjpath FROM promise.dbo.Project&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in that statement with the true name of the project database, which may be different. See [[Setup]] to determine database name.&lt;/li&gt;
&lt;li&gt;With no part of the statement highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;In the results, find the problem project&amp;#39;s name, confirm it is the correct project by looking at the &lt;strong&gt;prjpath&lt;/strong&gt; field, and note the &lt;strong&gt;id&lt;/strong&gt; value for that project.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;
&lt;pre class="brush: sql; gutter: false; fontsize: 100; first-line: 1; "&gt;USE promise
-- Clear Unused Partnumber
DELETE FROM partnumber WHERE part_number not in(SELECT partnumber FROM device_partnumber WHERE project_id=9999 or project_id=-9999) AND project_id=9999;
-- Clear Unused Device
DELETE FROM Device_PartNumber WHERE project_id=9999 AND device_id is null;
DELETE FROM Device WHERE project_id=9999 AND (type&amp;lt;&amp;gt;N&amp;#39;DEVICE&amp;#39; OR type is null) AND id NOT IN (SELECT DISTINCT device_id FROM symbol WHERE project_id=9999 AND device_id is not null UNION SELECT device_id FROM Spare WHERE project_id=9999);
DELETE FROM ParentDevice WHERE project_id=9999 AND (id not in (SELECT DISTINCT parent_device_id FROM device WHERE project_id=9999 UNION SELECT DISTINCT parentdevice_id FROM parentdeviceattribute WHERE project_id=9999));&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in the first line with the true name of your database.&lt;/li&gt;
&lt;li&gt;Replace all instances of &amp;quot;9999&amp;quot; with the id number you found in step 6.&lt;/li&gt;
&lt;li&gt;With no part of the script highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Review &lt;strong&gt;BOM Explorer&lt;/strong&gt; or [[Run Reports|run a BOM report]] to see if the unwanted part numbers were removed.&amp;nbsp; Do a spot check to see if any valid parts were removed; perhaps compare old and new report results.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img style="border-width:0px;" alt=" " height="60" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/p&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Matt_P&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Keywords, duplicate, Insert Symbol, device ID&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: promis.e, Menu, Bentley Substation, BOM Explorer, en, Design Features, Project Management, SELECTsupport, Problem Solving&lt;/div&gt;
</description></item><item><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices/revision/6</link><pubDate>Mon, 17 Jul 2017 14:23:29 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be8fe898-1038-467a-b264-a15c258f57ce</guid><dc:creator>Matt_P</dc:creator><comments>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices#comments</comments><description>Revision 6 posted to OpenUtilities Wiki by Matt_P on 7/17/2017 2:23:29 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Promis.e, Bentley Substation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;through 08.11.13.96&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Project Management&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;BOM Explorer&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Devices and/or part numbers are appearing on reports but I can find no evidence of them in the project.&amp;nbsp; There are no symbols placed for these devices, but they are affecting the quantity on the bill of materials. I see device tags surrounded by square brackets on dialogs.&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button was added to the &lt;strong&gt;BOM Explorer&lt;/strong&gt; tab of [[Project Manager]] in SELECTseries 7 (08.11.12.xx).&amp;nbsp; It removes &lt;em&gt;&lt;strong&gt;all&lt;/strong&gt;&lt;/em&gt;&lt;strong&gt;&lt;/strong&gt; devices that have no associated symbols placed in the project. These devices may have been added using BOM Explorer, imported into the project, existed as symbols that have since been deleted from the page, or left behind by some other workflow.&lt;/p&gt;
&lt;h1&gt;To select the &lt;em&gt;Remove Unplaced Devices&lt;/em&gt; tool (SS7 and newer only)&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of &lt;em&gt;Project Manager.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button is near the top of the BOM Tree pane.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG"&gt;&lt;img alt=" " src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove individual devices&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Devices in the project that have no symbols inserted should appear with the &lt;strong&gt;ID&lt;/strong&gt; icon in a darker/bold color and the device tag may be surrounded by brackets.&amp;nbsp; Right-click such device tags and select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/BOMTree.PNG"&gt;&lt;img alt=" " src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-26/BOMTree.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove all unplaced devices using SQL scripts&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Use this method at your own risk&lt;/strong&gt;. This process performs the same operations as the &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button, so when available, use &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt;. If this button is not present on &lt;strong&gt;BOM Explorer&lt;/strong&gt;, consider upgrading to the latest version.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First make a copy or [[Backup Project|backup]] of the problem project using [[Project Manager]].&lt;/li&gt;
&lt;li&gt;Run SQL Server Management Studio (SSMS) and connect to the server hosting the project database.&amp;nbsp; See [[Setup]] to determine the server.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;SELECT id, name, prjpath FROM promise.dbo.Project&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in that statement with the true name of the project database, which may be different. See [[Setup]] to determine database name.&lt;/li&gt;
&lt;li&gt;With no part of the statement highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;In the results, find the problem project&amp;#39;s name, confirm it is the correct project by looking at the &lt;strong&gt;prjpath&lt;/strong&gt; field, and note the &lt;strong&gt;id&lt;/strong&gt; value for that project.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;
&lt;pre class="brush: sql; gutter: false; fontsize: 100; first-line: 1; "&gt;USE promise
-- Clear Unused Partnumber
DELETE FROM partnumber WHERE part_number not in(SELECT partnumber FROM device_partnumber WHERE project_id=9999 or project_id=-9999) AND project_id=9999;
-- Clear Unused Device
DELETE FROM Device_PartNumber WHERE project_id=9999 AND device_id is null;
DELETE FROM Device WHERE project_id=9999 AND (type&amp;lt;&amp;gt;N&amp;#39;DEVICE&amp;#39; OR type is null) AND id NOT IN (SELECT DISTINCT device_id FROM symbol WHERE project_id=9999 AND device_id is not null UNION SELECT device_id FROM Spare WHERE project_id=9999);
DELETE FROM ParentDevice WHERE project_id=9999 AND (id not in (SELECT DISTINCT parent_device_id FROM device WHERE project_id=9999 UNION SELECT DISTINCT parentdevice_id FROM parentdeviceattribute WHERE project_id=9999));&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in the first line with the true name of your database.&lt;/li&gt;
&lt;li&gt;Replace all instances of &amp;quot;9999&amp;quot; with the id number you found in step 6.&lt;/li&gt;
&lt;li&gt;With no part of the script highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Review &lt;strong&gt;BOM Explorer&lt;/strong&gt; or [[Run Reports|run a BOM report]] to see if the unwanted part numbers were removed.&amp;nbsp; Do a spot check to see if any valid parts were removed; perhaps compare old and new report results.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img style="border-width:0px;" alt=" " height="60" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/p&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Matt_P&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Keywords, duplicate, Insert Symbol, device ID&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: promis.e, Menu, Bentley Substation, BOM Explorer, en, Design Features, Project Management, SELECTsupport, Problem Solving&lt;/div&gt;
</description></item><item><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices/revision/5</link><pubDate>Mon, 17 Jul 2017 14:20:42 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be8fe898-1038-467a-b264-a15c258f57ce</guid><dc:creator>Matt_P</dc:creator><comments>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices#comments</comments><description>Revision 5 posted to OpenUtilities Wiki by Matt_P on 7/17/2017 2:20:42 PM&lt;br /&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Promis.e, Bentley Substation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;through 08.11.13.96&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Project Management&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;BOM Explorer&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Devices and/or part numbers are appearing on reports but I can find no evidence of them in the project.&amp;nbsp; There are no symbols placed for these devices, but they are affecting the quantity on the bill of materials. I see device tags surrounded by square brackets on dialogs.&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button was added to the &lt;strong&gt;BOM Explorer&lt;/strong&gt; tab of [[Project Manager]] in SELECTseries 7 (08.11.12.xx).&amp;nbsp; It removes devices that have no associated symbols placed in the project. These devices may have been added using BOM Explorer, imported into the project, existed as symbols that have since been deleted from the page, or left behind by some other workflow.&lt;/p&gt;
&lt;h1&gt;To select the &lt;em&gt;Remove Unplaced Devices&lt;/em&gt; tool (SS7 and newer)&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of &lt;em&gt;Project Manager.&lt;/em&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button is near the top of the BOM Tree pane.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG"&gt;&lt;img alt=" " src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove devices in versions prior to and including SS7&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Devices in the project that have no symbols inserted should appear with the &lt;strong&gt;ID&lt;/strong&gt; icon in a darker/bold color and the device tag may be surrounded by brackets.&amp;nbsp; Right-click such device tags and select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/BOMTree.PNG"&gt;&lt;img alt=" " src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-26/BOMTree.PNG" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove unplaced devices using SQL scripts&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Use this method at your own risk&lt;/strong&gt;. This process performs the same operations as the &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button, so when available, use &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt;. If this button is not present on &lt;strong&gt;BOM Explorer&lt;/strong&gt;, consider upgrading to the latest version.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First make a copy or [[Backup Project|backup]] of the problem project using [[Project Manager]].&lt;/li&gt;
&lt;li&gt;Run SQL Server Management Studio (SSMS) and connect to the server hosting the project database.&amp;nbsp; See [[Setup]] to determine the server.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;SELECT id, name, prjpath FROM promise.dbo.Project&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in that statement with the true name of the project database, which may be different. See [[Setup]] to determine database name.&lt;/li&gt;
&lt;li&gt;With no part of the statement highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;In the results, find the problem project&amp;#39;s name, confirm it is the correct project by looking at the &lt;strong&gt;prjpath&lt;/strong&gt; field, and note the &lt;strong&gt;id&lt;/strong&gt; value for that project.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;
&lt;pre class="brush: sql; gutter: false; fontsize: 100; first-line: 1; "&gt;USE promise
-- Clear Unused Partnumber
DELETE FROM partnumber WHERE part_number not in(SELECT partnumber FROM device_partnumber WHERE project_id=9999 or project_id=-9999) AND project_id=9999;
-- Clear Unused Device
DELETE FROM Device_PartNumber WHERE project_id=9999 AND device_id is null;
DELETE FROM Device WHERE project_id=9999 AND (type&amp;lt;&amp;gt;N&amp;#39;DEVICE&amp;#39; OR type is null) AND id NOT IN (SELECT DISTINCT device_id FROM symbol WHERE project_id=9999 AND device_id is not null UNION SELECT device_id FROM Spare WHERE project_id=9999);
DELETE FROM ParentDevice WHERE project_id=9999 AND (id not in (SELECT DISTINCT parent_device_id FROM device WHERE project_id=9999 UNION SELECT DISTINCT parentdevice_id FROM parentdeviceattribute WHERE project_id=9999));&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in the first line with the true name of your database.&lt;/li&gt;
&lt;li&gt;Replace all instances of &amp;quot;9999&amp;quot; with the id number you found in step 6.&lt;/li&gt;
&lt;li&gt;With no part of the script highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Review &lt;strong&gt;BOM Explorer&lt;/strong&gt; or [[Run Reports|run a BOM report]] to see if the unwanted part numbers were removed.&amp;nbsp; Do a spot check to see if any valid parts were removed; perhaps compare old and new report results.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="border-width:0px;" alt=" " height="60" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" width="189" /&gt;&lt;/p&gt;
&lt;table style="background-color:#dce5f0;border:0px solid #dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Matt_P&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Keywords, duplicate, Insert Symbol, device ID&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: promis.e, Menu, Bentley Substation, BOM Explorer, en, Design Features, Project Management, SELECTsupport, Problem Solving&lt;/div&gt;
</description></item><item><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices/revision/4</link><pubDate>Mon, 02 Nov 2015 15:14:22 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be8fe898-1038-467a-b264-a15c258f57ce</guid><dc:creator>Matt_P</dc:creator><comments>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices#comments</comments><description>Revision 4 posted to OpenUtilities Wiki by Matt_P on 11/2/2015 3:14:22 PM&lt;br /&gt;
&lt;p style="padding:0;margin:0;"&gt;&lt;/p&gt;
&lt;table style="border:0px solid #dce5f0;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;promis.e, Bentley Substation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;through 08.11.12.137&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;promis.e Functionality&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Design Features&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Devices and/or part numbers are appearing on reports but I can find no evidence of them in the project.&amp;nbsp; There are no symbols placed for these devices, but they are affecting the quantity on the bill of materials.&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button was added to the &lt;strong&gt;BOM Explorer&lt;/strong&gt; tab of [[Project Manager]] in SELECTseries 7 (08.11.12.xx).&amp;nbsp; It removes devices that have no associated symbols placed in the project. These devices may have been added using BOM Explorer, imported into the project, existed as symbols that have since been deleted from the page, or left behind by some other workflow.&lt;/p&gt;
&lt;h1&gt;To select the &lt;em&gt;Remove Unplaced Devices&lt;/em&gt; tool (SS7)&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button is near the top of the BOM Tree pane.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove devices in versions prior to and including SS7&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Devices in the project that have no symbols inserted should appear with the &lt;strong&gt;ID&lt;/strong&gt; icon in a darker/bold color and the device tag may be surrounded by brackets.&amp;nbsp; Right-click such device tags and select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/BOMTree.PNG"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-26/BOMTree.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove unplaced devices using SQL scripts&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Use this method at your own risk&lt;/strong&gt;. This process performs the same operations as the &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button, so when available, use &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt;. If this button is not present on &lt;strong&gt;BOM Explorer&lt;/strong&gt;, consider upgrading to the latest version.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First make a copy or [[Backup Project|backup]] of the problem project using [[Project Manager]].&lt;/li&gt;
&lt;li&gt;Run SQL Server Management Studio (SSMS) and connect to the server hosting the project database.&amp;nbsp; See [[Setup]] to determine the server.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;SELECT id, name, prjpath FROM promise.dbo.Project&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in that statement with the true name of the project database, which may be different. See [[Setup]] to determine database name.&lt;/li&gt;
&lt;li&gt;With no part of the statement highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;In the results, find the problem project&amp;#39;s name, confirm it is the correct project by looking at the &lt;strong&gt;prjpath&lt;/strong&gt; field, and note the &lt;strong&gt;id&lt;/strong&gt; value for that project.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;
&lt;pre class="brush: sql; gutter: false; fontsize: 100; first-line: 1; "&gt;USE promise
-- Clear Unused Partnumber
DELETE FROM partnumber WHERE part_number not in(SELECT partnumber FROM device_partnumber WHERE project_id=9999 or project_id=-9999) AND project_id=9999;
-- Clear Unused Device
DELETE FROM Device_PartNumber WHERE project_id=9999 AND device_id is null;
DELETE FROM Device WHERE project_id=9999 AND (type&amp;lt;&amp;gt;N&amp;#39;DEVICE&amp;#39; OR type is null) AND id NOT IN (SELECT DISTINCT device_id FROM symbol WHERE project_id=9999 AND device_id is not null UNION SELECT device_id FROM Spare WHERE project_id=9999);
DELETE FROM ParentDevice WHERE project_id=9999 AND (id not in (SELECT DISTINCT parent_device_id FROM device WHERE project_id=9999 UNION SELECT DISTINCT parentdevice_id FROM parentdeviceattribute WHERE project_id=9999));&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in the first line with the true name of your database.&lt;/li&gt;
&lt;li&gt;Replace all instances of &amp;quot;9999&amp;quot; with the id number you found in step 6.&lt;/li&gt;
&lt;li&gt;With no part of the script highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Review &lt;strong&gt;BOM Explorer&lt;/strong&gt; or [[Run Reports|run a BOM report]] to see if the unwanted part numbers were removed.&amp;nbsp; Do a spot check to see if any valid parts were removed; perhaps compare old and new report results.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="border-width:0px;" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" alt=" " height="60" width="189" /&gt;&lt;/p&gt;
&lt;table style="border:0px solid #dce5f0;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Matt_P&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: promis.e, promis.e Functionality, Menu, Bentley Substation, BOM Explorer, en, Design Features, Project Management, SELECTsupport&lt;/div&gt;
</description></item><item><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices/revision/3</link><pubDate>Tue, 16 Jun 2015 14:33:40 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be8fe898-1038-467a-b264-a15c258f57ce</guid><dc:creator>Matt_P</dc:creator><comments>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices#comments</comments><description>Revision 3 posted to OpenUtilities Wiki by Matt_P on 6/16/2015 2:33:40 PM&lt;br /&gt;
&lt;h1&gt;&lt;b&gt;&lt;img style="border-width:0px;" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" alt=" " height="60" width="189" /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;table style="border:0px solid #dce5f0;width:500px;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Applies To&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;promis.e, Bentley Substation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;through 08.11.12.137&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;promis.e Functionality&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Design Features&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="/members/matt_5f00_p/default.aspx"&gt;Matt_P&lt;/a&gt;, Bentley Technical Support Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Devices and/or part numbers are appearing on reports but I can find no evidence of them in the project.&amp;nbsp; There are no symbols placed for these devices, but they are affecting the quantity on the bill of materials.&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button was added to the &lt;strong&gt;BOM Explorer&lt;/strong&gt; tab of [[Project Manager]] in SELECTseries 7 (08.11.12.xx).&amp;nbsp; It removes devices that have no associated symbols placed in the project. These devices may have been added using BOM Explorer, imported into the project, existed as symbols that have since been deleted from the page, or left behind by some other workflow.&lt;/p&gt;
&lt;h1&gt;To select the &lt;em&gt;Remove Unplaced Devices&lt;/em&gt; tool (SS7)&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button is near the top of the BOM Tree pane.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-26/RemoveUnplacedDevices.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove devices in versions prior to and including SS7&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Devices in the project that have no symbols inserted should appear with the &lt;strong&gt;ID&lt;/strong&gt; icon in a darker/bold color and the device tag may be surrounded by brackets.&amp;nbsp; Right-click such device tags and select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;br /&gt;&lt;a href="/cfs-file/__key/communityserver-wikis-components-files/00-00-00-00-26/BOMTree.PNG"&gt;&lt;img src="/resized-image/__size/940x0/__key/communityserver-wikis-components-files/00-00-00-00-26/BOMTree.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove unplaced devices using SQL scripts&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Use this method at your own risk&lt;/strong&gt;. This process performs the same operations as the &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button, so when available, use &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt;. If this button is not present on &lt;strong&gt;BOM Explorer&lt;/strong&gt;, consider upgrading to the latest version.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First make a copy or [[Backup Project|backup]] of the problem project using [[Project Manager]].&lt;/li&gt;
&lt;li&gt;Run SQL Server Management Studio (SSMS) and connect to the server hosting the project database.&amp;nbsp; See [[Setup]] to determine the server.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;SELECT id, name, prjpath FROM promise.dbo.Project&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in that statement with the true name of the project database, which may be different. See [[Setup]] to determine database name.&lt;/li&gt;
&lt;li&gt;With no part of the statement highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;In the results, find the problem project&amp;#39;s name, confirm it is the correct project by looking at the &lt;strong&gt;prjpath&lt;/strong&gt; field, and note the &lt;strong&gt;id&lt;/strong&gt; value for that project.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;
&lt;pre class="brush: sql; gutter: false; fontsize: 100; first-line: 1; "&gt;USE promise

-- Clear Unused Partnumber
DELETE FROM partnumber WHERE part_number not in(SELECT partnumber FROM device_partnumber WHERE project_id=9999 or project_id=-9999) AND project_id=9999;

-- Clear Unused Device
DELETE FROM Device_PartNumber WHERE project_id=9999 AND device_id is null;
DELETE FROM Device WHERE project_id=9999 AND (type&amp;lt;&amp;gt;N&amp;#39;DEVICE&amp;#39; OR type is null) AND id NOT IN (SELECT DISTINCT device_id FROM symbol WHERE project_id=9999 AND device_id is not null UNION SELECT device_id FROM Spare WHERE project_id=9999);
DELETE FROM ParentDevice WHERE project_id=9999 AND (id not in (SELECT DISTINCT parent_device_id FROM device WHERE project_id=9999 UNION SELECT DISTINCT parentdevice_id FROM parentdeviceattribute WHERE project_id=9999));&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in the first line with the true name of your database.&lt;/li&gt;
&lt;li&gt;Replace all instances of &amp;quot;9999&amp;quot; with the id number you found in step 6.&lt;/li&gt;
&lt;li&gt;With no part of the script highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Review &lt;strong&gt;BOM Explorer&lt;/strong&gt; or [[Run Reports|run a BOM report]] to see if the unwanted part numbers were removed.&amp;nbsp; Do a spot check to see if any valid parts were removed; perhaps compare old and new report results.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: promis.e, promis.e Functionality, Menu, Bentley Substation, BOM Explorer, Design Features, Project Management, SELECTsupport&lt;/div&gt;
</description></item><item><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices/revision/2</link><pubDate>Tue, 16 Jun 2015 14:14:30 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be8fe898-1038-467a-b264-a15c258f57ce</guid><dc:creator>Matt_P</dc:creator><comments>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices#comments</comments><description>Revision 2 posted to OpenUtilities Wiki by Matt_P on 6/16/2015 2:14:30 PM&lt;br /&gt;
&lt;h1&gt;&lt;b&gt;&lt;img style="border-width:0px;" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" alt=" " height="60" width="189" /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;table style="border:0px solid #dce5f0;width:500px;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Applies To&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;promis.e, Bentley Substation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;through 08.11.12.137&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;promis.e Functionality&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Design Features&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="/members/matt_5f00_p/default.aspx"&gt;Matt_P&lt;/a&gt;, Bentley Technical Support Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Devices and/or part numbers are appearing on reports but I can find no evidence of them in the project.&amp;nbsp; There are no symbols placed for these devices, but they are affecting the quantity on the bill of materials.&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button was added to the &lt;strong&gt;BOM Explorer&lt;/strong&gt; tab of [[Project Manager]] in SELECTseries 7 (08.11.12.xx).&amp;nbsp; It removes devices that have no associated symbols placed in the project. These devices may have been added using BOM Explorer, imported into the project, existed as symbols that have since been deleted from the page, or left behind by some other workflow.&lt;/p&gt;
&lt;h1&gt;To select the &lt;em&gt;Remove Unplaced Devices&lt;/em&gt; tool (SS7)&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button is near the top of the BOM Tree pane.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove devices in versions prior to and including SS7&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Devices in the project that have no symbols inserted should appear with their device tags in a darker/bold color.&amp;nbsp; Right-click such device tags and select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;To remove unplaced devices using SQL scripts&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Use this method at your own risk&lt;/strong&gt;. This process performs the same operations as the &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button, so when available, use &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt;. If this button is not present on &lt;strong&gt;BOM Explorer&lt;/strong&gt;, consider upgrading to the latest version.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First make a copy or [[Backup Project|backup]] of the problem project using [[Project Manager]].&lt;/li&gt;
&lt;li&gt;Run SQL Server Management Studio (SSMS) and connect to the server hosting the project database.&amp;nbsp; See [[Setup]] to determine the server.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;SELECT id, name, prjpath FROM promise.dbo.Project&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in that statement with the true name of the project database, which may be different. See [[Setup]] to determine database name.&lt;/li&gt;
&lt;li&gt;With no part of the statement highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;In the results, find the problem project&amp;#39;s name, confirm it is the correct project by looking at the &lt;strong&gt;prjpath&lt;/strong&gt; field, and note the &lt;strong&gt;id&lt;/strong&gt; value for that project.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;New Query&lt;/strong&gt; button in SSMS and paste in the following text:&lt;br /&gt;
&lt;pre class="brush: sql; gutter: false; fontsize: 100; first-line: 1; "&gt;USE promise

-- Clear Unused Partnumber
DELETE FROM partnumber WHERE part_number not in(SELECT partnumber FROM device_partnumber WHERE project_id=9999 or project_id=-9999) AND project_id=9999;

-- Clear Unused Device
DELETE FROM Device_PartNumber WHERE project_id=9999 AND device_id is null;
DELETE FROM Device WHERE project_id=9999 AND (type&amp;lt;&amp;gt;N&amp;#39;DEVICE&amp;#39; OR type is null) AND id NOT IN (SELECT DISTINCT device_id FROM symbol WHERE project_id=9999 AND device_id is not null UNION SELECT device_id FROM Spare WHERE project_id=9999);
DELETE FROM ParentDevice WHERE project_id=9999 AND (id not in (SELECT DISTINCT parent_device_id FROM device WHERE project_id=9999 UNION SELECT DISTINCT parentdevice_id FROM parentdeviceattribute WHERE project_id=9999));&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Replace &amp;quot;promise&amp;quot; in the first line with the true name of your database.&lt;/li&gt;
&lt;li&gt;Replace all instances of &amp;quot;9999&amp;quot; with the id number you found in step 6.&lt;/li&gt;
&lt;li&gt;With no part of the script highlighted, click the &lt;strong&gt;Execute&lt;/strong&gt; button.&lt;/li&gt;
&lt;li&gt;Review &lt;strong&gt;BOM Explorer&lt;/strong&gt; or [[Run Reports|run a BOM report]] to see if the unwanted part numbers were removed.&amp;nbsp; Do a spot check to see if any valid parts were removed; perhaps compare old and new report results.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: promis.e, promis.e Functionality, Menu, Bentley Substation, BOM Explorer, Design Features, Project Management, SELECTsupport&lt;/div&gt;
</description></item><item><title>Remove Unplaced Devices</title><link>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices/revision/1</link><pubDate>Wed, 18 Jun 2014 16:31:49 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:be8fe898-1038-467a-b264-a15c258f57ce</guid><dc:creator>Matt_P</dc:creator><comments>https://communities.bentley.com/products/utility_network_analysis___design/w/utility_network_analysis_and_design_wiki/15144/remove-unplaced-devices#comments</comments><description>Revision 1 posted to OpenUtilities Wiki by Matt_P on 6/18/2014 4:31:49 PM&lt;br /&gt;
&lt;h1&gt;&lt;b&gt;&lt;img style="border-width:0px;" src="/cfs-file.ashx/__key/communityserver-components-sitefiles/TSG-Logo.png" alt=" " height="60" width="189" /&gt;&lt;/b&gt;&lt;/h1&gt;
&lt;table style="border:0px solid #dce5f0;width:500px;background-color:#dce5f0;" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;span style="font-size:medium;"&gt;&lt;b&gt;Applies To&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Product(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;promis.e, Bentley Substation&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Version(s):&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;08.11.12.xx&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Environment:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Area:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;promis.e Functionality&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Subarea:&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Design Features&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;Original Author:&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="/members/matt_5f00_p/default.aspx"&gt;Matt_P&lt;/a&gt;, Bentley Technical Support Group&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td style="text-align:right;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;Devices and/or part numbers are appearing on reports but I can find no evidence of them in the project.&amp;nbsp; There are no symbols placed for these devices, but they are affecting the quantity on the bill of materials.&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Background&lt;/h1&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button removes devices that have no associated symbols placed in the project.&amp;nbsp; These devices may have been added using BOM Explorer or imported into the project, and may even have existed as symbols that have since been deleted from the page.&lt;/p&gt;
&lt;h1&gt;To select the &lt;em&gt;Remove Unplaced Devices&lt;/em&gt; tool&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Remove Unplaced Devices&lt;/strong&gt; button is near the top of the BOM Tree pane.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;In versions through V8i SELECTseries 7 (08.11.12)&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the&amp;nbsp;&lt;strong&gt;BOM Explorer &lt;/strong&gt; tab of [[Project Manager]].&amp;nbsp; Tabs are along the bottom of Project Manager.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Devices in the project that have no symbols inserted should appear with their device tags in a darker/bold color.&amp;nbsp; Right-click such device tags and select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: promis.e, promis.e Functionality, Menu, Bentley Substation, BOM Explorer, Design Features, Project Management, SELECTsupport&lt;/div&gt;
</description></item></channel></rss>