Aggiunto il codice per la stampa inventario solo >0, non nullo etc
git-svn-id: svn://10.65.10.50/trunk@5380 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
1b1925450d
commit
a62083685c
@ -381,6 +381,10 @@ void TStampa_inventario::setprint_permagazzini()
|
|||||||
TString cfilter,sortexp,joinexp;
|
TString cfilter,sortexp,joinexp;
|
||||||
_cur = _form->cursor();
|
_cur = _form->cursor();
|
||||||
// setta il filtro sul cursore
|
// setta il filtro sul cursore
|
||||||
|
/* if (*_mask->get(F_FILTRO)=='N')
|
||||||
|
cfilter << "(GIAC!=0)&&" ;
|
||||||
|
if (*_mask->get(F_FILTRO)=='+')
|
||||||
|
cfilter << "(GIAC>0)&&" ;*/
|
||||||
if (*_mask->get(F_DAART))
|
if (*_mask->get(F_DAART))
|
||||||
cfilter << "(CODART>=" <<'"' << _mask->get(F_DAART)<< "\")&&" ;
|
cfilter << "(CODART>=" <<'"' << _mask->get(F_DAART)<< "\")&&" ;
|
||||||
if (*_mask->get(F_AART))
|
if (*_mask->get(F_AART))
|
||||||
@ -410,6 +414,10 @@ void TStampa_inventario::setprint_perarticoli()
|
|||||||
|
|
||||||
char subordine=*_mask->get(F_ORDINEART);
|
char subordine=*_mask->get(F_ORDINEART);
|
||||||
_cur = _form->cursor();
|
_cur = _form->cursor();
|
||||||
|
/* if (*_mask->get(F_FILTRO)=='N')
|
||||||
|
filter << "(GIAC!=0)&&" ;
|
||||||
|
if (*_mask->get(F_FILTRO)=='+')
|
||||||
|
filter << "(GIAC>0)&&" ;*/
|
||||||
if (*_mask->get(F_DAMAG))
|
if (*_mask->get(F_DAMAG))
|
||||||
filter << "(CODMAG[1,3]>=" <<'"' << _mask->get(F_DAMAG)<< "\")&&" ;
|
filter << "(CODMAG[1,3]>=" <<'"' << _mask->get(F_DAMAG)<< "\")&&" ;
|
||||||
if (*_mask->get(F_AMAG))
|
if (*_mask->get(F_AMAG))
|
||||||
@ -452,7 +460,11 @@ void TStampa_inventario::setprint_perarticoli()
|
|||||||
_mask->get_int(F_TOLIVELLOGIAC),
|
_mask->get_int(F_TOLIVELLOGIAC),
|
||||||
_mask->get_bool(F_TOTALIMAGAZZINI),
|
_mask->get_bool(F_TOTALIMAGAZZINI),
|
||||||
_mask->get_bool(F_TOTALIDEPOSITI));
|
_mask->get_bool(F_TOTALIDEPOSITI));
|
||||||
|
/* if (*_mask->get(F_FILTRO)=='N')
|
||||||
|
_form->find_field('B',odd_page,"TOT_DEPOSITO").setcondition("GIAC!=0");
|
||||||
|
if (*_mask->get(F_FILTRO)=='+')
|
||||||
|
_form->find_field('B',odd_page,"TOT_DEPOSITO").setcondition("GIAC>0");
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
joinexp << "ANNOES==" << _mask->get(F_ANNOES) << "|CODART==CODART";
|
joinexp << "ANNOES==" << _mask->get(F_ANNOES) << "|CODART==CODART";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user