<report name="costcoa" lpi="6"> <description>Stampa tabella correlazione articoli</description> <font face="Courier New" size="10" /> <section type="Head"> <field type="Stringa" width="50"> <font italic="1" face="Courier New" bold="1" size="10" /> <source>#SYSTEM.RAGSOC</source> </field> <field y="1" type="Testo" valign="center" align="center" width="96" height="2" text="Tabella correlazione articoli"> <font face="Courier New" bold="1" size="14" /> </field> <field border="2" x="1" y="3.5" type="Linea" width="93" height="0" /> <field x="2" y="4" type="Testo" width="14" text="Codice Mercato"> <font face="Courier New" bold="1" size="10" /> </field> <field x="20" y="4" type="Testo" width="12" text="Descrizione"> <font face="Courier New" bold="1" size="10" /> </field> <field x="5" y="6" type="Testo" width="15" text="Codice Articolo"> <font face="Courier New" size="9" /> </field> <field x="23" y="6" type="Testo" width="12" text="Descrizione"> <font face="Courier New" size="9" /> </field> <field border="2" x="1" y="7.5" type="Linea" width="93" height="0" /> </section> <section type="Head" level="1" /> <section type="Head" level="2"> <groupby>CODTAB[1,6]</groupby> <font face="Courier New" bold="1" size="10" /> <field border="3" y="0.5" type="Linea" width="80" height="0" pattern="1" /> <field x="2" y="1" type="Stringa" width="10" pattern="1"> <source>CODTAB[1,6]</source> </field> <field x="20" y="1" type="Stringa" width="50" pattern="1"> <source>CLIFO.RAGSOC</source> </field> </section> <section type="Body" /> <section type="Body" level="1"> <field x="2" type="Stringa" align="right" link="ANAMAG.CODART" width="8"> <source>CODTAB[7,16]</source> </field> <field x="23" type="Stringa" width="50"> <source>S0</source> </field> </section> <section type="Foot" height="3"> <field border="2" x="1" y="0.5" type="Linea" width="93" height="0" /> <field x="2" y="1" type="Data" width="10"> <source>#SYSTEM.DATE</source> </field> <field x="90" y="1" type="Numero" align="right" width="3"> <source>#PAGE</source> </field> <field border="2" x="1" y="2.5" type="Linea" width="93" height="0" /> </section> <section type="Foot" level="1" /> <section type="Foot" level="2" /> <sql>USE %COA JOIN CLIFO INTO TIPOCF='C' CODCF=CODTAB[1,6] JOIN 47 INTO CODART=CODTAB[7,16] FROM #F_INIZIO1 TO #F_FINE1</sql> </report>