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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156