Open item Settlement for exact match.
We have requirement in our project to clear the exact match first ahead of the oldest due debt.
To elaborate on the requirement, please have a look at the following example.
1st Invoice -$100 Due date-1/11/2010
2nd Invoice-$250 Due date-1/12/2010
Customer makes a payment of $250 on 10/12/2010.
As per our requirement, It should clear the 2nd Invoice first, as it gets an exact match and not the oldest debt due.
However, if the customer makes a payment of say $300, then it does not find any exact match and hence will clear the oldest due first.In this case,the 1st invoice.
In the clearing Step under the clearing variant , we have tried to use the Amount rule as '0'-Clearing only possible when amounts are same.....but it is not working as per our requirement.
Can any one of you give any thoughts on the issue?