day end error Generic Line Data. Attempt to modify a different record than was retrived.

            Could you please help us about Day End Processing could not process all transactions problem issue as below (urgent case) :

 

           error Generic Line Data. Attempt to modify a different record than was retrived.

 

            We have inquired preliminary problem , which result the clue as steps below :

 

            The problem is duplicate RCPLineSeq on different RCPHSEQ.

            Because in the first Line RCPHSEQ 34077396 could be day end processing complete but in the duplicated second line could not be complete.

 

            How could it can be solved for day end processing complete ?