Skip to main content
1-Visitor
December 19, 2013
Solved

Generate partnumber based on attribute selection

  • December 19, 2013
  • 4 replies
  • 1737 views

Hey Gurus',

I have created a part wizard having bought-out / inhouse , plate thickness, customer type, plate series as the attributes.

Now on selection of the above attributes, it should auto generate the partnumber with the last 5 digit as the running sequence.

for example, the attribute selection is as follows:

in-house (2), 5mm (50, international (3), 234, running sequence (6789)

so it should generate the partnumber as 2532346789.

Any ideas?

Best answer by ptc-4783675

Hi Ravin

For your above requirement Use Case Branch in OIR for your Wt part. From this OIR you can control the part numbering using the Attributes.

I have given the Link for append the Codes in OIR

https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS129413&posno=3&q=Branch%20Algorithm&nav=ptcproductgroups||windchill||Product+Group||windchill

4 replies

1-Visitor
December 21, 2013

Hi Ravin

For your above requirement Use Case Branch in OIR for your Wt part. From this OIR you can control the part numbering using the Attributes.

I have given the Link for append the Codes in OIR

https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS129413&posno=3&q=Branch%20Algorithm&nav=ptcproductgroups||windchill||Product+Group||windchill

rkayasth1-VisitorAuthor
1-Visitor
December 27, 2013

Thanks Subramaniya.

Let me try this out if this works, since its seems complex to create 3 OIRs and link them.

12-Amethyst
January 8, 2014

Hi for this you need to modify OIR of that object type to read attribute values while creating.Comine those attributes accordingly.

rkayasth1-VisitorAuthor
1-Visitor
January 10, 2014

Thanks Avinash, Any sample codes?