How to save Bill Discounting if following error ‘Due date should be grater then Reference date and Transaction date’ on finish button click?

Cause:
1) System shows the error on saving Bill Discounting, if the due date of the receivables is less then the bill discounting transaction date.
2) System will show the following error ‘Due date should be grater then Reference date and Transaction date’ or ‘Invalid due date’.
Remedies:
1) User should ensure proper receivables should be selected which is having due date greater than the bill discounting transaction date.
2) For bill discounting goto Finance-> Receivables->Remittance->Bill Discounting