Patch level : 2.2 126

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :

Prima versione installabile dei report


git-svn-id: svn://10.65.10.50/trunk@13180 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2005-06-07 19:20:19 +00:00
parent 7ba3f85254
commit fbf827607e
7 changed files with 159 additions and 649 deletions

View File

@ -1,5 +1,5 @@
<report libraries="ci1200" name="ci1200a" lpi="6">
<report libraries="ci1200" name="ci1200a" orientation="2" lpi="6">
<description>Stampa Analitica Risorse</description>
<font face="Courier New" size="10" />
<section type="Head">
@ -17,17 +17,13 @@
<source>#BOOKPAGES</source>
</field>
<field x="1" y="1" type="Testo" hidden="1" width="10" height="0" pattern="1" text="Cantiere" />
<field y="2" type="Testo" width="10" pattern="1" text="Cantiere:" />
<field x="16" y="2" type="Stringa" width="50" pattern="1">
<prescript description="H0.0 PRESCRIPT">MESSAGE _ISAMREAD,147,CODCMS=#10,DESCRIZ</prescript>
</field>
<field y="3" type="Stringa" width="30" pattern="1" text="Da Data: ">
<source>#S_DATEFROM</source>
</field>
<field x="31" y="3" type="Stringa" width="30" pattern="1" text="a Data: ">
<source>#S_DATETO</source>
</field>
<field border="1" y="5" type="Linea" width="90" height="0" pattern="1" />
<field border="1" y="5" type="Linea" width="130" height="0" pattern="1" />
<field border="1" x="10.8" y="5" type="Linea" pattern="1" />
<field x="11.5" y="5" type="Testo" width="6.5" pattern="1" text="Data">
<font face="Courier New" size="8" />
@ -56,35 +52,42 @@
<field x="80" y="5" type="Testo" width="10" pattern="1" text="Totale">
<font face="Courier New" size="8" />
</field>
<field border="1" y="6" type="Linea" width="90" height="0" pattern="1" />
<field x="9.5" y="2" type="Stringa" width="6" id="10" pattern="1">
<source>#S_CMS</source>
<field border="1" x="90" y="5" type="Linea" pattern="1" />
<field x="90.5" y="5" type="Testo" width="10" pattern="1" text="Cantiere">
<font face="Courier New" size="8" />
</field>
<field border="1" x="100.12" y="5" type="Linea" pattern="1" />
<field x="100.5" y="5" type="Testo" width="10" pattern="1" text="Descrizione">
<font face="Courier New" size="8" />
</field>
<field border="1" x="130.12" y="5" type="Linea" pattern="1" />
<field border="1" y="6" type="Linea" width="130" height="0" pattern="1" />
</section>
<section type="Head" level="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.330</prescript>
</section>
<section type="Head" level="2">
<groupby>.</groupby>
</section>
<section type="Head" level="3">
<groupby>DOC.TIPODOC</groupby>
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.110|RESET,F3.130</prescript>
<field type="Stringa" hidden="1" width="20" pattern="1" text="Cliente: ">
<font face="Courier New" size="8" />
<source>DOC.TIPODOC</source>
<prescript description="H3.0 PRESCRIPT">MESSAGE COPY,F3.511</prescript>
<section type="Head" level="2" hidden="1">
<groupby>CODART</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.230</prescript>
<field type="Stringa" hidden="1" width="20" pattern="1">
<source>RDOC.CODART</source>
<prescript description="H2.0 PRESCRIPT">MESSAGE COPY,F2.521</prescript>
</field>
</section>
<section type="Body" />
<section type="Body" level="1">
<condition>RDOC.CODART!='' &#26;&#26; RDOC.CODART!=' '</condition>
<font face="Courier New" size="9" />
<field x="0.5" type="Stringa" align="right" width="4" pattern="1">
<font face="Courier New" size="7" />
<source>DOC.TIPODOC</source>
</field>
<field x="4.5" type="Numero" align="right" width="6" pattern="1">
<font face="Courier New" size="7" />
<source>NDOC</source>
</field>
<field border="1" x="10.8" type="Linea" pattern="1" />
<field x="11.3" type="Stringa" width="7" pattern="1">
<field x="11.2" type="Stringa" width="7" pattern="1">
<font face="Courier New" size="7" />
<source>DOC.DATADOC</source>
</field>
@ -106,6 +109,12 @@
<field border="1" x="65.8" type="Linea" pattern="1" />
<field border="1" x="69.8" type="Linea" pattern="1" />
<field border="1" x="79.8" type="Linea" pattern="1" />
<field border="1" x="90" type="Linea" pattern="1" />
<field border="1" x="100" type="Linea" pattern="1" />
<field x="100.5" type="Stringa" width="30" pattern="1">
<font face="Courier New" size="7" />
<source>COMMESSE.DESCRIZ</source>
</field>
<field x="66" type="Numero" align="right" width="3.6" id="1" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.QTA</source>
@ -114,16 +123,20 @@
<font face="Courier New" size="7" />
<source>RDOC.PREZZO</source>
</field>
<field x="80" type="Valuta" align="right" width="9.6" id="3" pattern="1" text="#########,@@">
<field x="80" type="Valuta" align="right" width="9.8" id="3" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" size="7" />
<source>#1*#2</source>
<source>IMPNS*SEGNO</source>
<prescript description="B1.3 PRESCRIPT">MESSAGE ADD,F3.130|ADD,F2.230|ADD,F1.330</prescript>
</field>
<field x="90.5" type="Stringa" width="9.5" id="10" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.CODCMS</source>
</field>
</section>
<section type="Foot">
<field border="1" y="0.5" type="Linea" width="90" height="0" pattern="1" />
</section>
<section type="Foot" level="1">
<section type="Foot" level="1" hidden="1">
<field y="1" type="Testo" width="18" pattern="1" text="Totale Generale">
<font face="Courier New" bold="1" size="8" />
</field>
@ -131,24 +144,20 @@
<font face="Courier New" bold="1" size="8" />
</field>
</section>
<section type="Foot" level="2" />
<section type="Foot" level="3">
<field border="1" x="10.8" type="Linea" width="79.2" height="0" pattern="1" />
<section type="Foot" level="2">
<field border="1" x="10.8" type="Linea" pattern="1" />
<field x="11" type="Stringa" width="40" pattern="1" text="Totale Tipologia: ">
<font face="Courier New" size="7" />
<prescript description="F3.0 PRESCRIPT">MESSAGE _TABLEREAD,%TIP,#511,S0</prescript>
</field>
<field border="1" x="10.8" y="1" type="Linea" width="79.2" height="0" pattern="1" />
<field x="74" type="Valuta" align="right" width="15.6" id="130" pattern="1" text="###.###.###,@@">
<field border="1" x="11" type="Linea" width="130" height="0" pattern="1" />
<field border="3" x="11" y="1" type="Linea" width="130" height="0" pattern="1" />
<field x="74.2" type="Valuta" align="right" width="15.6" id="230" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" size="7" />
</field>
<field x="1" type="Stringa" width="5" id="511" pattern="1">
<field x="11.2" type="Stringa" width="60" id="521" pattern="1" text="Totale Risorsa">
<font face="Courier New" size="7" />
</field>
</section>
<sql>USE RDOC KEY 2
BY 33.TIPODOC 33.DATADOC
BY CODART 33.DATADOC
JOIN DOC INTO CODNUM=CODNUM ANNO=ANNO PROVV=PROVV NDOC=NDOC
JOIN COMMESSE TO RDOC INTO CODCMS=CODCMS
</sql>
</report>

