campo-sirio/src/ci/ci1200b.rep
Alessandro Bonazzi 482182c5c1 Patch level : 12.0 1006
Files correlati     : ci1.exe ci1200.msk ci1300a.msk ci1400a.msk ci1200a.rep
                      ci1200b.rep ci1200d.rep ci1200e.rep ci1300a.rep ci1300b.rep
                      ci1400a.rep ci1400b.rep
Commento            :

Resa opzionale la data di stampa nella stampa dei riepiloghi dell contabilità industriale

Interno
2020-11-05 23:39:16 +01:00

232 lines
18 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8" ?>
<report libraries="" page_merge="" save_printer="" name="ci1200b" use_printer_font="" orientation="" page_split="" lpi="6" command="" class="ci1200">
<description>Stampa Analitica Risorse per Cliente</description>
<font face="Courier New" size="10" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
<field deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="90" codval="" id="" pattern="1" hide_zero="" text="Stampa Analitica Risorse per Cliente">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="79" deactivated="" type="Stringa" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Pag. ">
<source>#REPORT.PAGE</source>
</field>
<field y="2" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="9" codval="" id="" pattern="1" hide_zero="" text="Cantiere" />
<field x="15.37" y="2.06" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
<prescript description="">MESSAGE _ISAMREAD,147,CODCMS=#10,DESCRIZ</prescript>
</field>
<field y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="Da Data: ">
<source>#S_DATEFROM</source>
</field>
<field x="31" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="a Data: ">
<source>#S_DATETO</source>
</field>
<field y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="8" codval="" id="" pattern="1" hide_zero="" text="Cliente">
<font face="Courier New" size="8" />
</field>
<field border="1" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="90" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="10.8" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="11" y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Data">
<font face="Courier New" size="8" />
</field>
<field border="1" x="20.8" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="21" y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Codice">
<font face="Courier New" size="8" />
</field>
<field border="1" x="30.8" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="31" y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="Risorsa">
<font face="Courier New" size="8" />
</field>
<field border="1" x="61.8" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="62" y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="U.M.">
<font face="Courier New" size="8" />
</field>
<field border="1" x="65.8" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="66" y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Qt&#E0;">
<font face="Courier New" size="8" />
</field>
<field border="1" x="69.8" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="70" y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Costo Uni.">
<font face="Courier New" size="8" />
</field>
<field border="1" x="79.8" y="5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="80" y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Totale">
<font face="Courier New" size="8" />
</field>
<field border="1" y="6" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="90" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field x="9.5" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5.5" codval="" id="10" pattern="1" hide_zero="" text="">
<source>CODCMS</source>
</field>
<field x="67" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="11.5" codval="" id="101" pattern="1" hide_zero="" text="">
<source>#SYSTEM.DATE</source>
</field>
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.330</prescript>
</section>
<section repeat="" keep_with_next="1" deactivated="" hidden_if_needed="" type="Head" level="2" hidden="" page_break="" can_break="" pattern="1">
<groupby>DOC.CODCF</groupby>
<font face="Courier New" bold="1" size="8" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.230</prescript>
<field deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="">
<source>DOC.TIPOCF</source>
<list>
<li Value="Cliente:" Code="C" />
<li Value="Fornitore:" Code="F" />
</list>
</field>
<field x="10" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="6.5" codval="" id="" pattern="1" hide_zero="" text="">
<source>DOC.CODCF</source>
</field>
<field x="16.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="80" codval="" id="" pattern="1" hide_zero="" text="">
<source>CLIFO.RAGSOC</source>
<prescript description="H2.0 PRESCRIPT">MESSAGE COPY,F2.521</prescript>
</field>
<field border="1" x="10.8" y="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="79.2" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
</section>
<section repeat="" keep_with_next="1" deactivated="" hidden_if_needed="" type="Head" level="3" hidden="" page_break="" can_break="" pattern="1">
<groupby>NDOC</groupby>
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.110|RESET,F3.130</prescript>
<field deactivated="" type="Stringa" hidden="1" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text="Cliente: ">
<font face="Courier New" size="8" />
<source>DOC.TIPODOC</source>
<prescript description="H3.0 PRESCRIPT">MESSAGE COPY,F3.511</prescript>
</field>
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="" hidden="" page_break="" can_break="" pattern="1" />
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="1" hidden="" page_break="" can_break="" pattern="1">
<condition>RDOC.CODART!='' &#26;&#26; RDOC.CODART!=' '</condition>
<font face="Courier New" size="8" />
<field x="5" deactivated="" type="Stringa" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="5.5" codval="" id="" pattern="1" hide_zero="" text="">
<font face="Courier New" size="7" />
<source>DOC.NDOC</source>
</field>
<field border="1" x="10.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="11" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="7.5" codval="" id="" pattern="1" hide_zero="" text="">
<font face="Courier New" size="7" />
<source>DOC.DATADOC</source>
<postscript description="B1.0 POSTSCRIPT">MESSAGE</postscript>
</field>
<field border="1" x="18.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="19" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="11.5" codval="" id="" pattern="1" hide_zero="" text="">
<font face="Courier New" size="7" />
<source>RDOC.CODART</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE EMPTY SHOW,20|HIDE,10
MESSAGE SHOW,10|HIDE,20
</prescript>
</field>
<field border="1" x="30.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="61.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field x="62" deactivated="" type="Stringa" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="">
<font face="Courier New" size="7" />
<source>RDOC.UMQTA</source>
</field>
<field border="1" x="65.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="69.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="79.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field y="1" deactivated="" type="Stringa" hidden="1" link="" dynamic_height="" shade_offset="" width="10" codval="" id="1" pattern="1" hide_zero="" text="">
<source>DESCR</source>
<prescript description="B1.1 PRESCRIPT">MESSAGE COPY,10</prescript>
</field>
<field x="11" y="1" deactivated="1" type="Stringa" hidden="1" link="" dynamic_height="" shade_offset="" width="10" codval="" id="2" pattern="1" hide_zero="" text="">
<source>DESCEST</source>
<prescript description="B1.2 PRESCRIPT">MESSAGE APPEND,10</prescript>
</field>
<field x="31" deactivated="" type="Stringa" hidden="1" link="" dynamic_height="" shade_offset="" width="30" codval="" id="10" pattern="1" hide_zero="" text="">
<font face="Courier New" size="7" />
</field>
<field x="31" deactivated="" type="Stringa" hidden="1" link="" dynamic_height="" shade_offset="" width="30" codval="" id="20" pattern="1" hide_zero="" text="">
<font face="Courier New" bold="1" size="7" />
<source>RDOC.DESCR</source>
</field>
<field x="66" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3.6" codval="" id="50" pattern="1" hide_zero="1" text="">
<font face="Courier New" size="7" />
<source>RDOC.QTA</source>
<postscript description="B1.50 POSTSCRIPT">MESSAGE RESET,2</postscript>
</field>
<field x="70" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="9.6" codval="" id="80" pattern="1" hide_zero="1" text="#########,@@">
<font face="Courier New" size="7" />
<source>RDOC.PREZZO</source>
</field>
<field x="80" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="9.6" codval="" id="100" pattern="1" hide_zero="1" text="#########,@@">
<font face="Courier New" size="7" />
<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 repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1">
<field border="1" y="0.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="90" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" page_break="" can_break="" pattern="1">
<field x="45" y="1" deactivated="" type="Testo" valign="bottom" hidden="" link="" dynamic_height="" shade_offset="" width="18" codval="" id="" pattern="1" hide_zero="" text="Totale Costi">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="45" y="2" deactivated="" type="Testo" valign="bottom" hidden="" link="" dynamic_height="" shade_offset="" width="18" codval="" id="" pattern="1" hide_zero="" text="Totale Ricavi">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="45" y="3" deactivated="" type="Testo" valign="bottom" hidden="" link="" dynamic_height="" shade_offset="" width="18" codval="" id="" pattern="1" hide_zero="" text="Margine">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="96" y="3" deactivated="" type="Testo" valign="bottom" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="1" hide_zero="" text="%" />
<field x="64" y="1" deactivated="" type="Valuta" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="25.6" codval="" id="330" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="2" deactivated="" type="Valuta" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="25.6" codval="" id="340" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="64" y="3" deactivated="" type="Valuta" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="25.6" codval="" id="350" pattern="1" hide_zero="1" text="###.###.###,@@">
<font face="Courier New" bold="1" size="8" />
<source>#340-#330</source>
</field>
<field x="90" y="3" deactivated="" type="Numero" valign="bottom" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="6" codval="" id="360" pattern="1" hide_zero="1" text="">
<prescript description="F1.360 PRESCRIPT">#330 @
0 &#3E; IF
#350 @
#330 @
&#2F;
ELSE
0
THEN
4 ROUND
100 *
#THIS !</prescript>
</field>
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="2" hidden="" page_break="" can_break="" pattern="1">
<field border="1" x="10.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="79.2" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="10.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="3" x="10.8" y="1" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="79.2" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field x="74" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15.6" codval="" id="230" pattern="1" hide_zero="" text="#########,@@">
<font face="Courier New" size="7" />
</field>
<field x="11" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="60" codval="" id="521" pattern="1" hide_zero="" text="Totale ">
<font face="Courier New" size="7" />
</field>
</section>
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="3" hidden="" page_break="" can_break="" pattern="1">
<field border="1" x="10.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" id="" pattern="1" hide_zero="" text="" />
<field border="1" x="10.8" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="79.2" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field x="11" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" 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" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="79.2" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
<field x="74" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15.6" codval="" id="130" pattern="1" hide_zero="" text="#########,@@">
<font face="Courier New" size="7" />
</field>
<field x="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="511" pattern="1" hide_zero="" text="">
<font face="Courier New" size="7" />
</field>
</section>
<sql>USE RDOC KEY 2
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>
</report>