<?xml version="1.0" encoding="UTF-8" ?>
<report name="pd6292200a" orientation="2" lpi="6">
 <description>Stampa clienti e indirizzi di spedizione</description>
 <font face="Courier New" size="10" />
 <section type="Head" />
 <section type="Head" level="1">
  <field type="Testo" width="10" pattern="1" text="Codcli" />
  <field x="10" type="Testo" width="50" pattern="1" text="Ragione sociale">
   <source>RAGSOC</source>
  </field>
  <field x="60" type="Testo" width="16" pattern="1" text="CodFiscale">
   <source>Codfiscale</source>
  </field>
  <field x="76" type="Testo" width="12" pattern="1" text="PartitaIva">
   <source>PartitaIva
</source>
  </field>
  <field x="88" type="Testo" width="51" pattern="1" text="Indirizzo">
   <source>CLIFO.INDCF+' '+CLIFO.CIVCF</source>
  </field>
  <field x="139" type="Testo" width="5" pattern="1" text="CAP">
   <source>CLIFO.CAPCF</source>
  </field>
  <field x="144" type="Testo" width="50" pattern="1" text="Comune">
   <source>100@.DENCOM</source>
  </field>
  <field x="194" type="Testo" width="35" pattern="1" text="Localita">
   <source>CLIFO.LOCALITACF</source>
  </field>
  <field x="229" type="Stringa" width="5" pattern="1">
   <source>100@.PROVCOM</source>
  </field>
 </section>
 <section type="Body" />
 <section type="Body" level="1">
  <field type="Stringa" width="10" pattern="1">
   <source>CODCF</source>
  </field>
  <field x="10" type="Stringa" width="50" pattern="1">
   <source>RAGSOC</source>
  </field>
  <field x="60" type="Stringa" width="16" pattern="1">
   <source>COFI</source>
  </field>
  <field x="76" type="Stringa" width="12" pattern="1">
   <source>PAIV</source>
  </field>
  <field x="88" type="Stringa" width="51" pattern="1">
   <source>CLIFO.INDCF+' '+CLIFO.CIVCF</source>
  </field>
  <field x="139" type="Stringa" width="5" pattern="1">
   <source>CLIFO.CAPCF</source>
  </field>
  <field x="144" type="Stringa" width="50" pattern="1">
   <source>100@.DENCOM</source>
  </field>
  <field x="194" type="Stringa" width="35" pattern="1">
   <source>CLIFO.LOCALITACF</source>
  </field>
  <field x="229" type="Stringa" width="5" pattern="1">
   <source>100@.PROVCOM</source>
  </field>
 </section>
 <section type="Head" level="11" />
 <section type="Body" level="11">
  <sql>USE INDSPED
JOIN COMUNI ALIAS 200 INTO STATO==STATO COM==COM
FROM TIPOCF='C' CODCF=#PARENT.CODCF
TO TIPOCF='C' CODCF=#PARENT.CODCF
</sql>
  <field x="10" type="Stringa" width="50" pattern="1">
   <source>RAGSOC</source>
  </field>
  <field x="88" type="Stringa" width="51" pattern="1">
   <source>INDSPED.INDIR+' '+INDSPED.CIV</source>
   <alt_source>CLIFO.INDCF+' '+CLIFO.CIVCF</alt_source>
  </field>
  <field x="139" type="Stringa" width="5" pattern="1">
   <source>CAP</source>
   <alt_source>CLIFO.CAPCF</alt_source>
  </field>
  <field x="144" type="Stringa" width="50" pattern="1">
   <source>200@.DENCOM</source>
   <alt_source>100@.DENCOM</alt_source>
  </field>
  <field x="194" type="Stringa" width="35" pattern="1">
   <source>INDSPED.LOCALITA</source>
  </field>
  <field x="229" type="Stringa" width="5" pattern="1">
   <source>200@.PROVCOM</source>
   <alt_source>100@.PROVCOM</alt_source>
  </field>
  <field y="1" type="Stringa" hidden="1" align="right" width="6" id="101" pattern="1">
   <source>INDSPED.CODCF</source>
  </field>
  <field x="10" y="1" type="Stringa" hidden="1" align="right" width="3" id="102" pattern="1">
   <source>INDSPED.CODIND</source>
  </field>
  <field type="Stringa" width="10" id="103" pattern="1">
   <prescript description="B11.103 PRESCRIPT">#101 @
"_" +
#102 @ +
#THIS !</prescript>
  </field>
 </section>
 <section type="Foot" level="11" />
 <section type="Foot" />
 <section type="Foot" level="1" />
 <sql>USE CLIFO
JOIN COMUNI ALIAS 100 INTO STATO==STATOCF COM==COMCF
FROM TIPOCF="C" CODCF=#DA_CODCF
TO TIPOCF="C" CODCF=#A_CODCF
</sql>
</report>