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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Generate partnumber based on attribute selection

rkayasth
10-Marble

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?

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

Thanks Subramaniya.

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

apatil-2
12-Amethyst
(To:rkayasth)

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

Thanks Avinash, Any sample codes?

Announcements


Top Tags