<?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" /> <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> <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 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> <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"> <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> <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="14" pattern="1" text="Consegnare a"> <font face="Courier New" bold="1" size="8" /> </field> <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="Stringa" width="50" pattern="1"> <source>200@.RAGSOC</source> </field> <field x="55" y="7" type="Stringa" width="50" pattern="1"> <source>301@.RAGSOC</source> </field> <field x="2" y="8" type="Stringa" width="35" pattern="1"> <source>200@.INDIR</source> </field> <field x="38" y="8" type="Stringa" width="10" pattern="1"> <source>200@.CIV</source> </field> <field x="55" y="8" type="Stringa" width="35" pattern="1"> <source>301@.INDIR</source> </field> <field x="92" y="8" type="Stringa" width="10" pattern="1"> <source>301@.CIV</source> </field> <field x="2" y="9" type="Stringa" width="6" pattern="1"> <source>200@.CAP</source> </field> <field x="9" y="9" type="Stringa" width="35" pattern="1"> <source>200@.LOCALITA</source> </field> <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 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="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="21" type="Linea" width="115" height="0" pattern="1" /> </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 JOIN 47 TO 169 ALIAS 600 INTO CODART==CODART 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="1" x="23" type="Linea" pattern="1" /> <field x="24" type="Stringa" width="50" pattern="1"> <source>600@.DESCR</source> </field> <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="1" x="95" type="Linea" pattern="1" /> <field x="96" type="Stringa" width="3" pattern="1"> <source>169.UM</source> </field> <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="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="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" /> <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" /> <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 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> <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> <field border="2" x="116" type="Linea" pattern="1" /> </section> <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 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 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 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>