Patch level : 4.0 832
Files correlati : ve2,exe Ricompilazione Demo : [ ] Commento : Mancava il filtro per articoli sulla copi del listino da anagrafica git-svn-id: svn://10.65.10.50/trunk@15870 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
7b57a0e843
commit
422b94fcad
@ -469,6 +469,16 @@ bool TCondizioni_vendita::handle_copy(TMask_field &b, KEY k)
|
||||
|
||||
TRectype from(LF_UMART);
|
||||
TRectype to(LF_UMART);
|
||||
const TString & codf = m.get(F_FROMCOD);
|
||||
|
||||
if (codf.full())
|
||||
from.put(UMART_CODART, codf);
|
||||
|
||||
const TString & codt = m.get(F_TOCOD);
|
||||
|
||||
if (codt.full())
|
||||
to.put(UMART_CODART, codt);
|
||||
|
||||
TCursor curs(&rel_umart, filtro, 1, from.empty() ? NULL : &from, to.empty() ? NULL : &to);
|
||||
const long items = curs.items(); // metto in items il numero di elementi del cursore
|
||||
TProgind bar(items,"Scansione articoli", FALSE, TRUE); //barra di avanzamento
|
||||
|
Loading…
x
Reference in New Issue
Block a user