cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Generate partnumber based on attribute selection

rkayasth
6-Contributor

Generate partnumber based on attribute selection

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?

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

4 REPLIES 4

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

rkayasth
6-Contributor
(To:ptc-4783675)

Thanks Subramaniya.

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

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

rkayasth
6-Contributor
(To:apatil-2)

Thanks Avinash, Any sample codes?

Top Tags