Patch level : 12.0 856
Files correlati : fp0.exe Commento : Corretto codice causale da fornitore: andava a leggere il codforn dalla colonna sbagliata
This commit is contained in:
parent
8cfc887fb1
commit
f57a1db4df
@ -652,7 +652,7 @@ int TPassive_mask::prepara_contab() const
|
||||
{
|
||||
TString prokeys = row->get(sf.cid2index(S_PROKEY));
|
||||
TToken_string keys(prokeys, ';');
|
||||
TString codcaus(get_codcaus(row->get(2), row->get(10)));
|
||||
TString codcaus(get_codcaus(row->get(cid2index(S_TIPODOCSDI)), row->get(cid2index(S_FORNITORE))));
|
||||
|
||||
TString tipodoc(row->get(sf.cid2index(S_TIPODOCSDI)));
|
||||
if(tipodoc == "TD01" && !check_causale(codcaus, "FA", true))
|
||||
@ -813,7 +813,7 @@ int TPassive_mask::check_err() const
|
||||
{
|
||||
if (row->starts_with("X"))
|
||||
{
|
||||
TString codcaus(get_codcaus(row->get(2), row->get(10)));
|
||||
TString codcaus(get_codcaus(row->get(cid2index(S_TIPODOCSDI)), row->get(cid2index(S_FORNITORE))));
|
||||
if (codcaus.empty())
|
||||
return no_codcaus;
|
||||
if (TString(row->get(cid2index(S_FORNITORE))).empty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user