185 lines
9.5 KiB
Plaintext
185 lines
9.5 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<report name="co2400a" orientation="2" lpi="6">
|
||
|
<description>Registro soci carico e scarico</description>
|
||
|
<font face="Courier New" size="7" />
|
||
|
<section type="Head">
|
||
|
<field x="1" type="Testo" width="130" pattern="1" text="Registro cronologico di carico e scarico degli animali allevati (art.18 - bis del DPR 29.09.73 nr.600)" />
|
||
|
<field x="160" type="Stringa" width="10" pattern="1" text="Pagina">
|
||
|
<source>#REPORT.PAGE</source>
|
||
|
</field>
|
||
|
<field x="1" y="2" type="Testo" width="3" pattern="1" text="Nr." />
|
||
|
<field x="5" y="2" type="Testo" width="20" pattern="1" text="Anno d'imposta" />
|
||
|
<field x="20" y="2" type="Testo" align="center" width="52" pattern="1" text="Specie allevata" />
|
||
|
<field x="73" y="2" type="Testo" align="center" width="25" pattern="1" text="Ciclo" />
|
||
|
<field x="100" y="2" type="Testo" align="center" width="25" pattern="1" text="Ciclo" />
|
||
|
<field x="127" y="2" type="Testo" align="center" width="15" height="2" pattern="1" text="Cessioni imponibili">
|
||
|
<font face="Courier New" bold="1" size="7" />
|
||
|
</field>
|
||
|
<field x="142" y="2" type="Testo" align="center" width="28" pattern="1" text="Uso interno amministrativo" />
|
||
|
<field x="5" y="3" type="Numero" valign="center" align="right" width="13" pattern="1">
|
||
|
<source>#ANNO</source>
|
||
|
</field>
|
||
|
<field x="20" y="3" type="Testo" align="center" width="52" height="1.5" pattern="1" text="Molluschi">
|
||
|
<font face="Courier New" bold="1" size="7" />
|
||
|
</field>
|
||
|
<field x="73" y="3" type="Testo" align="center" width="25" pattern="1" text="Mitilicoltura">
|
||
|
<font face="Courier New" bold="1" size="7" />
|
||
|
</field>
|
||
|
<field x="100" y="3" type="Testo" align="center" width="25" pattern="1" text="Venericoltura">
|
||
|
<font face="Courier New" bold="1" size="7" />
|
||
|
</field>
|
||
|
<field x="142" y="3" type="Testo" align="center" width="25" height="2" pattern="1" text="MOLLUSCHI RACCOLTI IN ACQUE INDISPONIBILI">
|
||
|
<font face="Courier New" bold="1" size="7" />
|
||
|
</field>
|
||
|
<field x="73" y="4" type="Testo" align="center" width="25" pattern="1" text="(cozze...)" />
|
||
|
<field x="100" y="4" type="Testo" align="center" width="24" pattern="1" text="(vongole veraci...)" />
|
||
|
<field x="5" y="5" type="Testo" align="center" width="13" pattern="1" text="Data" />
|
||
|
<field x="20" y="5" type="Testo" width="40" pattern="1" text="Descrizione operazione">
|
||
|
<font face="Courier New" bold="1" size="7" />
|
||
|
</field>
|
||
|
<field x="61" y="5" type="Testo" width="11" height="2" pattern="1" text="Nr.doc. (DDT o Fatt.)">
|
||
|
<font face="Courier New" bold="1" size="7" />
|
||
|
</field>
|
||
|
<field x="73" y="5" type="Testo" align="center" width="12" height="2" pattern="1" text="Incrementi (KG)" />
|
||
|
<field x="86" y="5" type="Testo" align="center" width="12" height="2" pattern="1" text="Decrementi (KG)" />
|
||
|
<field x="100" y="5" type="Testo" align="center" width="12" height="2" pattern="1" text="Incrementi (KG)" />
|
||
|
<field x="113" y="5" type="Testo" align="center" width="12" height="2" pattern="1" text="Decrementi (KG)" />
|
||
|
<field x="130" y="5" type="Testo" align="center" width="10" height="2" pattern="1" text="Importo (P)" />
|
||
|
<field x="142" y="5" type="Testo" align="center" width="17" height="2" pattern="1" text="Quantit&#E0; cedute (KG)" />
|
||
|
<field x="158" y="5" type="Testo" align="center" width="15" height="2" pattern="1" text="Importo cessioni (P)" />
|
||
|
</section>
|
||
|
<section type="Head" level="1" height="2">
|
||
|
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1
|
||
|
MESSAGE RESET,B1</prescript>
|
||
|
<field type="Stringa" width="90" pattern="1" text="Soggetto allevatore: ">
|
||
|
<font face="Courier New" bold="1" size="9" />
|
||
|
<source>CLIFO.RAGSOC[1,30]+' '+TRIM(CLIFO.RAGSOC[31,50])</source>
|
||
|
<postscript description="H1.0 POSTSCRIPT">"101@.CODCF" @
|
||
|
#EC_SOCIO !
|
||
|
|
||
|
</postscript>
|
||
|
</field>
|
||
|
<field x="89" type="Stringa" width="40" pattern="1" text="Codice fiscale: ">
|
||
|
<font face="Courier New" bold="1" size="9" />
|
||
|
<source>CLIFO.COFI</source>
|
||
|
<postscript description="H1.0 POSTSCRIPT">"101@.CODCF" @
|
||
|
#EC_SOCIO !
|
||
|
|
||
|
</postscript>
|
||
|
</field>
|
||
|
<field x="130" type="Stringa" width="40" pattern="1" text="Partita IVA:">
|
||
|
<font face="Courier New" bold="1" size="9" />
|
||
|
<source>CLIFO.PAIV</source>
|
||
|
<postscript description="H1.0 POSTSCRIPT">"101@.CODCF" @
|
||
|
#EC_SOCIO !
|
||
|
|
||
|
</postscript>
|
||
|
</field>
|
||
|
</section>
|
||
|
<section type="Body" />
|
||
|
<section type="Body" level="1">
|
||
|
<prescript description="B1 PRESCRIPT">99 @
|
||
|
1 +
|
||
|
99 !</prescript>
|
||
|
<field x="5" type="Data" width="13" pattern="1">
|
||
|
<source>DOC.DATADOC</source>
|
||
|
</field>
|
||
|
<field x="61" type="Numero" align="right" width="6" pattern="1">
|
||
|
<source>DOC.NDOC</source>
|
||
|
</field>
|
||
|
<field x="67" type="Testo" width="3" pattern="1" text="F;C" />
|
||
|
<field x="73" type="Testo" hidden="1" width="12" pattern="1" text="INCREMENTI" />
|
||
|
<field x="100" type="Testo" hidden="1" width="12" pattern="1" text="INCREMENTI" />
|
||
|
<field x="1" type="Numero" align="right" width="3" id="99" pattern="1" />
|
||
|
<field x="20" type="Array" width="40" id="199" pattern="1">
|
||
|
<source>ANAMAG.USER5</source>
|
||
|
<list>
|
||
|
<li Value="Conferimento mitili in cooperativa" Code="M">MESSAGE RESET,202</li>
|
||
|
<li Value="Conferimento vongole in cooperativa" Code="V">MESSAGE RESET,201</li>
|
||
|
</list>
|
||
|
</field>
|
||
|
<field x="86" type="Numero" align="right" width="12" id="201" pattern="1" text="#.###.###,@@">
|
||
|
<source>RDOC.QTA</source>
|
||
|
<postscript description="B1.201 POSTSCRIPT">MESSAGE ADD,F1.201</postscript>
|
||
|
</field>
|
||
|
<field x="113" type="Numero" align="right" width="12" id="202" pattern="1" text="#.###.###,@@">
|
||
|
<source>RDOC.QTA</source>
|
||
|
<postscript description="B1.202 POSTSCRIPT">MESSAGE ADD,F1.202</postscript>
|
||
|
</field>
|
||
|
<field x="127" type="Valuta" align="right" width="13" id="203" pattern="1" text="###.###.###,@@">
|
||
|
<source>33.TOTMER</source>
|
||
|
<postscript description="B1.203 POSTSCRIPT">MESSAGE ADD,F1.203</postscript>
|
||
|
</field>
|
||
|
<field x="142" type="Numero" align="right" width="12" id="204" pattern="1" hide_zero="1" text="#.###.###,@@">
|
||
|
<prescript description="B1.204 PRESCRIPT">202 @
|
||
|
"#PERC" @
|
||
|
*
|
||
|
100 F;
|
||
|
#THIS !
|
||
|
</prescript>
|
||
|
<postscript description="B1.204 POSTSCRIPT">MESSAGE ADD,F1.204</postscript>
|
||
|
</field>
|
||
|
<field x="156" type="Valuta" align="right" width="15" id="205" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||
|
<prescript description="B1.205 PRESCRIPT">199 @
|
||
|
"V" = IF
|
||
|
203 @
|
||
|
"#PERC" @
|
||
|
*
|
||
|
100 F;
|
||
|
ELSE
|
||
|
0
|
||
|
THEN
|
||
|
#THIS !
|
||
|
</prescript>
|
||
|
<postscript description="B1.205 POSTSCRIPT">MESSAGE ADD,F1.205</postscript>
|
||
|
</field>
|
||
|
</section>
|
||
|
<section type="Foot" />
|
||
|
<section type="Foot" level="1">
|
||
|
<field x="54" y="1" type="Testo" align="right" width="10" pattern="1" text="TOTALI">
|
||
|
<font face="Courier New" bold="1" size="9" />
|
||
|
</field>
|
||
|
<field x="50" y="2" type="Testo" width="35" pattern="1" text="TOTALI CESSIONI PER QUANTITA'">
|
||
|
<font face="Courier New" bold="1" size="9" />
|
||
|
</field>
|
||
|
<field x="100" y="2" type="Testo" align="center" width="10" pattern="1" text="+">
|
||
|
<font face="Courier New" bold="1" size="12" />
|
||
|
</field>
|
||
|
<field x="129" y="2" type="Testo" align="center" width="10" pattern="1" text="=">
|
||
|
<font face="Courier New" bold="1" size="12" />
|
||
|
</field>
|
||
|
<field x="155" y="2" type="Testo" width="13" pattern="1" text="Quintali">
|
||
|
<font face="Courier New" bold="1" size="9" />
|
||
|
</field>
|
||
|
<field x="3" y="3" type="Testo" width="5" pattern="1" text="NOTE:" />
|
||
|
<field x="3" y="4" type="Testo" width="168" pattern="1" text="- I soggetti i quali ...svolgono attivit&#E0; di allevamento devono tenere un registro cronologico di carico e scarico degli animali alllevati, distintamente per specie e ciclo di allevamento, con l'indicazione degli incrementi e decrementi verificatisi per qualsiasi." />
|
||
|
<field x="3" y="5.25" type="Testo" width="75" pattern="1" text="- Le registrazioni devono essere effettuate cronologicamente entro 60 gg. dalla data delle operazioni." />
|
||
|
<field x="2.65" y="6.25" type="Testo" width="106" pattern="1" text="- Non &#E8; obbligatoria la bollatura iniziale n&#E8; la vidimazione annuale del registro. Le pagine devono essere numerate progressivamente per anno solare" />
|
||
|
<field x="86" y="1" type="Numero" align="right" width="12" id="201" pattern="1" text="#.###.###,@@" />
|
||
|
<field x="113" y="1" type="Numero" align="right" width="12" id="202" pattern="1" text="#.###.###,@@" />
|
||
|
<field x="127" y="1" type="Valuta" align="right" width="13" id="203" pattern="1" text="###.###.###,@@" />
|
||
|
<field x="142" y="1" type="Numero" align="right" width="12" id="204" pattern="1" text="#.###.###,@@" />
|
||
|
<field x="156" y="1" type="Valuta" align="right" width="15" id="205" pattern="1" text="###.###.###,@@" />
|
||
|
<field x="86" y="2" type="Numero" align="right" width="12" id="301" pattern="1" text="#.###.###,@@">
|
||
|
<font face="Courier New" bold="1" size="9" />
|
||
|
<source>#201</source>
|
||
|
</field>
|
||
|
<field x="113" y="2" type="Numero" align="right" width="12" id="302" pattern="1" text="#.###.###,@@">
|
||
|
<font face="Courier New" bold="1" size="9" />
|
||
|
<source>#202</source>
|
||
|
</field>
|
||
|
<field x="142" y="2" type="Numero" align="right" width="12" id="305" pattern="1" text="#.###.###,@@">
|
||
|
<font face="Courier New" bold="1" size="9" />
|
||
|
<source>(#301+#302)F;100</source>
|
||
|
</field>
|
||
|
</section>
|
||
|
<sql>USE DOC
|
||
|
KEY 2
|
||
|
SELECT (CODNUM=#CODNUM)(TIPODOC=#TIPODOC)(ANAMAG.USER5!="")
|
||
|
JOIN CLIFO ALIAS 101 INTO TIPOCF==TIPOCF CODCF==CODCF
|
||
|
JOIN RDOC INTO CODNUM==CODNUM ANNO==ANNO PROVV==PROVV NDOC==NDOC NRIGA==1
|
||
|
JOIN ANAMAG TO RDOC INTO CODART==CODART
|
||
|
FROM TIPOCF='F' CODCF=#SOCIO PROVV='D' ANNO=#ANNO
|
||
|
TO TIPOCF='F' CODCF=#SOCIO PROVV='D' ANNO=#ANNO
|
||
|
</sql>
|
||
|
</report>
|