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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Attribute based Product Name

Durga
12-Amethyst

Attribute based Product Name

Hi All,

I'm trying to achieve Product Name based on attribute.

Any references thanks in advance.

Regards,

Durga 

6 REPLIES 6
STEVEG
21-Topaz I
(To:Durga)

I am not really sure I understand what you are asking.  Can you give more details?

Durga
12-Amethyst
(To:STEVEG)

Hi Steve,

Following this is pic which I'm trying to achieve.

The business attributes will be filled by the user and product name to be auto-populated.

Regards,

Durga

Product_Name.png

 

avillanueva
22-Sapphire I
(To:Durga)

I think this can be done with object initialization rules. Note, I have not done this personally, but as I read it, it appears you can have the Product Name generated from a combination of the attributes you enter in. At least, initially.

http://support.ptc.com/help//wnc/r12.0.2.0/en/index.html#page/Windchill_Help_Center%2FObjRuleObjectNumberCreateGenValueConstAttrDefine.html%23

 

Durga
12-Amethyst
(To:avillanueva)

HI,

Yes numbering could be controlled through through OIR.

Used it, however the name attribute is not present in OIR.

 

Hi @avillanueva 

You right that the name can be set in OIR based on other attributes in general.

There is one point with OIR and Product context.

The type object Product (PDMLinkProduct) is not presented in the type list of OIR definition. 

 

So do you now if any configuration exists to allow OIR definition for Product context? I don't right now and also I haven't searched it.

 

PetrH

d_graham
17-Peridot
(To:Durga)

@Durga 

 

This can also be done with a “post store” listener.

Post store runs before data  is  “committed” ( or “rollback”) to the dB.

 

So, you can get the values of your user entered attributes and use those values to reset he Product name before the entry is committed to the database.

 

Another way to get the job done👍

 

David. 

Top Tags