campo-sirio/ps/ps1002_prod_gca.rep

98 lines
5.0 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<report name="ps1002_prod_gca" lpi="6">
<description>Produzione giorno-cliente-articolo</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.25" type="Testo" bg_color="#000000" txt_color="#FFFFFF" width="6" pattern="2" text="Data" />
<field x="1" y="1.5" type="Testo" align="right" width="6" pattern="1" text="Cliente" />
<field x="65" y="1.5" type="Testo" align="right" width="6" height="2" pattern="1" text="Qta Prod." />
<field x="3" y="2.5" type="Testo" width="10" pattern="1" text="Articolo" />
<field x="56" y="2.5" type="Testo" align="right" width="6" pattern="1" text="Prezzo" />
<field x="76" y="2.5" type="Testo" align="right" width="6" pattern="1" text="Valore" />
<field border="2" x="1" y="3.5" type="Linea" width="100" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.104
MESSAGE RESET,F1.105</prescript>
<field border="2" radius="100" x="15" y="0.5" type="Testo" valign="center" align="center" shade_offset="50" width="60" height="2" pattern="2" text="PRODUTTIVITA' GIORNALIERA">
<font face="Arial" bold="1" size="14" />
</field>
</section>
<section type="Head" level="2" page_break="1" pattern="1">
<groupby>DATACONS</groupby>
<font italic="1" face="Arial" bold="1" size="8" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.104
MESSAGE RESET,F2.105</prescript>
<field x="1" y="0.25" type="Data" bg_color="#000000" txt_color="#FFFFFF" width="10" id="101" pattern="2">
<source>DATACONS</source>
<postscript description="H2.101 POSTSCRIPT">MESSAGE COPY,F2.101</postscript>
</field>
</section>
<section type="Head" level="3" pattern="1">
<groupby>DOC.TIPOCF+DOC.CODCF</groupby>
<font face="Arial" bold="1" size="8" />
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.104
MESSAGE RESET,F3.105</prescript>
<field x="1" type="Numero" align="right" width="6" pattern="1">
<source>33.CODCF</source>
</field>
<field x="8" type="Stringa" width="50" pattern="1">
<prescript description="H3.0 PRESCRIPT">MESSAGE ISAMREAD,20,TIPOCF=33.TIPOCF!CODCF=33.CODCF,RAGSOC</prescript>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" pattern="1">
<field x="3" type="Stringa" width="20" pattern="1">
<source>CODART</source>
</field>
<field x="23" type="Stringa" width="30" pattern="1">
<font face="Arial Narrow" size="7" />
<source>DESCR</source>
</field>
<field x="54" type="Prezzo" align="right" width="8" id="103" pattern="1" text="#########,@@">
<font face="Arial Narrow" size="8" />
<source>PREZZO</source>
</field>
<field x="65" type="Numero" align="right" width="6" id="104" pattern="1">
<source>QTAGG1</source>
<prescript description="B1.104 PRESCRIPT">MESSAGE ADD,F3.104
MESSAGE ADD,F2.104
MESSAGE ADD,F1.104</prescript>
</field>
<field x="72" type="Prezzo" align="right" width="10" id="105" pattern="1" text="#########,@@">
<source>#103*#104</source>
<prescript description="B1.105 PRESCRIPT">MESSAGE ADD,F3.105
MESSAGE ADD,F2.105
MESSAGE ADD,F1.105</prescript>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<font face="Arial" bold="1" size="8" />
<field border="2" x="1" y="1" type="Linea" width="100" height="0" pattern="1" />
<field x="1" y="1.25" type="Testo" bg_color="#C0C0C0" width="63" pattern="2" text="TOTALE NEL PERIODO SELEZIONATO" />
<field x="64" y="1.25" type="Numero" align="right" bg_color="#C0C0C0" width="7" id="104" pattern="2" />
<field x="71" y="1.25" type="Prezzo" align="right" bg_color="#C0C0C0" width="11" id="105" pattern="2" text="#########,@@" />
</section>
<section type="Foot" level="2" pattern="1">
<font italic="1" face="Arial" bold="1" size="8" />
<field border="2" y="0.25" type="Linea" width="100" height="0" pattern="1" />
<field x="1" y="0.5" type="Testo" bg_color="#000000" txt_color="#FFFFFF" width="15" pattern="2" text="Totale in data" />
<field x="16" y="0.5" type="Data" bg_color="#000000" txt_color="#FFFFFF" width="10" id="101" pattern="2" />
<field x="64" y="0.75" type="Numero" align="right" width="7" id="104" pattern="1" />
<field x="71" y="0.75" type="Prezzo" align="right" width="11" id="105" pattern="1" text="#########,@@" />
</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="64" y="0.5" type="Numero" align="right" width="7" id="104" pattern="1" />
<field x="71" y="0.5" type="Prezzo" align="right" width="11" id="105" pattern="1" text="#########,@@" />
</section>
<sql>USE RDOC
SELECT (BETWEEN(DATACONS,#DADATA,#ADATA))&#26;&#26;(33.TIPOCF="C")
BY DATACONS 33.CODCF CODART
JOIN DOC INTO CODNUM==CODNUM ANNO==ANNO PROVV==PROVV NDOC==NDOC
FROM CODNUM=#CODNUM ANNO=#ANNO PROVV=D
TO CODNUM=#CODNUM ANNO=#ANNO PROVV=D</sql>
</report>