T
TCF
I have a file of a bill of material that I want to loop through and add the
upper level part number to the respective level. Here is what I start with.
The end result will be a bill of material files showing which parts go into
which upper levels.
level P/N
0 Part0
1 Part1
2 Part2
3 Part3
3 Part4
0 Part5
1 Part6
The results desired would look like this
level P/N ParentPN
0 Part0
1 Part1 Part0
2 Part2 Part1
3 Part3 Part2
3 Part4 Part2
2 Part5 Part1
1 Part6 Part0
I hope this is clear.
thanks
upper level part number to the respective level. Here is what I start with.
The end result will be a bill of material files showing which parts go into
which upper levels.
level P/N
0 Part0
1 Part1
2 Part2
3 Part3
3 Part4
0 Part5
1 Part6
The results desired would look like this
level P/N ParentPN
0 Part0
1 Part1 Part0
2 Part2 Part1
3 Part3 Part2
3 Part4 Part2
2 Part5 Part1
1 Part6 Part0
I hope this is clear.
thanks