campo-sirio/ps/pd0350_consartreg.rep
alex d030bbabe2 Patch level : 4.0 667
Files correlati     :
Ricompilazione Demo : [ ]
Commento            :

Riportata la versione 3.1 patch 766


git-svn-id: svn://10.65.10.50/trunk@14628 c028cbd2-c16b-5b4b-a496-9718f37d4682
2006-12-13 16:22:33 +00:00

136 lines
5.9 KiB
Plaintext
Executable File

<report name="pd0350_consartreg" lpi="6">
<description>Consegnato per articolo&#2F;regione&#2F;provincia</description>
<font face="Courier New" size="10" />
<section type="Head">
<font face="Courier New" bold="1" size="10" />
<field x="1" type="Stringa" width="50" pattern="1">
<font italic="1" face="Courier New" bold="1" size="9" />
<source>#SYSTEM.RAGSOC</source>
</field>
<field x="80" type="Data" width="10" pattern="1">
<source>#SYSTEM.DATE</source>
</field>
<field x="165" type="Numero" align="right" width="3" pattern="1">
<source>#REPORT.PAGE</source>
</field>
<field x="1" y="1.25" type="Testo" width="32.5" pattern="1" text="Periodo Osservazione: Dalla data" />
<field x="34" y="1.25" type="Data" width="10" pattern="1">
<source>#DADATA</source>
</field>
<field x="50" y="1.25" type="Testo" width="9.5" pattern="1" text="Alla data" />
<field x="60" y="1.25" type="Data" width="10" pattern="1">
<source>#ADATA</source>
</field>
<field border="1" x="1" y="2.5" type="Linea" width="93" height="0" pattern="1" />
<field x="1" y="2.75" type="Testo" width="15" pattern="1" text="Cod. Articolo" />
<field x="22" y="2.75" type="Testo" width="15" pattern="1" text="Descrizione" />
<field x="5" y="4" type="Testo" width="10" pattern="1" text="Regione" />
<field x="7" y="5.25" type="Testo" width="10" pattern="1" text="Provincia" />
<field x="81.5" y="5.25" type="Testo" width="12" pattern="1" text="Qta venduta" />
<field border="1" x="1" y="6.5" type="Linea" width="93" height="0" pattern="1" />
</section>
<section type="Head" level="1">
<field y="0.75" type="Testo" align="center" width="94" height="2" pattern="1" text="CONSEGNATO PER ARTICOLO &#2F; REGIONE &#2F; PROVINCIA">
<font face="Courier New" bold="1" size="16" />
</field>
</section>
<section type="Head" level="2">
<groupby>CODARTMAG</groupby>
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.105</prescript>
<field border="2" x="1" y="1.75" type="Linea" width="90" height="0" pattern="1" />
<field x="1" y="0.5" type="Stringa" width="20" id="106" pattern="1">
<font italic="1" face="Courier New" bold="1" size="10" />
<source>CODARTMAG</source>
<postscript description="H2.106 POSTSCRIPT">MESSAGE COPY,F2.106</postscript>
</field>
<field x="22" y="0.5" type="Stringa" width="50" id="107" pattern="1">
<font italic="1" face="Courier New" bold="1" size="10" />
<source>DESCR</source>
<postscript description="H2.107 POSTSCRIPT">MESSAGE COPY,F2.107</postscript>
</field>
</section>
<section type="Head" level="3">
<groupby>REGIONE</groupby>
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.105</prescript>
<field x="5" type="Stringa" align="right" width="2" id="101" pattern="1">
<font italic="1" face="Courier New" bold="1" size="10" />
<source>REGIONE</source>
<postscript description="H3.101 POSTSCRIPT">#THIS @
"F3.101" !</postscript>
</field>
<field x="12" type="Stringa" width="50" id="102" pattern="1">
<font italic="1" face="Courier New" bold="1" size="10" />
<prescript description="H3.102 PRESCRIPT">MESSAGE TABLEREAD,%RGI,#101,S0</prescript>
<postscript description="H3.102 POSTSCRIPT">#THIS @
"F3.102" !</postscript>
</field>
</section>
<section type="Head" level="4" hidden="1">
<groupby>PROVINCIA</groupby>
<prescript description="H4 PRESCRIPT">MESSAGE RESET,F4.105</prescript>
<field x="7" type="Stringa" width="5" id="101" pattern="1">
<source>PROVINCIA</source>
<prescript description="H4.101 PRESCRIPT">#THIS @
"F4.101" !</prescript>
</field>
</section>
<section type="Body" />
<section type="Body" level="1">
<field x="1" type="Numero" hidden="1" align="right" width="10" id="103" pattern="1">
<source>QTA</source>
<prescript description="B1.103 PRESCRIPT">#THIS @
"F4.105"
+!</prescript>
</field>
</section>
<section type="Foot">
<field x="81.5" type="Stringa" width="8.5" pattern="1" text="Pag.">
<source>#PAGE</source>
</field>
</section>
<section type="Foot" level="1" />
<section type="Foot" level="2" height="1.5">
<field x="72.5" type="Testo" width="4" pattern="1" text="Tot.">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="77" type="Numero" align="right" width="15" id="105" pattern="1">
<font face="Courier New" bold="1" size="10" />
</field>
<field x="1" type="Stringa" width="20" id="106" pattern="1">
<font italic="1" face="Courier New" size="10" />
<postscript description="F2.106 POSTSCRIPT">MESSAGE COPY,F2,106</postscript>
</field>
<field x="22" type="Stringa" width="50" id="107" pattern="1">
<font italic="1" face="Courier New" size="10" />
<postscript description="F2.107 POSTSCRIPT">MESSAGE COPY,F2,107</postscript>
</field>
</section>
<section type="Foot" level="3">
<field x="66" type="Testo" width="10" pattern="1" text="Totale">
<font italic="1" face="Courier New" bold="1" size="10" />
</field>
<field border="1" x="1" y="1.25" type="Linea" width="90" height="0" pattern="1" />
<field x="5" type="Stringa" align="right" width="2" id="101" pattern="1">
<font italic="1" face="Courier New" size="10" />
</field>
<field x="12" type="Stringa" width="50" id="102" pattern="1">
<font italic="1" face="Courier New" size="10" />
</field>
<field x="77" type="Numero" align="right" width="15" id="105" pattern="1">
<font italic="1" face="Courier New" bold="1" size="10" />
<postscript description="F3.105 POSTSCRIPT">MESSAGE ADD,F2.105</postscript>
</field>
</section>
<section type="Foot" level="4">
<field x="7" type="Stringa" width="5" id="101" pattern="1" />
<field x="77" type="Numero" align="right" width="15" id="105" pattern="1">
<postscript description="F4.105 POSTSCRIPT">MESSAGE ADD,F3.105</postscript>
</field>
</section>
<sql>USE 1000
SELECT ((#REG='')||(REGIONE=#REG))&#26;&#26;(NUM(ANSI(DATADOC)&#3E;=ANSI(#DADATA)))&#26;&#26;(NUM(ANSI(DATADOC)&#3C;=ANSI(#ADATA)))
FROM CODARTMAG=#DACODART REGIONE=#REG
TO CODARTMAG=#ACODART REGIONE=#REG
</sql>
</report>