Ri-corretto MI6290 e MI6292 (non considerava il flag INTRACOM sulle
causali). git-svn-id: svn://10.65.10.50/trunk@5600 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3ea637a274
commit
512081f74a
@ -1474,6 +1474,7 @@ void TLiquidazione_app::iva11_set_arr(const TString& codatt)
|
|||||||
const TRectype& rcs = _cur->curr(LF_CAUSALI);
|
const TRectype& rcs = _cur->curr(LF_CAUSALI);
|
||||||
const bool autofattura = rcs.get_bool("AUTOFATT");
|
const bool autofattura = rcs.get_bool("AUTOFATT");
|
||||||
const bool valintra = rcs.get_bool("VALINTRA");
|
const bool valintra = rcs.get_bool("VALINTRA");
|
||||||
|
const bool intracom = rcs.get_bool("INTRACOM");
|
||||||
const bool sosp_imp = _reg->get_bool("B1");
|
const bool sosp_imp = _reg->get_bool("B1");
|
||||||
const bool corrisp = _reg->get_bool("B0");
|
const bool corrisp = _reg->get_bool("B0");
|
||||||
tiporeg tipomov = (tiporeg)_reg->get_long("I0");
|
tiporeg tipomov = (tiporeg)_reg->get_long("I0");
|
||||||
@ -1650,7 +1651,7 @@ void TLiquidazione_app::iva11_set_arr(const TString& codatt)
|
|||||||
{
|
{
|
||||||
if (tipodoc == "CN" || tipodoc == "SN" || tipodoc == "RN") // salta i non incassati
|
if (tipodoc == "CN" || tipodoc == "SN" || tipodoc == "RN") // salta i non incassati
|
||||||
return;
|
return;
|
||||||
if (intra || !valintra)
|
if (intracom || !valintra)
|
||||||
{
|
{
|
||||||
if (tipoes_v == "24")
|
if (tipoes_v == "24")
|
||||||
array.add(imponibile,TAB11_EC107);
|
array.add(imponibile,TAB11_EC107);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user