View File

@ -1,3 +1,4 @@
<report libraries="ci1200" name="ci1200b" lpi="6">
<description>Stampa Analitica Risorse per Cliente</description>
<font face="Courier New" size="10" />
@ -21,10 +22,10 @@
<field x="31" y="3" type="Stringa" width="30" pattern="1" text="a Data: ">
<source>#S_DATETO</source>
</field>
<field border="1" y="5" type="Linea" width="90" height="0" pattern="1" />
<field y="5" type="Testo" width="8" pattern="1" text="Cliente">
<font face="Courier New" size="8" />
</field>
<field border="1" y="5" type="Linea" width="90" height="0" pattern="1" />
<field border="1" x="10.8" y="5" type="Linea" pattern="1" />
<field x="11" y="5" type="Testo" width="10" pattern="1" text="Data">
<font face="Courier New" size="8" />
@ -55,7 +56,7 @@
</field>
<field border="1" y="6" type="Linea" width="90" height="0" pattern="1" />
<field x="9.5" y="2" type="Stringa" width="5.5" id="10" pattern="1">
<source>#S_CMS</source>
<source>CODCMS</source>
</field>
</section>
<section type="Head" level="1">
@ -63,16 +64,26 @@
</section>
<section keep_with_next="1" type="Head" level="2">
<groupby>DOC.CODCF</groupby>
<font face="Courier New" bold="1" size="8" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.230</prescript>
<field type="Stringa" width="80" pattern="1" text="Cliente: ">
<font face="Courier New" bold="1" size="8" />
<source>IF(CLIFO.RAGSOC="","(Cod. "+DOC.CODCF+")",DOC.CODCF+' - '+CLIFO.RAGSOC)</source>
<field type="Array" width="10" pattern="1">
<source>DOC.TIPOCF</source>
<list>
<li Value="Cliente:" Code="C" />
<li Value="Fornitore:" Code="F" />
</list>
</field>
<field x="10" type="Stringa" width="6.5" pattern="1">
<source>DOC.CODCF</source>
</field>
<field x="16.5" type="Stringa" width="80" pattern="1">
<source>CLIFO.RAGSOC</source>
<prescript description="H2.0 PRESCRIPT">MESSAGE COPY,F2.521</prescript>
</field>
<field border="1" x="10.8" y="1" type="Linea" width="79.2" height="0" pattern="1" />
</section>
<section keep_with_next="1" type="Head" level="3">
<groupby>DOC.NDOC</groupby>
<groupby>NDOC</groupby>
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.110|RESET,F3.130</prescript>
<field type="Stringa" hidden="1" width="20" pattern="1" text="Cliente: ">
<font face="Courier New" size="8" />
@ -135,35 +146,49 @@ MESSAGE EMPTY SHOW,20|HIDE,10</prescript>
</field>
<field x="80" type="Valuta" align="right" width="9.6" id="100" pattern="1" hide_zero="1" text="#########,@@">
<font face="Courier New" size="7" />
<source>#50*#80</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F3.130|ADD,F2.230|ADD,F1.330</prescript>
<source>IMPNS*SEGNO</source>
<prescript description="B1.100 PRESCRIPT">MESSAGE ADD,F3.130|ADD,F2.230</prescript>
<postscript description="B1.100 POSTSCRIPT">#THIS @ \ Leggo importo
"DOC.IS_COSTO" @ \ &#E8; un costo
IF \
"F1.330" \ lo sommo al totale dei costi
ELSE
"F1.340" \ lo sommo al totale dei ricavi
THEN
+! \ incremento il totale selezionato</postscript>
</field>
</section>
<section type="Foot">
<field border="1" y="0.5" type="Linea" width="90" height="0" pattern="1" />
</section>
<section type="Foot" level="1">
<field y="1" type="Testo" width="18" pattern="1" text="Totale Generale">
<field x="45" y="1" type="Testo" valign="bottom" width="18" pattern="1" text="Totale Costi">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="1" type="Valuta" align="right" width="25.6" id="330" pattern="1" text="#########,@@">
<field x="45" y="2" type="Testo" valign="bottom" width="18" pattern="1" text="Totale Ricavi">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="1" type="Valuta" valign="bottom" align="right" width="25.6" id="330" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="2" type="Valuta" valign="bottom" align="right" width="25.6" id="340" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
</field>
</section>
<section type="Foot" level="2">
<field border="1" x="10.8" type="Linea" pattern="1" />
<field border="1" x="10.8" type="Linea" width="79.2" height="0" pattern="1" />
<field border="1" x="10.8" type="Linea" pattern="1" />
<field border="3" x="10.8" y="1" type="Linea" width="79.2" height="0" pattern="1" />
<field x="74" type="Valuta" align="right" width="15.6" id="230" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
</field>
<field x="11" type="Stringa" width="60" id="521" pattern="1" text="Totale Cliente ">
<field x="11" type="Stringa" width="60" id="521" pattern="1" text="Totale ">
<font face="Courier New" size="7" />
</field>
</section>
<section type="Foot" level="3">
<field border="1" x="10.8" type="Linea" pattern="1" />
<field border="1" x="10.8" type="Linea" width="79.2" height="0" pattern="1" />
<field border="1" x="10.8" type="Linea" pattern="1" />
<field x="11" type="Stringa" width="40" pattern="1" text="Totale Tipologia: ">
<font face="Courier New" size="7" />
<prescript description="F3.0 PRESCRIPT">MESSAGE _TABLEREAD,%TIP,#511,S0</prescript>
@ -177,7 +202,7 @@ MESSAGE EMPTY SHOW,20|HIDE,10</prescript>
</field>
</section>
<sql>USE RDOC KEY 2
BY 20.RAGSOC 33.NDOC 33.DATADOC NRIGA
BY 33.TIPOCF 20.RAGSOC 33.DATADOC NDOC NRIGA
JOIN DOC INTO CODNUM=CODNUM ANNO=ANNO PROVV=PROVV NDOC=NDOC
JOIN CLIFO TO DOC INTO CODCF=CODCF TIPOCF=TIPOCF
</sql>

