Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/trunk@17553 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
lvietri 2008-11-05 10:04:49 +00:00
parent 1bf871020f
commit 3f9b55b307

@ -3,11 +3,14 @@
<description>Stampa Contratto per Cliente</description>
<font face="Courier New" size="8" />
<section type="Head" />
<section type="Head" level="1">
<section type="Head" level="1" />
<section repeat="1" type="Head" level="2" width="119" height="21" page_break="1">
<groupby>CODCONT</groupby>
<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 border="2" x="1" y="2" type="Linea" height="19" 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>
@ -20,7 +23,10 @@
<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 border="2" x="116" y="2" type="Linea" height="19" pattern="1" />
<field x="2" y="3" type="Testo" width="3" pattern="1" text="del">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="11" y="3" type="Data" width="12" pattern="1">
<source>168.DATAIN</source>
</field>
@ -30,7 +36,9 @@
<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="2" y="4" type="Testo" width="10" pattern="1" text="Scadenza">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="11" y="4" type="Data" width="12" pattern="1">
<source>168.DATASC</source>
</field>
@ -45,70 +53,133 @@
<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">
<field x="2" y="6" type="Testo" width="14" pattern="1" text="Consegnare a">
<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">
<field border="2" x="53" y="6" type="Linea" height="8" pattern="1" />
<field x="55" y="6" type="Testo" width="50" pattern="1" text="Indirizzo Documento">
<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">
<field x="2" 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 x="55" y="7" type="Stringa" width="50" pattern="1">
<source>301@.RAGSOC</source>
</field>
<field x="52" y="8" type="Stringa" width="35" pattern="1">
<field x="2" y="8" type="Stringa" width="35" pattern="1">
<source>200@.INDIR</source>
</field>
<field x="88" y="8" type="Stringa" width="10" pattern="1">
<field x="38" 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 x="55" y="8" type="Stringa" width="35" pattern="1">
<source>301@.INDIR</source>
</field>
<field x="11" y="9" type="Stringa" width="35" pattern="1">
<source>207@.S0</source>
<field x="92" y="8" type="Stringa" width="10" pattern="1">
<source>301@.CIV</source>
</field>
<field x="52" y="9" type="Stringa" width="6" pattern="1">
<field x="2" y="9" type="Stringa" width="6" pattern="1">
<source>200@.CAP</source>
</field>
<field x="59" y="9" type="Stringa" width="35" pattern="1">
<field x="9" 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">
<field x="55" y="9" type="Stringa" width="5" pattern="1">
<source>301@.CAP</source>
</field>
<field x="61" y="9" type="Stringa" width="35" pattern="1">
<source>301@.LOCALITA</source>
</field>
<field border="2" x="1" y="10" type="Linea" width="115" height="0" pattern="1" />
<field x="2" y="10" type="Testo" width="10" pattern="1" text="Pagamento">
<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">
<field x="13" y="10" type="Stringa" width="4" pattern="1">
<source>500@.CODPAG</source>
</field>
<field x="18" y="10" type="Stringa" width="30" pattern="1">
<source>201@.S0</source>
</field>
<field x="55" y="10" type="Testo" width="10" pattern="1" text="Vettori">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="2" y="14.75" type="Stringa" width="50" pattern="1">
<field x="2" y="11" type="Testo" width="12" pattern="1" text="Banca: ABI ">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="14" y="11" type="Numero" align="right" width="5" pattern="1">
<source>500@.CODABI</source>
</field>
<field x="22.5" y="11" type="Testo" width="4" pattern="1" text="CAB">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="27.5" y="11" type="Numero" align="right" width="5" pattern="1">
<source>500@.CODCAB</source>
</field>
<field x="55" y="11" type="Stringa" width="60" pattern="1">
<source>306@.S0</source>
</field>
<field x="3" y="12" type="Stringa" width="40" pattern="1">
<source>204@.S0</source>
</field>
<field x="55" y="12" type="Stringa" width="60" pattern="1">
<source>307@.S0</source>
</field>
<field x="2" y="13" type="Testo" width="10" pattern="1" text="Valuta">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="11" y="13" type="Stringa" width="35" pattern="1">
<source>207@.S0</source>
</field>
<field x="55" y="13" type="Stringa" width="60" pattern="1">
<source>308@.S0</source>
</field>
<field border="2" x="1" y="14" type="Linea" width="115" height="0" pattern="1" />
<field x="2" y="14" type="Testo" width="10" pattern="1" text="Agente">
<font face="Courier New" bold="1" size="8" />
</field>
<field border="2" x="61" y="14" type="Linea" height="3" pattern="1" />
<field x="62" y="14" type="Testo" width="10" pattern="1" text="Porto">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="70" y="14" type="Stringa" width="45" pattern="1">
<source>302@.S0</source>
</field>
<field x="2" y="15" type="Stringa" width="6" pattern="1">
<source>304@.CODAGE</source>
</field>
<field x="10" y="15" type="Stringa" width="50" pattern="1">
<source>304@.RAGSOC</source>
</field>
<field x="62" y="15" type="Testo" width="10" pattern="1" text="Mezzo">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="70" y="15" type="Stringa" width="45" pattern="1">
<source>303@.S0</source>
</field>
<field x="62" y="16" type="Testo" width="10" pattern="1" text="Zona">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="70" y="16" type="Stringa" width="45" pattern="1">
<source>305@.S0</source>
</field>
<field border="2" x="1" y="17" type="Linea" width="115" height="0" pattern="1" />
<field x="2" y="17" type="Testo" width="20" pattern="1" text="Causale di default">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="2" y="18" type="Stringa" width="7" pattern="1">
<source>168.CAUSLAV</source>
</field>
<field x="10" y="18" type="Stringa" width="50" pattern="1">
<source>208@.S0</source>
</field>
<field border="2" x="1" y="19" type="Linea" width="115" height="0" pattern="1" />
<field x="2" y="19" type="Testo" width="50" pattern="1" text="Commenti di Testata">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="2" y="20" 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>
<field border="2" x="1" y="21" type="Linea" width="115" height="0" pattern="1" />
</section>
<section type="Body" />
<section type="Body" level="1" />
@ -132,40 +203,42 @@
<section type="Body" level="11" width="115" height="1">
<sql>USE 169
JOIN 47 TO 169 ALIAS 600 INTO CODART==CODART
FROM CODCF=#PARENT.CODCF #PARENT.CODCONT
TO CODCF=#PARENT.CODCF #PARENT.CODCONT</sql>
FROM CODCF=#PARENT.CODCF CODCONT=#PARENT.CODCONT
TO CODCF=#PARENT.CODCF CODCONT=#PARENT.CODCONT
</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 border="1" 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 border="1" 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 border="1" 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">
<field border="1" x="100" type="Linea" pattern="1" />
<field x="101" 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 border="1" x="23" type="Linea" pattern="1" />
<field border="1" x="75" type="Linea" pattern="1" />
<field border="1" x="95" type="Linea" pattern="1" />
<field border="1" x="100" type="Linea" 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" />
<field border="2" x="1" y="1" type="Linea" width="115" height="0" pattern="1" />
</section>
<section type="Head" level="12">
<font face="Courier New" bold="1" size="8" />
@ -176,12 +249,16 @@ TO CODCF=#PARENT.CODCF #PARENT.CODCONT</sql>
<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" />
<field border="2" x="1" type="Linea" height="2" pattern="1" />
<field border="2" x="116" type="Linea" height="2" pattern="1" />
</section>
<section type="Body" level="12">
<sql>USE 164
JOIN %ITI TO 164 ALIAS 700 INTO CODTAB==CODITI
FROM CODCF=#PARENT.CODCF #PARENT.CODCONT
TO CODCF=#PARENT.CODCF #PARENT.CODCONT</sql>
JOIN &#26;ITI TO 164 ALIAS 700 INTO CODTAB==CODITI
FROM CODCF=#PARENT.CODCF CODCONT=#PARENT.CODCONT
TO CODCF=#PARENT.CODCF CODCONT=#PARENT.CODCONT
</sql>
<field border="2" x="1" type="Linea" pattern="1" />
<field x="2" type="Array" align="right" width="5" pattern="1">
<source>GGCONS</source>
<list>
@ -214,20 +291,73 @@ TO CODCF=#PARENT.CODCF #PARENT.CODCONT</sql>
<li Value="Ritiro" Code="R" />
</list>
</field>
<field border="2" x="116" type="Linea" pattern="1" />
</section>
<section type="Foot" level="12" />
<section type="Foot" />
<section type="Foot" level="1">
<section type="Foot" level="12">
<field border="2" x="1" y="1" type="Linea" width="115" height="0" pattern="1" />
<field border="2" x="1" type="Linea" pattern="1" />
<field border="2" x="116" type="Linea" pattern="1" />
</section>
<section type="Head" level="13">
<field border="2" x="1" type="Linea" height="2" pattern="1" />
<field x="2" type="Testo" width="50" pattern="1" text="Periodi di Sospensione">
<font face="Courier New" bold="1" size="8" />
</field>
<field border="2" x="116" type="Linea" height="2" pattern="1" />
<field x="2" y="1" type="Testo" width="12" pattern="1" text="Data Iniziale">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="20" y="1" type="Testo" width="12" pattern="1" text="Data Finale">
<font face="Courier New" bold="1" size="8" />
</field>
<field x="35" y="1" type="Testo" width="70" pattern="1" text="Tipo Sosp. - Descrizione Sospensione">
<font face="Courier New" bold="1" size="8" />
</field>
<field border="2" x="1" y="2" type="Linea" width="115" height="0" pattern="1" />
</section>
<section type="Body" level="13">
<sql>USE 165
JOIN &#26;TSP TO 165 ALIAS 800 INTO CODTAB==TPSOSP
FROM CODCF=#PARENT.CODCF CODCONT=#PARENT.CODCONT
TO CODCF=#PARENT.CODCF CODCONT=#PARENT.CODCONT
</sql>
<field x="2" type="Data" width="10" pattern="1">
<source>165.DATAINI</source>
</field>
<field x="20" type="Data" width="10" pattern="1">
<source>165.DATAFIN</source>
</field>
<field x="40" type="Stringa" width="4" pattern="1">
<source>165.TPSOSP</source>
</field>
<field x="50" type="Stringa" width="50" pattern="1">
<source>800@.S0</source>
</field>
<field border="2" x="1" y="1" type="Linea" width="115" height="0" pattern="1" />
<field border="2" x="1" type="Linea" pattern="1" />
<field border="2" x="116" type="Linea" pattern="1" />
</section>
<section type="Foot" level="13" />
<section type="Foot" />
<section type="Foot" level="1" />
<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>
JOIN %CAU TO 168 ALIAS 208 INTO CODTAB==CAUSLAV
JOIN 17 TO 168 ALIAS 300 INTO TIPOCF=="C" CODCF==CODCF
JOIN 16 TO 17 ALIAS 301 INTO TIPOCF=="C" CODCF==CODCF CODIND==CODINDDOC
JOIN %POR TO 17 ALIAS 302 INTO CODTAB==CODPORTO
JOIN %MSP TO 17 ALIAS 303 INTO CODTAB==CODSPMEZZO
JOIN 122 TO 17 ALIAS 304 INTO CODAGE==CODAG
JOIN ZON TO 17 ALIAS 305 INTO CODTAB==CODZONA
JOIN %VET TO 17 ALIAS 306 INTO CODTAB==CODVETT1
JOIN %VET TO 17 ALIAS 307 INTO CODTAB==CODVETT2
JOIN %VET TO 17 ALIAS 308 INTO CODTAB==CODVETT3
FROM CODCONT=#F_CODCONT_FROM CODCF=#F_CODCF_TO
TO CODCONT=#F_CODCONT_TO CODCF=#F_CODCF_TO
</sql>
</report>