campo-sirio/tp/tp0900pr.rep
guy 9c310bdd9e Lista produttori CONAI
git-svn-id: svn://10.65.10.50/branches/R_10_00@23063 c028cbd2-c16b-5b4b-a496-9718f37d4682
2015-03-31 06:43:57 +00:00

137 lines
5.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<report name="tp0900pr" lpi="6">
<description>Scheda Cessione fra produttori</description>
<font face="Courier New" size="10" />
<section type="Head" pattern="1">
<field x="2" type="Stringa" width="50" pattern="1">
<font face="Arial Narrow" bold="1" size="10" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="79" type="Stringa" align="right" width="15" pattern="1">
<font face="Arial" size="10" />
<source>"Pagina:" +#PAGE</source>
</field>
<field x="2" y="1.75" type="Testo" align="center" width="92" pattern="1" text="DICHIARAZIONE ELENCO PRODUTTORI CONAI">
<font face="Arial" bold="1" size="10" />
</field>
<field x="2" y="5.75" type="Testo" width="10" pattern="1" text="P.IVA">
<font italic="1" face="Arial Narrow" size="8" />
</field>
<field x="15" y="5.75" type="Testo" align="right" width="6" pattern="1" text="CODICE">
<font italic="1" face="Arial Narrow" size="8" />
</field>
<field x="22" y="5.75" type="Testo" width="24" pattern="1" text="RAGIONE SOCIALE">
<font italic="1" face="Arial Narrow" size="8" />
</field>
<field border="2" x="2" y="6.75" type="Linea" width="92" height="0" pattern="1" />
<field x="39" y="4" type="Array" align="center" bg_color="#DFDFDF" width="18" id="50" pattern="2">
<font face="Arial" bold="1" size="10" />
<source>#CONAI</source>
<list>
<li Value="ACCIAIO" Code="X*" />
<li Value="ALLUMINIO" Code="?X*" />
<li Value="CARTA" Code="??X*" />
<li Value="PLASTICA" Code="???X*" />
<li Value="LEGNO" Code="????X*" />
<li Value="VETRO" Code="?????X" />
</list>
</field>
<field x="2" y="2.75" type="Stringa" align="center" width="92" id="100" pattern="1">
<font face="Arial" bold="1" size="10" />
<source>"ANNO: " +#ANNOSEL</source>
</field>
</section>
<section type="Head" level="1" pattern="1" />
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>CODCF</groupby>
<field type="Stringa" width="1" id="5" pattern="1">
<source>DOC.TIPOCF</source>
</field>
<field x="2" type="Stringa" width="10" id="6" pattern="1">
<source>20.PAIV</source>
</field>
<field x="13" type="Numero" align="right" width="6" id="10" pattern="1">
<source>DOC.CODCF</source>
</field>
<field x="21" type="Stringa" width="50" id="20" pattern="1">
<source>20.RAGSOC</source>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" pattern="1">
<field type="Stringa" width="12" pattern="1">
<source>CLIFO.PAIV</source>
</field>
<field x="12" type="Stringa" hidden="1" link="20.TIPOCF" width="1" pattern="1">
<source>CLIFO.TIPOCF</source>
</field>
<field x="13" type="Numero" align="right" link="20.CODCF" width="6" pattern="1">
<source>CLIFO.CODCF</source>
</field>
<field x="20" type="Stringa" width="50" pattern="1">
<source>CLIFO.RAGSOC</source>
</field>
<field x="71" type="Stringa" width="6" pattern="1">
<source>CFVEN.PRODCONAI</source>
</field>
<field x="80" type="Stringa" width="4" pattern="1">
<source>DOC.CODNUM</source>
</field>
<field x="84" type="Numero" width="4" pattern="1">
<source>DOC.ANNO</source>
</field>
<field x="89" type="Numero" width="7" pattern="1">
<source>DOC.NDOC</source>
</field>
</section>
<section type="Foot" height="6" pattern="1">
<field border="2" x="2" y="0.25" type="Linea" width="90" height="0" pattern="1" />
<field x="2" y="0.5" type="Stringa" width="45" pattern="1">
<font face="Arial Narrow" bold="1" size="8" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="2" y="1.5" type="Stringa" width="45" pattern="1">
<font face="Arial Narrow" bold="1" size="8" />
<prescript description="F0.0 PRESCRIPT">MESSAGE _DITTA,!IND</prescript>
</field>
<field x="2" y="2.5" type="Stringa" width="5" pattern="1">
<font face="Arial Narrow" bold="1" size="8" />
<prescript description="F0.0 PRESCRIPT">MESSAGE _DITTA,!CAP</prescript>
</field>
<field x="7" y="2.5" type="Stringa" width="40" pattern="1">
<font face="Arial Narrow" bold="1" size="8" />
<prescript description="F0.0 PRESCRIPT">MESSAGE _DITTA,!COM</prescript>
</field>
<field x="2" y="3.5" type="Testo" width="5" pattern="1" text="P.IVA:">
<font face="Arial Narrow" bold="1" size="8" />
<prescript description="F0.0 PRESCRIPT">MESSAGE _DITTA,!CAP</prescript>
</field>
<field x="7" y="3.5" type="Stringa" width="40" pattern="1">
<font face="Arial Narrow" bold="1" size="8" />
<prescript description="F0.0 PRESCRIPT">MESSAGE _DITTA,!IVA</prescript>
</field>
</section>
<section type="Foot" level="1" pattern="1" />
<section type="Foot" level="2" pattern="1">
<font face="Arial" size="10" />
<field x="14" type="Stringa" hidden="1" link="20.TIPOCF" width="1" id="5" pattern="1">
<source>#H2.5</source>
</field>
<field x="2" type="Stringa" width="12" id="6" pattern="1">
<source>#H2.6</source>
</field>
<field x="15" type="Stringa" align="right" link="20.CODCF" width="6" id="10" pattern="1">
<source>#H2.10</source>
</field>
<field x="22" type="Stringa" width="50" id="20" pattern="1">
<source>#H2.20</source>
</field>
</section>
<sql>USE DOC SELECT (17.PRODCONAI?=#CONAI)&#26;&#26;(4.I1="2")
BY CODCF
JOIN CFVEN INTO TIPOCF==TIPOCF CODCF==CODCF
JOIN CLIFO INTO TIPOCF==TIPOCF CODCF==CODCF
JOIN %NUM INTO CODTAB==CODNUM
FROM PROVV=D ANNO=#ANNOSEL
TO PROVV=D ANNO=#ANNOSEL</sql>
</report>