Files correlati : ci1 Ricompilazione Demo : [ ] Commento : Aggiunte stampe contabilita' industriale (Ruffo) git-svn-id: svn://10.65.10.50/trunk@13170 c028cbd2-c16b-5b4b-a496-9718f37d4682
200 lines
8.9 KiB
Plaintext
Executable File
200 lines
8.9 KiB
Plaintext
Executable File
<report libraries="ci1200" name="ci1200g" lpi="6">
|
|
<description>Stampa Sintetica per CommessaF;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!=''  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>#30F;IF(#10E;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 SELECT ((CODNUM=#S_CODNUM)STR(CODCMSE;=#S_CMSFROM)STR(CODCMSC;=#S_CMSTO))
|
|
BY CODCMS TIPODOC
|
|
JOIN RDOC INTO CODNUM=CODNUM ANNO=ANNO PROVV=PROVV NDOC=NDOC
|
|
FROM DATADOC=#S_DATEFROM
|
|
TO DATADOC=#S_DATETO
|
|
</sql>
|
|
</report> |