Patch level : nopatch

Files correlati     :
Commento        :

Implementazione FP
This commit is contained in:
Alessandro Bonazzi 2021-12-17 15:22:39 +01:00
parent 4b6859077f
commit 56d198f849

View File

@ -328,6 +328,8 @@ bool TAnagrafica::init(const TRectype& rec)
else
_tipo = 'G';
_allegato = _tipo == 'F' ? 6 : 2;
_pec = "";
_coddest = "0000000";
break;
case LF_ANAG:
_tipo = rec.get_char(ANA_TIPOA);
@ -367,6 +369,8 @@ bool TAnagrafica::init(const TRectype& rec)
}
else
_tipo = 'G';
_pec = "";
_coddest = "0000000";
break;
case LF_NDITTE:
{
@ -379,6 +383,10 @@ bool TAnagrafica::init(const TRectype& rec)
_ragsoc = rec.get(NDT_RAGSOC);
split_ragsoc();
}
_pec = "";
_cod_EORI = rec.get(NDT_CODEORI);
_coddest = rec.get(NDT_CODDEST);
_pec = rec.get(NDT_PEC);
return good;
}
break;
@ -518,6 +526,9 @@ bool TAnagrafica::init(const TRectype& rec)
}
if (_tipo == 'G' || _ragsoc.len() <= 30)
split_ragsoc();
_cod_EORI = rec.get(CLI_CODEORI);
_coddest = rec.get(CLI_PADESTIN);
_pec = rec.get(CLI_PEC);
break;
case LF_MOV:
return init(rec.get_char(MOV_TIPO), rec.get_long(MOV_CODCF), rec.get(MOV_OCFPI));