campo-sirio/lv/lv0900a.rep

157 lines
6.8 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<report name="lv0900a" lpi="6">
<description>Stampa Statistica per Lavatrice</description>
<font face="Courier New" size="10" />
<section type="Head" height="9.5">
<field x="0.5" type="Testo" width="12" pattern="1" text="Data Elab.:" />
<field x="11.5" type="Stringa" width="12" pattern="1">
<prescript>MESSAGE _TODAY</prescript>
</field>
<field x="71.5" type="Testo" width="6" pattern="1" text="Pag.:" />
<field x="76.5" type="Stringa" width="12" pattern="1">
<prescript>MESSAGE _PAGENO</prescript>
</field>
<field x="21" y="1.25" type="Testo" width="60" height="2" pattern="1" text="Stampa Statistica per Lavatrice">
<font face="Courier New" bold="1" size="14" />
</field>
<field border="2" y="3.25" type="Rettangolo" width="91" height="4.5" pattern="1" />
<field x="0.5" y="3.75" type="Testo" width="12" pattern="1" text="Numerazione:">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="12.5" y="3.75" type="Stringa" width="4" pattern="1">
<source>#F_CODNUM</source>
</field>
<field x="17.5" y="3.75" type="Stringa" width="50" pattern="1">
<source>#F_DESCODNUM</source>
</field>
<field x="0.5" y="4.75" type="Testo" width="10" pattern="1" text="Tipo:">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="12.5" y="4.75" type="Stringa" width="4" pattern="1">
<source>#F_TIPODOC</source>
</field>
<field x="17.5" y="4.75" type="Stringa" width="50" pattern="1">
<source>#F_DESTIPODOC</source>
</field>
<field x="0.5" y="5.75" type="Testo" width="10" pattern="1" text="Da Data:">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="12.5" y="5.75" type="Data" width="10" pattern="1">
<source>#F_DATADOC_DA</source>
</field>
<field x="24.5" y="5.75" type="Testo" width="10" pattern="1" text="a Data:">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="32" y="5.75" type="Data" width="10" pattern="1">
<source>#F_DATADOC_A</source>
</field>
<field y="8.25" type="Testo" width="10" pattern="1" text="Articolo" />
<field x="14" y="8.25" type="Testo" width="15" pattern="1" text="Descrizione" />
<field x="57" y="8.25" type="Testo" align="right" width="5" pattern="1" text="Qt&#E0;" />
<field x="63" y="8.25" type="Testo" align="right" width="10" pattern="1" text="Importo" />
<field x="74" y="8.25" type="Testo" align="right" width="16" pattern="1" text="Peso" />
</section>
<section type="Head" level="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F2.100
MESSAGE RESET,F2.101
MESSAGE RESET,F2.102
MESSAGE RESET,F1.100
MESSAGE RESET,F1.101
MESSAGE RESET,F1.102</prescript>
</section>
<section type="Head" level="2" height="1.5" page_break="1">
<groupby>47.LAVATRICE</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.100
MESSAGE RESET,F2.101
MESSAGE RESET,F2.102</prescript>
<field y="0.25" type="Testo" width="10" pattern="1" text="Lavatrice:" />
<field x="12" y="0.25" type="Stringa" width="5" pattern="1">
<font face="Courier New" bold="1" size="10" />
<source>47.LAVATRICE</source>
</field>
</section>
<section type="Head" level="3">
<groupby>47.CODART</groupby>
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.100
MESSAGE RESET,F3.101
MESSAGE RESET,F3.102
MESSAGE RESET,F3.1
MESSAGE RESET,F3.2
</prescript>
</section>
<section type="Body" />
<section type="Body" level="1" hidden="1">
<condition>#F_TOT!='X'</condition>
<field type="Stringa" width="20" pattern="1">
<source>47.CODART</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE COPY,F3.1</prescript>
</field>
<field x="14" type="Stringa" width="42" pattern="1">
<source>47.DESCR</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE COPY,F3.2</prescript>
</field>
<field x="57" type="Numero" align="right" width="5" pattern="1">
<source>34.QTA</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.100</prescript>
</field>
<field x="63" type="Numero" align="right" width="13" pattern="1">
<source>34.QTA * 34.PREZZO</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.101</prescript>
</field>
<field x="77" type="Numero" align="right" width="13" pattern="1">
<source>34.QTA * 47.PESO</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F3.102</prescript>
</field>
</section>
<section type="Foot" />
<section type="Foot" level="1">
<field border="2" y="0.5" type="Rettangolo" width="91" height="2.5" pattern="1" />
<field x="16" y="1.25" type="Testo" width="22" pattern="1" text="Totale Statistica: ">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="57" y="1.25" type="Numero" align="right" width="5" id="100" pattern="1">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="63" y="1.25" type="Numero" align="right" width="13" id="101" pattern="1">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="77" y="1.25" type="Numero" align="right" width="13" id="102" pattern="1">
<font face="Courier New" bold="1" size="10" />
</field>
</section>
<section type="Foot" level="2">
<field x="15" y="0.5" type="Testo" width="22" pattern="1" text="Totale per Lavatrice: ">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="57" y="0.5" type="Numero" align="right" width="5" id="100" pattern="1">
<font face="Courier New" bold="1" size="10" />
<prescript description="F2.100 PRESCRIPT">MESSAGE ADD,F1.100</prescript>
</field>
<field x="63" y="0.5" type="Numero" align="right" width="13" id="101" pattern="1">
<font face="Courier New" bold="1" size="10" />
<prescript description="F2.101 PRESCRIPT">MESSAGE ADD,F1.101</prescript>
</field>
<field x="77" y="0.5" type="Numero" align="right" width="13" id="102" pattern="1">
<font face="Courier New" bold="1" size="10" />
<prescript description="F2.102 PRESCRIPT">MESSAGE ADD,F1.102</prescript>
</field>
</section>
<section type="Foot" level="3">
<field type="Stringa" width="20" id="1" pattern="1" />
<field x="14" type="Stringa" width="42" id="2" pattern="1" />
<field x="57" type="Numero" align="right" width="5" id="100" pattern="1">
<prescript description="F3.100 PRESCRIPT">MESSAGE ADD,F2.100</prescript>
</field>
<field x="63" type="Numero" align="right" width="13" id="101" pattern="1">
<prescript description="F3.101 PRESCRIPT">MESSAGE ADD,F2.101</prescript>
</field>
<field x="77" type="Numero" align="right" width="13" id="102" pattern="1">
<prescript description="F3.102 PRESCRIPT">MESSAGE ADD,F2.102</prescript>
</field>
</section>
<sql>USE 34 KEY 5
SELECT (BETWEEN(33.TIPODOC,#F_TIPODOC,#F_TIPODOC)&#26;&#26;(BETWEEN(34.CODNUM,#F_CODNUM,#F_CODNUM))&#26;&#26;(BETWEEN(33.DATADOC,#F_DATADOC_DA,#F_DATADOC_A))&#26;&#26;(34.CODART!=''))
BY 47.LAVATRICE 47.CODART
JOIN 33 INTO CODNUM==CODNUM ANNO==ANNO PROVV==PROVV NDOC==NDOC
JOIN 47 TO 34 INTO CODART==CODART</sql>
</report>