Patch level : nopatch
Files correlati : Commento : Implementazione FP
This commit is contained in:
parent
4b6859077f
commit
56d198f849
@ -328,6 +328,8 @@ bool TAnagrafica::init(const TRectype& rec)
|
|||||||
else
|
else
|
||||||
_tipo = 'G';
|
_tipo = 'G';
|
||||||
_allegato = _tipo == 'F' ? 6 : 2;
|
_allegato = _tipo == 'F' ? 6 : 2;
|
||||||
|
_pec = "";
|
||||||
|
_coddest = "0000000";
|
||||||
break;
|
break;
|
||||||
case LF_ANAG:
|
case LF_ANAG:
|
||||||
_tipo = rec.get_char(ANA_TIPOA);
|
_tipo = rec.get_char(ANA_TIPOA);
|
||||||
@ -367,6 +369,8 @@ bool TAnagrafica::init(const TRectype& rec)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
_tipo = 'G';
|
_tipo = 'G';
|
||||||
|
_pec = "";
|
||||||
|
_coddest = "0000000";
|
||||||
break;
|
break;
|
||||||
case LF_NDITTE:
|
case LF_NDITTE:
|
||||||
{
|
{
|
||||||
@ -379,6 +383,10 @@ bool TAnagrafica::init(const TRectype& rec)
|
|||||||
_ragsoc = rec.get(NDT_RAGSOC);
|
_ragsoc = rec.get(NDT_RAGSOC);
|
||||||
split_ragsoc();
|
split_ragsoc();
|
||||||
}
|
}
|
||||||
|
_pec = "";
|
||||||
|
_cod_EORI = rec.get(NDT_CODEORI);
|
||||||
|
_coddest = rec.get(NDT_CODDEST);
|
||||||
|
_pec = rec.get(NDT_PEC);
|
||||||
return good;
|
return good;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -518,6 +526,9 @@ bool TAnagrafica::init(const TRectype& rec)
|
|||||||
}
|
}
|
||||||
if (_tipo == 'G' || _ragsoc.len() <= 30)
|
if (_tipo == 'G' || _ragsoc.len() <= 30)
|
||||||
split_ragsoc();
|
split_ragsoc();
|
||||||
|
_cod_EORI = rec.get(CLI_CODEORI);
|
||||||
|
_coddest = rec.get(CLI_PADESTIN);
|
||||||
|
_pec = rec.get(CLI_PEC);
|
||||||
break;
|
break;
|
||||||
case LF_MOV:
|
case LF_MOV:
|
||||||
return init(rec.get_char(MOV_TIPO), rec.get_long(MOV_CODCF), rec.get(MOV_OCFPI));
|
return init(rec.get_char(MOV_TIPO), rec.get_long(MOV_CODCF), rec.get(MOV_OCFPI));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user