hi Andre
I'm replicating the scenario you mentioned above, and just checking if you could help with the logic the system uses.
Exch 0.1 at product receipt, and 0.15 at invoice (with a sale of the stock in between PR and PI). I have two results:
Amount Posting type
880.00 Cost of purchased materials invoiced
-880.00 Cost of purchased materials received
440.00 Price difference for moving average
880.00 Purchase, accrual
-1 320.00 Vendor balance
The above is simple enough to understand. 440 is the exch rate difference, and thus posted to "Price difference for moving average".
But, when i add a 7% charge to the line, and process the exact same transaction, i get the below:
Amount Posting type
-941.60 Cost of purchased materials received
61.60 Purchase freight
1 177.00 Cost of purchased materials invoiced
235.40 Price difference for moving average
-92.40 Purchase freight
880.00 Purchase, accrual
-1 320.00 Vendor balance
The first two lines are the reversal of the initial transactions (941.60 minus 61.60 equals 880, like in the first transaction)
1177+235.4-92.4=1320 (which is breakdown of the invoice itself, at the new rate of 0.15)
I know the charge is 7%, so that is easy to calculate..
My question is how does the system get to the number 1177 ? (or 235.40).