<report libraries="bastcms" name="bastcms" lpi="6"> <font face="Courier New" size="10" /> <section keep_with_next="1" 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 CDC/Commesse"> <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="6" text="Codice"> <font face="Courier New" bold="1" size="10" /> </field> <field x="23" y="4" type="Testo" width="12" text="Descrizione"> <font face="Courier New" bold="1" size="10" /> </field> <field x="2" y="5" type="Testo" width="7" text="Cliente"> <font face="Courier New" bold="1" size="10" /> </field> <field x="62" y="5" type="Testo" width="10" text="Regime IVA"> <font face="Courier New" bold="1" size="10" /> </field> <field x="86" y="5" type="Testo" width="8" text="Da rend."> <font face="Courier New" bold="1" size="10" /> </field> <field x="2" y="6" type="Testo" width="11" text="Data inizio"> <font face="Courier New" bold="1" size="10" /> </field> <field x="15" y="6" type="Testo" width="11" text="Data fine"> <font face="Courier New" bold="1" size="10" /> </field> <field x="27" y="6" type="Testo" width="8" text="Pubblica"> <font face="Courier New" bold="1" size="10" /> </field> <field x="38" y="6" type="Testo" width="9" text="Prorogata"> <font face="Courier New" bold="1" size="10" /> </field> <field x="50" y="6" type="Testo" width="6" text="Chiusa"> <font face="Courier New" bold="1" size="10" /> </field> <field x="62" y="6" type="Testo" width="12" text="Responsabile"> <font face="Courier New" bold="1" size="10" /> </field> <field x="86" y="6" type="Testo" width="7" text="Prorata"> <font face="Courier New" bold="1" size="10" /> </field> <field border="2" x="1" y="7.5" type="Linea" width="93" height="0" /> </section> <section keep_with_next="1" type="Head" level="1" /> <section keep_with_next="1" type="Body" /> <section keep_with_next="1" type="Body" level="1" height="4"> <field x="2" type="Stringa" link="CMS.CODTAB" width="20"> <font face="Courier New" bold="1" size="10" /> <source>CODTAB</source> </field> <field x="23" type="Stringa" width="66"> <source>S0</source> </field> <field x="91" type="Stringa" width="1"> <source>B1</source> </field> <field x="2" y="1" type="Numero" align="right" width="6"> <source>I0</source> </field> <field x="10" y="1" type="Stringa" width="50"> <source>CLIFO.RAGSOC</source> </field> <field x="62" y="1" type="Array" width="17"> <source>S7</source> <list> <li Value="IVA normale" Code=" " /> <li Value="Non rilevante" Code="NR" /> <li Value="Operazioni esenti" Code="ES" /> <li Value="Non imponibili" Code="NI" /> <li Value="Non soggetti" Code="NS" /> <li Value="Fuori campo" Code="FC" /> </list> </field> <field x="91" y="1" type="Stringa" width="1"> <source>B4</source> </field> <field x="2" y="2" type="Data" width="10"> <source>D0</source> </field> <field x="15" y="2" type="Data" width="10"> <source>D1</source> </field> <field x="30" y="2" type="Stringa" width="1"> <source>B0</source> </field> <field x="42" y="2" type="Stringa" width="1"> <source>B2</source> </field> <field x="52" y="2" type="Stringa" width="1"> <source>B3</source> </field> <field x="62" y="2" type="Stringa" width="8"> <source>S4</source> </field> <field border="1" x="1" y="3.5" type="Linea" width="93" height="0" /> </section> <section keep_with_next="1" 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 keep_with_next="1" type="Foot" level="1" /> <sql>USE CMS JOIN CLIFO INTO TIPOCF=="C" CODCF==I0 FROM CODTAB=#FROM TO CODTAB=#TO </sql> </report>