Patch level : 12.0 no-patch
Files correlati : ve2400.cpp Commento : Modificata lettura TArticolo_conai utilizzando la macro nuova
This commit is contained in:
parent
a4573da401
commit
cd175c490c
@ -1999,17 +1999,12 @@ void TAnagrafica_magazzino::fill_conai(const TString& codart, TSheet_field& fld_
|
|||||||
fld_con.hide();
|
fld_con.hide();
|
||||||
|
|
||||||
TArticolo_conai ac(codart);
|
TArticolo_conai ac(codart);
|
||||||
auto mcon = ac.get_map();
|
FOR_EACH_CONAI_SOTTOCAT(ac, cat, sottocat)
|
||||||
for(auto i = mcon.begin(); i != mcon.end(); ++i)
|
|
||||||
{
|
|
||||||
const TString cat = i->first;
|
|
||||||
for(auto j = i->second.begin(); j != i->second.end(); ++j)
|
|
||||||
{
|
{
|
||||||
TToken_string& row = fld_con.row(-1);
|
TToken_string& row = fld_con.row(-1);
|
||||||
row.add(cat);
|
row.add(cat.first);
|
||||||
row.add(j->first);
|
row.add(sottocat.first);
|
||||||
row.add(j->second);
|
row.add(sottocat.second);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lo rimostro
|
// Lo rimostro
|
||||||
|
Loading…
x
Reference in New Issue
Block a user