Patch level : 10.0 290
Files correlati : Commento : Quadro VE versione 1 Corretto l'azzeramento dei totali nell'elenco privati del Quadro VT git-svn-id: svn://10.65.10.50/branches/R_10_00@23346 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
136dd80ecb
commit
0cb504cbb8
@ -13,7 +13,7 @@ int main(int argc,char** argv)
|
||||
case 1: cg7200(argc, argv); break; // lista fatture per imponibile
|
||||
case 2: cg7300(argc, argv); break; // gestore tabelle di modulo CG
|
||||
case 3: cg7400(argc,argv); break; // Quadro VC
|
||||
case 4: cg7500(argc,argv); break; // Quadro VE
|
||||
case 5: cg7600(argc,argv); break; // Quadro VE
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -2,4 +2,4 @@ int cg7100(int argc, char* argv[]);
|
||||
int cg7200(int argc, char* argv[]);
|
||||
int cg7300(int argc, char* argv[]);
|
||||
int cg7400(int argc, char* argv[]);
|
||||
int cg7500(int argc, char* argv[]);
|
||||
int cg7600(int argc, char* argv[]);
|
||||
|
@ -17,7 +17,7 @@ PAGE "Quadro VC" 0 0 0 0
|
||||
NUMBER F_YEAR 4
|
||||
BEGIN
|
||||
PROMPT 3 2 "Anno "
|
||||
FLAGS "A"
|
||||
FLAGS "A-"
|
||||
END
|
||||
|
||||
SPREADSHEET F_DITTE 66 8
|
||||
|
@ -100,19 +100,19 @@ void TQuadro_IVA_mask::build_report_sheet()
|
||||
TToken_string & row = sf.row(sf.items()); row.add("|1|Prova|cg7400b");
|
||||
}
|
||||
break;
|
||||
case '5' :
|
||||
case '6' :
|
||||
{
|
||||
TToken_string & row1 = sf.row(sf.items()); row1.add("|1|Stampa esportazioni|cg7500b");
|
||||
TToken_string & row2 = sf.row(sf.items()); row2.add("|2|Stampa cessioni Intracomunitarie|cg7500c");
|
||||
TToken_string & row3 = sf.row(sf.items()); row3.add("|3|Stampa cessioni verso San Marino|cg7500d");
|
||||
TToken_string & row4 = sf.row(sf.items()); row4.add("|4|Stampa operazioni assimilate|cg7500e");
|
||||
TToken_string & row5 = sf.row(sf.items()); row5.add("|5|Stampa operazioni non imp. in seguito a dich. d'intenti|cg7500f");
|
||||
TToken_string & row6 = sf.row(sf.items()); row6.add("|6|Stampa altre operazioni non imponibili|cg7500g");
|
||||
TToken_string & row7 = sf.row(sf.items()); row7.add("|7|Stampa esenti art. 10|cg7500h");
|
||||
TToken_string & row8 = sf.row(sf.items()); row8.add("|8|Stampa operazioni non sogg. ai sensi art.7 da uno a septies|cg7500i");
|
||||
TToken_string & row9 = sf.row(sf.items()); row9.add("|9|Stampa operazioni reverse charge|cg7500l");
|
||||
TToken_string & row10 = sf.row(sf.items()); row10.add("|10|Stampa operazioni terremotati|cg7500m");
|
||||
TToken_string & row11 = sf.row(sf.items()); row11.add("|11|Stampa operazioni effettuate con PA ai sensi art.17|cg7500n");
|
||||
TToken_string & row1 = sf.row(sf.items()); row1.add("|1|Stampa esportazioni|cg7600b");
|
||||
TToken_string & row2 = sf.row(sf.items()); row2.add("|2|Stampa cessioni Intracomunitarie|cg7600c");
|
||||
TToken_string & row3 = sf.row(sf.items()); row3.add("|3|Stampa cessioni verso San Marino|cg7600d");
|
||||
TToken_string & row4 = sf.row(sf.items()); row4.add("|4|Stampa operazioni assimilate|cg7600e");
|
||||
TToken_string & row5 = sf.row(sf.items()); row5.add("|5|Stampa operazioni non imp. in seguito a dich. d'intenti|cg7600f");
|
||||
TToken_string & row6 = sf.row(sf.items()); row6.add("|6|Stampa altre operazioni non imponibili|cg7600g");
|
||||
TToken_string & row7 = sf.row(sf.items()); row7.add("|7|Stampa esenti art. 10|cg7600h");
|
||||
TToken_string & row8 = sf.row(sf.items()); row8.add("|8|Stampa operazioni non sogg. ai sensi art.7 da uno a septies|cg7600i");
|
||||
TToken_string & row9 = sf.row(sf.items()); row9.add("|9|Stampa operazioni reverse charge|cg7600l");
|
||||
TToken_string & row10 = sf.row(sf.items()); row10.add("|10|Stampa operazioni terremotati|cg7600m");
|
||||
TToken_string & row11 = sf.row(sf.items()); row11.add("|11|Stampa operazioni effettuate con PA ai sensi art.17|cg7600n");
|
||||
}
|
||||
break;
|
||||
default :
|
||||
@ -185,7 +185,7 @@ const TVariant& TQuadro_IVA_recordset::get(const char* column_name) const
|
||||
{
|
||||
const TFixed_string name(column_name);
|
||||
|
||||
if (name.find('.') > 0)
|
||||
if (!name.starts_with("#") && name.find('.') > 0)
|
||||
{
|
||||
TVariant & var = get_tmp_var();
|
||||
real * value = (real *) _values.objptr(name);
|
||||
@ -202,32 +202,18 @@ const TVariant& TQuadro_IVA_recordset::get(const char* column_name) const
|
||||
return TISAM_recordset::get(column_name);
|
||||
}
|
||||
|
||||
void TQuadro_IVA_recordset::add_value(const TString *s, real value)
|
||||
{
|
||||
if (s != NULL)
|
||||
{
|
||||
real * val = (real *)_values.objptr(*s);
|
||||
|
||||
if (val == NULL)
|
||||
_values.add(*s, val = new real);
|
||||
*val += value;
|
||||
}
|
||||
}
|
||||
|
||||
void TQuadro_IVA_recordset::add_value(const TString &s, real value)
|
||||
void TQuadro_IVA_recordset::add_value(const char *s, real value)
|
||||
{
|
||||
real * val = (real *)_values.objptr(s);
|
||||
|
||||
if (val == NULL)
|
||||
_values.add(s, val = new real);
|
||||
{
|
||||
const TString8 key(s);
|
||||
_values.add(key, val = new real);
|
||||
}
|
||||
*val += value;
|
||||
}
|
||||
|
||||
TQuadro_IVA_recordset::TQuadro_IVA_recordset(const char* use, const int year) : TISAM_recordset(use)
|
||||
{
|
||||
//load(year);
|
||||
}
|
||||
|
||||
TQuadro_IVA_report::TQuadro_IVA_report(const char * report_name)
|
||||
{
|
||||
load(report_name);
|
||||
@ -257,7 +243,12 @@ void TQuadro_IVA_app::print()
|
||||
|
||||
rep.set_recordset(app_recordset(set->query_text(), atoi(year)));
|
||||
set = rep.recordset();
|
||||
set->set_var("#ANNO", year);
|
||||
TReport_section * sec = rep.find_section('B', 1);
|
||||
TReport_field * fld = sec->find_field(100);
|
||||
|
||||
if (fld != NULL)
|
||||
fld->set(year);
|
||||
// set->set_var("#ANNO", year, true);
|
||||
set->set_var("#CODDITTA", ditta);
|
||||
book.add(rep);
|
||||
}
|
||||
|
@ -34,13 +34,13 @@ class TQuadro_IVA_recordset : public TISAM_recordset
|
||||
TAssoc_array _values;
|
||||
|
||||
protected:
|
||||
void add_value(const TString *s, real value);
|
||||
void add_value(const TString &s, real value);
|
||||
void add_value(const char *s, real value);
|
||||
// void add_value(const TString &s, real value);
|
||||
virtual void load(const long year) pure;
|
||||
virtual const TVariant& get(const char* column_name) const;
|
||||
|
||||
public:
|
||||
TQuadro_IVA_recordset(const char* use, const int year);
|
||||
TQuadro_IVA_recordset(const char* use, const int year) : TISAM_recordset(use) { }
|
||||
virtual ~TQuadro_IVA_recordset() {}
|
||||
};
|
||||
|
||||
|
286
src/cg/cg7600.cpp
Normal file
286
src/cg/cg7600.cpp
Normal file
@ -0,0 +1,286 @@
|
||||
// Programma per la stampa del quadro VE
|
||||
#include <recarray.h>
|
||||
#include <tabutil.h>
|
||||
#include <utility.h>
|
||||
|
||||
#include "cg7401.h"
|
||||
#include "cgpim.h"
|
||||
|
||||
#include "cg7400a.h"
|
||||
#include "rmoviva.h"
|
||||
|
||||
#define REP_EXPORT 1
|
||||
#define REP_INTRA 2
|
||||
#define REP_SANMARINO 3
|
||||
#define REP_OPASSIMIL 4
|
||||
#define REP_DICHINT 5
|
||||
#define REP_ALTREOP 6
|
||||
#define REP_ART10 7
|
||||
#define REP_ART7 8
|
||||
#define REP_REVCHARGE 9
|
||||
#define REP_TERREM 10
|
||||
#define REP_PAART17 11
|
||||
|
||||
enum tipo_sospensione { nessuna, normale, vol_affari, liquidazione };
|
||||
|
||||
class TQuadro_VE_recordset : public TQuadro_IVA_recordset
|
||||
{
|
||||
TQuadro_IVA_mask * _mask;
|
||||
|
||||
protected:
|
||||
const real TQuadro_VE_recordset::evaluate_recordset(const int code, const int year);
|
||||
virtual void load(const long year);
|
||||
|
||||
public:
|
||||
TQuadro_VE_recordset(TQuadro_IVA_mask * mask, const char* use, const int year) : TQuadro_IVA_recordset(use, year), _mask(mask) {load(year);}
|
||||
virtual ~TQuadro_VE_recordset() {}
|
||||
};
|
||||
|
||||
const real TQuadro_VE_recordset::evaluate_recordset(const int code, const int year)
|
||||
{
|
||||
real val;
|
||||
TProgram_report & rep = _mask->get_report(code - 1);
|
||||
TISAM_recordset * set = (TISAM_recordset *) rep.recordset();
|
||||
|
||||
if (set != NULL)
|
||||
{
|
||||
set->set_var("#ANNO", format("%d", year));
|
||||
|
||||
if (set->items() > 0)
|
||||
for (set->move_first(); !set->eof(); set->move_next())
|
||||
val += set->get(RMI_IMPONIBILE).as_real();
|
||||
set->freeze();
|
||||
}
|
||||
return val;
|
||||
}
|
||||
|
||||
|
||||
void TQuadro_VE_recordset::load(const long year)
|
||||
{
|
||||
TAssoc_array imponibile_agricolo;
|
||||
TAssoc_array imposta_agricola;
|
||||
TAssoc_array imponibile;
|
||||
TAssoc_array imposta;
|
||||
|
||||
imponibile_agricolo.add("2.00", TString8("VE01.1"));
|
||||
imposta_agricola.add("2.00", TString8("VE01.2"));
|
||||
imponibile_agricolo.add("4,00", TString8("VE02.2"));
|
||||
imposta_agricola.add("4,00", TString8("VE02.2"));
|
||||
imponibile_agricolo.add("7.00", TString8("VE03.1"));
|
||||
imposta_agricola.add("7.00", TString8("VE03.2"));
|
||||
imponibile_agricolo.add("7.30", TString8("VE04.1"));
|
||||
imposta_agricola.add("7.30", TString8("VE04.2"));
|
||||
imponibile_agricolo.add("7.50", TString8("VE05.1"));
|
||||
imposta_agricola.add("7.50", TString8("VE05.2"));
|
||||
imponibile_agricolo.add("8.30", TString8("VE06.1"));
|
||||
imposta_agricola.add("8.30", TString8("VE06.2"));
|
||||
imponibile_agricolo.add("8,50", TString8("VE07.1"));
|
||||
imposta_agricola.add("8,50", TString8("VE07.2"));
|
||||
imponibile_agricolo.add("8.80", TString8("VE08.1"));
|
||||
imposta_agricola.add("8.80", TString8("VE08.2"));
|
||||
imponibile_agricolo.add("12.30", TString8("VE09.1"));
|
||||
imposta_agricola.add("12.30", TString8("VE09.2"));
|
||||
|
||||
imponibile.add("4.00", TString8("VE20.1"));
|
||||
imposta.add("4.00", TString8("VE20.2"));
|
||||
imponibile.add("10.00",TString8("VE21.1"));
|
||||
imposta.add("10.00",TString8("VE21.2"));
|
||||
imponibile.add("22.00", TString8("VE22.1"));
|
||||
imposta.add("22.00", TString8("VE22.2"));
|
||||
|
||||
TString80 query("USE PIM\nFROM CODTAB=");
|
||||
|
||||
query << year << "\nTO CODTAB=" << year;
|
||||
|
||||
TISAM_recordset pim(query);
|
||||
bool good = false;
|
||||
|
||||
for (pim.move_first(); !pim.eof(); pim.move_next())
|
||||
{
|
||||
const TString80 codtab = pim.get("CODTAB").as_string();
|
||||
|
||||
const TString8 codreg(format("%d%-3s",year, (const char*)codtab.mid(10,3)));
|
||||
const TRectype & reg = cache().get("REG", codreg);
|
||||
const tiporec tipo = (tiporec) reg.get_int("I9");
|
||||
const bool vendite = reg.get_int("I0") == 1;
|
||||
const int month = atoi(codtab.mid(13,2));
|
||||
|
||||
if (vendite && tipo != liquidazione && month == 13)
|
||||
{
|
||||
const TString8 codiva(codtab.mid(16,4));
|
||||
const TRectype & ivar = cache().get("%IVA", codiva);
|
||||
const TString8 aliquota = ivar.get("R0");
|
||||
|
||||
tiporec tipo;
|
||||
real imp;
|
||||
real iva;
|
||||
|
||||
if (classify_pim(pim, imp, iva, tipo, true))
|
||||
{
|
||||
good = true;
|
||||
switch (tipo)
|
||||
{
|
||||
case acq_norm: // acquisti normali
|
||||
break;
|
||||
case vend_norm: // vendite normali
|
||||
case corr_norm:
|
||||
if (aliquota.full())
|
||||
{
|
||||
const bool agricolo = ivar.get_int("I4") != 0;
|
||||
|
||||
if (agricolo)
|
||||
{
|
||||
const TString * field = (TString *) imponibile_agricolo.objptr(aliquota);
|
||||
|
||||
if (field != NULL) add_value(*field, imp);
|
||||
field = (TString *) imposta_agricola.objptr(aliquota);
|
||||
if (field != NULL) add_value(*field, iva);
|
||||
}
|
||||
else
|
||||
{
|
||||
const TString * field = (TString *) imponibile.objptr(aliquota);
|
||||
|
||||
if (field != NULL) add_value(*field, imp);
|
||||
field = (TString *) imposta.objptr(aliquota);
|
||||
if (field != NULL) add_value(*field, iva);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case acq_simp:
|
||||
break;
|
||||
case vend_simp: // acq. e vend. sosp. imposta
|
||||
break;
|
||||
case bolle_doganali: // bolle doganali (acquisti)
|
||||
break;
|
||||
case acq_beni_riv : // acq. beni per rivendita
|
||||
break;
|
||||
case base_ventilazione: // base calcolo per ventil.
|
||||
break;
|
||||
case corr_simp: // corrispettivi n. e s. imp.
|
||||
break;
|
||||
case acq_beni_ammort: // acq. beni ammortizz. detr.
|
||||
break;
|
||||
case acq_beni_ammort_nd: // beni ammort. non detraibili
|
||||
break;
|
||||
case acq_beni_leasing: // beni strum. acq in leasing
|
||||
break;
|
||||
case acq_amm_ultdetr: // beni amm. ult. detr 6%
|
||||
break;
|
||||
case acq_ind_op_es: // acq. indetr. su op.es.
|
||||
break;
|
||||
case acq_ind_pass_int: // passaggi interni
|
||||
if (vendite)
|
||||
add_value("VE40.1", iva);
|
||||
break;
|
||||
case acq_ind_art_19: // indetr. art. 19
|
||||
break;
|
||||
case cess_amm: // cessioni amministrative
|
||||
add_value("VE40.1", iva);
|
||||
break;
|
||||
case vend_rimborso: // vendite valide per rimborso
|
||||
break;
|
||||
case acq_rimborso: // acq. validi per rimborso
|
||||
break;
|
||||
case acq_bd_ind_art_19: // acq. con tipo documento BD e tipo detr 9
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
};
|
||||
|
||||
const TString4 tipo_aliquota = ivar.get("S1");
|
||||
const TString4 tipo_iva11_ven = ivar.get("S2");
|
||||
const bool non_imponibile = (tipo_aliquota == "NI");
|
||||
const bool esente = (tipo_aliquota == "ES");
|
||||
const bool reverse = (tipo_aliquota >= "31" && tipo_aliquota >= "38");
|
||||
const bool terremotati = tipo_aliquota >= "25";
|
||||
|
||||
if (non_imponibile)
|
||||
{
|
||||
if (tipo_iva11_ven == "21")
|
||||
add_value("VE31.1", imp);
|
||||
else
|
||||
if (tipo_iva11_ven == "22")
|
||||
add_value("VE32.1", imp);
|
||||
}
|
||||
if (esente)
|
||||
{
|
||||
if ((tipo_iva11_ven == "B1") ||
|
||||
(tipo_iva11_ven == "B2") ||
|
||||
(tipo_iva11_ven == "B3") ||
|
||||
(tipo_iva11_ven == "B4") ||
|
||||
(tipo_iva11_ven == "B5"))
|
||||
add_value("VE33.1", imp);
|
||||
else
|
||||
if ((tipo_iva11_ven == "B6"))
|
||||
add_value("VE34.1", imp);
|
||||
}
|
||||
|
||||
if (reverse)
|
||||
{
|
||||
const int tipo_reverse = atoi(tipo_iva11_ven);
|
||||
|
||||
switch (tipo_reverse)
|
||||
{
|
||||
case 31 : add_value("VE35.2", imp); break;
|
||||
case 32 : add_value("VE35.3", imp); break;
|
||||
case 33 : add_value("VE35.4", imp); break;
|
||||
case 34 : add_value("VE35.5", imp); break;
|
||||
case 35 : add_value("VE35.6", imp); break;
|
||||
case 36 : add_value("VE35.7", imp); break;
|
||||
case 37 : add_value("VE35.8", imp); break;
|
||||
case 38 : add_value("VE35.9", imp); break;
|
||||
default : break;
|
||||
}
|
||||
}
|
||||
if (terremotati)
|
||||
add_value("VE36.1", imp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query = "USE LIM\n FROM CODTAB==";
|
||||
|
||||
query << year << "13\nTO CODTAB==" << year << "13";
|
||||
|
||||
TISAM_recordset lim(query);
|
||||
good |= lim.items() > 0;
|
||||
|
||||
for (lim.move_first(); !lim.eof(); lim.move_next())
|
||||
add_value("VE24.2", lim.get("R17").as_real());
|
||||
|
||||
real val = evaluate_recordset(REP_EXPORT, year);
|
||||
|
||||
add_value("VE30.2", val);
|
||||
val = evaluate_recordset(REP_INTRA, year);
|
||||
add_value("VE30.3", val);
|
||||
val = evaluate_recordset(REP_SANMARINO, year);
|
||||
add_value("VE30.4", val);
|
||||
val = evaluate_recordset(REP_OPASSIMIL, year);
|
||||
add_value("VE30.5", val);
|
||||
|
||||
// VE37.1 2 iva sospensione
|
||||
|
||||
val = evaluate_recordset(REP_PAART17, year); // liquidazione
|
||||
add_value("VE38.1", val);
|
||||
|
||||
// VE39.1 iva sospensione incassata
|
||||
// if (!good)
|
||||
// warning_box(FR("Risultati liquidazione non presenti o da ricalcolare per l'anno %d."), year);
|
||||
}
|
||||
|
||||
class TQuadro_VE_app : public TQuadro_IVA_app
|
||||
{
|
||||
public:
|
||||
virtual TQuadro_IVA_recordset * app_recordset(const char* use, const int year) { return new TQuadro_VE_recordset(mask(), use, year); }
|
||||
TQuadro_VE_app() : TQuadro_IVA_app("Stampa Quadro VE", "cg7600a") {}
|
||||
virtual ~TQuadro_VE_app() {}
|
||||
|
||||
};
|
||||
|
||||
int cg7600(int argc, char* argv[])
|
||||
{
|
||||
TQuadro_VE_app a;
|
||||
a.run(argc, argv, TR("Quadro VE"));
|
||||
return 0;
|
||||
}
|
Binary file not shown.
226
src/cg/cg7600a.rep
Normal file
226
src/cg/cg7600a.rep
Normal file
@ -0,0 +1,226 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="cg7600a" lpi="6">
|
||||
<description>Stampa quadro VE</description>
|
||||
<font face="Courier New" size="12" />
|
||||
<section type="Head" pattern="1" />
|
||||
<section type="Head" level="1" pattern="1" />
|
||||
<section type="Body" pattern="1">
|
||||
<field type="Immagine" width="83" height="72" pattern="1">
|
||||
<source>"cg7600a.tif"</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" level="1" pattern="1">
|
||||
<font face="Courier New" size="10" />
|
||||
<field x="4" y="1" type="Testo" width="5" pattern="1" text="Anno" />
|
||||
<field x="35.75" y="5" type="Stringa" width="48" pattern="1" text=" ">
|
||||
<font face="Courier New" size="12" />
|
||||
<source>#SYSTEM.CFPI_SPACED</source>
|
||||
</field>
|
||||
<field x="63.75" y="9" type="Testo" width="4" pattern="1" text="0 1" />
|
||||
<field x="14" y="1" type="Stringa" align="right" width="6" id="100" pattern="1" text=" ">
|
||||
<font face="Courier New" bold="1" size="10" />
|
||||
</field>
|
||||
<field x="51" y="12.25" type="Numero" align="right" width="11" id="101" pattern="1" text="###.###.###">
|
||||
<source>VE01.1</source>
|
||||
<postscript description="B1.101 POSTSCRIPT">MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="12.25" type="Numero" align="right" width="11" id="102" pattern="1" text="###.###.###">
|
||||
<source>VE01.2</source>
|
||||
<postscript description="B1.102 POSTSCRIPT">MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="13.4" type="Numero" align="right" width="11" id="201" pattern="1" text="###.###.###">
|
||||
<source>VE02.1</source>
|
||||
<postscript description="B1.201 POSTSCRIPT">MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="13.4" type="Numero" align="right" width="11" id="202" pattern="1" text="###.###.###">
|
||||
<source>VE01.2</source>
|
||||
<postscript description="B1.202 POSTSCRIPT">MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="14.4" type="Numero" align="right" width="11" id="301" pattern="1" text="###.###.###">
|
||||
<source>VE01.3</source>
|
||||
<postscript description="B1.301 POSTSCRIPT">MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="14.4" type="Numero" align="right" width="11" id="302" pattern="1" text="###.###.###">
|
||||
<source>VE03.2</source>
|
||||
<postscript description="B1.302 POSTSCRIPT">MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="15.4" type="Numero" align="right" width="11" id="401" pattern="1" text="###.###.###">
|
||||
<source>VE04.1</source>
|
||||
<postscript description="B1.401 POSTSCRIPT">MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="15.4" type="Numero" align="right" width="11" id="402" pattern="1" text="###.###.###">
|
||||
<source>VE04.2</source>
|
||||
<postscript description="B1.402 POSTSCRIPT">MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="16.5" type="Numero" align="right" width="11" id="501" pattern="1" text="###.###.###">
|
||||
<source>VE05.1</source>
|
||||
<postscript description="B1.501 POSTSCRIPT">MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="16.5" type="Numero" align="right" width="11" id="502" pattern="1" text="###.###.###">
|
||||
<source>VE05.2</source>
|
||||
<postscript>MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="17.5" type="Numero" align="right" width="11" id="601" pattern="1" text="###.###.###">
|
||||
<source>VE06.1</source>
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="17.5" type="Numero" align="right" width="11" id="602" pattern="1" text="###.###.###">
|
||||
<source>VE06.2</source>
|
||||
<postscript>MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="18.5" type="Numero" align="right" width="11" id="701" pattern="1" text="###.###.###">
|
||||
<source>VE07.1</source>
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="18.5" type="Numero" align="right" width="11" id="702" pattern="1" text="###.###.###">
|
||||
<source>VE07.2</source>
|
||||
<postscript description="B1.702 POSTSCRIPT">MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="19.5" type="Numero" align="right" width="11" id="801" pattern="1" text="###.###.###">
|
||||
<source>VE08.1</source>
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="19.5" type="Numero" align="right" width="11" id="802" pattern="1" text="###.###.###">
|
||||
<source>VE08.2</source>
|
||||
<postscript>MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="20.5" type="Numero" align="right" width="11" id="901" pattern="1" text="###.###.###">
|
||||
<source>VE09.1</source>
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="20.5" type="Numero" align="right" width="11" id="902" pattern="1" text="###.###.###">
|
||||
<source>VE09.2</source>
|
||||
<postscript>MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="22.5" type="Numero" align="right" width="11" id="2001" pattern="1" text="###.###.###">
|
||||
<source>VE20.1</source>
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="22.5" type="Numero" align="right" width="11" id="2002" pattern="1" text="###.###.###">
|
||||
<source>VE20.2</source>
|
||||
<postscript>MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="23.65" type="Numero" align="right" width="11" id="2101" pattern="1" text="###.###.###">
|
||||
<source>VE21.1</source>
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="23.65" type="Numero" align="right" width="11" id="2102" pattern="1" text="###.###.###">
|
||||
<source>VE21.1</source>
|
||||
<postscript>MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="24.6" type="Numero" align="right" width="11" id="2201" pattern="1" text="###.###.###">
|
||||
<source>VE22.1</source>
|
||||
<postscript description="B1.2201 POSTSCRIPT">MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="24.6" type="Numero" align="right" width="11" id="2202" pattern="1" text="###.###.###">
|
||||
<source>VE22.2</source>
|
||||
<postscript>MESSAGE ADD,#B1.2302</postscript>
|
||||
</field>
|
||||
<field x="51" y="25.75" type="Numero" align="right" width="11" id="2301" pattern="1" text="###.###.###" />
|
||||
<field x="65.5" y="25.75" type="Numero" align="right" width="11" id="2302" pattern="1" text="###.###.###">
|
||||
<postscript>MESSAGE ADD,#B1.2502</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="26.75" type="Numero" align="right" width="11" id="2402" pattern="1" text="###.###.###">
|
||||
<source>VE24.2</source>
|
||||
<postscript>MESSAGE ADD,#B1.2502</postscript>
|
||||
</field>
|
||||
<field x="65.5" y="27.75" type="Numero" align="right" width="11" id="2502" pattern="1" text="###.###.###" />
|
||||
<field x="19" y="30.75" type="Numero" align="right" width="11" id="3002" pattern="1" text="###.###.###">
|
||||
<source>VE30.2</source>
|
||||
<postscript>MESSAGE ADD,#B1.3010</postscript>
|
||||
</field>
|
||||
<field x="37" y="30.75" type="Numero" align="right" width="11" id="3003" pattern="1" text="###.###.###">
|
||||
<source>VE30.3</source>
|
||||
<postscript>MESSAGE ADD,#B1.3010</postscript>
|
||||
</field>
|
||||
<field x="19" y="32.75" type="Numero" align="right" width="11" id="3004" pattern="1" text="###.###.###">
|
||||
<source>VE30.4</source>
|
||||
<postscript>MESSAGE ADD,#B1.3010</postscript>
|
||||
</field>
|
||||
<field x="37" y="32.75" type="Numero" align="right" width="11" id="3005" pattern="1" text="###.###.###">
|
||||
<source>VE30.5</source>
|
||||
<postscript>MESSAGE ADD,#B1.3010</postscript>
|
||||
</field>
|
||||
<field x="51" y="28.75" type="Numero" align="right" width="11" id="3010" pattern="1" text="###.###.###">
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="51" y="33.9" type="Numero" align="right" width="11" id="3101" pattern="1" text="###.###.###">
|
||||
<source>VE31.1</source>
|
||||
</field>
|
||||
<field x="51" y="34.95" type="Numero" align="right" width="11" id="3201" pattern="1" text="###.###.###">
|
||||
<source>VE32.1</source>
|
||||
</field>
|
||||
<field x="51" y="35.95" type="Numero" align="right" width="11" id="3301" pattern="1" text="###.###.###">
|
||||
<source>VE33.1</source>
|
||||
</field>
|
||||
<field x="51" y="36.95" type="Numero" align="right" width="11" id="3401" pattern="1" text="###.###.###">
|
||||
<source>VE34.1</source>
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="19" y="40" type="Numero" align="right" width="11" id="3502" pattern="1" text="###.###.###">
|
||||
<source>VE35.2</source>
|
||||
<postscript>MESSAGE ADD,#B1.3510</postscript>
|
||||
</field>
|
||||
<field x="37" y="40" type="Numero" align="right" width="11" id="3503" pattern="1" text="###.###.###">
|
||||
<source>VE35.3</source>
|
||||
<postscript>MESSAGE ADD,#B1.3510</postscript>
|
||||
</field>
|
||||
<field x="19" y="42.1" type="Numero" align="right" width="11" id="3504" pattern="1" text="###.###.###">
|
||||
<source>V35.4</source>
|
||||
<postscript>MESSAGE ADD,#B1.3510</postscript>
|
||||
</field>
|
||||
<field x="37" y="42.1" type="Numero" align="right" width="11" id="3505" pattern="1" text="###.###.###">
|
||||
<source>VE35.5</source>
|
||||
<postscript>MESSAGE ADD,#B1.3510</postscript>
|
||||
</field>
|
||||
<field x="19" y="44.15" type="Numero" align="right" width="11" id="3506" pattern="1" text="###.###.###">
|
||||
<source>V35.6</source>
|
||||
<postscript>MESSAGE ADD,#B1.3510</postscript>
|
||||
</field>
|
||||
<field x="37" y="44.15" type="Numero" align="right" width="11" id="3507" pattern="1" text="###.###.###">
|
||||
<source>VE35.7</source>
|
||||
<postscript>MESSAGE ADD,#B1.3510</postscript>
|
||||
</field>
|
||||
<field x="19" y="46.15" type="Numero" align="right" width="11" id="3508" pattern="1" text="###.###.###">
|
||||
<source>V35.8</source>
|
||||
<postscript>MESSAGE ADD,#B1.3510</postscript>
|
||||
</field>
|
||||
<field x="37" y="46.15" type="Numero" align="right" width="11" id="3509" pattern="1" text="###.###.###">
|
||||
<source>VE35.9</source>
|
||||
<postscript>MESSAGE ADD,#B1.3510</postscript>
|
||||
</field>
|
||||
<field x="51" y="38" type="Numero" align="right" width="11" id="3510" pattern="1" text="###.###.###">
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
<field x="51" y="47.25" type="Numero" align="right" width="11" id="3601" pattern="1" text="###.###.###">
|
||||
<source>VE36.1</source>
|
||||
</field>
|
||||
<field x="51" y="48.25" type="Numero" align="right" width="11" id="3701" pattern="1" text="###.###.###">
|
||||
<source>VE37.1</source>
|
||||
</field>
|
||||
<field x="37" y="50.25" type="Numero" align="right" width="11" id="3702" pattern="1" text="###.###.###">
|
||||
<source>VE37.1</source>
|
||||
</field>
|
||||
<field x="51" y="51.25" type="Numero" align="right" width="11" id="3801" pattern="1" text="###.###.###">
|
||||
<source>VE38.1</source>
|
||||
<postscript>MESSAGE ADD,#B1.5001</postscript>
|
||||
</field>
|
||||
<field x="51" y="52.35" type="Numero" align="right" width="11" id="3901" pattern="1" text="###.###.###">
|
||||
<source>VE39.1</source>
|
||||
<postscript>MESSAGE SUB,#B1.5001</postscript>
|
||||
</field>
|
||||
<field x="51" y="53.35" type="Numero" align="right" width="11" id="4001" pattern="1" text="###.###.###">
|
||||
<source>VE40.1</source>
|
||||
<postscript>MESSAGE SUB,#B1.5001</postscript>
|
||||
</field>
|
||||
<field x="51" y="54.5" type="Numero" align="right" width="11" id="5001" pattern="1" text="###.###.###">
|
||||
<postscript>MESSAGE ADD,#B1.2301</postscript>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" pattern="1" />
|
||||
<section type="Foot" level="1" pattern="1" />
|
||||
<sql>USE NDITTE SELECT CODDITTA==#CODDITTA</sql>
|
||||
<parameters>
|
||||
<item name="ANNO"> </item>
|
||||
</parameters>
|
||||
</report>
|
128
src/cg/cg7600a.uml
Normal file
128
src/cg/cg7600a.uml
Normal file
@ -0,0 +1,128 @@
|
||||
#include "cg7400a.h"
|
||||
|
||||
TOOLBAR "Toolbar" 0 0 0 2
|
||||
|
||||
BUTTON DLG_ALLFIRMS 2 2
|
||||
BEGIN
|
||||
PROMPT 2 1 "Tutte le ditte"
|
||||
PICTURE TOOL_CHECK
|
||||
END
|
||||
|
||||
BUTTON DLG_ALLREPORTS 2 2
|
||||
BEGIN
|
||||
PROMPT 2 1 "Tutte le stampe"
|
||||
PICTURE TOOL_SETPRINT
|
||||
END
|
||||
|
||||
#include <printbar.h>
|
||||
|
||||
ENDPAGE
|
||||
|
||||
PAGE "Quadro VE" 0 0 0 0
|
||||
|
||||
NUMBER F_YEAR 4
|
||||
BEGIN
|
||||
PROMPT 3 2 "Anno "
|
||||
FLAGS "A-"
|
||||
END
|
||||
|
||||
SPREADSHEET F_DITTE 66 8
|
||||
BEGIN
|
||||
PROMPT 7 4 " "
|
||||
ITEM ""
|
||||
ITEM "Codice"
|
||||
ITEM "Ragione Sociale@50"
|
||||
END
|
||||
|
||||
SPREADSHEET F_REPORTS 83 10
|
||||
BEGIN
|
||||
PROMPT 1 14 ""
|
||||
ITEM ""
|
||||
ITEM "Codice"
|
||||
ITEM "Descrizione@60"
|
||||
ITEM "Nome@6"
|
||||
END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
ENDMASK
|
||||
|
||||
PAGE "Ditte" -1 -1 78 6
|
||||
|
||||
BOOLEAN S_CHKDITTA
|
||||
BEGIN
|
||||
PROMPT 3 2 "Selezionata"
|
||||
END
|
||||
|
||||
NUMBER S_CODDITTA 5
|
||||
BEGIN
|
||||
PROMPT 3 4 "Ditta "
|
||||
FLAGS "D"
|
||||
END
|
||||
|
||||
STRING S_RAGSOC 50
|
||||
BEGIN
|
||||
PROMPT 20 4 ""
|
||||
FLAGS "D"
|
||||
END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
TOOLBAR "topbar" 0 0 0 2
|
||||
|
||||
BUTTON DLG_OK 2 2
|
||||
BEGIN
|
||||
PROMPT 1 1 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_CANCEL 10 2
|
||||
BEGIN
|
||||
PROMPT 2 1 ""
|
||||
END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
ENDMASK
|
||||
|
||||
PAGE "Reports" -1 -1 78 6
|
||||
|
||||
BOOLEAN S_CHKREPORT
|
||||
BEGIN
|
||||
PROMPT 3 2 "Selezionata"
|
||||
END
|
||||
|
||||
STRING S_CODEREPORT 2
|
||||
BEGIN
|
||||
PROMPT 3 4 "Codice "
|
||||
FLAGS "D"
|
||||
END
|
||||
|
||||
STRING S_NAMEREPORT 7
|
||||
BEGIN
|
||||
PROMPT 3 6 "Report "
|
||||
FLAGS "D"
|
||||
END
|
||||
|
||||
STRING S_DESCREPORT 60
|
||||
BEGIN
|
||||
PROMPT 20 6 ""
|
||||
FLAGS "D"
|
||||
END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
TOOLBAR "topbar" 0 0 0 2
|
||||
|
||||
BUTTON DLG_OK 2 2
|
||||
BEGIN
|
||||
PROMPT 1 1 ""
|
||||
END
|
||||
|
||||
BUTTON DLG_CANCEL 10 2
|
||||
BEGIN
|
||||
PROMPT 2 1 ""
|
||||
END
|
||||
|
||||
ENDPAGE
|
||||
|
||||
ENDMASK
|
126
src/cg/cg7600b.rep
Normal file
126
src/cg/cg7600b.rep
Normal file
@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="cg7600b" orientation="1" lpi="6">
|
||||
<description>Dichiarazione IVA Quadro VE - Esportazioni</description>
|
||||
<font face="Arial" size="8" />
|
||||
<section type="Head" pattern="1">
|
||||
<field x="88" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Pag. " +#PAGE</source>
|
||||
</field>
|
||||
<field x="2" y="0.5" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
|
||||
<field x="10" y="0.5" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
|
||||
<field x="14" y="0.5" type="Testo" width="10" pattern="1" text="Data Reg." />
|
||||
<field x="25" y="0.5" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" y="0.5" type="Testo" width="10" pattern="1" text="Data Doc." />
|
||||
<field x="38" y="0.5" type="Testo" width="7" pattern="1" text="N. Doc." />
|
||||
<field x="46" y="0.5" type="Testo" width="4" pattern="1" text="Caus" />
|
||||
<field x="51" y="0.5" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
|
||||
<field x="92" y="0.5" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
|
||||
<field x="111" y="0.5" type="Testo" width="4" pattern="1" text="C.Iva" />
|
||||
<field border="2" x="2" y="1.5" type="Linea" width="117" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field x="2" type="Stringa" width="40" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="90" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field border="1" x="2" y="1" type="Stringa" align="center" width="117" pattern="1">
|
||||
<source>"ELENCO FATTURE ESPORTAZIONE - " +#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>NUMREG+CODIVA</groupby>
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field type="Stringa" width="10" pattern="1">
|
||||
<source>NUMREG+" "+CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
|
||||
<field x="126" type="Stringa" width="10" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
|
||||
<source>RMOVIVA.NUMREG</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" id="15" pattern="1">
|
||||
<source>MOV.DATAREG</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" width="1" id="20" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" id="25" pattern="1">
|
||||
<source>MOV.DATADOC</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" id="30" pattern="1">
|
||||
<source>MOV.NUMDOC</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" id="35" pattern="1">
|
||||
<source>MOV.CODCAUS</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="50" id="40" pattern="1">
|
||||
<source>CLIFO.RAGSOC</source>
|
||||
</field>
|
||||
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<source>RMOVIVA.IMPONIBILE</source>
|
||||
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
|
||||
</field>
|
||||
<field x="121" type="Stringa" width="4" id="105" pattern="1">
|
||||
<source>RMOVIVA.CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" pattern="1" />
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<field border="2" x="2" y="0.5" type="Linea" width="117" height="0" pattern="1" />
|
||||
<field x="40" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
|
||||
<field x="92" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
|
||||
</section>
|
||||
<section type="Foot" level="2" height="1" pattern="1">
|
||||
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
|
||||
<source>#B1.5</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" pattern="1">
|
||||
<source>#B1.15</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" pattern="1">
|
||||
<source>#B1.25</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" pattern="1">
|
||||
<source>#B1.30</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.35</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="40" pattern="1">
|
||||
<source>#B1.40</source>
|
||||
</field>
|
||||
<field x="111" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.105</source>
|
||||
</field>
|
||||
<field x="116" type="Stringa" hidden="1" width="10" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="92" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)(23.TIPO="C")((201@.S3="1")||(201@.S3="2"))(INTRA!="X")(202@.B1!="X")
|
||||
JOIN MOV INTO NUMREG==NUMREG
|
||||
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
|
||||
JOIN %IVA ALIAS 201 INTO CODTAB=CODIVA
|
||||
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
|
||||
</report>
|
132
src/cg/cg7600c.rep
Normal file
132
src/cg/cg7600c.rep
Normal file
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="cg7600c" orientation="1" lpi="6">
|
||||
<description>Dichiarazione IVA Quadro VE intracomunitarie</description>
|
||||
<font face="Arial" size="8" />
|
||||
<section type="Head" pattern="1">
|
||||
<field x="89" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Pag. " +#PAGE</source>
|
||||
</field>
|
||||
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
|
||||
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
|
||||
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
|
||||
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
|
||||
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
|
||||
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
|
||||
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
|
||||
<field x="92" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
|
||||
<field x="111" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
|
||||
<field border="2" x="2" y="1.75" type="Linea" width="117" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field x="2" type="Stringa" width="40" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="89" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field border="1" x="2" y="1" type="Stringa" align="center" width="117" pattern="1">
|
||||
<source>"ELENCO FATTURE CESSIONI INTRACOMUNITARIE - " +#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>NUMREG+CODIVA</groupby>
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field type="Stringa" width="10" pattern="1">
|
||||
<source>NUMREG+" "+CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
|
||||
<field x="126" type="Stringa" width="3" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="130" type="Stringa" width="3" pattern="1">
|
||||
<source>202@.B1</source>
|
||||
</field>
|
||||
<field x="137" type="Stringa" width="10" pattern="1">
|
||||
<source>202@.S0</source>
|
||||
</field>
|
||||
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
|
||||
<source>RMOVIVA.NUMREG</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" id="15" pattern="1">
|
||||
<source>MOV.DATAREG</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" width="1" id="20" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" id="25" pattern="1">
|
||||
<source>MOV.DATADOC</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" id="30" pattern="1">
|
||||
<source>MOV.NUMDOC</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" id="35" pattern="1">
|
||||
<source>MOV.CODCAUS</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="50" id="40" pattern="1">
|
||||
<source>CLIFO.RAGSOC</source>
|
||||
</field>
|
||||
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<source>RMOVIVA.IMPONIBILE</source>
|
||||
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
|
||||
</field>
|
||||
<field x="121" type="Stringa" width="4" id="105" pattern="1">
|
||||
<source>RMOVIVA.CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" pattern="1" />
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<field border="2" x="2" y="0.5" type="Linea" width="117" height="0" pattern="1" />
|
||||
<field x="40" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
|
||||
<field x="92" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
|
||||
</section>
|
||||
<section type="Foot" level="2" height="1" pattern="1">
|
||||
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
|
||||
<source>#B1.5</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" pattern="1">
|
||||
<source>#B1.15</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" pattern="1">
|
||||
<source>#B1.25</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" pattern="1">
|
||||
<source>#B1.30</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.35</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="40" pattern="1">
|
||||
<source>#B1.40</source>
|
||||
</field>
|
||||
<field x="111" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.105</source>
|
||||
</field>
|
||||
<field x="116" type="Stringa" hidden="1" width="10" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="92" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)(23.TIPO="C")(INTRA="X")(201@.S3="")(202@.B1!="X")
|
||||
JOIN MOV INTO NUMREG==NUMREG
|
||||
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
|
||||
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
|
||||
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
|
||||
</report>
|
132
src/cg/cg7600d.rep
Normal file
132
src/cg/cg7600d.rep
Normal file
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="cg7600d" orientation="1" lpi="6">
|
||||
<description>Dichiarazione IVA Quadro VE - San Marino</description>
|
||||
<font face="Arial" size="8" />
|
||||
<section type="Head" pattern="1">
|
||||
<field x="88" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Pag. " +#PAGE</source>
|
||||
</field>
|
||||
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
|
||||
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
|
||||
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
|
||||
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
|
||||
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
|
||||
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
|
||||
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
|
||||
<field x="92" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
|
||||
<field x="111" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
|
||||
<field border="2" x="2" y="1.75" type="Linea" width="117" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field x="2" type="Stringa" width="40" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="90" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field border="1" x="2" y="1" type="Stringa" align="center" width="117" pattern="1">
|
||||
<source>"ELENCO FATTURE CESSIONI VERSO SAN MARINO - " +#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>NUMREG+CODIVA</groupby>
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field type="Stringa" width="10" pattern="1">
|
||||
<source>NUMREG+" "+CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
|
||||
<field x="126" type="Stringa" width="3" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="130" type="Stringa" width="3" pattern="1">
|
||||
<source>202@.B1</source>
|
||||
</field>
|
||||
<field x="137" type="Stringa" width="10" pattern="1">
|
||||
<source>202@.S0</source>
|
||||
</field>
|
||||
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
|
||||
<source>RMOVIVA.NUMREG</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" id="15" pattern="1">
|
||||
<source>MOV.DATAREG</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" width="1" id="20" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" id="25" pattern="1">
|
||||
<source>MOV.DATADOC</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" id="30" pattern="1">
|
||||
<source>MOV.NUMDOC</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" id="35" pattern="1">
|
||||
<source>MOV.CODCAUS</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="50" id="40" pattern="1">
|
||||
<source>CLIFO.RAGSOC</source>
|
||||
</field>
|
||||
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<source>RMOVIVA.IMPONIBILE</source>
|
||||
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
|
||||
</field>
|
||||
<field x="121" type="Stringa" width="4" id="105" pattern="1">
|
||||
<source>RMOVIVA.CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" pattern="1" />
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<field border="2" x="2" y="0.5" type="Linea" width="117" height="0" pattern="1" />
|
||||
<field x="40" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
|
||||
<field x="92" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
|
||||
</section>
|
||||
<section type="Foot" level="2" height="1" pattern="1">
|
||||
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
|
||||
<source>#B1.5</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" pattern="1">
|
||||
<source>#B1.15</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" pattern="1">
|
||||
<source>#B1.25</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" pattern="1">
|
||||
<source>#B1.30</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.35</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="40" pattern="1">
|
||||
<source>#B1.40</source>
|
||||
</field>
|
||||
<field x="111" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.105</source>
|
||||
</field>
|
||||
<field x="116" type="Stringa" hidden="1" width="10" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="92" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)(23.TIPO="C")(201@.S3="")(202@.B1="X")
|
||||
JOIN MOV INTO NUMREG==NUMREG
|
||||
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
|
||||
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
|
||||
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
|
||||
</report>
|
132
src/cg/cg7600e.rep
Normal file
132
src/cg/cg7600e.rep
Normal file
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="cg7600e" orientation="1" lpi="6">
|
||||
<description>Dichiarazione IVA Quadro VE - Assimilate</description>
|
||||
<font face="Arial" size="8" />
|
||||
<section type="Head" pattern="1">
|
||||
<field x="89" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Pag. " +#PAGE</source>
|
||||
</field>
|
||||
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
|
||||
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
|
||||
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
|
||||
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
|
||||
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
|
||||
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
|
||||
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
|
||||
<field x="92" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
|
||||
<field x="111" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
|
||||
<field border="2" x="2" y="1.75" type="Linea" width="117" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field x="2" type="Stringa" width="40" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="89" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field border="1" x="2" y="1" type="Stringa" align="center" width="117" pattern="1">
|
||||
<source>"ELENCO FATTURE OPERAZIONI ASSIMILATE - " +#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>NUMREG+CODIVA</groupby>
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field type="Stringa" width="10" pattern="1">
|
||||
<source>NUMREG+" "+CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
|
||||
<field x="126" type="Stringa" width="3" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="130" type="Stringa" width="3" pattern="1">
|
||||
<source>202@.B1</source>
|
||||
</field>
|
||||
<field x="137" type="Stringa" width="10" pattern="1">
|
||||
<source>202@.S0</source>
|
||||
</field>
|
||||
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
|
||||
<source>RMOVIVA.NUMREG</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" id="15" pattern="1">
|
||||
<source>MOV.DATAREG</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" width="1" id="20" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" id="25" pattern="1">
|
||||
<source>MOV.DATADOC</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" id="30" pattern="1">
|
||||
<source>MOV.NUMDOC</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" id="35" pattern="1">
|
||||
<source>MOV.CODCAUS</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="50" id="40" pattern="1">
|
||||
<source>CLIFO.RAGSOC</source>
|
||||
</field>
|
||||
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<source>RMOVIVA.IMPONIBILE</source>
|
||||
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
|
||||
</field>
|
||||
<field x="121" type="Stringa" width="4" id="105" pattern="1">
|
||||
<source>RMOVIVA.CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" pattern="1" />
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<field border="2" x="2" y="0.5" type="Linea" width="117" height="0" pattern="1" />
|
||||
<field x="40" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
|
||||
<field x="92" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
|
||||
</section>
|
||||
<section type="Foot" level="2" height="1" pattern="1">
|
||||
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
|
||||
<source>#B1.5</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" pattern="1">
|
||||
<source>#B1.15</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" pattern="1">
|
||||
<source>#B1.25</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" pattern="1">
|
||||
<source>#B1.30</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.35</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="40" pattern="1">
|
||||
<source>#B1.40</source>
|
||||
</field>
|
||||
<field x="111" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.105</source>
|
||||
</field>
|
||||
<field x="116" type="Stringa" hidden="1" width="10" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="92" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)(23.TIPO="C")(201@.S3="3")(202@.B1!="X")(INTRA!="X")
|
||||
JOIN MOV INTO NUMREG==NUMREG
|
||||
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
|
||||
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
|
||||
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
|
||||
</report>
|
132
src/cg/cg7600h.rep
Normal file
132
src/cg/cg7600h.rep
Normal file
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="cg7600h" orientation="1" lpi="6">
|
||||
<description>Dichiarazione IVA Quadro VE - Esenti Art. 10</description>
|
||||
<font face="Arial" size="8" />
|
||||
<section type="Head" pattern="1">
|
||||
<field x="89" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Pag. " +#PAGE</source>
|
||||
</field>
|
||||
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
|
||||
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
|
||||
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
|
||||
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
|
||||
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
|
||||
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
|
||||
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
|
||||
<field x="92" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
|
||||
<field x="111" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
|
||||
<field border="2" x="2" y="1.75" type="Linea" width="117" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field x="2" type="Stringa" width="40" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="89" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field border="1" x="2" y="1" type="Stringa" align="center" width="117" pattern="1">
|
||||
<source>"ELENCO OPERAZIONI ESENTI (art. 10) - " +#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>NUMREG+CODIVA</groupby>
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field type="Stringa" width="10" pattern="1">
|
||||
<source>NUMREG+" "+CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
|
||||
<field x="126" type="Stringa" width="3" pattern="1">
|
||||
<source>201@.S1</source>
|
||||
</field>
|
||||
<field x="130" type="Numero" align="right" width="3" pattern="1">
|
||||
<source>201@.S2</source>
|
||||
</field>
|
||||
<field x="137" type="Stringa" hidden="1" width="10" pattern="1">
|
||||
<source>202@.S0</source>
|
||||
</field>
|
||||
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
|
||||
<source>RMOVIVA.NUMREG</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" id="15" pattern="1">
|
||||
<source>MOV.DATAREG</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" width="1" id="20" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" id="25" pattern="1">
|
||||
<source>MOV.DATADOC</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" id="30" pattern="1">
|
||||
<source>MOV.NUMDOC</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" id="35" pattern="1">
|
||||
<source>MOV.CODCAUS</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="50" id="40" pattern="1">
|
||||
<source>CLIFO.RAGSOC</source>
|
||||
</field>
|
||||
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<source>RMOVIVA.IMPONIBILE</source>
|
||||
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
|
||||
</field>
|
||||
<field x="121" type="Stringa" width="4" id="105" pattern="1">
|
||||
<source>RMOVIVA.CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" pattern="1" />
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<field border="2" x="2" y="0.5" type="Linea" width="117" height="0" pattern="1" />
|
||||
<field x="40" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
|
||||
<field x="92" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
|
||||
</section>
|
||||
<section type="Foot" level="2" height="1" pattern="1">
|
||||
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
|
||||
<source>#B1.5</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" pattern="1">
|
||||
<source>#B1.15</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" pattern="1">
|
||||
<source>#B1.25</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" pattern="1">
|
||||
<source>#B1.30</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.35</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="40" pattern="1">
|
||||
<source>#B1.40</source>
|
||||
</field>
|
||||
<field x="111" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.105</source>
|
||||
</field>
|
||||
<field x="116" type="Stringa" hidden="1" width="10" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="92" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)(23.TIPO="C")(201@.S1="ES")((201@.S2="B2")||(201@.S2="B5"))
|
||||
JOIN MOV INTO NUMREG==NUMREG
|
||||
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
|
||||
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
|
||||
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
|
||||
</report>
|
132
src/cg/cg7600i.rep
Normal file
132
src/cg/cg7600i.rep
Normal file
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="cg7600i" orientation="1" lpi="6">
|
||||
<description>Dichiarazione IVA Quadro VE - NS ART. 7 A 7-sep</description>
|
||||
<font face="Arial" size="8" />
|
||||
<section type="Head" pattern="1">
|
||||
<field x="89" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Pag. " +#PAGE</source>
|
||||
</field>
|
||||
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
|
||||
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
|
||||
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
|
||||
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
|
||||
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
|
||||
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
|
||||
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
|
||||
<field x="92" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
|
||||
<field x="111" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
|
||||
<field border="2" x="2" y="1.75" type="Linea" width="117" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field x="2" type="Stringa" width="40" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="89" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field border="1" x="2" y="1" type="Stringa" align="center" width="117" pattern="1">
|
||||
<source>"ELENCO OPERAZIONI NON SOGGETTE ALL'IMPOSTA AI SENSI DEGLI ARTICOLI DA 7 A 7 -septies" +#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>NUMREG+CODIVA</groupby>
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field type="Stringa" width="10" pattern="1">
|
||||
<source>NUMREG+" "+CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
|
||||
<field x="126" type="Stringa" width="3" pattern="1">
|
||||
<source>201@.S1</source>
|
||||
</field>
|
||||
<field x="130" type="Numero" align="right" width="3" pattern="1">
|
||||
<source>201@.S2</source>
|
||||
</field>
|
||||
<field x="137" type="Stringa" hidden="1" width="10" pattern="1">
|
||||
<source>202@.S0</source>
|
||||
</field>
|
||||
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
|
||||
<source>RMOVIVA.NUMREG</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" id="15" pattern="1">
|
||||
<source>MOV.DATAREG</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" width="1" id="20" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" id="25" pattern="1">
|
||||
<source>MOV.DATADOC</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" id="30" pattern="1">
|
||||
<source>MOV.NUMDOC</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" id="35" pattern="1">
|
||||
<source>MOV.CODCAUS</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="50" id="40" pattern="1">
|
||||
<source>CLIFO.RAGSOC</source>
|
||||
</field>
|
||||
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<source>RMOVIVA.IMPONIBILE</source>
|
||||
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
|
||||
</field>
|
||||
<field x="121" type="Stringa" width="4" id="105" pattern="1">
|
||||
<source>RMOVIVA.CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" pattern="1" />
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<field border="2" x="2" y="0.5" type="Linea" width="117" height="0" pattern="1" />
|
||||
<field x="40" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
|
||||
<field x="92" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
|
||||
</section>
|
||||
<section type="Foot" level="2" height="1" pattern="1">
|
||||
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
|
||||
<source>#B1.5</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" pattern="1">
|
||||
<source>#B1.15</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" pattern="1">
|
||||
<source>#B1.25</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" pattern="1">
|
||||
<source>#B1.30</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.35</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="40" pattern="1">
|
||||
<source>#B1.40</source>
|
||||
</field>
|
||||
<field x="111" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.105</source>
|
||||
</field>
|
||||
<field x="116" type="Stringa" hidden="1" width="10" pattern="1">
|
||||
<source>201@.S3</source>
|
||||
</field>
|
||||
<field x="92" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
|
||||
</field>
|
||||
</section>
|
||||
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)(23.TIPO="C")(201@.S1="ES")(201@.S2="B6")
|
||||
JOIN MOV INTO NUMREG==NUMREG
|
||||
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
|
||||
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
|
||||
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF</sql>
|
||||
</report>
|
172
src/cg/cg7600l.rep
Normal file
172
src/cg/cg7600l.rep
Normal file
@ -0,0 +1,172 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report name="cg7600l" orientation="2" lpi="6">
|
||||
<description>Dichiarazione IVA Quadro VE - Rev.Charge</description>
|
||||
<font face="Arial" size="8" />
|
||||
<section type="Head" pattern="1">
|
||||
<field x="132" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Pag. " +#PAGE</source>
|
||||
</field>
|
||||
<field x="2" y="0.75" type="Testo" align="right" width="7" pattern="1" text="Num.Reg" />
|
||||
<field x="10" y="0.75" type="Testo" hidden="1" width="3" pattern="1" text="N.R." />
|
||||
<field x="14" y="0.75" type="Testo" width="10" pattern="1" text="Data Reg." />
|
||||
<field x="25" y="0.75" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" y="0.75" type="Testo" width="10" pattern="1" text="Data Doc." />
|
||||
<field x="38" y="0.75" type="Testo" width="7" pattern="1" text="N. Doc." />
|
||||
<field x="46" y="0.75" type="Testo" width="4" pattern="1" text="Caus" />
|
||||
<field x="51" y="0.75" type="Testo" width="50" pattern="1" text="Cliente Ragione Sociale" />
|
||||
<field x="102" y="0.75" type="Testo" align="right" width="18" pattern="1" text="Imponibile" />
|
||||
<field x="121" y="0.75" type="Testo" width="4" pattern="1" text="C.Iva" />
|
||||
<field x="126" y="0.75" type="Testo" width="4" pattern="1" text="R.C." />
|
||||
<field border="2" x="2" y="1.75" type="Linea" width="160" height="0" pattern="1" />
|
||||
</section>
|
||||
<section type="Head" level="1" pattern="1">
|
||||
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
|
||||
<field x="2" type="Stringa" width="40" pattern="1">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>#SYSTEM.RAGSOC</source>
|
||||
</field>
|
||||
<field x="132" type="Stringa" align="right" width="30" pattern="1">
|
||||
<source>"Data di Stampa: " +#SYSTEM.DATE</source>
|
||||
</field>
|
||||
<field border="1" x="2" y="1" type="Stringa" align="center" width="160" pattern="1">
|
||||
<source>"ELENCO OPERAZIONI CON APPLICAZIONE DEL REVERSE CHARGE - " +#ANNO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Head" level="2" hidden="1" pattern="1">
|
||||
<groupby>NUMREG+CODIVA</groupby>
|
||||
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
|
||||
<field type="Stringa" width="10" pattern="1">
|
||||
<source>NUMREG+" "+CODIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Body" pattern="1" />
|
||||
<section type="Body" level="1" hidden="1" bg_color="#80FF80" pattern="2">
|
||||
<field x="137" type="Stringa" width="10" pattern="1">
|
||||
<source>202@.S0</source>
|
||||
</field>
|
||||
<field x="2" type="Numero" align="right" width="7" id="5" pattern="1">
|
||||
<source>RMOVIVA.NUMREG</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" align="right" width="3" id="10" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" id="15" pattern="1">
|
||||
<source>MOV.DATAREG</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" width="1" id="20" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" id="25" pattern="1">
|
||||
<source>MOV.DATADOC</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" id="30" pattern="1">
|
||||
<source>MOV.NUMDOC</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" id="35" pattern="1">
|
||||
<source>MOV.CODCAUS</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="50" id="40" pattern="1">
|
||||
<source>CLIFO.RAGSOC</source>
|
||||
</field>
|
||||
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<source>RMOVIVA.IMPONIBILE</source>
|
||||
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
|
||||
</field>
|
||||
<field x="121" type="Stringa" width="4" id="105" pattern="1">
|
||||
<source>RMOVIVA.CODIVA</source>
|
||||
</field>
|
||||
<field x="126" type="Stringa" width="3" id="110" pattern="1">
|
||||
<source>201@.S1</source>
|
||||
</field>
|
||||
<field x="130" type="Numero" align="right" width="3" id="115" pattern="2">
|
||||
<source>201@.S2</source>
|
||||
<prescript description="B1.115 PRESCRIPT">#100 @
|
||||
"F1.1"
|
||||
#THIS @
|
||||
+
|
||||
+!</prescript>
|
||||
</field>
|
||||
<field x="134" type="Numero" align="right" width="2" id="120" pattern="1">
|
||||
<source>26.REGSPIVA</source>
|
||||
</field>
|
||||
</section>
|
||||
<section type="Foot" pattern="1" />
|
||||
<section type="Foot" level="1" pattern="1">
|
||||
<field border="2" x="2" y="0.5" type="Linea" width="160" height="0" pattern="1" />
|
||||
<field x="50" y="1" type="Testo" align="right" width="50" pattern="1" text="TOTALE GENERALE:" />
|
||||
<field x="3" y="4" type="Testo" width="32" pattern="1" text="Cessioni di rottami e altri materiali di recupero" />
|
||||
<field x="68.5" y="4" type="Testo" width="32" pattern="1" text="Cessioni di oro e argento puro " />
|
||||
<field x="3" y="6" type="Testo" width="32" pattern="1" text="Subappalto nel settore edile" />
|
||||
<field x="68.5" y="6" type="Testo" width="30" pattern="1" text="Cessioni di fabbricati" />
|
||||
<field x="3" y="8" type="Testo" width="32" pattern="1" text="Cessioni di telefoni cellulari " />
|
||||
<field x="68.5" y="8" type="Testo" width="30" pattern="1" text="Cessioni di microprocessori " />
|
||||
<field x="3" y="10" type="Testo" width="32" pattern="1" text="Prestazioni comparto edile e settori connessi" />
|
||||
<field x="68.5" y="10" type="Testo" width="30" pattern="1" text="Operazioni settore energetico " />
|
||||
<field x="102" y="1" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@" />
|
||||
<field x="35" y="4" type="Valuta" align="right" width="18" id="131" pattern="1" text="###.###.###,@@" />
|
||||
<field x="102" y="4" type="Valuta" align="right" width="18" id="132" pattern="1" text="###.###.###,@@" />
|
||||
<field x="35" y="6" type="Valuta" align="right" width="18" id="133" pattern="1" text="###.###.###,@@" />
|
||||
<field x="102" y="6" type="Valuta" align="right" width="18" id="134" pattern="1" text="###.###.###,@@" />
|
||||
<field x="35" y="8" type="Valuta" align="right" width="18" id="135" pattern="1" text="###.###.###,@@" />
|
||||
<field x="102" y="8" type="Valuta" align="right" width="18" id="136" pattern="1" text="###.###.###,@@" />
|
||||
<field x="35" y="10" type="Valuta" align="right" width="18" id="137" pattern="1" text="###.###.###,@@" />
|
||||
<field x="102" y="10" type="Valuta" align="right" width="18" id="138" pattern="1" text="###.###.###,@@" />
|
||||
</section>
|
||||
<section type="Foot" level="2" height="1" pattern="1">
|
||||
<field x="2" type="Numero" align="right" link="23.NUMREG" width="7" pattern="1">
|
||||
<source>#B1.5</source>
|
||||
</field>
|
||||
<field x="10" type="Numero" hidden="1" align="right" width="3" pattern="1">
|
||||
<source>RMOVIVA.NUMRIG</source>
|
||||
</field>
|
||||
<field x="14" type="Data" width="10" pattern="1">
|
||||
<source>#B1.15</source>
|
||||
</field>
|
||||
<field x="25" type="Stringa" hidden="1" width="1" pattern="1">
|
||||
<source>RMOVIVA.INTRA</source>
|
||||
</field>
|
||||
<field x="27" type="Data" width="10" pattern="1">
|
||||
<source>#B1.25</source>
|
||||
</field>
|
||||
<field x="38" type="Stringa" width="7" pattern="1">
|
||||
<source>#B1.30</source>
|
||||
</field>
|
||||
<field x="46" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.35</source>
|
||||
</field>
|
||||
<field x="51" type="Stringa" width="50" pattern="1">
|
||||
<source>#B1.40</source>
|
||||
</field>
|
||||
<field x="121" type="Stringa" width="4" pattern="1">
|
||||
<source>#B1.105</source>
|
||||
</field>
|
||||
<field x="130" type="Array" width="30" pattern="1">
|
||||
<source>#B1.115</source>
|
||||
<list>
|
||||
<li Value=" " Code=" " />
|
||||
<li Value="Cessioni di rottami e altri materiali di recupero" Code="31" />
|
||||
<li Value="Cessioni di oro e argento puro" Code="32" />
|
||||
<li Value="Subappalto nel settore edile" Code="33" />
|
||||
<li Value="Cessioni di fabbricati" Code="34" />
|
||||
<li Value="Cessioni di telefoni cellulari" Code="35" />
|
||||
<li Value="Cessioni di microprocessori" Code="36" />
|
||||
<li Value="Prestazioni comparto edile e settori connessi" Code="37" />
|
||||
<li Value="Operazioni settore energetico" Code="38" />
|
||||
</list>
|
||||
</field>
|
||||
<field x="102" type="Valuta" align="right" width="18" id="100" pattern="1" text="###.###.###,@@">
|
||||
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
|
||||
</field>
|
||||
<field x="127" type="Numero" align="right" width="2" id="120" pattern="1">
|
||||
<source>#B1.115</source>
|
||||
</field>
|
||||
</section>
|
||||
<sql>USE RMOVIVA SELECT (23.ANNOIVA=#ANNO)(23.TIPO="C")(201@.S2E;="31")(201@.S2C;="38")
|
||||
JOIN MOV INTO NUMREG==NUMREG
|
||||
JOIN 20 TO MOV INTO TIPOCF==TIPO CODCF==CODCF
|
||||
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
|
||||
JOIN %STA TO CLIFO ALIAS 202 INTO CODTAB==STATOCF
|
||||
JOIN 26 TO MOV INTO CODCAUS==CODCAUS </sql>
|
||||
</report>
|
@ -284,5 +284,5 @@ Caption = "Dichiarazione IVA"
|
||||
Picture = <cg01>
|
||||
Module = 7
|
||||
Flags = ""
|
||||
Item_01 = "Quadro VE", "cg7 -4", "F"
|
||||
Item_01 = "Quadro VE", "cg7 -5", "F"
|
||||
Item_02 = "Quadro VT", "cg5 -8", "F"
|
Loading…
x
Reference in New Issue
Block a user