campo-sirio/ps/ps1001_prev_datacomp.rep
luca a72778a6ce Patch level :10.0
Files correlati     :
Ricompilazione Demo : [ ]
Commento            :
stampa personalizzazione dinamica


git-svn-id: svn://10.65.10.50/branches/R_10_00@21311 c028cbd2-c16b-5b4b-a496-9718f37d4682
2010-12-15 13:48:51 +00:00

96 lines
4.5 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8" ?>
<report name="ps1001_prev_datacomp" lpi="6">
<description>Movana P commessa prevalente</description>
<font face="Arial" size="8" />
<section type="Head" pattern="1">
<font italic="1" face="Arial" bold="1" size="8" />
<field x="1" y="0.5" type="Testo" align="right" width="7" pattern="1" text="Numreg" />
<field x="9" y="0.5" type="Testo" align="center" width="10" pattern="1" text="Datareg" />
<field x="20" y="0.5" type="Testo" align="center" width="10" pattern="1" text="Datacomp" />
<field x="31" y="0.5" type="Testo" align="center" width="10" pattern="1" text="Datafcomp" />
<field x="42" y="0.5" type="Testo" width="15" pattern="1" text="Commessa" />
<field x="62" y="0.5" type="Testo" width="3" pattern="1" text="Sez" />
<field x="68" y="0.5" type="Testo" align="right" width="10" pattern="1" text="Importo" />
<field border="1" x="1" y="1.5" type="Linea" width="100" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<field border="1" radius="50" x="10" y="0.5" type="Testo" valign="center" align="center" shade_offset="50" width="80" height="2" pattern="2" text="MOVIMENTI DI BUDGET PER DATA COMPETENZA">
<font face="Arial" bold="1" size="14" />
</field>
<field x="2" y="3.5" type="Testo" width="10" pattern="1" text="Dalla data:" />
<field x="12" y="3.5" type="Data" width="10" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#DADATA</source>
</field>
<field x="34" y="3.5" type="Testo" width="10" pattern="1" text="Alla data:" />
<field x="44" y="3.5" type="Data" width="10" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#ADATA</source>
</field>
<field x="60" y="3.5" type="Testo" width="6" pattern="1" text="Sede:" />
<field x="66" y="3.5" type="Stringa" width="10" pattern="1">
<font face="Arial" bold="1" size="8" />
<source>#CDC</source>
</field>
</section>
<section type="Head" level="2" hidden="1" pattern="1">
<groupby>NUMREG</groupby>
<field x="1" type="Numero" align="right" width="10" id="101" pattern="1">
<source>MOVANA.NUMREG</source>
<prescript description="H2.101 PRESCRIPT">MESSAGE COPY,F2.101</prescript>
</field>
<field x="12" type="Data" width="10" id="102" pattern="1">
<source>MOVANA.DATAREG</source>
<prescript description="H2.102 PRESCRIPT">MESSAGE COPY,F2.102</prescript>
</field>
<field x="23" type="Data" width="10" id="103" pattern="1">
<source>MOVANA.DATACOMP</source>
<prescript description="H2.103 PRESCRIPT">MESSAGE COPY,F2.103</prescript>
</field>
<field x="34" type="Data" width="10" id="104" pattern="1">
<source>MOVANA.DATAFCOMP</source>
<prescript description="H2.104 PRESCRIPT">MESSAGE COPY,F2.104</prescript>
</field>
<field x="45" type="Stringa" width="2" id="107" pattern="1">
<source>MOVANA.SEZIONE</source>
<prescript description="H2.107 PRESCRIPT">MESSAGE COPY,F2.107</prescript>
</field>
<field x="48" type="Valuta" align="right" width="12" id="108" pattern="1" text="#########,@@">
<source>MOVANA.TOTDOC</source>
<prescript description="H2.108 PRESCRIPT">MESSAGE COPY,F2.108</prescript>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" hidden="1" pattern="1">
<field x="1" type="Numero" align="right" width="7" pattern="1">
<source>NUMREG</source>
</field>
<field x="9" type="Numero" align="right" width="3" pattern="1">
<source>NUMRIG</source>
</field>
<field x="13" type="Stringa" width="4" pattern="1">
<source>CODCCOSTO</source>
</field>
<field x="18" type="Stringa" width="20" pattern="1">
<source>CODCMS</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE COPY,F2.106</prescript>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1" />
<section type="Foot" level="2" pattern="1">
<field x="1" type="Numero" align="right" width="7" id="101" pattern="1" />
<field x="9" type="Data" width="10" id="102" pattern="1" />
<field x="20" type="Data" width="10" id="103" pattern="1" />
<field x="31" type="Data" width="10" id="104" pattern="1" />
<field x="42" type="Stringa" width="20" id="106" pattern="1" />
<field x="63" type="Stringa" width="2" id="107" pattern="1" />
<field x="66" type="Valuta" align="right" width="12" id="108" pattern="1" text="#########,@@" />
</section>
<sql>USE RMOVANA KEY 3
SELECT (BETWEEN(CODCCOSTO,#CDC,#CDC))&#26;&#26;(MOVANA.TIPOMOV="P")&#26;&#26;(COMMESSE.APPOGGIO!="X")
JOIN MOVANA INTO NUMREG==NUMREG
JOIN COMMESSE INTO CODCMS==CODCMS
FROM DATACOMP=#DADATA
TO DATACOMP=#ADATA</sql>
</report>