<?xml version="1.0" encoding="UTF-8" ?>
<report name="ca9400k1" lpi="6">
 <description>Riclassificazione conti da analitica a contabile</description>
 <font face="Arial" size="8" />
 <section type="Head">
  <font face="Arial" bold="1" size="8" />
  <field type="Testo" width="20" pattern="1" text="Conto analitico" />
  <field x="22.5" y="1" type="Testo" align="center" width="14" pattern="1" text="Conti contabili" />
  <field x="22" y="2" type="Testo" width="4" pattern="1" text="Gr." />
  <field x="27" y="2" type="Testo" width="4" pattern="1" text="Co." />
  <field x="34" y="2" type="Testo" width="6" pattern="1" text="Sott." />
  <field border="1" y="3" type="Linea" width="100" height="0" pattern="1" />
 </section>
 <section type="Head" level="1">
  <field type="Stringa" width="50" pattern="1">
   <font face="Arial" bold="1" size="8" />
   <source>#SYSTEM.RAGSOC</source>
  </field>
  <field x="73" type="Testo" width="15" pattern="1" text="Data stampa:">
   <font face="Arial" bold="1" size="8" />
  </field>
  <field x="88" type="Data" width="10" pattern="1">
   <font face="Arial" bold="1" size="8" />
   <source>#SYSTEM.DATE</source>
  </field>
  <field border="1" radius="100" x="4" y="1.5" type="Rettangolo" width="80" height="2" pattern="1" />
  <field x="4" y="2" type="Testo" align="center" width="80" pattern="1" text="RICLASSIFICAZIONE  CONTI  DA  ANALITICI  A  CONTABILI">
   <font face="Arial" bold="1" size="12" />
  </field>
 </section>
 <section type="Head" level="2">
  <groupby>CODCONTO</groupby>
  <font face="Arial" bold="1" size="8" />
  <field x="1" y="0.75" type="Stringa" width="20" pattern="1">
   <source>CODCONTO</source>
  </field>
  <field x="22" y="0.75" type="Stringa" width="50" pattern="1">
   <source>PCONANA.DESCR</source>
   <prescript description="H2.0 PRESCRIPT">#THIS @
EMPTY= IF
"CONTO ANALITICO MANCANTE!"
#THIS !
THEN</prescript>
  </field>
 </section>
 <section type="Body" />
 <section type="Body" level="1">
  <field x="21" type="Numero" align="right" width="3" pattern="1" hide_zero="1">
   <source>GRUPPO</source>
  </field>
  <field x="26" type="Numero" align="right" width="3" pattern="1" hide_zero="1">
   <source>CONTO</source>
  </field>
  <field x="31" type="Numero" align="right" width="6" pattern="1" hide_zero="1">
   <source>SOTTOCONTO</source>
  </field>
  <field x="39" type="Stringa" width="50" pattern="1">
   <source>PCON.DESCR</source>
   <prescript description="H2.0 PRESCRIPT">#THIS @
EMPTY= IF
"CONTO CONTABILE MANCANTE!"
#THIS !
THEN</prescript>
  </field>
 </section>
 <section type="Foot" height="2">
  <field border="1" y="0.5" type="Linea" width="100" height="0" pattern="1" />
  <field x="89" y="0.75" type="Numero" align="right" width="10" pattern="1" text="Pag.###">
   <source>#REPORT.PAGE</source>
  </field>
 </section>
 <section type="Foot" level="1" />
 <section type="Foot" level="2" />
 <sql>USE PANAPDC
JOIN PCONANA INTO CODCONTO==CODCONTO
JOIN PCON INTO GRUPPO==GRUPPO CONTO==CONTO SOTTOCONTO==SOTTOCONTO
FROM CODCONTO=#DACONTO
TO CODCONTO=#ACONTO</sql>
</report>