Patch level : 10.0 637
Files correlati : mg4.exe Ricompilazione Demo : [ ] Commento : Bug 001558: 002154 - verga e pharmatex inventario la stampa inventario a costo medio produce un risultato diverso se viene lanciata con il ricalcolo inventario o meno git-svn-id: svn://10.65.10.50/trunk@20114 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
0631df7108
commit
bbd6f2df6c
@ -1677,10 +1677,14 @@ void TArticolo_giacenza_loadable::load(TIsamtempfile& f)
|
||||
TRecord_array& rmag = mag(annoes);
|
||||
rmag.destroy_rows();
|
||||
// Scorre le giacenze del file temporaneo per questo articolo
|
||||
int key = f.getkey();
|
||||
|
||||
f.setkey(1);
|
||||
for (err = f.read(_isgteq) ; err == NOERR && codart == f.get("CODART"); err = f.next())
|
||||
rmag.add_row(f.curr());
|
||||
|
||||
// Ripristina la posizione
|
||||
f.setkey(key);
|
||||
f.readat(pos);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user