Patch level : 10.0 266
Files correlati : mg4.exe Ricompilazione Demo : [ ] Commento : Bug : 0001207 nella stampa selezionando sotto-ordinamento : Gruppo merc./codice e calcola inventario alla data (28-02-09) riproduce a termine dell'elaborazione un errore di tipo bloccante sulla videata della prima pagina di stampa. Cliente Verga git-svn-id: svn://10.65.10.50/trunk@18597 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e32bc93729
commit
3dff1b5582
@ -549,7 +549,11 @@ int TArticolo_giacenza::find_mag(TRecord_array& rmag, const char * codmag, const
|
||||
const int livello_len = livello ? strlen(livello) : 0;
|
||||
|
||||
if (codmag_len == 0 && livello_len == 0)
|
||||
return from + 1;
|
||||
{
|
||||
const int row = rmag.succ_row(from);
|
||||
|
||||
return row > last ? -1 : row;
|
||||
}
|
||||
|
||||
for (int i = rmag.succ_row(from); i <= last; i = rmag.succ_row(i))
|
||||
{
|
||||
@ -578,7 +582,11 @@ int TArticolo_giacenza::find_storico(TRecord_array& rsto, const char * codmag, i
|
||||
const int codmag_len = codmag ? strlen(codmag) : 0;
|
||||
|
||||
if (codmag_len == 0)
|
||||
return from + 1;
|
||||
{
|
||||
const int row = rsto.succ_row(from);
|
||||
|
||||
return row > last ? -1 : row;
|
||||
}
|
||||
|
||||
for (int i = rsto.succ_row(from); i <= last; i = rsto.succ_row(i))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user