<report libraries="ci1200" name="ci1200c" lpi="6"> <description>Stampa Analitica Risorse e Cantiere</description> <font face="Courier New" size="10" /> <section type="Head"> <field type="Testo" width="10" height="0" pattern="1" text="Cantiere" /> <field type="Testo" align="center" width="120" pattern="1" text="Stampa Analitica Risorse e Cantiere"> <font face="Courier New" bold="1" size="10" /> </field> <field x="97" type="Data" width="14" pattern="1"> <source>#SYSTEM.DATE</source> </field> <field x="112" type="Numero" align="right" width="8" pattern="1" text="Pag. "> <source>#REPORT.PAGE</source> </field> <field y="3" type="Stringa" width="30" pattern="1" text="Da Data: "> <source>#S_DATEFROM</source> </field> <field x="31" y="3" type="Stringa" width="30" pattern="1" text="a Data: "> <source>#S_DATETO</source> </field> <field border="1" y="5" type="Linea" width="120" height="0" pattern="1" /> <field border="1" x="10.8" y="5" type="Linea" pattern="1" /> <field x="11" y="5" type="Testo" width="10" pattern="1" text="Data"> <font face="Courier New" size="8" /> </field> <field border="1" x="20.8" y="5" type="Linea" pattern="1" /> <field x="21" y="5" type="Testo" width="15" pattern="1" text="Codice"> <font face="Courier New" size="8" /> </field> <field border="1" x="30.8" y="5" type="Linea" pattern="1" /> <field x="31" y="5" type="Testo" width="30" pattern="1" text="Risorsa"> <font face="Courier New" size="8" /> </field> <field border="1" x="61.8" y="5" type="Linea" pattern="1" /> <field x="62" y="5" type="Testo" width="4" pattern="1" text="U.M."> <font face="Courier New" size="8" /> </field> <field border="1" x="65.8" y="5" type="Linea" pattern="1" /> <field x="66" y="5" type="Testo" width="4" pattern="1" text="Qt&#E0;"> <font face="Courier New" size="8" /> </field> <field border="1" x="69.8" y="5" type="Linea" pattern="1" /> <field x="70" y="5" type="Testo" width="10" pattern="1" text="Costo Uni."> <font face="Courier New" size="8" /> </field> <field border="1" x="79.8" y="5" type="Linea" pattern="1" /> <field x="80" y="5" type="Testo" width="10" pattern="1" text="Totale"> <font face="Courier New" size="8" /> </field> <field border="1" x="89.8" y="5" type="Linea" pattern="1" /> <field x="90" y="5" type="Testo" width="10" pattern="1" text="Cantiere"> <font face="Courier New" size="8" /> </field> <field border="1" y="6" type="Linea" width="120" height="0" pattern="1" /> </section> <section type="Head" level="1"> <prescript description="H1 PRESCRIPT">MESSAGE RESET,F1.330</prescript> </section> <section type="Head" level="2" /> <section keep_with_next="1" type="Head" level="3"> <groupby>DOC.TIPODOC</groupby> <prescript description="H3 PRESCRIPT">MESSAGE RESET,F3.110|RESET,F3.130</prescript> <field type="Stringa" hidden="1" width="20" pattern="1" text="Cliente: "> <font face="Courier New" size="8" /> <source>DOC.TIPODOC</source> <prescript description="H3.0 PRESCRIPT">MESSAGE COPY,F3.511</prescript> </field> <field border="1" x="10.8" y="1" type="Linea" width="109.2" height="0" pattern="1" /> </section> <section keep_with_next="1" type="Head" level="4"> <groupby>RDOC.CODART</groupby> <field type="Stringa" hidden="1" width="20" pattern="1" text="Codice Articolo: "> <font face="Courier New" size="8" /> <source>RDOC.CODART</source> <prescript description="H4.0 PRESCRIPT">MESSAGE COPY,F4.501</prescript> </field> </section> <section type="Body" /> <section type="Body" level="1"> <condition>RDOC.CODART!=''  RDOC.CODART!=' '</condition> <field border="1" x="10.8" type="Linea" pattern="1" /> <field x="11" type="Stringa" width="10" pattern="1"> <font face="Courier New" size="7" /> <source>DOC.DATADOC</source> </field> <field border="1" x="20.8" type="Linea" pattern="1" /> <field x="21" type="Stringa" width="10" pattern="1"> <font face="Courier New" size="7" /> <source>RDOC.CODART</source> </field> <field border="1" x="30.8" type="Linea" pattern="1" /> <field x="31" type="Stringa" width="30" pattern="1"> <font face="Courier New" size="7" /> <source>RDOC.DESCR</source> </field> <field border="1" x="61.8" type="Linea" pattern="1" /> <field x="62" type="Stringa" align="center" width="4" pattern="1"> <font face="Courier New" size="7" /> <source>RDOC.UMQTA</source> </field> <field border="1" x="65.8" type="Linea" pattern="1" /> <field border="1" x="69.8" type="Linea" pattern="1" /> <field border="1" x="79.8" type="Linea" pattern="1" /> <field border="1" x="89.8" type="Linea" pattern="1" /> <field x="90" type="Stringa" width="10" pattern="1"> <font face="Courier New" size="7" /> <source>RDOC.CODCMS</source> </field> <field x="100" type="Stringa" width="20" pattern="1"> <font face="Courier New" size="7" /> <source>COMMESSE.DESCRIZ</source> </field> <field x="66" type="Numero" align="right" width="3.6" id="1" pattern="1"> <font face="Courier New" size="7" /> <source>RDOC.QTA</source> </field> <field x="70" type="Valuta" align="right" width="9.6" id="2" pattern="1" text="#########,@@"> <font face="Courier New" size="7" /> <source>RDOC.PREZZO</source> </field> <field x="80" type="Valuta" align="right" width="9.6" id="3" pattern="1" text="#########,@@"> <font face="Courier New" size="7" /> <source>#1*#2</source> <prescript description="B1.3 PRESCRIPT">MESSAGE ADD,F3.130|ADD,F2.230|ADD,F1.330</prescript> </field> </section> <section type="Foot"> <field border="1" y="0.5" type="Linea" width="120" height="0" pattern="1" /> </section> <section type="Foot" level="1"> <field y="1" type="Testo" width="18" pattern="1" text="Totale Generale"> <font face="Courier New" bold="1" size="8" /> </field> <field x="64" y="1" type="Valuta" align="right" width="25.6" id="330" pattern="1" text="#########,@@"> <font face="Courier New" bold="1" size="8" /> </field> </section> <section type="Foot" level="2" /> <section type="Foot" level="3"> <field border="1" x="10.8" type="Linea" pattern="1" /> <field border="1" x="10.8" type="Linea" width="109.2" height="0" pattern="1" /> <field x="11" type="Stringa" width="40" pattern="1" text="Totale Tipologia: "> <font face="Courier New" size="7" /> <prescript description="F3.0 PRESCRIPT">MESSAGE _TABLEREAD,%TIP,#511,S0</prescript> </field> <field border="3" x="10.8" y="1" type="Linea" width="109.2" height="0" pattern="1" /> <field x="74" type="Valuta" align="right" width="15.6" id="130" pattern="1" text="#########,@@"> <font face="Courier New" size="7" /> </field> <field x="1" type="Stringa" hidden="1" width="5" id="511" pattern="1"> <font face="Courier New" size="7" /> </field> </section> <section type="Foot" level="4"> <field border="1" x="10.8" type="Linea" pattern="1" /> <field border="1" x="10.8" type="Linea" width="109.2" height="0" pattern="1" /> <field border="1" x="10.8" y="1" type="Linea" width="109.2" height="0" pattern="1" /> <field x="74" type="Valuta" align="right" width="15.6" id="130" pattern="1" text="#########,@@"> <font face="Courier New" size="7" /> </field> <field x="11" type="Stringa" width="40" id="501" pattern="1" text="Totale Articolo: "> <font face="Courier New" size="7" /> </field> </section> <sql>USE RDOC KEY 2 BY 33.TIPODOC CODART CODCMS 33.DATADOC JOIN DOC INTO CODNUM=CODNUM ANNO=ANNO PROVV=PROVV NDOC=NDOC JOIN COMMESSE INTO CODCMS=CODCMS </sql> </report>