<?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 extract Display enumerated value of an object? in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/691640#M3343</link>
    <description>&lt;P&gt;Hi Colleague,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, please check that one, and from the queryBuilder, preview the SQL generated to get a stringValue given a document instance :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS247369" target="_blank"&gt;https://www.ptc.com/en/support/article/CS247369&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hlafkir_1-1602149400926.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/32254i070BA5D0EC4BD5A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hlafkir_1-1602149400926.png" alt="hlafkir_1-1602149400926.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SELECT A0B.name,A4.value,A4.value2 FROM WTDocument A0,WTDocumentMaster A0B,StringDefinition A1,StringValue A2,LWCIBAAttDefinition A3,StringValue A4 WHERE (A0.idA3masterReference=A0B.idA2A2) AND (((A4.idA3A6(+) = ?) AND (A4.idA3A4(+) = A0.idA2A2))) AND ((A2.idA3A6 = A1.idA2A2) AND (A2.idA3A4 = A0.idA2A2) AND (A3.idA3A7 = A1.idA2A2))&lt;BR /&gt;[690066]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hicham&lt;/P&gt;
&lt;P&gt;Hicham&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2020 09:31:42 GMT</pubDate>
    <dc:creator>hlafkir</dc:creator>
    <dc:date>2020-10-08T09:31:42Z</dc:date>
    <item>
      <title>How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/689610#M3338</link>
      <description>&lt;P&gt;Hello everybody, I'm trying to retrive some global enumerated value of WTDocument from the Windchill 11.0 M030 database with a SQL query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used the queries of&amp;nbsp;&lt;A href="https://www.ptc.com/en/support/article/CS174022" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://www.ptc.com/en/support/article/CS174022&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;but what i can get are just the Internal values of the attributes, not the Display values.&lt;/P&gt;
&lt;P&gt;(column NAME of [LWCEnumerationEntry])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which table contains the DISPLAY Value of the enumerated attributes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How these attributes values are linked to the objects (eg WTDocument) ?&lt;/P&gt;
&lt;P&gt;I can see the stringValue linked to the object, but again it contains the internal value and I need instead the display value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you point me to a datamodel documentation that covers this topic?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 14:21:14 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/689610#M3338</guid>
      <dc:creator>AndreaP</dc:creator>
      <dc:date>2024-03-15T14:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/689632#M3339</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please take a look into the LWCLocalizablePropertyValue table. here are the display values (with column for local)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hlafkir_0-1601024822635.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/31875iC3D213E1BE80D3EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hlafkir_0-1601024822635.png" alt="hlafkir_0-1601024822635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;good luck&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 09:07:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/689632#M3339</guid>
      <dc:creator>hlafkir</dc:creator>
      <dc:date>2020-09-25T09:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/689923#M3340</link>
      <description>&lt;P&gt;Thank you! now I'm able to see the display value in the database,&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;LWCLocalizablePropertyValue.value&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;and link it to the others tables&lt;/P&gt;
