finish trans detail query