Patch level : 12.0 380

Files correlati     : 

Patch 380

git-svn-id: svn://10.65.10.50/branches/R_10_00@23744 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
bonazzi 2017-04-18 17:32:16 +00:00
parent 10a98ab119
commit f468f975f0
2 changed files with 3 additions and 4 deletions

View File

@ -1188,7 +1188,6 @@ bool TMatResMask::on_field_event(TOperable_field& o, TField_event e, long jolly)
switch(e) switch(e)
{ {
case fe_modify: case fe_modify:
case fe_init:
{ {
real qta, price; real qta, price;
TString codart; TString codart;
@ -2769,9 +2768,9 @@ bool TMatResPlanning::build_orders()
sf.check_row(n); sf.check_row(n);
if (tipoord=="P") if (tipoord=="P")
tipoord=" "; tipoord = " ";
else else
tipoord=m.get(F_TIPOCF_CONDV); tipoord = "F";
find_price(m.get(F_TIPOCV),m.get(F_CODCONDV),m.get(F_CATVEN_CV), find_price(m.get(F_TIPOCV),m.get(F_CODCONDV),m.get(F_CATVEN_CV),
tipoord, codforn, codart, qta, price); tipoord, codforn, codart, qta, price);
row->add(price.string(), F_PREZZO - FIRST_FIELD); row->add(price.string(), F_PREZZO - FIRST_FIELD);

View File

@ -1452,7 +1452,7 @@ void find_price(const TString &tipocv, const TString &codcv, const TString &codc
if (_condv->ricerca(codice, qta)) if (_condv->ricerca(codice, qta))
{ {
price = _condv->get_prezzo(); price = _condv->get_prezzo();
retry=FALSE; retry = false;
} }
} }
break; break;