cancel
Showing results for 
Search instead for 
Did you mean: 

how to concatenate lov in tc 9 with counters- BMIDE

Genius
Genius

I want to generate the part number or Naming rule using LOV and counters. see below information. there are 4 LOVs

 

Units

Americas (AM)

Europe (EU)

China (CH)

Asia-Pacific (AP)

 

Product Lines

Commercial Vehicle (CV)

Private Vehicle (PV)

 

Departments

Body Shop (BS)

Paint Shop (PS)

 

Than counters 0 to 99999

 

 

 

I am able to create LOVs, Individually i can select also. How do we concatenate the LOV and counters to get the part number (ex:AMCVBS00001, EUPVPS00002).

 

 

 

Please help me on this

 

Regards

Venny

 

4 REPLIES

Re: how to concatenate lov in tc 9 with counters- BMIDE

Valued Contributor
Valued Contributor

Hi,

 

one thing to test is create conditions and naming rules should be done with many combinations. for each you need to one naming rule with one condition attached.

For eg:

AMCVBSnnnnn is attached to part.item_id with condition

((o.Units="AM")AND(o.ProductLines="CV")AND(o.Departments="BS"))

 

Otherwise there is an option to program a with ITK a pre action to not assign id before anything other attributes is selected, then a post action to assign ID when all the attributes have values. Set these attributes as mandatory.

 

Hope this helps.

 

With regards,

Chini

Re: how to concatenate lov in tc 9 with counters- BMIDE

Genius
Genius

Chini

 

Thanks for reply and information. I will try.

 

Regards

Venny

Re: how to concatenate lov in tc 9 with counters- BMIDE

Siemens Experimenter Siemens Experimenter
Siemens Experimenter

In tc11.x, you can use ID generation rule functionality for your requirement.

Re: how to concatenate lov in tc 9 with counters- BMIDE

Genius
Genius

That's ture. We have 9 right now, may be sometime next year, we will upgrade to 11.x

 

Thanks