Patch level : 12.0 494
Files correlati : ve0.exe ve6.exe richieste da CRPA Modificata la descrizione nell'ordine nell'evasione ordini per renderla più leggibile. Non aggiornava il protocollo IVA se preso dal registro (saltata una precedente correzione ?) git-svn-id: svn://10.65.10.50/branches/R_10_00@24251 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a761af19ec
commit
733a27925a
@ -1221,6 +1221,7 @@ error_type TContabilizzazione::compile_head_mov(TDocumento& doc)
|
||||
_error = ultprot_error;
|
||||
return _error;
|
||||
}
|
||||
reg.update(ult_prot, doc.data());
|
||||
}
|
||||
else // oppure dal numero di documento
|
||||
ult_prot = doc.numero();
|
||||
@ -4370,8 +4371,20 @@ error_type TContabilizzazione::write_regolarizzazione(const TDocumento& doc, TMo
|
||||
descr << TR("Regolarizzazione ") << doc.get(DOC_CODNUM) << '/' << doc.numero() << TR(" del ") << doc.get(DOC_DATADOC);
|
||||
head.put(MOV_DESCR,descr);
|
||||
|
||||
head.put(MOV_TIPO, "C");
|
||||
head.put(MOV_CODCF, doc.clifor().get_long(CLI_CODCFASS));
|
||||
TBill contocf; caus.bill(1, contocf);
|
||||
char tcf_reg = contocf.tipo();
|
||||
|
||||
if (tcf_reg == 'F')
|
||||
{
|
||||
head.put(MOV_TIPO, "F");
|
||||
head.put(MOV_CODCF, doc.clifor().get_long(CLI_CODCF));
|
||||
}
|
||||
else
|
||||
{
|
||||
// Reperisce l'eventuale cliente associato al fornitore e lo propone
|
||||
head.put(MOV_TIPO, "C");
|
||||
head.put(MOV_CODCF, doc.clifor().get_long(CLI_CODCFASS));
|
||||
}
|
||||
|
||||
// Scrive sulla testata dell'anticipo il numero di documento originale
|
||||
head.put(MOV_DPROVV, doc.get(DOC_PROVV));
|
||||
|
@ -2964,13 +2964,13 @@ bool TDocument_tree::get_description(TString& str) const
|
||||
const TCodice_articolo codart = rec.get(RDOC_CODART);
|
||||
str = codart;
|
||||
str.left_just(21);
|
||||
str << rec.get(RDOC_DESCR).left(30);
|
||||
str.left_just(52);
|
||||
str << rec.get(RDOC_DESCR);
|
||||
|
||||
const TString& tipodoc = testata.get(DOC_TIPODOC);
|
||||
const TTipo_documento& tipo = cached_tipodoc(tipodoc);
|
||||
if (codart.not_empty())
|
||||
{
|
||||
str.left_just(52);
|
||||
const real qta = rec.get_real(tipo.field_qta());
|
||||
str << qta.string("###.###.##@,@@@");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user