Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
fgirardin
Creator
Creator

Sort field using specific chain

Hi all,

I'm trying to use a SP that our partners provided us in order to sort products nomenclatures

Here is the unsorted table

qvnom1.PNG

There is not a lot of data but each item's order is defined using suffixes like this example (not totally accurate):

Master Item =           H0004291               prefix A = Item N°  >>  H000429110  << suffix A (first level item)

Secondary Items = H00042911010     prefix A = Item N° + 10   >>  H00042911010  <<  suffix B (second level item)

Third items =             H0004291101010     prefix A = Item N° + 10   >>  H0004291101010  <<  suffix C (second level item)

Raw datas:

H000429110H000429
H0004291101010ETC-253
H0004291101020TP-054
H0004291101030ZJO6013
H0004291101040BP25 Ø06 x Ø10 x 10
H0004291101050AM-023A
H0004291101055AM-026A
H0004291101060BN 831 Ø6
H0004291101070ZJO5014
H0004291101080ZJO1012
H0004291101090ZJO1018
H00042911010502010Courbhane Ø15.7
H00042911010552010Courbhane Ø15.7
H00042911010202010TI-057
H00042911010102020CH-004A
H00042911010202020PI-004A
H00042911010102040TU-019A
H00042911010102050FO-015A
H0004291101020201030101.4305 Ø 6-f7 Chrome-Dur
H0004291101010204030102.0371 Tu Ø15.02 Ø20
H0004291101020202030102.0401 Ø15
H0004291101010205030102.0401 Ø20
H000429110101020203010

2.0401 Ø25

 

Correct formatting:

qvnom2.PNG







 

 

 

 

 

 

Is there a way to sort using the specific naming explained above ?

 

Thank you for your help

Labels (2)
1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached qvw


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

See attached qvw


talk is cheap, supply exceeds demand
fgirardin
Creator
Creator
Author

Thank you a lot ! It works great and I learned something new 🙂

Have a great day !!

Fabien