2Patch level : 12.0 974

Files correlati     : bacnv.exe
Commento            :

Azzerati cattegoria e peso CONAI quando il codice categoria è inesistente
This commit is contained in:
Alessandro Bonazzi 2020-07-07 15:03:07 +02:00
parent f71a3f8585
commit 60888928a0

View File

@ -2472,6 +2472,10 @@ void TConversione_archivi::update_righe_doc()
r.zero(old_conai_peso[j]);
changed = true;
}
const TString & sottocat = r.get(conai_sottocat_name(j + 1));
if (sottocat.full() && cache().get("&VESCC", sottocat).empty())
r.zero(conai_sottocat_name(j + 1));
if (r.get(conai_sottocat_name(j + 1)).blank() &&
r.get(conai_peso_name(j + 1)).full())
{