Meaning of item.AverageCostLCY

After upgrading from 3.56a to Attain 310a I’m experiencing problems with AvergeCostLCY on the item card. It seems that the way in which it is calculated is totally wrong if you regard it as an average because it sums “adjusted cost” and divides it with the sum of “Invoiced quantity” and not a weighted caluclation as I would expect. Does anyone have similar problems with “out of the ordinary” calculated figures or what else could have gone wrong?? A view of the value entries indicates a reasonable history but still the AverageCost seems to be totally out of the blue. Any help is greatly appreciated… Kind regards Brian Christensen