&lt;P&gt;LWCLocalizablePropertyValue.IDA3B4--&amp;gt;LWCEnumEntry.IDA2A2&lt;/P&gt;
&lt;P&gt;LWCEnumEntryLink.IDA3B4--&amp;gt;LWCEnumEntry.IDA2A2&lt;/P&gt;
&lt;P&gt;LWCLocalizablePropertyValue.IDA3C4--&amp;gt;LWCMasterEnumerationDefinition.IDA2A2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still miss how these values are linked to an object;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example on&amp;nbsp; WTDocument normal strings vaues are linked :&lt;/P&gt;
&lt;P&gt;WTDocument &amp;lt;--(IDA3A4) stringValue (IDA3A6) --&amp;gt; stringDefinition&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is the join in this case?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 08:19:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/689923#M3340</guid>
      <dc:creator>AndreaP</dc:creator>
      <dc:date>2020-09-28T08:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/690140#M3341</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This article should help you to link the required tables :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article?n=CS302379" target="_blank"&gt;https://www.ptc.com/en/support/article?n=CS302379&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this will help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another hint :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can log SQL statements to see the query executed from Windchill to Database by using advices in 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/CS46545" target="_blank"&gt;https://www.ptc.com/en/support/article/CS46545&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or, maybe better , add wt.pom.sql using the steps in Windchill GUI :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS145146" target="_blank"&gt;https://www.ptc.com/en/support/article/CS145146&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will show you how Windchill is building queries for any operations. Lot of lines &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hicham&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:56:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/690140#M3341</guid>
      <dc:creator>hlafkir</dc:creator>
      <dc:date>2020-09-29T08:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/691619#M3342</link>
      <description>&lt;P&gt;Thank you for interesting readings! I made some tests with this info but I still not completed my query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately this article query's is extracting the TYPE from the WTPart, and there is a dedicated column to link the tables&amp;nbsp;&lt;STRONG&gt;WTTypeDefinition&lt;SPAN&gt;&amp;nbsp;and WTPart&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;wttd.idA2A2 = d.idA2typeDefinitionReference&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I'm looking for now is:&amp;nbsp;&lt;STRONG&gt; How a global enumerated CUSTOM value is linked to the Object (Let's say WTDocument) ?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;I'm not able to connect a WTDocuemnt to it's enumerated value (LWCEnumEntry or LWCEnumEntryLink)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess I am missing some middle table that works like WTDocument &amp;lt;--stringValue--&amp;gt; stringDefinition&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for helping&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 08:25:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/691619#M3342</guid>
      <dc:creator>AndreaP</dc:creator>
      <dc:date>2020-10-08T08:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/691640#M3343</link>
      <description>&lt;P&gt;Hi Colleague,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, please check that one, and from the queryBuilder, preview the SQL generated to get a stringValue given a document instance :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS247369" target="_blank"&gt;https://www.ptc.com/en/support/article/CS247369&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hlafkir_1-1602149400926.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/32254i070BA5D0EC4BD5A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hlafkir_1-1602149400926.png" alt="hlafkir_1-1602149400926.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SELECT A0B.name,A4.value,A4.value2 FROM WTDocument A0,WTDocumentMaster A0B,StringDefinition A1,StringValue A2,LWCIBAAttDefinition A3,StringValue A4 WHERE (A0.idA3masterReference=A0B.idA2A2) AND (((A4.idA3A6(+) = ?) AND (A4.idA3A4(+) = A0.idA2A2))) AND ((A2.idA3A6 = A1.idA2A2) AND (A2.idA3A4 = A0.idA2A2) AND (A3.idA3A7 = A1.idA2A2))&lt;BR /&gt;[690066]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hicham&lt;/P&gt;
&lt;P&gt;Hicham&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 09:31:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/691640#M3343</guid>
      <dc:creator>hlafkir</dc:creator>
      <dc:date>2020-10-08T09:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/691717#M3344</link>
      <description>&lt;P&gt;All this issue comes directly from a disalignment between query builder result and database result:&lt;/P&gt;
&lt;P&gt;With query builder Windchill is able to show the display values&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AP_9529218_2-1602163374667.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/32270iB598922B10F68B4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AP_9529218_2-1602163374667.png" alt="AP_9529218_2-1602163374667.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but then when I use the same Query i got from querybuilder,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SELECT A1.value,A1.value2,A0.classnameA2A2,A0.idA2A2 FROM (SELECT A0.idA2A2,'wt.projmgmt.admin.Project2' classnameA2A2 FROM Project2 A0 WHERE (A0.branchIdA2typeDefinitionRefe = 505056)) A0 LEFT OUTER JOIN StringValue A1 ON ((A1.idA3A6 = 503093) AND (A1.idA3A4 = A0.idA2A2))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;on the database, &lt;U&gt;the result is the internal value&lt;/U&gt; (without spaces and in CAMEL Mode)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AP_9529218_1-1602163350722.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/32269i6084E6C08F7BB5D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AP_9529218_1-1602163350722.png" alt="AP_9529218_1-1602163350722.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now from your help, I understood that display name is stored in&amp;nbsp;&lt;STRONG&gt;LWCLocalizablePropertyValue&lt;/STRONG&gt; table,&amp;nbsp; but I still miss the link between the tables..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in database&amp;nbsp;&lt;STRONG&gt;LWCLocalizablePropertyValue&lt;/STRONG&gt;&amp;nbsp; is linked&amp;nbsp; just to the LWCMasterEnumerationEntry and to LWCPropertyDefnition,(see attachment )&lt;/P&gt;
&lt;P&gt;seems different from your DB&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditorAP_9529218_3" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorAP_9529218_6" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="tinyMceEditorAP_9529218_5" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 13:32:13 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/691717#M3344</guid>
      <dc:creator>AndreaP</dc:creator>
      <dc:date>2020-10-08T13:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/691764#M3345</link>
      <description>&lt;P&gt;I think that here you will get what's you need :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;select lpv.value, lpv.FR, dm.name&lt;BR /&gt;from wtdocument d, &lt;BR /&gt;wtdocumentmaster dm,&lt;BR /&gt;LWCIBAAttDefinition iad,&lt;BR /&gt;LWCEnumerationBasedConstraint ebc,&lt;BR /&gt;LWCMasterEnumerationDefinition med,&lt;BR /&gt;LWCEnumerationEntry ee,&lt;BR /&gt;LWCLocalizablePropertyValue lpv,&lt;BR /&gt;stringValue sv&lt;BR /&gt;where iad.name = 'MyEnum'&lt;BR /&gt;and ebc.idA3B4 = iad.idA2A2&lt;BR /&gt;and med.idA2A2 = ebc.idA3A5&lt;BR /&gt;and lpv.idA3C4 = med.idA2A2&lt;BR /&gt;and lpv.idA3B4 = ee.idA2A2&lt;BR /&gt;and d.ida3masterreference = dm.ida2a2&lt;BR /&gt;AND dm.name='myDocEnum'&lt;BR /&gt;and ee.name = sv.value2&lt;BR /&gt;and sv.idA3A4 = d.ida2a2;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hlafkir_0-1602168777632.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/32280iA2E5BEEF22FE25AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hlafkir_0-1602168777632.png" alt="hlafkir_0-1602168777632.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hlafkir_1-1602168965405.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/32282i60288F2515FDFD4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hlafkir_1-1602168965405.png" alt="hlafkir_1-1602168965405.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hlafkir_2-1602169002062.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/32283i53D0DDA656665B50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hlafkir_2-1602169002062.png" alt="hlafkir_2-1602169002062.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hoep this will help. Note that I could resolve that with the wt.pom.sql loggers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hicham&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 14:57:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/691764#M3345</guid>
      <dc:creator>hlafkir</dc:creator>
      <dc:date>2020-10-08T14:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/704621#M3346</link>
      <description>&lt;P&gt;bonjour&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;est il possible d'exécuter un ordre oracle SQL vers Windchill 11 PJL depuis l'extérieur avec un outil comme dbeaver ou Toad ?&lt;/P&gt;
&lt;P&gt;si oui comment parametrer la connexion à la Db Windchill&lt;/P&gt;
&lt;P&gt;Merci&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 14:22:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/704621#M3346</guid>
      <dc:creator>ptc-617114</dc:creator>
      <dc:date>2020-12-23T14:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/731538#M3347</link>
      <description>&lt;P&gt;Thank you all. I solved with this query; unfortunately the suggested link between the StringValue and the&amp;nbsp;LWCEnumerationEntry&amp;nbsp; is not unique (if the display value has changed in the database there are multiple lines), so I had to select the last modified&amp;nbsp;LWCLocalizablePropertyValue&amp;nbsp; in order to have a unique match.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SELECT &lt;BR /&gt;Val,&lt;BR /&gt;Display&lt;BR /&gt;FROM (&lt;BR /&gt;SELECT &lt;BR /&gt;ee.name AS Val,&lt;BR /&gt;lpv.value AS Display,&lt;BR /&gt;lpv.updateCountA2,&lt;BR /&gt;max(lpv.updateCountA2) over(partition by ee.name) AS maxUpd&lt;BR /&gt;FROM&lt;BR /&gt;LWCEnumerationEntry ee&lt;BR /&gt;INNER JOIN LWCLocalizablePropertyValue lpv ON ee.ida2a2 = lpv.ida3b4&lt;BR /&gt;INNER JOIN LWCEnumerationEntryLink eel ON eel.ida3b4 = ee.ida2a2&lt;BR /&gt;INNER JOIN LWCMasterEnumerationDefinition med ON eel.ida3a4 = med.ida2a2&lt;BR /&gt;WHERE med.name = 'BUSINESS_UNIT'&lt;BR /&gt;) T1&lt;BR /&gt;WHERE T1.updateCountA2=T1.maxUpd&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 13:11:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/731538#M3347</guid>
      <dc:creator>AndreaP</dc:creator>
      <dc:date>2021-05-28T13:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: How extract Display enumerated value of an object?</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/759052#M3348</link>
      <description>&lt;P&gt;Fiddled with this on my end. Seems to work at the moment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LWCIBAATTDEFINITION appears to link the __DEFINITION table to a potential LWCENUMERATIONBASEDCONSTRAINT value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LWCENUMERATIONBASEDCONSTRAINT can then take you to a LWCMASTERENUMERATIONDEFINITION (or a LWCENUMERATIONDEFINITION, I haven't dug that deep though).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LWCMASTERENUMERATIONDEFINITION is what appears to ground the LWCLOCALIZABLEPROPERTY values, which are all possible values for the given incoming LWCMASTERENUMERATION&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LWCENUMERATIONENTRY seems to hook off the STRINGVALUE2 value and can be used to downfilter the LWCLOCALIZABLEPROPERTY table to the enumeration in question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working a relevant project so this might change, but that seems to hold water at the moment on my end.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please note that you can use the HTML formatting option in the reply dialog to wrap your code in a &amp;lt;pre&amp;gt; and &amp;lt;/pre&amp;gt; tag, makes it much easier to read.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;SELECT
    WTPM.NAME,
    SD.NAME,
    SV.VALUE2,
    LPV.VALUE
FROM WTPART WTP
    INNER JOIN WTPARTMASTER                    WTPM     ON  WTP.IDA3MASTERREFERENCE =   WTPM.IDA2A2
    INNER JOIN STRINGVALUE                       SV     ON  WTP.IDA2A2              =     SV.IDA3A4
    INNER JOIN STRINGDEFINITION                  SD     ON   SV.IDA3A6              =     SD.IDA2A2
    INNER JOIN LWCIBAATTDEFINITION              IAD     ON   SD.IDA2A2              =    IAD.IDA3A7
                                                        AND  SD.CLASSNAMEA2A2       =    IAD.CLASSNAMEKEYA7
    INNER JOIN LWCENUMERATIONBASEDCONSTRAINT    EBC     ON  IAD.IDA2A2              =    EBC.IDA3B4
                                                        AND IAD.CLASSNAMEA2A2       =    EBC.CLASSNAMEKEYB4
    INNER JOIN LWCMASTERENUMERATIONDEFINITION   MED     ON  EBC.IDA3A5              =    MED.IDA2A2
                                                        AND EBC.CLASSNAMEKEYA5      =    MED.CLASSNAMEA2A2
    INNER JOIN LWCLOCALIZABLEPROPERTYVALUE      LPV     ON  MED.IDA2A2              =    LPV.IDA3C4
                                                        AND MED.CLASSNAMEA2A2       =    LPV.CLASSNAMEKEYC4
    INNER JOIN LWCENUMERATIONENTRY               EE     ON  LPV.IDA3B4              =     EE.IDA2A2
                                                        AND  SV.VALUE2              =     EE.NAME&lt;BR /&gt;WHERE WTP.IDA2A2 = &amp;lt;wtpart_oid&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 20:08:50 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/How-extract-Display-enumerated-value-of-an-object/m-p/759052#M3348</guid>
      <dc:creator>awei3</dc:creator>
      <dc:date>2021-11-18T20:08:50Z</dc:date>
    </item>
  </channel>
</rss>

