Apply Multiple Deposit to an AR Invoice

Sometimes, we have received an deposit and get the payment from customer for this deposit. Then we received another deposit from the same customer for the same transaction(contract). When we finished business, we create an AR invoice to customer. We have two deposits for this invoice. How to apply these two deposit for this one invoice?

From Oracle standard functionality we can only apply one deposit to one invoice. We can’t apply multiple deposit to the AR invoice. The workaround to handle this case is unapply the payments from the original deposits, credit the original deposits, and then make a new deposit, apply the multiple payments to the new deposit, and then apply the new deposit to the AR invoice.

Is there any other better solutions? Waiting for Oracle……