This JSL script will delete duplicate rows in a data table. The first unique occurrence of each row is preserved.
I usually do summary of all columns. if its the same value i dont catre which line is kept
but to get only the last results... i need to do summary by max date and then join it with the orginal table (it happen alot due to rework or remesure)