Patch level : 10.0
Files correlati : fe0.exe Ricompilazione Demo : [ ] Commento : Corretta gestione clienti Esteri Cee (Codice allegato 5) git-svn-id: svn://10.65.10.50/branches/R_10_00@22506 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4f00ee41ef
commit
87552939bb
@ -338,13 +338,18 @@ TExclusion_mode TDati_rilevanti_array::add(const TRectype& alleg, bool send_all,
|
|||||||
new_mode = (imp < importo_limite(anno)) ? em_importo_limite : em_incluso;
|
new_mode = (imp < importo_limite(anno)) ? em_importo_limite : em_incluso;
|
||||||
}
|
}
|
||||||
if (ignora != new_mode)
|
if (ignora != new_mode)
|
||||||
ignora = new_mode;
|
((TRectype&)alleg).put(ALL_IGNORA, ignora = new_mode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!send_all && ignora != em_incluso)
|
if (!send_all && ignora != em_incluso)
|
||||||
return ignora;
|
return ignora;
|
||||||
|
|
||||||
|
#ifdef DBG
|
||||||
|
if (alleg.get_long(ALL_CODCF) == 36)
|
||||||
|
int cazzone = 1;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Creo un nuovo record
|
// Creo un nuovo record
|
||||||
_data.add(alleg);
|
_data.add(alleg);
|
||||||
return em_incluso;
|
return em_incluso;
|
||||||
@ -515,8 +520,8 @@ TExclusion_mode TDati_rilevanti_msk::validate_clifo(const TRectype& mov)
|
|||||||
if (alleg == 1)
|
if (alleg == 1)
|
||||||
return segnala_movimento(mov, em_no_allegato);
|
return segnala_movimento(mov, em_no_allegato);
|
||||||
|
|
||||||
if (tipocf == 'F' && alleg == 5)
|
if (alleg == 5)
|
||||||
return segnala_movimento(mov, em_estero);
|
return segnala_movimento(mov, em_intra);
|
||||||
|
|
||||||
stato = rec_clifo.get(CLI_STATOCF);
|
stato = rec_clifo.get(CLI_STATOCF);
|
||||||
}
|
}
|
||||||
@ -1208,7 +1213,8 @@ bool TDati_rilevanti_msk::send_alleg()
|
|||||||
else
|
else
|
||||||
fatt.add(rec);
|
fatt.add(rec);
|
||||||
}
|
}
|
||||||
data.add(fatt, note, send_all, *_log);
|
if (!fatt.empty() || !note.empty())
|
||||||
|
data.add(fatt, note, send_all, *_log);
|
||||||
|
|
||||||
if (_log->recordset()->items())
|
if (_log->recordset()->items())
|
||||||
_log->preview();
|
_log->preview();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user