campo-sirio/ha/ha3700a.rep
guy 0640c520b1 Correzioni a maschere stampa attrezzature
git-svn-id: svn://10.65.10.50/branches/R_10_00@22705 c028cbd2-c16b-5b4b-a496-9718f37d4682
2012-07-12 15:23:49 +00:00

182 lines
8.9 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8" ?>
<report name="ha3700a" lpi="6">
<description>Storico attrezzature</description>
<font face="Arial" size="8" />
<section type="Head" hidden="1" pattern="1">
<field x="2" y="0.5" type="Testo" bg_color="#C0C0C0" width="6" pattern="2" text="Cliente">
<font face="Arial" bold="1" size="8" />
</field>
<field x="3" y="1.5" type="Testo" width="15" pattern="1" text="Attrezzatura">
<font face="Arial" bold="1" size="8" />
</field>
<field x="4" y="2.5" type="Testo" width="3" pattern="1" text="Tipo" />
<field x="7.5" y="2.5" type="Testo" width="2" pattern="1" text="Ch" />
<field x="10" y="2.5" type="Testo" align="center" width="10" pattern="1" text="Data" />
<field x="21" y="2.5" type="Testo" width="12" pattern="1" text="Descrizione" />
<field x="90" y="2.5" type="Testo" width="2.5" pattern="1" text="UM" />
<field x="93" y="2.5" type="Testo" align="right" width="4" pattern="1" text="Qta" />
<field x="98" y="2.5" type="Testo" align="right" width="10" pattern="1" text="Importo" />
<field border="1" x="1" y="3.5" type="Linea" width="110" height="0" pattern="1" />
</section>
<section type="Head" level="1" pattern="1">
<prescript description="H1 PRESCRIPT">MESSAGE RESET,F1</prescript>
<field x="35" y="0.25" type="Testo" valign="center" align="center" fg_color="#FFFFFF" txt_color="#000000" width="50" height="2" pattern="2" text="Stampa interventi attrezzature">
<font face="Arial" bold="1" size="14" />
</field>
</section>
<section type="Head" level="2" page_break="1" pattern="1">
<groupby>122-&#3E;CODAGE</groupby>
<font face="Arial" bold="1" size="8" />
<prescript description="H2 PRESCRIPT">MESSAGE RESET,F2</prescript>
<field x="57" type="Testo" width="54" pattern="2" />
<field x="1" y="2" type="Testo" bg_color="#FFFF00" width="10" pattern="2" text="Agente">
<font face="Arial" bold="1" size="10" />
</field>
<field x="16.5" y="2" type="Testo" bg_color="#FFFF00" width="2" pattern="2" />
<field x="68" y="2" type="Stringa" bg_color="#FFFF00" width="43" pattern="2" />
<field x="11" y="2" type="Stringa" bg_color="#FFFF00" width="6" id="101" pattern="2">
<font face="Arial" bold="1" size="10" />
<source>122-&#3E;CODAGE</source>
</field>
<field x="18" y="2" type="Stringa" bg_color="#FFFF00" width="50" id="102" pattern="2">
<font face="Arial" bold="1" size="10" />
<prescript description="H2.102 PRESCRIPT">MESSAGE ISAMREAD,122,CODAGE=#101,RAGSOC
</prescript>
</field>
</section>
<section type="Head" level="3" pattern="1">
<groupby>STR(I0)+STR(I1)</groupby>
<font face="Arial" bold="1" size="8" />
<prescript description="H3 PRESCRIPT">MESSAGE RESET,F3</prescript>
<field border="1" x="1" y="0.5" type="Stringa" width="111" height="1.5" pattern="1" />
<field x="10" y="0.75" type="Numero" hidden="1" align="right" width="3" pattern="1">
<source>I1</source>
<prescript description="H3.0 PRESCRIPT">MESSAGE EMPTY ISAMREAD,20,TIPOCF='C'!CODCF=I0,103=RAGSOC!104=INDCF!105=CAPCF!106=COMCF
MESSAGE ISAMREAD,16,TIPOCF='C'!CODCF=I0!CODIND=I1,103=RAGSOC!104=INDIR!105=CAP!106=COM</prescript>
</field>
<field x="1" y="2.25" type="Testo" width="10" height="0.5" pattern="1" />
<field x="2" y="0.75" type="Numero" align="right" width="8" id="101" pattern="2">
<font face="Arial" bold="1" size="9" />
<source>I0</source>
</field>
<field x="12.5" y="0.75" type="Stringa" width="35" id="103" pattern="2">
<font face="Arial Narrow" bold="1" size="9" />
</field>
<field x="59.5" y="0.75" type="Stringa" width="25" id="104" pattern="2">
<font face="Arial Narrow" bold="1" size="9" />
</field>
<field x="85" y="0.75" type="Stringa" width="5" id="105" pattern="2">
<font face="Arial Narrow" bold="1" size="9" />
</field>
<field x="90.5" y="0.75" type="Stringa" hidden="1" width="4" id="106" pattern="1">
<font face="Arial Narrow" size="8" />
</field>
<field x="91" y="0.75" type="Stringa" width="20" id="107" pattern="2">
<font face="Arial Narrow" bold="1" size="9" />
<prescript description="H3.107 PRESCRIPT">MESSAGE ISAMREAD,13,COM=#106,DENCOM</prescript>
</field>
</section>
<section type="Head" level="4" pattern="1">
<groupby>CODTAB[1,12]</groupby>
<font face="Arial" bold="1" size="8" />
<prescript description="H4 PRESCRIPT">MESSAGE RESET,F4</prescript>
<field x="1" y="0.75" type="Testo" width="10" height="0.5" pattern="1" />
<field x="12" type="Stringa" width="21" id="101" pattern="1">
<prescript description="H4.101 PRESCRIPT">MESSAGE ISAMREAD,163,MOD='HA'!COD='ATT'!CODTAB=#102,S0</prescript>
</field>
<field x="3" type="Stringa" width="8" id="102" pattern="1">
<source>CODTAB[1,8]</source>
</field>
<field x="34" type="Stringa" width="50" id="104" pattern="1">
<prescript description="H4.104 PRESCRIPT">MESSAGE ISAMREAD,47,CODART=#101,DESCR</prescript>
</field>
<field x="84.5" type="Stringa" width="27" id="105" pattern="1">
<prescript description="H4.105 PRESCRIPT">MESSAGE ISAMREAD,163,MOD='HA'!COD='ATT'!CODTAB=#102,S3</prescript>
</field>
</section>
<section type="Body" pattern="1" />
<section type="Body" level="1" pattern="1">
<field x="6" type="Array" width="1" pattern="1">
<source>S7[1,1]</source>
<list>
<li Value="Comodato" Code="C" />
<li Value="Descrittivo" Code="D" />
<li Value="Insegne" Code="I" />
<li Value="Riparazione" Code="R" />
<li Value="Varie" Code="V" />
</list>
</field>
<field x="8" type="Booleano" width="1.5" pattern="1">
<source>B0</source>
</field>
<field x="10" type="Data" width="10" pattern="1">
<source>D0</source>
</field>
<field x="21" type="Stringa" width="70" pattern="1">
<source>S0</source>
</field>
<field x="92" type="Stringa" width="2" pattern="1">
<source>S6[1,2]</source>
</field>
<field x="94" type="Numero" align="right" width="3" pattern="1">
<source>R0</source>
</field>
<field x="98" type="Valuta" align="right" width="10" pattern="1" text="#########,@@">
<source>R1</source>
<prescript description="B1.0 PRESCRIPT">MESSAGE ADD,F4.110
MESSAGE ADD,F3.110
MESSAGE ADD,F2.110
MESSAGE ADD,F1.110</prescript>
</field>
</section>
<section type="Foot" pattern="1" />
<section type="Foot" level="1" pattern="1">
<font face="Arial" bold="1" size="8" />
<field border="1" x="1" y="0.75" type="Linea" width="110" height="0" pattern="1" />
<field x="1" y="1.25" type="Testo" fg_color="#FFFFFF" txt_color="#030303" width="30" height="2" pattern="2" text="Totale complessivo">
<font face="Arial" bold="1" size="11" />
</field>
<field x="96" y="1" type="Valuta" align="right" fg_color="#FFFFFF" txt_color="#000000" width="13" height="2" id="110" pattern="2" text="#########,@@">
<font face="Arial" bold="1" size="11" />
</field>
</section>
<section type="Foot" level="2" pattern="1">
<font face="Arial" bold="1" size="8" />
<field border="1" x="1" y="0.75" type="Linea" width="110" height="0" pattern="1" />
<field x="1" y="1.75" type="Testo" bg_color="#FFFF00" width="20" pattern="2" text="Totale Agente">
<font face="Arial" bold="1" size="10" />
</field>
<field x="29" y="1.75" type="Testo" bg_color="#FFFF00" width="82" pattern="2" />
<field x="21" y="1.75" type="Stringa" bg_color="#FFFF00" width="8" id="101" pattern="2">
<font face="Arial" bold="1" size="10" />
<source>122-&#3E;CODAGE</source>
</field>
<field x="97" y="1.75" type="Valuta" align="right" bg_color="#FFFF00" width="12" id="110" pattern="2" text="#########,@@">
<font face="Arial" bold="1" size="9" />
</field>
</section>
<section type="Foot" level="3" pattern="1">
<font face="Arial" bold="1" size="8" />
<field border="1" x="1" y="0.5" type="Linea" width="110" height="0" pattern="1" />
<field x="1" y="1" type="Testo" bg_color="#C0C0C0" width="20" pattern="1" text="Totale Cliente">
<font face="Arial" bold="1" size="9" />
</field>
<field x="97" y="1" type="Valuta" align="right" bg_color="#C0C0C0" width="12" id="110" pattern="1" text="#########,@@">
<font face="Arial" bold="1" size="9" />
</field>
</section>
<section type="Foot" level="4" pattern="1">
<font face="Arial" bold="1" size="8" />
<field border="1" x="5" y="0.25" type="Linea" width="103" height="0" pattern="1" />
<field x="89" y="0.5" type="Testo" width="8" pattern="1" text="Totale " />
<field x="59" y="1" type="Testo" width="10" height="0.5" pattern="1" />
<field x="98" y="0.5" type="Valuta" align="right" width="11" id="110" pattern="1" text="#########,@@" />
</section>
<sql>USE &#26;HAHIS SELECT (BETWEEN(S7[1,1];#TIPO;#TIPO))&#26;&#26;(BETWEEN(122-&#3E;CODAGE,#CODAG,#CODAG))&#26;&#26;(BETWEEN(I0,#CODCF,#CODCF))&#26;&#26;(BETWEEN(I1,#INDSPED,#INDSPED))
BY 122-&#3E;CODAGE I0 I1 CODTAB
JOIN &#26;HAATT ALIAS 401 INTO CODTAB==CODTAB[1,8]
JOIN CFVEN INTO TIPOCF="C" CODCF==I0
JOIN AGENTI TO CFVEN INTO CODAGE==CODAG
FROM CODTAB=#PROGRESSIVO
TO CODTAB=#PROGRESSIVO</sql>
</report>