View File

@ -1,170 +0,0 @@
<report libraries="ci1200" name="ci1200c" lpi="6">
<description>Stampa Analitica Risorse e Cantiere</description>
<font face="Courier New" size="10" />
<section type="Head">
<field type="Testo" width="10" height="0" pattern="1" text="Cantiere" />
<field type="Testo" align="center" width="120" pattern="1" text="Stampa Analitica Risorse e Cantiere">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="97" type="Data" width="14" pattern="1">
<source>#SYSTEM.DATE</source>
</field>
<field x="112" type="Numero" align="right" width="8" pattern="1" text="Pag. ">
<source>#REPORT.PAGE</source>
</field>
<field y="3" type="Stringa" width="30" pattern="1" text="Da Data: ">
<source>#S_DATEFROM</source>
</field>
<field x="31" y="3" type="Stringa" width="30" pattern="1" text="a Data: ">
<source>#S_DATETO</source>
</field>
<field border="1" y="5" type="Linea" width="120" height="0" pattern="1" />
<field border="1" x="10.8" y="5" type="Linea" pattern="1" />
<field x="11" y="5" type="Testo" width="10" pattern="1" text="Data">
<font face="Courier New" size="8" />
</field>
<field border="1" x="20.8" y="5" type="Linea" pattern="1" />
<field x="21" y="5" type="Testo" width="15" pattern="1" text="Codice">
<font face="Courier New" size="8" />
</field>
<field border="1" x="30.8" y="5" type="Linea" pattern="1" />
<field x="31" y="5" type="Testo" width="30" pattern="1" text="Risorsa">
<font face="Courier New" size="8" />
</field>
<field border="1" x="61.8" y="5" type="Linea" pattern="1" />
<field x="62" y="5" type="Testo" width="4" pattern="1" text="U.M.">
<font face="Courier New" size="8" />
</field>
<field border="1" x="65.8" y="5" type="Linea" pattern="1" />
<field x="66" y="5" type="Testo" width="4" pattern="1" text="Qt&#E0;">
<font face="Courier New" size="8" />
</field>
<field border="1" x="69.8" y="5" type="Linea" pattern="1" />
<field x="70" y="5" type="Testo" width="10" pattern="1" text="Costo Uni.">
<font face="Courier New" size="8" />
</field>
<field border="1" x="79.8" y="5" type="Linea" pattern="1" />
<field x="80" y="5" type="Testo" width="10" pattern="1" text="Totale">
<font face="Courier New" size="8" />
</field>
<field border="1" x="89.8" y="5" type="Linea" pattern="1" />
<field x="90" y="5" type="Testo" width="10" pattern="1" text="Cantiere">
<font face="Courier New" size="8" />
</field>
<field border="1" y="6" type="Linea" width="120" height="0" pattern="1" />
</section>
<section type="Head" level="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.330</prescript>
</section>
<section type="Head" level="2" />
<section keep_with_next="1" type="Head" level="3">
<groupby>DOC.TIPODOC</groupby>
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.110|RESET,F3.130</prescript>
<field type="Stringa" hidden="1" width="20" pattern="1" text="Cliente: ">
<font face="Courier New" size="8" />
<source>DOC.TIPODOC</source>
<prescript description="H3.0 PRESCRIPT">MESSAGE COPY,F3.511</prescript>
</field>
<field border="1" x="10.8" y="1" type="Linea" width="109.2" height="0" pattern="1" />
</section>
<section keep_with_next="1" type="Head" level="4">
<groupby>RDOC.CODART</groupby>
<field type="Stringa" hidden="1" width="20" pattern="1" text="Codice Articolo: ">
<font face="Courier New" size="8" />
<source>RDOC.CODART</source>
<prescript description="H4.0 PRESCRIPT">MESSAGE COPY,F4.501</prescript>
</field>
</section>
<section type="Body" />
<section type="Body" level="1">
<condition>RDOC.CODART!='' &#26;&#26; RDOC.CODART!=' '</condition>
<field border="1" x="10.8" type="Linea" pattern="1" />
<field x="11" type="Stringa" width="10" pattern="1">
<font face="Courier New" size="7" />
<source>DOC.DATADOC</source>
</field>
<field border="1" x="20.8" type="Linea" pattern="1" />
<field x="21" type="Stringa" width="10" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.CODART</source>
</field>
<field border="1" x="30.8" type="Linea" pattern="1" />
<field x="31" type="Stringa" width="30" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.DESCR</source>
</field>
<field border="1" x="61.8" type="Linea" pattern="1" />
<field x="62" type="Stringa" align="center" width="4" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.UMQTA</source>
</field>
<field border="1" x="65.8" type="Linea" pattern="1" />
<field border="1" x="69.8" type="Linea" pattern="1" />
<field border="1" x="79.8" type="Linea" pattern="1" />
<field border="1" x="89.8" type="Linea" pattern="1" />
<field x="90" type="Stringa" width="10" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.CODCMS</source>
</field>
<field x="100" type="Stringa" width="20" pattern="1">
<font face="Courier New" size="7" />
<source>COMMESSE.DESCRIZ</source>
</field>
<field x="66" type="Numero" align="right" width="3.6" id="1" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.QTA</source>
</field>
<field x="70" type="Valuta" align="right" width="9.6" id="2" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
<source>RDOC.PREZZO</source>
</field>
<field x="80" type="Valuta" align="right" width="9.6" id="3" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
<source>#1*#2</source>
<prescript description="B1.3 PRESCRIPT">MESSAGE ADD,F3.130|ADD,F2.230|ADD,F1.330</prescript>
</field>
</section>
<section type="Foot">
<field border="1" y="0.5" type="Linea" width="120" height="0" pattern="1" />
</section>
<section type="Foot" level="1">
<field y="1" type="Testo" width="18" pattern="1" text="Totale Generale">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="1" type="Valuta" align="right" width="25.6" id="330" pattern="1" text="#########,@@">
<font face="Courier New" bold="1" size="8" />
</field>
</section>
<section type="Foot" level="2" />
<section type="Foot" level="3">
<field border="1" x="10.8" type="Linea" pattern="1" />
<field border="1" x="10.8" type="Linea" width="109.2" height="0" pattern="1" />
<field x="11" type="Stringa" width="40" pattern="1" text="Totale Tipologia: ">
<font face="Courier New" size="7" />
<prescript description="F3.0 PRESCRIPT">MESSAGE _TABLEREAD,%TIP,#511,S0</prescript>
</field>
<field border="3" x="10.8" y="1" type="Linea" width="109.2" height="0" pattern="1" />
<field x="74" type="Valuta" align="right" width="15.6" id="130" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
</field>
<field x="1" type="Stringa" hidden="1" width="5" id="511" pattern="1">
<font face="Courier New" size="7" />
</field>
</section>
<section type="Foot" level="4">
<field border="1" x="10.8" type="Linea" pattern="1" />
<field border="1" x="10.8" type="Linea" width="109.2" height="0" pattern="1" />
<field border="1" x="10.8" y="1" type="Linea" width="109.2" height="0" pattern="1" />
<field x="74" type="Valuta" align="right" width="15.6" id="130" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
</field>
<field x="11" type="Stringa" width="40" id="501" pattern="1" text="Totale Articolo: ">
<font face="Courier New" size="7" />
</field>
</section>
<sql>USE RDOC KEY 2
BY 33.TIPODOC CODART CODCMS 33.DATADOC
JOIN DOC INTO CODNUM=CODNUM ANNO=ANNO PROVV=PROVV NDOC=NDOC
JOIN COMMESSE INTO CODCMS=CODCMS
</sql>
</report>

