campo-sirio/ct/ct0100E1.rep
luca d7db3f30c2 Patch level :10.0
Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
prima implementazione stampe cup-cig sugli effetti


git-svn-id: svn://10.65.10.50/branches/R_10_00@21440 c028cbd2-c16b-5b4b-a496-9718f37d4682
2011-01-17 13:49:39 +00:00

176 lines
8.7 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8" ?>
<report name="ct0100e1" lpi="6">
<description>Effetti per CUP - CIG</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<font italic="1" face="Arial" size="8" />
<field border="1" x="1" y="0.25" type="Linea" width="100" height="0" pattern="1" />
<field x="2" y="0.5" type="Testo" bg_color="#C0C0C0" width="10" pattern="2" text="CUP - CIG">
<font face="Arial" bold="1" size="8" />
</field>
<field border="1" x="29" y="1.5" type="Linea" height="2" pattern="1" text="|" />
<field x="33.5" y="1.5" type="Testo" align="center" width="10" pattern="1" text="Emissione" />
<field border="1" x="48" y="1.5" type="Linea" height="2" pattern="1" text="|" />
<field x="55.5" y="1.5" type="Testo" align="center" width="10" pattern="1" text="Distinta" />
<field border="1" x="71" y="1.5" type="Linea" height="2" pattern="1" text="|" />
<field x="24.5" y="1.75" type="Testo" align="center" width="4" height="2" pattern="1" text="Tipo pag." />
<field x="6" y="2.5" type="Testo" align="right" width="7" pattern="1" text="Progr." />
<field x="14" y="2.5" type="Testo" align="center" width="10" pattern="1" text="Scadenza" />
<field x="30" y="2.5" type="Testo" align="right" width="6" pattern="1" text="Numero" />
<field x="38" y="2.5" type="Testo" align="center" width="10" pattern="1" text="Data" />
<field x="49" y="2.5" type="Testo" align="right" width="6" pattern="1" text="Numero" />
<field x="55.5" y="2.5" type="Testo" align="center" width="10" pattern="1" text="Data" />
<field x="67" y="2.5" type="Testo" align="right" width="4" pattern="1" text="Riga
" />
<field x="74" y="2.5" type="Testo" align="right" width="10" pattern="1" text="Importo" />
<field border="1" x="1" y="3.5" type="Linea" width="100" height="0" pattern="1" />
<field x="3" y="1.5" type="Array" bg_color="#C0C0C0" width="10" id="101" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>TIPOC</source>
<list>
<li Value="Cliente" Code="C" />
<li Value="Fornitore" Code="F" />
</list>
</field>
</section>
<section type="Head" level="1" height="6" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field border="1" radius="50" x="15" y="0.5" type="Testo" valign="center" align="center" shade_offset="50" width="70" height="3" pattern="2" text="Effetti per CUP - CIG">
<font face="Arial" bold="1" size="16" />
</field>
<field x="1" y="4.5" type="Testo" bg_color="#000000" txt_color="#FFFFFF" width="9" pattern="2" text="Stampa">
<font face="Arial" bold="1" size="10" />
</field>
<field x="10" y="4.5" type="Array" bg_color="#000000" txt_color="#FFFFFF" width="11" id="101" pattern="2">
<font face="Arial" bold="1" size="10" />
<source>TIPOCF</source>
<postscript description="H1.101 POSTSCRIPT">MESSAGE COPY,F1.101</postscript>
<list>
<li Value="Clienti" Code="C" />
<li Value="Fornitori" Code="F" />
</list>
</field>
</section>
<section type="Head" level="2" height="1.5" page_break="1" pattern="1">
<groupby>CUP+CIG</groupby>
<font italic="1" face="Arial" bold="1" size="8" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field x="2" type="Testo" bg_color="#C0C0C0" width="5" pattern="2" text="CUP:">
<font face="Arial" bold="1" size="8" />
</field>
<field x="25" type="Testo" bg_color="#C0C0C0" width="5" pattern="2" />
<field x="30" type="Testo" bg_color="#C0C0C0" width="5" pattern="2" text="CIG:">
<font face="Arial" bold="1" size="8" />
</field>
<field x="7" type="Stringa" bg_color="#C0C0C0" width="18" id="103" pattern="2">
<font face="Arial" bold="1" size="8" />
<source>CUP</source>
<postscript description="H2.103 POSTSCRIPT">MESSAGE COPY,F2.103</postscript>
</field>
<field x="35" type="Stringa" bg_color="#C0C0C0" width="12" id="104" pattern="2">
<font face="Arial" bold="1" size="8" />
<source>CIG</source>
<postscript description="H2.104 POSTSCRIPT">MESSAGE COPY,F2.104</postscript>
</field>
</section>
<section type="Head" level="3" pattern="1">
<groupby>TIPOCF+CODCF</groupby>
<font face="Arial" bold="1" size="8" />
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3 </prescript>
<field x="4" type="Numero" align="right" bg_color="#C0C0C0" width="6" id="102" pattern="1">
<source>CODCF</source>
</field>
<field x="12" type="Stringa" bg_color="#C0C0C0" width="50" id="103" pattern="1">
<prescript description="H3.103 PRESCRIPT">MESSAGE ISAMREAD,20,TIPOCF=#H1.101!CODCF=#102,RAGSOC</prescript>
<postscript description="H3.103 POSTSCRIPT">MESSAGE COPY,F3.103</postscript>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" pattern="1">
<field x="6" type="Numero" align="right" width="7" pattern="1">
<source>NPROGTR</source>
</field>
<field x="14" type="Data" width="10" pattern="1">
<source>DATASCAD</source>
</field>
<field x="26" type="Numero" align="right" width="1" pattern="1">
<source>TIPOPAG</source>
</field>
<field x="28.5" type="Numero" align="right" width="8" pattern="1">
<source>NUMEMISS</source>
</field>
<field x="37.5" type="Data" width="10" pattern="1">
<source>DATAEMISS</source>
</field>
<field x="49.5" type="Numero" align="right" width="5" pattern="1">
<source>NDIST</source>
</field>
<field x="55.5" type="Data" width="10" pattern="1">
<source>DATADIST</source>
</field>
<field x="66" type="Numero" align="right" width="4" pattern="1">
<source>NRIGADIST</source>
</field>
<field x="71" type="Valuta" align="right" width="13" id="106" pattern="1" text="###.###.###,@@">
<source>IMPORTO</source>
<postscript description="B1.106 POSTSCRIPT">MESSAGE ADD,F3.106</postscript>
</field>
</section>
<section type="Foot" pattern="1">
<field border="1" x="0.5" y="0.25" type="Linea" width="100" height="0" pattern="1" />
<field x="92" y="0.75" type="Testo" width="4" pattern="1" text="Pag." />
<field x="96" y="0.75" type="Numero" align="right" width="3" pattern="1">
<source>#REPORT.PAGE</source>
</field>
</section>
<section type="Foot" level="1" pattern="1">
<font face="Arial" bold="1" size="10" />
<field border="2" x="1" y="0.25" type="Linea" width="100" height="0" pattern="1" />
<field x="1" y="0.75" type="Testo" bg_color="#000000" txt_color="#FFFFFF" width="10" pattern="2" text="Totale" />
<field x="30" y="0.75" type="Testo" bg_color="#000000" txt_color="#FFFFFF" width="36" pattern="2" />
<field x="11" y="0.75" type="Array" bg_color="#000000" txt_color="#FFFFFF" width="19" id="101" pattern="2">
<list>
<li Value="Clienti" Code="C" />
<li Value="Fornitori" Code="F" />
</list>
</field>
<field x="66" y="0.75" type="Valuta" align="right" bg_color="#000000" txt_color="#FFFFFF" width="18" id="106" pattern="2" hide_zero="1" text="###.###.###,@@">
<postscript description="F1.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
</field>
</section>
<section type="Foot" level="2" pattern="1">
<font italic="1" face="Arial" bold="1" size="8" />
<field border="2" x="1" y="0.25" type="Linea" width="100" height="0" pattern="1" />
<field x="2" y="0.5" type="Testo" bg_color="#C0C0C0" width="7" pattern="2" text="Totale">
<font face="Arial" bold="1" size="8" />
</field>
<field x="30" y="0.5" type="Testo" bg_color="#C0C0C0" width="36" pattern="2" />
<field x="9" y="0.5" type="Stringa" bg_color="#C0C0C0" width="12" id="103" pattern="2">
<font face="Arial Narrow" bold="1" size="7" />
</field>
<field x="21" y="0.5" type="Stringa" bg_color="#C0C0C0" width="9" id="104" pattern="2">
<font face="Arial Narrow" bold="1" size="7" />
</field>
<field x="66" y="0.5" type="Valuta" align="right" bg_color="#C0C0C0" width="18" id="106" pattern="2" hide_zero="1" text="###.###.###,@@">
<font face="Arial" bold="1" size="8" />
<postscript description="F2.106 POSTSCRIPT">MESSAGE ADD,F1.106</postscript>
</field>
</section>
<section type="Foot" level="3" pattern="1">
<font face="Arial" bold="1" size="8" />
<field border="1" x="1" y="0.25" type="Linea" width="100" height="0" pattern="1" />
<field x="4" y="0.5" type="Testo" width="6" pattern="1" text="Totale" />
<field x="10" y="0.5" type="Stringa" bg_color="#C0C0C0" width="28" id="103" pattern="1">
<font face="Arial Narrow" bold="1" size="7" />
</field>
<field x="70" y="0.5" type="Valuta" align="right" width="14" id="106" pattern="1" hide_zero="1" text="###.###.###,@@">
<postscript description="F3.106 POSTSCRIPT">MESSAGE ADD,F2.106</postscript>
</field>
</section>
<sql>USE EFFETTI KEY 3
SELECT ((CUP!="")&#26;&#26;(BETWEEN(CUP,#CUP,#CUP)))&#26;&#26;((CIG!="")&#26;&#26;(BETWEEN(CIG,#CIG,#CIG)))&#26;&#26;(TIPOCF=#TIPOCF)&#26;&#26;(BETWEEN(CODCF,#CODCF,#CODCF))
BY CUP CIG CODCF DATASCAD
FROM DATASCAD=#DADATA
TO DATASCAD=#ADATA
</sql>
</report>