campo-sirio/lv/lv0400c.rep

243 lines
9.6 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<report name="lv0400c" orientation="1" lpi="6" command="lv0 -1 lv0400c">
<description>Stampa Contratto per Cliente</description>
<font face="Courier New" size="8" />
<section type="Head" />
<section type="Head" level="1">
<field x="32.5" type="Testo" width="50" pattern="1" text="STAMPA DETTAGLIATA CONTRATTO LAVANDERIA">
<font face="Courier New" bold="1" size="9" />
</field>
<field border="2" x="1" y="2" type="Linea" width="115" height="0" pattern="1" />
<field x="2" y="2" type="Testo" width="20" pattern="1" text="Contratto Base Nr.">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="22" y="2" type="Numero" align="right" width="6" pattern="1">
<source>168.CODCONT</source>
</field>
<field x="43.5" y="2" type="Testo" width="10" pattern="1" text="Cliente">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="52" y="2" type="Stringa" width="50" pattern="1">
<source>500@.RAGSOC</source>
</field>
<field x="2" y="3" type="Testo" width="3" pattern="1" text="del" />
<field x="11" y="3" type="Data" width="12" pattern="1">
<source>168.DATAIN</source>
</field>
<field x="52" y="3" type="Stringa" width="35" pattern="1">
<source>500@.INDCF</source>
</field>
<field x="88.5" y="3" type="Stringa" width="10" pattern="1">
<source>500@.CIVCF</source>
</field>
<field x="2" y="4" type="Testo" width="10" pattern="1" text="Scadenza" />
<field x="11" y="4" type="Data" width="12" pattern="1">
<source>168.DATASC</source>
</field>
<field x="52" y="4" type="Stringa" width="6" pattern="1">
<source>500@.CAPCF</source>
</field>
<field x="59" y="4" type="Stringa" width="35" pattern="1">
<source>500@.LOCALITACF</source>
</field>
<field x="52" y="5" type="Testo" width="5" pattern="1" text="C.F." />
<field x="57" y="5" type="Stringa" width="16" pattern="1">
<source>500@.COFI</source>
</field>
<field border="2" x="1" y="6" type="Linea" width="115" height="0" pattern="1" />
<field x="2" y="6" type="Testo" width="10" pattern="1" text="Pagamento">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="13" y="6" type="Stringa" width="4" pattern="1">
<source>500@.CODPAG</source>
</field>
<field x="18" y="6" type="Stringa" width="30" pattern="1">
<source>201@.S0</source>
</field>
<field x="52" y="6" type="Testo" width="14" pattern="1" text="Consegnare a">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="2" y="7" type="Testo" width="12" pattern="1" text="Banca: ABI ">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="14" y="7" type="Numero" align="right" width="5" pattern="1">
<source>500@.CODABI</source>
</field>
<field x="22.5" y="7" type="Testo" width="4" pattern="1" text="CAB">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="27.5" y="7" type="Numero" align="right" width="5" pattern="1">
<source>500@.CODCAB</source>
</field>
<field x="52" y="7" type="Stringa" width="50" pattern="1">
<source>200@.RAGSOC</source>
</field>
<field x="3" y="8" type="Stringa" width="40" pattern="1">
<source>204@.S0</source>
</field>
<field x="52" y="8" type="Stringa" width="35" pattern="1">
<source>200@.INDIR</source>
</field>
<field x="88" y="8" type="Stringa" width="10" pattern="1">
<source>200@.CIV</source>
</field>
<field x="2" y="9" type="Testo" width="10" pattern="1" text="Valuta">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="11" y="9" type="Stringa" width="35" pattern="1">
<source>207@.S0</source>
</field>
<field x="52" y="9" type="Stringa" width="6" pattern="1">
<source>200@.CAP</source>
</field>
<field x="59" y="9" type="Stringa" width="35" pattern="1">
<source>200@.LOCALITA</source>
</field>
<field x="2" y="10" type="Testo" width="10" pattern="1" text="Iva" />
<field border="2" x="1" y="11" type="Linea" width="115" height="0" pattern="1" />
<field x="2" y="11" type="Testo" width="10" pattern="1" text="Vettori">
<font face="Courier New" bold="1" size="8" />
</field>
<field border="2" x="1" y="13.75" type="Linea" width="115" height="0" pattern="1" />
<field x="2" y="14" type="Testo" width="50" pattern="1" text="Commenti di Testata">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="2" y="14.75" type="Stringa" width="50" pattern="1">
<source>168.COMMENTI</source>
</field>
<field border="2" x="1" y="15.75" type="Linea" width="115" height="0" pattern="1" />
</section>
<section repeat="1" type="Head" level="2" width="1" page_break="1">
<groupby>CODCONT</groupby>
</section>
<section type="Body" />
<section type="Body" level="1" />
<section type="Head" level="11">
<font face="Courier New" bold="1" size="8" />
<field border="2" x="1" type="Linea" pattern="1" />
<field x="1" type="Stringa" pattern="1" />
<field x="2" type="Testo" width="17" pattern="1" text="Articolo" />
<field border="2" x="23" type="Linea" pattern="1" />
<field x="24" type="Stringa" pattern="1" />
<field x="24" type="Testo" width="50" pattern="1" text="Descrizione Articolo" />
<field x="76" type="Testo" width="18" pattern="1" text="Prezzo" />
<field x="96" type="Testo" width="3" pattern="1" text="UM" />
<field x="101" type="Testo" width="15" pattern="1" text="Q.t&#E0; Contr." />
<field border="2" x="1" y="1" type="Linea" width="115" height="0" pattern="1" />
<field border="2" x="75" type="Linea" pattern="1" />
<field border="2" x="95" type="Linea" pattern="1" />
<field border="2" x="100" type="Linea" pattern="1" />
<field border="2" x="116" type="Linea" pattern="1" />
</section>
<section type="Body" level="11" width="115" height="1">
<sql>USE 169
SELECT BETWEEN (CODCONT,#F_CODCONT_FROM,#F_CODCONT_TO)
JOIN 47 TO 169 ALIAS 600 INTO CODART==CODART
FROM CODCF=#F_CODCF_TO
TO CODCF=#F_CODCF_TO</sql>
<field border="2" x="1" type="Linea" pattern="1" />
<field border="2" x="1" type="Linea" pattern="1" />
<field x="2" type="Stringa" width="20" pattern="1">
<source>169.CODART</source>
</field>
<field border="2" x="23" type="Linea" pattern="1" />
<field x="24" type="Stringa" width="50" pattern="1">
<source>600@.DESCR</source>
</field>
<field border="2" x="75" type="Linea" pattern="1" />
<field x="76" type="Numero" align="right" width="18" pattern="1" hide_zero="1">
<source>169.PREZZO</source>
</field>
<field border="2" x="95" type="Linea" pattern="1" />
<field x="96" type="Stringa" width="3" pattern="1">
<source>169.UM</source>
</field>
<field border="2" x="100" type="Linea" pattern="1" />
<field x="100" type="Numero" align="right" width="14" pattern="1" hide_zero="1">
<source>169.QTACONG</source>
</field>
<field border="2" x="116" type="Linea" pattern="1" />
</section>
<section type="Foot" level="11">
<field border="2" x="1" type="Linea" pattern="1" />
<field border="2" x="23" type="Linea" pattern="1" />
<field border="2" x="1" y="1" type="Linea" width="115" height="0" pattern="1" />
<field x="116" type="Stringa" pattern="1" />
<field border="2" x="116" type="Linea" pattern="1" />
<field border="2" x="100" type="Linea" pattern="1" />
<field border="2" x="95" type="Linea" pattern="1" />
<field border="2" x="75" type="Linea" pattern="1" />
</section>
<section type="Head" level="12">
<font face="Courier New" bold="1" size="8" />
<field x="2" type="Testo" width="20" pattern="1" text="Dati di Consegna" />
<field x="2" y="1" type="Testo" width="10" pattern="1" text="Consegna" />
<field x="11" y="1" type="Testo" width="50" pattern="1" text="Cod.Itinerario - Descrizione" />
<field x="70" y="1" type="Testo" width="10" pattern="1" text="Ord.Ferm." />
<field x="80" y="1" type="Testo" width="10" pattern="1" text="Freq.Cons." />
<field x="90" y="1" type="Testo" width="10" pattern="1" text="Mod.Pass." />
<field border="2" x="1" y="2" type="Linea" width="115" height="0" pattern="1" />
</section>
<section type="Body" level="12">
<sql>USE 164
SELECT BETWEEN (CODCONT,#F_CODCONT_FROM,#F_CODCONT_TO)
JOIN %ITI TO 164 ALIAS 700 INTO CODTAB==CODITI
FROM CODCF=#F_CODCF_TO
TO CODCF=#F_CODCF_TO</sql>
<field x="2" type="Array" align="right" width="5" pattern="1">
<source>GGCONS</source>
<list>
<li Value="Lun." Code="1" />
<li Value="Mar." Code="2" />
<li Value="Mer." Code="3" />
<li Value="Gio." Code="4" />
<li Value="Ven." Code="5" />
<li Value="Sab." Code="6" />
<li Value="Dom." Code="7" />
</list>
</field>
<field x="11" type="Stringa" width="4" pattern="1">
<source>164.CODITI</source>
</field>
<field x="17" type="Stringa" width="50" pattern="1">
<source>700@.S0</source>
</field>
<field x="70" type="Numero" align="right" width="3" pattern="1">
<source>164.ORDFERM</source>
</field>
<field x="80" type="Stringa" width="2" pattern="1">
<source>164.FREQ</source>
</field>
<field x="90" type="Array" width="10" pattern="1">
<source>164.MODPASS</source>
<list>
<li Value="Entrambi" Code="E" />
<li Value="Consegna" Code="C" />
<li Value="Ritiro" Code="R" />
</list>
</field>
</section>
<section type="Foot" level="12" />
<section type="Foot" />
<section type="Foot" level="1">
<field border="2" x="1" y="1" type="Linea" width="115" height="0" pattern="1" />
</section>
<section type="Foot" level="2" />
<sql>USE 168
SELECT BETWEEN (CODCONT,#F_CODCONT_FROM,#F_CODCONT_TO)
JOIN 20 TO 168 ALIAS 500 INTO TIPOCF=="C" CODCF==CODCF
JOIN 16 TO 168 ALIAS 200 INTO TIPOCF=="C" CODCF==CODCF CODIND==CODINDSP
JOIN %CPG TO 20 ALIAS 201 INTO CODTAB==CODPAG
JOIN %BAN TO 20 ALIAS 204 INTO CODTAB==CODABI+CODCAB
JOIN %VAL TO 20 ALIAS 207 INTO CODTAB==CODVAL
FROM CODCF=#F_CODCF_TO
TO CODCF=#F_CODCF_TO</sql>
</report>