View File

@ -1,4 +1,5 @@
<report libraries="ci1200" name="ci1200d" lpi="6">
<report libraries="ci1200" name="ci1200d" orientation="2" lpi="6">
<description>Stampa Analitica Risorse e Cantiere per Cliente</description>
<font face="Courier New" size="10" />
<section type="Head">
@ -61,13 +62,23 @@
</section>
<section keep_with_next="1" type="Head" level="2">
<groupby>DOC.CODCF</groupby>
<font face="Courier New" bold="1" size="8" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.230</prescript>
<field type="Stringa" width="80" pattern="1" text="Cliente: ">
<font face="Courier New" size="8" />
<source>IF(CLIFO.RAGSOC="","(Cod. "+DOC.CODCF+")",CLIFO.RAGSOC)</source>
<prescript description="H2.0 PRESCRIPT">MESSAGE COPY,F2.521</prescript>
<field type="Array" width="10" pattern="1">
<source>DOC.TIPOCF</source>
<list>
<li Value="Cliente:" Code="C" />
<li Value="Fornitore:" Code="F" />
</list>
</field>
<field border="1" x="10.8" y="1" type="Linea" width="109.2" height="0" pattern="1" />
<field x="10" type="Stringa" width="6.5" pattern="1">
<source>DOC.CODCF</source>
</field>
<field x="16.5" type="Stringa" width="80" pattern="1">
<source>CLIFO.RAGSOC</source>
<prescript>MESSAGE COPY,F2.521</prescript>
</field>
<field border="1" x="10.8" y="1" type="Linea" width="109" height="0" pattern="1" />
</section>
<section keep_with_next="1" type="Head" level="3">
<groupby>DOC.TIPODOC</groupby>
@ -123,20 +134,41 @@
</field>
<field x="80" type="Valuta" align="right" width="9.6" id="3" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
<source>#1*#2</source>
<prescript description="B1.3 PRESCRIPT">MESSAGE ADD,F3.130|ADD,F2.230|ADD,F1.330</prescript>
<source>IMPNS*SEGNO</source>
<prescript description="B1.3 PRESCRIPT">MESSAGE ADD,F3.130|ADD,F2.230</prescript>
<postscript description="B1.3 POSTSCRIPT">#THIS @ \ Leggo importo
"DOC.IS_COSTO" @ \ &#E8; un costo
IF \
"F1.330" \ lo sommo al totale dei costi
ELSE
"F1.340" \ lo sommo al totale dei ricavi
THEN
+! \ incremento il totale selezionato</postscript>
</field>
</section>
<section type="Foot">
<field border="1" y="0.5" type="Linea" width="120" height="0" pattern="1" />
</section>
<section type="Foot" level="1">
<field y="1" type="Testo" width="18" pattern="1" text="Totale Generale">
<field x="45.5" y="1" type="Testo" width="18" pattern="1" text="Totale Costi">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="1" type="Valuta" align="right" width="25.6" id="330" pattern="1" text="#########,@@">
<field x="45.5" y="2" type="Testo" width="18" pattern="1" text="Totale Ricavi">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="45.5" y="3" type="Testo" width="18" pattern="1" text="Margine">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="1" type="Valuta" align="right" width="25.6" id="330" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="2" type="Valuta" align="right" width="25.6" id="340" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="3" type="Valuta" align="right" width="25.6" id="350" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
<source>#340-#330</source>
</field>
</section>
<section type="Foot" level="2">
<field border="1" x="10.8" type="Linea" pattern="1" />
@ -165,7 +197,7 @@
</field>
</section>
<sql>USE RDOC KEY 2
BY 20.RAGSOC 33.TIPODOC 34.CODCMS 33.DATADOC
BY 33.TIPOCF 20.RAGSOC 33.TIPODOC CODCMS 33.DATADOC
JOIN DOC INTO CODNUM=CODNUM ANNO=ANNO PROVV=PROVV NDOC=NDOC
JOIN CLIFO TO DOC INTO CODCF=CODCF TIPOCF=TIPOCF
JOIN COMMESSE INTO CODCMS=CODCMS

