Patch level : 10.0 884
Files correlati : lv4.exe Ricompilazione Demo : [ ] Commento : Impostato il numero partita al mese nell importazione fatture (CHIMA) git-svn-id: svn://10.65.10.50/branches/R_10_00@21444 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
dba6142886
commit
6b4415ba33
@ -363,8 +363,8 @@ protected:
|
||||
|
||||
TConfig* genera_testata(TImporta_fat_rec& recset, TFilename& tmpdir);
|
||||
void leggi_righe_cg(TImporta_fat_rec& recset, const TString& codcau);
|
||||
void genera_righe_iva(TImporta_fat_rec& recset, TConfig& conf, int nriga, const TString& codcau);
|
||||
void genera_rate(TImporta_fat_rec& recset, TConfig& conf, int nriga);
|
||||
void genera_righe_iva(TImporta_fat_rec& recset, TConfig& conf, int & nriga, const TString& codcau);
|
||||
void genera_rate(TImporta_fat_rec& recset, TConfig& conf, int & nriga);
|
||||
|
||||
void elabora_file(const TFilename& tmpdir);
|
||||
void elimina_file(const TFilename& tmpdir);
|
||||
@ -453,7 +453,7 @@ TConfig* TImporta_fat_app::genera_testata(TImporta_fat_rec& recset, TFilename& t
|
||||
conf->set(MOV_ANNOIVA, datadoc.year());
|
||||
TString regiva(recset.get("C.REGIVA").as_string());
|
||||
|
||||
regiva << recset.get("C.NREGIVA").as_int();
|
||||
regiva << format("%02d", recset.get("C.NREGIVA").as_int());
|
||||
conf->set(MOV_REG, _codici->decodifica_regiva(atoi(regiva)));
|
||||
const TString & codval = _msk->get_bool(F_DECVAL) ? _codici->decodifica_valute(recset.get("C.CODVAL").as_int()) : recset.get("C.CODVAL").as_string();
|
||||
if (!::is_firm_value(codval) && codval != "EURO")
|
||||
@ -481,7 +481,7 @@ void TImporta_fat_app::leggi_righe_cg(TImporta_fat_rec& recset, const TString& c
|
||||
}
|
||||
|
||||
//GENERA_RIGHE_IVA: genero le righe IVA
|
||||
void TImporta_fat_app::genera_righe_iva(TImporta_fat_rec& recset, TConfig& conf, int nriga, const TString& codcau)
|
||||
void TImporta_fat_app::genera_righe_iva(TImporta_fat_rec& recset, TConfig& conf, int & nriga, const TString& codcau)
|
||||
{
|
||||
const TDate datadoc = recset.get("I.DATADOC").as_date();
|
||||
const char sezione = recset.get("I.SEZIONE").as_string()[0];
|
||||
@ -520,7 +520,7 @@ void TImporta_fat_app::genera_righe_iva(TImporta_fat_rec& recset, TConfig& conf,
|
||||
}
|
||||
|
||||
//GENERA_RATE: genero le righe su SCAD
|
||||
void TImporta_fat_app::genera_rate(TImporta_fat_rec& recset, TConfig& conf, int nriga)
|
||||
void TImporta_fat_app::genera_rate(TImporta_fat_rec& recset, TConfig& conf, int & nriga)
|
||||
{
|
||||
const TDate datadoc = recset.get("R.DATADOC").as_date();
|
||||
TString paragraph;
|
||||
|
Loading…
x
Reference in New Issue
Block a user