Patch level : 12.0
Files correlati : fp0700.cpp Commento: Corretto il seguente bug nell'invio regolarizzazioni - non si riuscivano a cancellare le fatture in XML generato anche con il flag F8 attivo
This commit is contained in:
parent
4ebd47f1c1
commit
83578dc13e
@ -715,7 +715,7 @@ void TPAR_mask::delete_paf()
|
|||||||
// Vado a riportare sui paf l'errore
|
// Vado a riportare sui paf l'errore
|
||||||
TSheet_field& sfld = sfield(F_REGS);
|
TSheet_field& sfld = sfield(F_REGS);
|
||||||
TProgress_monitor pi(sfld.items(), "Cambio stato fatture");
|
TProgress_monitor pi(sfld.items(), "Cambio stato fatture");
|
||||||
const TString tipodocsdi = get(F_TIPO_SDI);
|
|
||||||
|
|
||||||
FOR_EACH_SHEET_ROW_LOOP(sfld, r)
|
FOR_EACH_SHEET_ROW_LOOP(sfld, r)
|
||||||
{
|
{
|
||||||
@ -728,6 +728,7 @@ void TPAR_mask::delete_paf()
|
|||||||
long nreg = sfld.get_long_row_cell(r, S_NUMREG);
|
long nreg = sfld.get_long_row_cell(r, S_NUMREG);
|
||||||
const TRectype & mov = cache().get(LF_MOV, nreg);
|
const TRectype & mov = cache().get(LF_MOV, nreg);
|
||||||
TString hfatt, bfatt;
|
TString hfatt, bfatt;
|
||||||
|
const TString tipodocsdi = sfld.get_str_row_cell(r, S_TIPODOC);
|
||||||
TPaf_record paf0100f("PAF0100F");
|
TPaf_record paf0100f("PAF0100F");
|
||||||
|
|
||||||
if (chiave_paf_mov(mov, tipodocsdi, hfatt, bfatt) && paf0100f.search(nullptr, hfatt, bfatt))
|
if (chiave_paf_mov(mov, tipodocsdi, hfatt, bfatt) && paf0100f.search(nullptr, hfatt, bfatt))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user