View File

@ -1,3 +1,4 @@
<report libraries="ci1200" name="ci1200e" lpi="6">
<description>Stampa Riepilogativa Risorse</description>
<font face="Courier New" size="10" />
@ -5,18 +6,18 @@
<field type="Testo" align="center" width="90" pattern="1" text="Stampa Riepilogativa Risorse">
<font face="Courier New" bold="1" size="10" />
</field>
<field type="Testo" width="10" height="0" pattern="1" text="Cantiere" />
<field x="67" type="Data" width="14" pattern="1">
<source>#SYSTEM.DATE</source>
</field>
<field x="82" type="Numero" align="right" width="8" pattern="1" text="Pag. ">
<field x="82" type="Numero" align="right" width="8" pattern="1" text="Pag.##">
<source>#REPORT.PAGE</source>
</field>
<field y="2" type="Stringa" width="30" pattern="1" text="Da Cantiere: ">
<source>#S_CMSFROM</source>
<field y="2" type="Testo" width="10" pattern="1" text="Cantiere:" />
<field x="9.5" y="2" type="Stringa" width="20" pattern="1">
<source>CODCMS</source>
</field>
<field x="31" y="2" type="Stringa" width="30" pattern="1" text="a Cantiere: ">
<source>#S_CMSTO</source>
<field x="31" y="2" type="Stringa" width="50" pattern="1">
<source>COMMESSE.DESCRIZ</source>
</field>
<field y="3" type="Stringa" width="30" pattern="1" text="Da Data: ">
<source>#S_DATEFROM</source>
@ -24,15 +25,7 @@
<field x="31" y="3" type="Stringa" width="30" pattern="1" text="a Data: ">
<source>#S_DATETO</source>
</field>
<field y="5" type="Testo" width="8" pattern="1" text="Cantiere">
<font face="Courier New" size="8" />
</field>
<field border="1" y="5" type="Linea" width="90" height="0" pattern="1" />
<field border="1" x="61.8" y="5" type="Linea" pattern="1" />
<field x="80" y="5" type="Testo" width="10" pattern="1" text="Totale">
<font face="Courier New" size="8" />
</field>
<field border="1" y="6" type="Linea" width="90" height="0" pattern="1" />
<field border="1" y="4.5" type="Linea" width="90" height="0" pattern="1" />
</section>
<section type="Head" level="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.330</prescript>
@ -80,22 +73,43 @@
</field>
<field x="80.12" type="Valuta" hidden="1" align="right" width="10" id="3" pattern="1" text="#########,@@">
<font face="Courier New" size="8" />
<source>#1*#2</source>
<prescript description="B1.3 PRESCRIPT">MESSAGE ADD,F3.130|ADD,F2.230|ADD,F1.330</prescript>
<source>IMPNS*SEGNO</source>
<prescript description="B1.3 PRESCRIPT">MESSAGE ADD,F3.130|ADD,F2.230</prescript>
<postscript description="B1.3 POSTSCRIPT">#THIS @ \ Leggo importo
"DOC.IS_COSTO" @ \ &#E8; un costo
IF \
"F1.330" \ lo sommo al totale dei costi
ELSE
"F1.340" \ lo sommo al totale dei ricavi
THEN
+! \ incremento il totale selezionato</postscript>
</field>
</section>
<section type="Foot">
<field border="1" y="0.5" type="Linea" width="90" height="0" pattern="1" />
</section>
<section type="Foot" level="1">
<field y="1" type="Testo" width="18" pattern="1" text="Totale Generale">
<field x="49.5" y="1" type="Testo" width="13" pattern="1" text="Totale Costi">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="1" type="Valuta" align="right" width="25.6" id="330" pattern="1" text="#########,@@">
<field x="49.5" y="2" type="Testo" width="13" pattern="1" text="Totale Ricavi">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="49.5" y="3" type="Testo" width="13" pattern="1" text="Margine">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="1" type="Valuta" align="right" width="25.6" id="330" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="2" type="Valuta" align="right" width="25.6" id="340" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="3" type="Valuta" align="right" width="25.6" id="350" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
<source>#340-#330</source>
</field>
</section>
<section type="Foot" level="2">
<section type="Foot" level="2" hidden="1">
<field border="1" x="20.8" type="Linea" pattern="1" />
<field border="1" x="20.8" type="Linea" width="69.2" height="0" pattern="1" />
<field border="3" x="20.8" y="1" type="Linea" width="69.2" height="0" pattern="1" />

View File

