Is there a way to recalculate the margin of a stock item sold, to take into account a cost adjustment recorded after the sale, but which relates to a receipt prior to the sale ?
Example :
02/01/2021: purchase receipt of the article with a cost of 100 USD
02/01/2021: billing of the purchase receipt with the same cost
02/02/2021 : sale of the stock item for a price of 130 USD => margin equal to 30 USD
02/03/2021 : landed cost of 10 USD related to the purchase receipt
I would like the margin of my sale to be recalculated to 20 USD. Is it possible ?