<?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: OIR Update for IBA Value in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/835004#M2886</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont think so it will be possible from OIR.&lt;/P&gt;&lt;P&gt;Instead of datautility, We can implement a JS function in part.jsp.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 05:33:51 GMT</pubDate>
    <dc:creator>TT_9345405</dc:creator>
    <dc:date>2022-11-02T05:33:51Z</dc:date>
    <item>
      <title>OIR Update for IBA Value</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/829884#M2883</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a below requirement, request you to shed some light on how the same can be achieved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i) There are two IBAs loaded at WTPart level, let's say IBA1 and IBA2.&lt;/P&gt;&lt;P&gt;ii) If a specific value is selected for IBA1, IBA2 must be populated with an auto generated number similar to what we do for WTPart number generation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know the feasibility to achieve the above requirement by modifying the OIR of the part, since it would require less customization as compared to developing a data utility.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 14:07:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/829884#M2883</guid>
      <dc:creator>Sha11</dc:creator>
      <dc:date>2024-03-15T14:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: OIR Update for IBA Value</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/831073#M2884</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/390417"&gt;@Sha11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Does IBA2 have list of values?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 11:32:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/831073#M2884</guid>
      <dc:creator>TT_9345405</dc:creator>
      <dc:date>2022-10-18T11:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: OIR Update for IBA Value</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/831127#M2885</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, it does not have a defined list of values but I want to generate a number for the IBA based on a DB sequence.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 14:43:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/831127#M2885</guid>
      <dc:creator>Sha11</dc:creator>
      <dc:date>2022-10-18T14:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: OIR Update for IBA Value</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/835004#M2886</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont think so it will be possible from OIR.&lt;/P&gt;&lt;P&gt;Instead of datautility, We can implement a JS function in part.jsp.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 05:33:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/835004#M2886</guid>
      <dc:creator>TT_9345405</dc:creator>
      <dc:date>2022-11-02T05:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: OIR Update for IBA Value</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/835032#M2887</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/390417"&gt;@Sha11&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try to check an OIR of WTPart type there is a EndItem check to turn off an autonumbering.&lt;/P&gt;
&lt;P&gt;it is nice example how to achieve what you need.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Concert to the AttrConstraint element with number&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;For end items in PDMLink context, turn the autonumbering off --&amp;gt;
&amp;lt;AttrConstraint id="number" algorithm="wt.rule.algorithm.BooleanBranch"&amp;gt;        
  &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.IfContainerTypeEqualsProjectTest"/&amp;gt;       
  
  &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"&amp;gt;
	 &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/&amp;gt;                              
  &amp;lt;/Value&amp;gt;        
  
  &amp;lt;Value algorithm="wt.rule.algorithm.BooleanBranch"&amp;gt;  
	   &amp;lt;Value algorithm="wt.rule.algorithm.StringEqualsTest"&amp;gt;
		  &amp;lt;Attr id="endItem"/&amp;gt;
		  &amp;lt;Arg&amp;gt;true&amp;lt;/Arg&amp;gt; 
	   &amp;lt;/Value&amp;gt;
	   
	   &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"/&amp;gt;
	   
	   &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"&amp;gt;
		   &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/&amp;gt; 
		   &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GetImmutableConstraint"/&amp;gt;        
	   &amp;lt;/Value&amp;gt;        
   &amp;lt;/Value&amp;gt;       
&amp;lt;/AttrConstraint&amp;gt;  
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to add your check with your IBA1&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it could looks like (I remove the EndItem check):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;For end items in PDMLink context, turn the autonumbering off --&amp;gt;
&amp;lt;AttrConstraint id="IBA2" algorithm="wt.rule.algorithm.BooleanBranch"&amp;gt;        
  &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.IfContainerTypeEqualsProjectTest"/&amp;gt;       
  
  &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"&amp;gt;
	 &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/&amp;gt;                              
  &amp;lt;/Value&amp;gt;        
  
  &amp;lt;Value algorithm="wt.rule.algorithm.BooleanBranch"&amp;gt;  
	   &amp;lt;Value algorithm="wt.rule.algorithm.StringEqualsTest"&amp;gt;
		  &amp;lt;Attr id="IBA1"/&amp;gt;
		  &amp;lt;Arg&amp;gt;yourStringValue&amp;lt;/Arg&amp;gt; 
	   &amp;lt;/Value&amp;gt;
	   
	   &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"&amp;gt;
		   &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GetServerAssignedConstraint"/&amp;gt; 
		   &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GetImmutableConstraint"/&amp;gt;        
	   &amp;lt;/Value&amp;gt; 
	   
	   &amp;lt;Value algorithm="com.ptc.core.rule.server.impl.GatherAttributeConstraints"/&amp;gt;
   &amp;lt;/Value&amp;gt;       
&amp;lt;/AttrConstraint&amp;gt;  
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try it if it works.&lt;/P&gt;
&lt;P&gt;If not, you can not achieve what you need by OIR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 07:57:51 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/OIR-Update-for-IBA-Value/m-p/835032#M2887</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2022-11-02T07:57:51Z</dc:date>
    </item>
  </channel>
</rss>

