2009 SP1. Make a purchase invoice in a foreign currency i.e. import. 100% prepayment. Make prepayment invoice, pay it. Then receive the goods and post the final invoice on a different rate and different exchang rate in the Get Receipt Lines way. Sometimes - it is not fully reproducible, but sometimes - you get entirely wrong, really huge amounts in realized gains and loss in the G/L.
I spent a lot of time chasing it with the Debugger and Code Coverage and I cannot solve it with a code customization, it seems it is a really deep and intractable and also not very good reproducible. I think it also happens when we book it via purchase order - post as invoice. Really the code looks all right and it still happens.
Is there a hotfix for it? CustomerSource, I have no access to PartnerSource.
0
Comments
GenJnlLine.Amount := -PurchLine."Prepmt. Amount Inv. (LCY)";
My question, did anyone try this? https://support.microsoft.com/en-us/kb/2620733
Could this issue really cause my problem?
I had a look at the kb... sounds possible.
with best regards
Jens
A rounding possibly resulting in something like 40% of the invoice booked?...