Patch level : 10.0 888
Files correlati : ef0.exe Ricompilazione Demo : [ ] Commento : Importazione effetti da ini (CHIMA) git-svn-id: svn://10.65.10.50/branches/R_10_00@21489 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
bf4fbd5886
commit
128cb23203
@ -101,8 +101,12 @@ void TVariazione_effetti::ini2mask(TConfig& ini, TMask& m, bool query)
|
||||
TRelation_application::ini2mask(ini, m, query);
|
||||
TToken_string & row = righe_sheet().row(0);
|
||||
|
||||
row.add(ini.get("IMPORTO"), 0);
|
||||
row.add(ini.get("IMPORTOVAL"), 1);
|
||||
row.add(ini.get(REFF_IMPORTO), righe_sheet().cid2index(F_IMPEFF));
|
||||
row.add(ini.get(REFF_IMPORTOVAL), righe_sheet().cid2index(F_IMPEFFVAL));
|
||||
row.add(ini.get(REFF_NFATT), righe_sheet().cid2index(F_NUMFATT));
|
||||
row.add(ini.get(REFF_ANNO), righe_sheet().cid2index(F_ANNO));
|
||||
row.add(ini.get(REFF_NUMPART), righe_sheet().cid2index(F_NUMPART));
|
||||
row.add(ini.get(REFF_NRATA), righe_sheet().cid2index(F_NUMRATA));
|
||||
}
|
||||
|
||||
|
||||
|
@ -981,7 +981,10 @@ void TContabilizzazione_effetti_app::compile_saldac(const TEffetto& eff,
|
||||
cn.complete_num(nf, numdoc_to_search);
|
||||
}
|
||||
else // se gli estremi della fattura non sono compilati si piglia il numero della partita
|
||||
numdoc_to_search = numpart;
|
||||
if (nfatt.full())
|
||||
numdoc_to_search = nfatt;
|
||||
else
|
||||
numdoc_to_search = numpart;
|
||||
if (anno == 0 || numpart.empty()) // Se non sono gia' settati sulla riga effetto...
|
||||
{
|
||||
anno = reff.get_int(REFF_ANNODOC);// ... li va a prendere dagli estremi fattura...
|
||||
|
Loading…
x
Reference in New Issue
Block a user