Patch level : nopatch
Files correlati : Commento : Implementazione FP
This commit is contained in:
parent
cce5377cc4
commit
60a52ab73d
@ -10,6 +10,8 @@
|
|||||||
#include "../cg/cfban.h"
|
#include "../cg/cfban.h"
|
||||||
#include <alleg.h>
|
#include <alleg.h>
|
||||||
#include <anagr.h>
|
#include <anagr.h>
|
||||||
|
#include <clifo.h>
|
||||||
|
#include <cfven.h>
|
||||||
#include <doc.h>
|
#include <doc.h>
|
||||||
#include <effetti.h>
|
#include <effetti.h>
|
||||||
#include <anafis.h>
|
#include <anafis.h>
|
||||||
@ -385,12 +387,13 @@ bool TAnagrafica::init(const TRectype& rec)
|
|||||||
}
|
}
|
||||||
_pec = "";
|
_pec = "";
|
||||||
_cod_EORI = rec.get(NDT_CODEORI);
|
_cod_EORI = rec.get(NDT_CODEORI);
|
||||||
_coddest = rec.get(NDT_CODDEST);
|
_coddest = rec.get(NDT_PADESTIN);
|
||||||
_pec = rec.get(NDT_PEC);
|
_pec = rec.get(NDT_PEC);
|
||||||
return good;
|
return good;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case LF_CLIFO:
|
case LF_CLIFO:
|
||||||
|
{
|
||||||
_cod_EORI = rec.get(ANA_CODEORI);
|
_cod_EORI = rec.get(ANA_CODEORI);
|
||||||
_allegato = rec.get_int(CLI_ALLEG);
|
_allegato = rec.get_int(CLI_ALLEG);
|
||||||
if (_allegato == 4)
|
if (_allegato == 4)
|
||||||
@ -527,8 +530,15 @@ 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);
|
_cod_EORI = rec.get(CLI_CODEORI);
|
||||||
_coddest = rec.get(CFV_PADESTIN);
|
TToken_string key = rec.get(CLI_TIPOCF);
|
||||||
|
|
||||||
|
key.add(rec.get(CLI_CODCF));
|
||||||
|
|
||||||
|
const TRectype & cfven = cache().get(LF_CFVEN, key);
|
||||||
|
|
||||||
|
_coddest = cfven.get(CFV_PADESTIN);
|
||||||
_pec = rec.get(CLI_PEC);
|
_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