in codeunit 5804
in the function CalculateAverageCost
i found the following code
AverageCost := "Cost Amount (Actual)" + "Cost Amount (Expected)";
Is it right to assume that either one or other field will hold the value but never both of them?
I ask this because i also was thinking this to be always true but recently i have found some entries in the value entries table that have non zero values in both fields. And i wonder what process could have caused this ?
0
Comments
Navision calculates Item Avg cost on its item card with below formula
Cost Amnt(Expected) + Cost Amnt(actual) / invoiced qty
Senior Consultan