Patch level : 12.0 no patch
Files correlati : Commento : Patch level : 12.0 no patch Files correlati : Commento : Sostituito 2.0 con costante real DUE git-svn-id: svn://10.65.10.50/branches/R_10_00@23280 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
126d076588
commit
3c33752048
@ -863,7 +863,7 @@ real TArticolo_giacenza::media_costi(int annoes) const
|
||||
if (is_last_esercizio(annoes))
|
||||
{
|
||||
real costo = get_real(ANAMAG_ULTCOS1);
|
||||
costo = (costo + get_real(ANAMAG_ULTCOS2)) / 2.0;
|
||||
costo = (costo + get_real(ANAMAG_ULTCOS2)) / DUE;
|
||||
return costo.is_zero() ? costo_standard(annoes) : costo;
|
||||
}
|
||||
else
|
||||
@ -877,7 +877,7 @@ real TArticolo_giacenza::media_costi(int annoes) const
|
||||
{
|
||||
const TRectype & rec = storico(nextes).row(index);
|
||||
real costo = rec.get_real(STOMAG_ULTCOS1);
|
||||
costo = (costo + rec.get_real(STOMAG_ULTCOS2)) / 2.0;
|
||||
costo = (costo + rec.get_real(STOMAG_ULTCOS2)) / DUE;
|
||||
return costo.is_zero() ? costo_standard(annoes) : costo;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user