<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827036#M2800</link>
    <description>&lt;P&gt;I cannot speak for REST api but in UI there the default it to separate uses. There is a action to Merge Uses. There might be something similar in API.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avillanueva_0-1664457923466.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/65951i11BF0B41F0E76C03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avillanueva_0-1664457923466.png" alt="avillanueva_0-1664457923466.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 13:25:32 GMT</pubDate>
    <dc:creator>avillanueva</dc:creator>
    <dc:date>2022-09-29T13:25:32Z</dc:date>
    <item>
      <title>How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827022#M2799</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to export Creo assembly multilevel BOM from Windchill programmatically. I checked IE task Query-Tree and REST Call &lt;SPAN&gt;PTC.CADDocumentMgmt.GetStructure&lt;/SPAN&gt;. Both produce correct multilevel BOM, but the same Creo components in BOM are not merged (per level), so the same Creo components are listed multiple times and all quantities are equal to 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the other hand, running Query-Tree on WTPart does produce correct quantities in multilevel BOM.&lt;/P&gt;&lt;P&gt;In both cases I run an equally structured IE task, the only difference was Type. Do I miss some parameter in IE task to produce quantity for EPM Document or is not possible at all?&lt;/P&gt;&lt;P&gt;Any idea is very welcome.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 13:30:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827022#M2799</guid>
      <dc:creator>TomazJeras</dc:creator>
      <dc:date>2024-03-15T13:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827036#M2800</link>
      <description>&lt;P&gt;I cannot speak for REST api but in UI there the default it to separate uses. There is a action to Merge Uses. There might be something similar in API.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avillanueva_0-1664457923466.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/65951i11BF0B41F0E76C03/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avillanueva_0-1664457923466.png" alt="avillanueva_0-1664457923466.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 13:25:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827036#M2800</guid>
      <dc:creator>avillanueva</dc:creator>
      <dc:date>2022-09-29T13:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827059#M2801</link>
      <description>&lt;P&gt;I know you can do that in UI, but have no clue, how UI function works. It could also be some JS code, doing it locally in browser.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 13:37:28 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827059#M2801</guid>
      <dc:creator>TomazJeras</dc:creator>
      <dc:date>2022-09-29T13:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827146#M2802</link>
      <description>&lt;P&gt;Does your QueryBuilder report show the Uses data correctly? I ask because it is possible to run a QB report programmatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 17:04:24 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827146#M2802</guid>
      <dc:creator>rleir</dc:creator>
      <dc:date>2022-09-29T17:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827309#M2803</link>
      <description>&lt;P&gt;Report is an interesting idea. I tried to build a report template for it, but I was unable to add EPMMemberLink type to Tables and Joins tab.&lt;/P&gt;&lt;P&gt;So, I was stuck at the beginning.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:52:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827309#M2803</guid>
      <dc:creator>TomazJeras</dc:creator>
      <dc:date>2022-09-30T11:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827323#M2804</link>
      <description>&lt;P&gt;Take a look at this article&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS131357" target="_blank"&gt;https://www.ptc.com/en/support/article/CS131357&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you aware also of these documents?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/Windchill-Tips/Resource-for-reporting/ta-p/817824" target="_blank"&gt;https://community.ptc.com/t5/Windchill-Tips/Resource-for-reporting/ta-p/817824&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS328887" target="_blank"&gt;https://www.ptc.com/en/support/article/CS328887&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 12:06:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827323#M2804</guid>
      <dc:creator>Marco_Tosin</dc:creator>
      <dc:date>2022-09-30T12:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827326#M2805</link>
      <description>&lt;P&gt;Thanks for answer. I'm aware of these documents, I checked them before writing the reply here. I didn't find a similar solution there.&lt;/P&gt;&lt;P&gt;BTW, links to "portal.ptcuser.org" are no longer valid.&lt;/P&gt;&lt;P&gt;I managed to add EPMMemberLink to report template (EPMMemberLink is internal name, and it is not shown by default, display name is EPM Documents Uses Link), but I'm not proficient enough in Reports to generate multilevel BOM table. And it is a strong chance that Merge Uses will not be possible at all.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 13:07:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827326#M2805</guid>
      <dc:creator>TomazJeras</dc:creator>
      <dc:date>2022-09-30T13:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827493#M2806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1289"&gt;@TomazJeras&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;I would like to just note that the QueryBuilder can not generates multilevel reports.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need multilevel report, you need to write some custom code to run report for multilevel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;In a Help Center is a description how to crate custom report in Product Structure Browser &lt;STRONG&gt;.&lt;FONT color="#800000"&gt;&lt;A href="https://support.ptc.com/help/wnc/r12.1.1.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_BusLogicCust_ReportGeneration_ReportSelection.html#" target="_blank" rel="noopener"&gt;&amp;lt;Check This&amp;gt;&amp;nbsp;&lt;/A&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The HelpC describes how to add custom report for WTPart and it is also applicable for EPMDocuments&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this can help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 06:36:46 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/827493#M2806</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2022-10-03T06:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/828712#M2807</link>
      <description>&lt;P&gt;Thanks for suggestion.&lt;/P&gt;&lt;P&gt;However, pursuing a custom Report path seems overly complicated.&lt;/P&gt;&lt;P&gt;I will probably develop custom code to merge uses per assembly level from&amp;nbsp;Query-Tree XML.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 11:19:57 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/828712#M2807</guid>
      <dc:creator>TomazJeras</dc:creator>
      <dc:date>2022-10-06T11:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to programatically get BOM for Creo assembly from Windchill with correct quantity</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/828714#M2808</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1289"&gt;@TomazJeras&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is also a way.&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 11:22:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-to-programatically-get-BOM-for-Creo-assembly-from-Windchill/m-p/828714#M2808</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2022-10-06T11:22:19Z</dc:date>
    </item>
  </channel>
</rss>

