Patch level : 12.0 nopatch
Files correlati : fp0.exe Commento: Se c'erano due aliquote uguali ne spediva una sola. riportato sull'invio integrazioni.
This commit is contained in:
parent
36cd1baf37
commit
ee810c1a16
@ -639,7 +639,7 @@ private:
|
||||
bool _definitivo;
|
||||
TString8 _regfisc;
|
||||
|
||||
bool insert(TPaf_record& p);
|
||||
bool insert(TPaf_record& p, bool force = false);
|
||||
bool remove(TPaf_record& p);
|
||||
void reset(TPaf_record& p) const { TPaf_container::set_keys_paf(p, _hfatt, _bfatt); }
|
||||
bool save_paf();
|
||||
|
@ -1955,6 +1955,7 @@ bool TDoc_fp::doc_to_paf(TDocumentoEsteso& doc)
|
||||
paf0700f.set("P7_DIVISA", "EUR"); // Fisso su euro in quanto effettuiamo il cambio
|
||||
|
||||
TDate data = doc.data();
|
||||
|
||||
paf0700f.set("P7_DATA", doc.data());
|
||||
paf0700f.set("P7_NUMERO", complete_num_fp(doc.codice_numerazione(), doc.numero()));
|
||||
paf0700f.set("P7_GESTIONE", stato_paf());
|
||||
@ -2988,7 +2989,7 @@ TDoc_fp::~TDoc_fp()
|
||||
\______/
|
||||
*/
|
||||
|
||||
bool TReg_fp::insert(TPaf_record& p)
|
||||
bool TReg_fp::insert(TPaf_record& p, bool force)
|
||||
{
|
||||
bool ok = true;
|
||||
|
||||
@ -2996,7 +2997,7 @@ bool TReg_fp::insert(TPaf_record& p)
|
||||
_query.add(p.insert_string());
|
||||
else
|
||||
{
|
||||
ok = p.insert();
|
||||
ok = p.insert(force);
|
||||
if (!ok)
|
||||
{
|
||||
_log.log(2, fp_db().sq_get_token_text_error(1));
|
||||
@ -3260,7 +3261,7 @@ bool TReg_fp::add_riepilogo_iva(const TMovimento_contabile & mov, int n_riga)
|
||||
paf2200f.set("PL_GESTIONE", stato_paf());
|
||||
|
||||
// Inserisco
|
||||
return insert(paf2200f);
|
||||
return insert(paf2200f, true);
|
||||
}
|
||||
|
||||
bool TReg_fp::export_paf0100f()
|
||||
|
Loading…
x
Reference in New Issue
Block a user