Patch level : 12.0 960

Files correlati     : batbiva.msk bastiva.rep
Commento            : Aggiunto campo reverse charge nella schera IVA (ricommittati)
This commit is contained in:
Simone Palacino 2020-05-11 17:09:55 +02:00
parent a012b488c2
commit aa3acc98a4
3 changed files with 72 additions and 59 deletions

@ -1,99 +1,102 @@
<?xml version="1.0" encoding="UTF-8" ?>
<report name="bastiva" orientation="2" lpi="6" class="bastiva">
<report libraries="" page_merge="" save_printer="" name="bastiva" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="bastiva">
<font face="Courier New" size="10" />
<section type="Head" pattern="1">
<field type="Testo" valign="center" align="center" width="96" height="2" pattern="2" text="Tabella Codici IVA">
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
<field deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="96" codval="" height="2" id="" pattern="2" hide_zero="" text="Tabella Codici IVA">
<font face="Courier New" bold="1" size="14" />
</field>
<field border="2" x="1" y="2.5" type="Linea" width="133" height="0" pattern="2" />
<field border="2" x="108" y="2.75" type="Linea" height="3.5" pattern="1" />
<field x="109" y="2.75" type="Testo" width="11" pattern="2" text="Riga IVA 11">
<field border="2" x="1" y="2.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
<field border="2" x="108" y="2.75" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="3.5" id="" pattern="1" hide_zero="" text="" />
<field x="109" y="2.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="Riga IVA 11">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="123" y="2.75" type="Testo" width="11" pattern="2" text="Riga prosp.">
<field x="123" y="2.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="Riga prosp.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="2" y="3.5" type="Testo" width="4" pattern="2" text="Cod.">
<field x="2" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Cod.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="7" y="3.5" type="Testo" width="12" pattern="2" text="Descrizione">
<field x="7" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="2" hide_zero="" text="Descrizione">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="57" y="3.5" type="Testo" width="8" pattern="2" text="Aliquota">
<field x="57" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="8" codval="" id="" pattern="2" hide_zero="" text="Aliquota">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="67" y="3.5" type="Testo" width="10" pattern="1" text="Natura">
<field x="67" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Natura">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="74" y="3.5" type="Testo" width="11" pattern="2" text="Tipo Codice">
<field x="74" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="Tipo Codice">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="109" y="3.75" type="Testo" width="4" pattern="2" text="Ven.">
<field x="109" y="3.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Ven.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="116" y="3.75" type="Testo" width="4" pattern="2" text="Acq.">
<field x="116" y="3.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Acq.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="123" y="3.75" type="Testo" width="4" pattern="2" text="Ven.">
<field x="123" y="3.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Ven.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="130" y="3.75" type="Testo" width="4" pattern="2" text="Acq.">
<field x="130" y="3.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Acq.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="1" y="4.5" type="Testo" width="11" pattern="2" text="C.IVA vent.">
<field x="1" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="C.IVA vent.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="13" y="4.5" type="Testo" width="11" pattern="2" text="% IVA teor.">
<field x="13" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="% IVA teor.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="25" y="4.5" type="Testo" width="16" pattern="2" text="Gestione plafond">
<field x="25" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="2" hide_zero="" text="Gestione plafond">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="45" y="4.5" type="Testo" width="16" pattern="2" text="Regime agricolo">
<field x="45" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="2" hide_zero="" text="Regime agricolo">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="68" y="4.5" type="Testo" width="14" pattern="2" text="Agenzia viaggi">
<field x="68" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="14" codval="" id="" pattern="2" hide_zero="" text="Agenzia viaggi">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="85" y="4.5" type="Testo" width="9" pattern="2" text="Rim.Infr.">
<field x="85" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="9" codval="" id="" pattern="2" hide_zero="" text="Rim.Infr.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="95" y="4.5" type="Testo" width="7" pattern="2" text="Esc.rim.">
<field x="95" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="2" hide_zero="" text="Esc.rim.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="103" y="4.5" type="Testo" width="4" pattern="2" text="Sos.">
<field x="103" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Sos.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="109" y="5" type="Testo" width="8" pattern="2" text="Pro Rata">
<field x="124" y="4.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="8" codval="" id="" pattern="2" hide_zero="" text="Pro Rata">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="123" y="5" type="Testo" width="4" pattern="2" text="Num.">
<field x="109.5" y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="2" hide_zero="" text="Rev.Charge">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="129.5" y="5" type="Testo" width="4" pattern="2" text="Den.">
<field x="123" y="5.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Num.">
<font face="Courier New" bold="1" size="10" />
</field>
<field border="2" x="1" y="6.5" type="Linea" width="133" height="0" pattern="2" />
<field x="129.5" y="5.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Den.">
<font face="Courier New" bold="1" size="10" />
</field>
<field border="2" x="1" y="6.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
</section>
<section type="Head" level="1" pattern="1" />
<section type="Body" pattern="1" />
<section type="Body" level="1" height="2.6" pattern="1">
<field x="2" type="Stringa" link="%IVA.CODTAB" width="4" pattern="2">
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="" hidden="" page_break="" can_break="" pattern="1" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="1" hidden="" height="2.6" page_break="" can_break="" pattern="1">
<field x="2" deactivated="" type="Stringa" hidden="" link="%IVA.CODTAB" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="">
<font face="Courier New" bold="1" size="10" />
<source>CODTAB</source>
</field>
<field x="7" type="Stringa" width="50" pattern="2">
<field x="7" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="2" hide_zero="" text="">
<source>S0</source>
</field>
<field x="58" type="Numero" align="right" width="7" pattern="2">
<field x="58" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="2" hide_zero="" text="">
<font face="Courier New" bold="1" size="10" />
<source>R0</source>
</field>
<field x="67" type="Stringa" align="center" width="5" pattern="1">
<field x="67" deactivated="" type="Stringa" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="">
<font face="Courier New" bold="1" size="10" />
<source>S12</source>
</field>
<field x="74" type="Array" width="20" pattern="2">
<field x="74" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="2" hide_zero="" text="">
<source>S1</source>
<list>
<li Value="Regime IVA normale" Code=" " />
@ -103,20 +106,20 @@
<li Value="Non soggetti" Code="NS" />
</list>
</field>
<field border="2" x="108" type="Linea" height="2.5" pattern="1" />
<field x="109" y="0.25" type="Stringa" width="3" pattern="2">
<field border="2" x="108" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2.5" id="" pattern="1" hide_zero="" text="" />
<field x="109" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
<source>S2</source>
</field>
<field x="116" y="0.25" type="Stringa" width="3" pattern="2">
<field x="116" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
<source>S9</source>
</field>
<field x="123" y="0.25" type="Stringa" width="3" pattern="2">
<field x="123" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
<source>S10</source>
</field>
<field x="130" y="0.25" type="Stringa" width="3" pattern="2">
<field x="130" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
<source>S11</source>
</field>
<field x="2" y="1" type="Array" width="4" pattern="2">
<field x="2" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="">
<source>S6</source>
<list>
<li Value="IVA normale" Code=" " />
@ -127,10 +130,10 @@
<li Value="Fuori campo" Code="FC" />
</list>
</field>
<field x="13" y="1" type="Numero" align="right" width="2" pattern="2">
<field x="13" y="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="2" codval="" id="" pattern="2" hide_zero="" text="">
<source>I0</source>
</field>
<field x="17" y="1" type="Array" align="right" width="20" pattern="2">
<field x="17" y="1" deactivated="" type="Array" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="2" hide_zero="" text="">
<source>S3</source>
<list>
<li Value="Regime normale" Code=" " />
@ -139,7 +142,7 @@
<li Value="Oper. relative art.9" Code="3" />
</list>
</field>
<field x="39" y="1" type="Array" align="center" width="26" pattern="2">
<field x="39" y="1" deactivated="" type="Array" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="26" codval="" id="" pattern="2" hide_zero="" text="">
<source>S4</source>
<list>
<li Value="Regime normale" Code=" " />
@ -148,7 +151,7 @@
<li Value="Acquisti ad uso promiscuo" Code="3" />
</list>
</field>
<field x="65" y="1" type="Array" width="20" pattern="2">
<field x="65" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="2" hide_zero="" text="">
<source>S5</source>
<list>
<li Value="Regime normale" Code=" " />
@ -159,34 +162,37 @@
<li Value="Acquisti misti parte fuori CEE" Code="5" />
</list>
</field>
<field x="90" y="1" type="Stringa" width="1" pattern="2">
<field x="90" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
<source>B3</source>
</field>
<field x="99" y="1" type="Stringa" width="1" pattern="2">
<field x="99" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
<source>B4</source>
</field>
<field x="105" y="1" type="Stringa" width="1" pattern="2">
<field x="105" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
<source>B2</source>
</field>
<field x="124" y="1.25" type="Stringa" width="1" pattern="2">
<field x="110" y="1.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
<source>B8</source>
</field>
<field x="124" y="1.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
<source>B6</source>
</field>
<field x="131" y="1.25" type="Stringa" width="1" pattern="2">
<field x="131" y="1.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
<source>B7</source>
</field>
<field border="1" x="1" y="2.5" type="Linea" width="133" height="0" pattern="2" />
<field border="1" x="1" y="2.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
</section>
<section type="Foot" height="3" pattern="1">
<field border="2" x="1" y="0.5" type="Linea" width="133" height="0" pattern="2" />
<field x="2" y="1" type="Data" width="10" pattern="2">
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" height="3" page_break="" can_break="" pattern="1">
<field border="2" x="1" y="0.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
<field x="2" y="1" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="2" hide_zero="" text="">
<source>#SYSTEM.DATE</source>
</field>
<field x="130" y="1" type="Numero" align="right" width="3" pattern="2">
<field x="130" y="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
<source>#PAGE</source>
</field>
<field border="2" x="1" y="2.5" type="Linea" width="133" height="0" pattern="2" />
<field border="2" x="1" y="2.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
</section>
<section type="Foot" level="1" pattern="1" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" page_break="" can_break="" pattern="1" />
<sql>USE %IVA
FROM CODTAB=#FROM
TO CODTAB=#TO</sql>

@ -27,3 +27,4 @@
#define CHK_TABIVA_B5 128
#define FLD_NUM_B6 129
#define FLD_DEN_B7 130
#define FLD_DEN_B8 131

@ -340,9 +340,15 @@ BEGIN
FIELD B7
END
BOOLEAN FLD_DEN_B8
BEGIN
PROMPT 3 22 "Reverse charge attivo"
FIELD B8
END
BOOLEAN FLD_SOSPESO_B2
BEGIN
PROMPT 3 22 "Codice IVA sospeso"
PROMPT 3 23 "Codice IVA sospeso"
FIELD B2
END