Manual delete all the batch numbers that have duplicate data in Layer 1 and Layer 2 and add (TRFHDR.TRFBDT BETWEEN ${DATE_FROM} AND ${DATE_TO}) OR (TRFHDR.TRFSDT = 0) OR (TRFHDR.TRFRDT = 0) OR (TRFHDR.TRFBDT = 0) condition on the delete in TRF Transaction Extraction and Unification then process and check the data