A recalculation will be carried out in the following cases:
Incoming items and
The current average is given in export formats or used for statistics. If you wish to see this purchase price in a variation’s data record, then you need select that the average purches price will be transferred.
The purchase price setting can be found in the System » System settings » Stock » Stock » Incoming items menu. The option that you need to select is Save live average purchase price in the variation data. The other options available in the dropdown are explained in the Table 4