Pulling my hair out on this query...
rpid ttid tseid info1 info2 info3
2543 5504 8562 00001 - ANCHORS-EXPANDABLE J-8135 1 NULL
2543 5504 8563 00001 - ANCHORS-EXPANDABLE J-8135 1 NULL
2543 5504 8564 00001 - ANCHORS-EXPANDABLE J-8135 1 NULL
2543 5504 8565 00001 - ANCHORS-EXPANDABLE J-8135 1 NULL
2543 5504 8566 00001 - ANCHORS-EXPANDABLE J-8135 1 USE - USED
2543 5505 8568 00008 - CABLE, AERIAL 6 X 22 CF F-8 1 NULL
2543 5505 8569 00008 - CABLE, AERIAL 6 X 22 CF F-8 1 NULL
2543 5505 8567 00008 - CABLE, AERIAL 6 X 22 CF F-8 1 NULL
2543 5506 8570 00012 - CABLE, AERIAL 12 X 22 CF F-8 NULL USE - USED
2543 5506 8571 00012 - CABLE, AERIAL 12 X 22 CF F-8 NULL USE - USED
If a single info3 code (use - used) exists for a single ttid then include the tseid that is on the same line.
If no info3 code (null) exists for a single ttid then include the lowest tseid for that ttid.
If more then one info3 code (use - used) exists for a single ttid then include the lowest tseid for that ttid.
2543 5504 8566 00001 - ANCHORS-EXPANDABLE J-8135 1 USE - USED
2543 5505 8568 00008 - CABLE, AERIAL 6 X 22 CF F-8 1 NULL
2543 5506 8570 00012 - CABLE, AERIAL 12 X 22 CF F-8 NULL USE - USED
Thanks
Simi
rpid ttid tseid info1 info2 info3
2543 5504 8562 00001 - ANCHORS-EXPANDABLE J-8135 1 NULL
2543 5504 8563 00001 - ANCHORS-EXPANDABLE J-8135 1 NULL
2543 5504 8564 00001 - ANCHORS-EXPANDABLE J-8135 1 NULL
2543 5504 8565 00001 - ANCHORS-EXPANDABLE J-8135 1 NULL
2543 5504 8566 00001 - ANCHORS-EXPANDABLE J-8135 1 USE - USED
2543 5505 8568 00008 - CABLE, AERIAL 6 X 22 CF F-8 1 NULL
2543 5505 8569 00008 - CABLE, AERIAL 6 X 22 CF F-8 1 NULL
2543 5505 8567 00008 - CABLE, AERIAL 6 X 22 CF F-8 1 NULL
2543 5506 8570 00012 - CABLE, AERIAL 12 X 22 CF F-8 NULL USE - USED
2543 5506 8571 00012 - CABLE, AERIAL 12 X 22 CF F-8 NULL USE - USED
If a single info3 code (use - used) exists for a single ttid then include the tseid that is on the same line.
If no info3 code (null) exists for a single ttid then include the lowest tseid for that ttid.
If more then one info3 code (use - used) exists for a single ttid then include the lowest tseid for that ttid.
2543 5504 8566 00001 - ANCHORS-EXPANDABLE J-8135 1 USE - USED
2543 5505 8568 00008 - CABLE, AERIAL 6 X 22 CF F-8 1 NULL
2543 5506 8570 00012 - CABLE, AERIAL 12 X 22 CF F-8 NULL USE - USED
Thanks
Simi