Hi All
I'm trying understand how the statistics page calculates variance as it looks like variance is based on the standard cost vs actual but we don't use standard cost so should it be expected cost vs actual cost?
Thanks
Hello,
The code behind this shows the following:
local procedure CalcVariance()
var
i: Integer;
IsHandled: Boolean;
begin
for i := 1 to ArrayLen(VarAmt) do begin
IsHandled := false;
OnBeforeCalcVariance(VarAmt, VarPct, StdCost, ActCost, i, IsHandled);
if not IsHandled then begin
VarAmt[i] := ActCost[i] - StdCost[i];
VarPct[i] := CalcIndicatorPct(StdCost[i], ActCost[i]);
end;
end;
end;
Hope it helps.