Positive values are not allowed in credit memo error in cash receipt entry

Hi all,
Getting Positive values are not allowed in credit memo error in cash receipt entry.

.

When checking Previous cash receipt entry against this invoice able to see the new balance is showing as -1200 which is wrong.

New balance should be 250.85 and this has been posted.

There are no customizations/bpm.