@ -1,200 +0,0 @@
<report libraries="ci1200" name="ci1200f" lpi="6">
<description>Stampa Sintetica Risorse</description>
<font face="Courier New" size="10" />
<section type="Head">
<field type="Testo" width="10" height="0" pattern="1" text="Cantiere" />
<field type="Testo" align="center" width="90" pattern="1" text="Stampa Sintetica Risorse">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="67" type="Data" width="14" pattern="1">
<source>#SYSTEM.DATE</source>
</field>
<field x="82" type="Data" width="8" pattern="1" text="Pag. ">
<source>#REPORT.PAGE</source>
</field>
<field y="2" type="Stringa" width="30" pattern="1" text="Da Cantiere: ">
<source>#S_CMSFROM</source>
</field>
<field x="31" y="2" type="Stringa" width="30" pattern="1" text="a Cantiere: ">
<source>#S_CMSTO</source>
</field>
<field y="3" type="Stringa" width="30" pattern="1" text="Da Data: ">
<source>#S_DATEFROM</source>
</field>
<field x="31" y="3" type="Stringa" width="30" pattern="1" text="a Data: ">
<source>#S_DATETO</source>
</field>
<field border="1" y="5" type="Linea" width="90" height="0" pattern="1" />
<field y="5" type="Testo" width="8" pattern="1" text="Cantiere">
<font face="Courier New" size="8" />
</field>
<field border="1" x="20.8" y="5" type="Linea" pattern="1" />
<field x="21" y="5" type="Testo" width="15" pattern="1" text="Codice">
<font face="Courier New" size="8" />
</field>
<field border="1" x="30.8" y="5" type="Linea" pattern="1" />
<field x="31" y="5" type="Testo" width="30" pattern="1" text="Risorsa">
<font face="Courier New" size="8" />
</field>
<field border="1" x="61.8" y="5" type="Linea" pattern="1" />
<field x="62" y="5" type="Testo" width="4" pattern="1" text="U.M.">
<font face="Courier New" size="8" />
</field>
<field border="1" x="65.8" y="5" type="Linea" pattern="1" />
<field x="66" y="5" type="Testo" width="4" pattern="1" text="Qt&#E0;">
<font face="Courier New" size="8" />
</field>
<field border="1" x="69.8" y="5" type="Linea" pattern="1" />
<field x="70" y="5" type="Testo" width="10" pattern="1" text="Costo Med.">
<font face="Courier New" size="8" />
</field>
<field border="1" x="79.8" y="5" type="Linea" pattern="1" />
<field x="80" y="5" type="Testo" width="10" pattern="1" text="Totale">
<font face="Courier New" size="8" />
</field>
<field border="1" y="6" type="Linea" width="90" height="0" pattern="1" />
</section>
<section type="Head" level="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.330</prescript>
</section>
<section keep_with_next="1" type="Head" level="2">
<groupby>DOC.CODCMS</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.230</prescript>
<field border="1" x="20.8" y="1" type="Linea" width="69.2" height="0" pattern="1" />
<field y="2" type="Stringa" hidden="1" width="20" id="901" pattern="1">
<font face="Courier New" size="8" />
<source>DOC.CODCMS</source>
<prescript description="H2.901 PRESCRIPT">MESSAGE COPY,F2.521</prescript>
</field>
<field x="21" y="2" type="Stringa" hidden="1" width="20" id="902" pattern="1">
<font face="Courier New" size="8" />
<source>COMMESSE.DESCRIZ</source>
<prescript description="H2.902 PRESCRIPT">MESSAGE COPY,F2.521</prescript>
</field>
<field type="Stringa" width="80" id="903" pattern="1" text="Cantiere: ">
<font face="Courier New" size="8" />
<source>iF(#901!="",#901+" - "+#902,"Non Specificato")</source>
<prescript description="H2.903 PRESCRIPT">MESSAGE COPY,F2.521</prescript>
</field>
</section>
<section keep_with_next="1" type="Head" level="3">
<groupby>DOC.TIPODOC</groupby>
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.110|RESET,F3.130</prescript>
<field y="0.06" type="Stringa" hidden="1" width="20" pattern="1">
<font face="Courier New" size="8" />
<source>DOC.TIPODOC</source>
<prescript description="H3.0 PRESCRIPT">MESSAGE COPY,F3.511</prescript>
</field>
</section>
<section keep_with_next="1" type="Head" level="4">
<groupby>RDOC.CODART</groupby>
<prescript description="H4 PRESCRIPT">MESSAGE RESET,F4.10|RESET,F4.20|RESET,F4.30</prescript>
</section>
<section type="Body" />
<section type="Body" level="1">
<condition>RDOC.CODART!='' &#26;&#26; RDOC.CODART!=' '</condition>
<field x="21" type="Stringa" hidden="1" width="15" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.CODART</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE COPY,F4.501</prescript>
</field>
<field x="31" type="Stringa" hidden="1" width="30" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.DESCR</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE COPY,F4.502</prescript>
</field>
<field x="62" type="Stringa" hidden="1" align="center" width="4" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.UMQTA</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE COPY,F4.503</prescript>
</field>
<field x="66.12" type="Numero" hidden="1" align="right" width="4" id="1" pattern="1">
<font face="Courier New" size="8" />
<source>RDOC.QTA</source>
<prescript description="B1.1 PRESCRIPT">MESSAGE ADD,F4.10|ADD,F3.110</prescript>
</field>
<field x="70.12" type="Valuta" hidden="1" align="right" width="10" id="2" pattern="1" text="#########,@@">
<font face="Courier New" size="8" />
<source>RDOC.PREZZO</source>
</field>
<field x="80.12" type="Valuta" hidden="1" align="right" width="10" id="3" pattern="1" text="#########,@@">
<font face="Courier New" size="8" />
<source>#1*#2</source>
<prescript description="B1.3 PRESCRIPT">MESSAGE ADD,F4.30|ADD,F3.130|ADD,F2.230|ADD,F1.330</prescript>
</field>
</section>
<section type="Foot">
<field border="1" y="0.5" type="Linea" width="90" height="0" pattern="1" />
</section>
<section type="Foot" level="1">
<field y="1" type="Testo" width="18" pattern="1" text="Totale Generale">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="1" type="Valuta" align="right" width="25.6" id="330" pattern="1" text="#########,@@">
<font face="Courier New" bold="1" size="8" />
</field>
</section>
<section type="Foot" level="2">
<field border="1" x="20.8" type="Linea" width="69.2" height="0" pattern="1" />
<field border="1" x="20.8" type="Linea" pattern="1" />
<field border="3" x="20.8" y="1" type="Linea" width="69.2" height="0" pattern="1" />
<field x="74" type="Valuta" align="right" width="15.6" id="230" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
</field>
<field x="21" type="Stringa" width="50" id="521" pattern="1" text="Totale Cantiere: ">
<font face="Courier New" size="7" />
</field>
</section>
<section type="Foot" level="3">
<field border="1" x="20.8" type="Linea" width="69.2" height="0" pattern="1" />
<field border="1" x="20.8" type="Linea" pattern="1" />
<field x="21" type="Stringa" width="40" pattern="1" text="Totale Tipologia: ">
<font face="Courier New" size="7" />
<prescript description="F3.0 PRESCRIPT">MESSAGE _TABLEREAD,%TIP,#511,S0</prescript>
</field>
<field border="1" x="61.8" type="Linea" pattern="1" />
<field border="1" x="69.8" type="Linea" pattern="1" />
<field border="1" x="20.8" y="1" type="Linea" width="69.2" height="0" pattern="1" />
<field x="63" type="Numero" align="right" width="6.6" id="110" pattern="1">
<font face="Courier New" size="7" />
</field>
<field x="74" type="Valuta" align="right" width="15.6" id="130" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
</field>
<field x="17" type="Stringa" width="4" id="511" pattern="1">
<font face="Courier New" size="7" />
</field>
</section>
<section type="Foot" level="4">
<field border="1" x="20.8" type="Linea" pattern="1" />
<field border="1" x="30.8" type="Linea" pattern="1" />
<field border="1" x="61.8" type="Linea" pattern="1" />
<field border="1" x="65.8" type="Linea" pattern="1" />
<field border="1" x="69.8" type="Linea" pattern="1" />
<field border="1" x="79.8" type="Linea" pattern="1" />
<field x="66" type="Numero" align="right" width="3.6" id="10" pattern="1">
<font face="Courier New" size="7" />
</field>
<field x="70" type="Valuta" align="right" width="9.6" id="20" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
<source>#30&#2F;IF(#10&#3E;0,#10,1)</source>
</field>
<field x="80" type="Valuta" align="right" width="9.6" id="30" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
</field>
<field x="21" type="Stringa" width="15" id="501" pattern="1">
<font face="Courier New" size="7" />
</field>
<field x="31" type="Stringa" width="30" id="502" pattern="1">
<font face="Courier New" size="7" />
</field>
<field x="62" type="Stringa" align="center" width="4" id="503" pattern="1">
<font face="Courier New" size="7" />
</field>
</section>
<sql>USE RDOC KEY 2
BY 33.CODCMS 33.TIPODOC CODART
JOIN DOC INTO CODNUM=CODNUM ANNO=ANNO PROVV=PROVV NDOC=NDOC
JOIN COMMESSE INTO CODCMS=CODCMS
</sql>
</report>

View File

@ -1,200 +0,0 @@
<report libraries="ci1200" name="ci1200g" lpi="6">
<description>Stampa Sintetica per Commessa&#2F;Cantiere</description>
<font face="Courier New" size="10" />
<section type="Head">
<field type="Testo" align="center" width="90" pattern="1" text="Stampa Sintetica per Cantiere">
<font face="Courier New" bold="1" size="10" />
</field>
<field type="Testo" width="10" height="0" pattern="1" text="Cantiere" />
<field x="67" type="Data" width="14" pattern="1">
<source>#SYSTEM.DATE</source>
</field>
<field x="82" type="Data" width="8" pattern="1" text="Pag. ">
<source>#REPORT.PAGE</source>
</field>
<field y="2" type="Stringa" width="30" pattern="1" text="Da Cantiere: ">
<source>#S_CMSFROM</source>
</field>
<field x="31" y="2" type="Stringa" width="30" pattern="1" text="a Cantiere: ">
<source>#S_CMSTO</source>
</field>
<field y="3" type="Stringa" width="30" pattern="1" text="Da Data: ">
<source>#S_DATEFROM</source>
</field>
<field x="31" y="3" type="Stringa" width="30" pattern="1" text="a Data: ">
<source>#S_DATETO</source>
</field>
<field y="5" type="Testo" width="8" pattern="1" text="Cantiere">
<font face="Courier New" size="8" />
</field>
<field border="1" y="5" type="Linea" width="90" height="0" pattern="1" />
<field border="1" x="27.8" y="5" type="Linea" pattern="1" />
<field x="28" y="5" type="Testo" width="8" pattern="1" text="Codice">
<font face="Courier New" size="8" />
</field>
<field border="1" x="35.8" y="5" type="Linea" pattern="1" />
<field x="36" y="5" type="Testo" width="26" pattern="1" text="Risorsa">
<font face="Courier New" size="8" />
</field>
<field border="1" x="61.8" y="5" type="Linea" pattern="1" />
<field x="62" y="5" type="Testo" width="4" pattern="1" text="U.M.">
<font face="Courier New" size="8" />
</field>
<field border="1" x="65.8" y="5" type="Linea" pattern="1" />
<field x="66" y="5" type="Testo" width="4" pattern="1" text="Qt&#E0;">
<font face="Courier New" size="8" />
</field>
<field border="1" x="69.8" y="5" type="Linea" pattern="1" />
<field x="70" y="5" type="Testo" width="10" pattern="1" text="Costo Med.">
<font face="Courier New" size="8" />
</field>
<field border="1" x="79.8" y="5" type="Linea" pattern="1" />
<field x="80" y="5" type="Testo" width="10" pattern="1" text="Totale">
<font face="Courier New" size="8" />
</field>
<field border="1" y="6" type="Linea" width="90" height="0" pattern="1" />
</section>
<section type="Head" level="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.330</prescript>
</section>
<section type="Head" level="2">
<groupby>DOC.CODCMS</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.230</prescript>
<field type="Stringa" width="27" pattern="1" text="Cantiere: ">
<font face="Courier New" size="8" />
<source>DOC.CODCMS</source>
</field>
<field border="1" x="27.8" type="Linea" pattern="1" />
<field border="1" x="35.8" type="Linea" pattern="1" />
<field border="1" x="61.8" type="Linea" pattern="1" />
<field border="1" x="65.8" type="Linea" pattern="1" />
<field border="1" x="69.8" type="Linea" pattern="1" />
<field border="1" x="79.8" type="Linea" pattern="1" />
</section>
<section type="Head" level="3">
<groupby>DOC.TIPODOC</groupby>
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.110|RESET,F3.130</prescript>
</section>
<section type="Head" level="4">
<groupby>RDOC.CODART</groupby>
<prescript description="H4 PRESCRIPT">MESSAGE RESET,F4.10|RESET,F4.20|RESET,F4.30</prescript>
</section>
<section type="Body" />
<section type="Body" level="1">
<condition>RDOC.CODART!='' &#26;&#26; RDOC.CODART!=' '</condition>
<field x="66.12" type="Numero" hidden="1" align="right" width="4" id="1" pattern="1">
<font face="Courier New" size="8" />
<source>RDOC.QTA</source>
<prescript description="B1.1 PRESCRIPT">MESSAGE ADD,F4.10|ADD,F3.110</prescript>
</field>
<field x="70.12" type="Valuta" hidden="1" align="right" width="10" id="2" pattern="1" text="#########,@@">
<font face="Courier New" size="8" />
<source>RDOC.PREZZO</source>
</field>
<field x="80.12" type="Valuta" hidden="1" align="right" width="10" id="3" pattern="1" text="#########,@@">
<font face="Courier New" size="8" />
<source>#1*#2</source>
<prescript description="B1.3 PRESCRIPT">MESSAGE ADD,F4.30|ADD,F3.130|ADD,F2.230|ADD,F1.330</prescript>
</field>
</section>
<section type="Foot">
<field border="2" y="0.5" type="Linea" width="90" height="0.01" pattern="1" />
</section>
<section type="Foot" level="1">
<field border="1" x="-52.2" y="0.06" type="Linea" pattern="1" />
<field x="-52" y="0.06" type="Testo" width="8" pattern="1" text="RDOC.CODART">
<font face="Courier New" size="8" />
</field>
<field border="1" x="-44.2" y="0.06" type="Linea" pattern="1" />
<field x="-44" y="0.06" type="Stringa" width="26" pattern="1" text="Risorsa">
<font face="Courier New" size="8" />
<source>RDOC.DESCR</source>
</field>
<field border="1" x="-18.2" y="0.06" type="Linea" pattern="1" />
<field x="-18" y="0.06" type="Stringa" align="right" width="4" pattern="1" text="U.M.">
<font face="Courier New" size="8" />
<source>RDOC.UMQTA</source>
</field>
<field border="1" x="-14.2" y="0.06" type="Linea" pattern="1" />
<field border="1" x="-10.2" y="0.06" type="Linea" pattern="1" />
<field border="1" x="-0.2" y="0.06" type="Linea" pattern="1" />
<field y="0.06" type="Testo" width="18" pattern="1" text="Totale Generale">
<font face="Courier New" size="8" />
</field>
<field x="-14" y="0.06" type="Numero" align="right" width="4" id="10" pattern="1" text="Qt&#E0;">
<font face="Courier New" size="8" />
<source>RDOC.QTA</source>
</field>
<field x="-10" y="0.06" type="Valuta" align="right" width="10" id="20" pattern="1" text="###.###.###,@@">
<font face="Courier New" size="8" />
</field>
<field x="64" type="Valuta" align="right" width="25.6" id="330" pattern="1" text="#########,@@">
<font face="Courier New" size="8" />
</field>
</section>
<section type="Foot" level="2">
<field border="1" x="27.8" type="Linea" width="62.2" height="0" pattern="1" />
<field border="1" x="27.8" type="Linea" pattern="1" />
<field x="28" type="Stringa" width="36" pattern="1" text="Totale Cantiere: ">
<font face="Courier New" size="7" />
<source>DOC.CODCMS</source>
</field>
<field border="1" x="27.8" y="1" type="Linea" width="62.2" height="0" pattern="1" />
<field x="74" type="Valuta" align="right" width="15.6" id="230" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
</field>
</section>
<section type="Foot" level="3">
<field border="1" x="27.8" type="Linea" width="62.2" height="0" pattern="1" />
<field border="1" x="27.8" type="Linea" pattern="1" />
<field x="28" type="Stringa" width="34" pattern="1" text="Totale Tipologia: ">
<font face="Courier New" size="7" />
<source>DOC.TIPODOC</source>
</field>
<field border="1" x="61.8" type="Linea" pattern="1" />
<field border="1" x="69.8" type="Linea" pattern="1" />
<field border="1" x="27.8" y="1" type="Linea" width="62.2" height="0" pattern="1" />
<field x="63" type="Numero" align="right" width="6.6" id="110" pattern="1">
<font face="Courier New" size="7" />
</field>
<field x="74" type="Valuta" align="right" width="15.6" id="130" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
</field>
</section>
<section type="Foot" level="4">
<field border="1" x="27.8" type="Linea" pattern="1" />
<field x="28" type="Stringa" width="8" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.CODART</source>
</field>
<field border="1" x="35.8" type="Linea" pattern="1" />
<field x="36" type="Stringa" width="26" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.DESCR</source>
</field>
<field border="1" x="61.8" type="Linea" pattern="1" />
<field x="62" type="Stringa" align="center" width="4" pattern="1">
<font face="Courier New" size="7" />
<source>RDOC.UMQTA</source>
</field>
<field border="1" x="65.8" type="Linea" pattern="1" />
<field border="1" x="69.8" type="Linea" pattern="1" />
<field border="1" x="79.8" type="Linea" pattern="1" />
<field x="66" type="Numero" align="right" width="3.6" id="10" pattern="1">
<font face="Courier New" size="7" />
</field>
<field x="70" type="Valuta" align="right" width="9.6" id="20" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
<source>#30&#2F;IF(#10&#3E;0,#10,1)</source>
</field>
<field x="80" type="Valuta" align="right" width="9.6" id="30" pattern="1" text="#########,@@">
<font face="Courier New" size="7" />
</field>
</section>
<sql>USE DOC KEY 3
BY CODCMS TIPODOC
JOIN RDOC INTO CODNUM=CODNUM ANNO=ANNO PROVV=PROVV NDOC=NDOC
FROM DATADOC=#S_DATEFROM
TO DATADOC=#S_DATETO
</sql>
</report>