Import Trans Log > Duplicate Records are being added for 18.3

Issue No: ST-1833
Created 10/19/2020 9:08:20 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 18.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-245012 - Cig Scan Data error with RJR|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-245012]   * Issue ** During Trans Log file import, multiple records are being added to the database with the same intTermMsgSN, intScanTransactionId, and dtmDate. *** intScanTransactionId is a rownumber calculated field *** Currently this is being duplicated when there is more than one payline by pay codes ** Together these fields should always be unique. * Requirements ** Transaction Records should not be duplicated in database on import. *** Take First Payment Line only ** Need cleanup script to remove duplicates, while preserving the original transaction. *** Should keep the first payment line and remove additional lines