Patch level : 12.0 822
Files correlati : tp0.exe Commento : Aggiunta message_box con codice dell'articolo avente conai errato durante l'importazione
This commit is contained in:
parent
8135c22137
commit
dd33d88b34
@ -125,6 +125,11 @@ int TCache_art::get_extra_info(const char* key, TArticolo_pack& art)
|
||||
const TString& sc = envtax.get(0u).as_string();
|
||||
const real wkg = envtax.get(1).as_real();
|
||||
const TCONAI_class cc = conai_str2class(sc);
|
||||
if (cc == TCONAI_class::CONAI_NONE)
|
||||
{
|
||||
TString err = "ATTENZIONE!! Classe conai errata per articolo "; err << article_code;
|
||||
warning_box(err);
|
||||
}
|
||||
if (art.set_conai(cc, sc, wkg))
|
||||
info = 2;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user