Comment 69 for bug 511104

Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :

Hi Jay,

About your last comments: (in our example the invoices is still 450$)
- "Without any patch(in the current situation), you will get 250.00 as residual after the first pay of 200.00 USD" --> OK

- "if I pay 250"..."will lead residual to -72.30" --> yes, you have to treat final payment a different way than partial payments...and this is the tricky part.
As long as you are posting partial payment you do not have any write off entries to generate due to exchange rate. However, when the final payment comes you have to post the ex-rate write off due to the fact that invoice has been posted at invoice day rate and each payment at payment day rate.
I do not have the time to check again but I think that, in the residual amount calculation, the system should take all payments done and put them at invoice rate (unless you manage to take in the entry the amount in the column currency directly - except write off line). and I think, right now, the system just take the write off amount in EUR x last payment ex-rate.

It is all about exchange rate difference between invoice and payments...