error in unapply customer ledger entries

This error message is shown.

The latest Transaction No. must be an application in Customer Ledger Entry No. ######.

but only selected ledger entries encounter this error.

what do we need to check to resolve this?

thanks

Dynamic nav 2017

This was posted in the GP forum. You should post it in the NAV/BC forum: https://dynamicsuser.net/nav