<?xml version="1.0" encoding="UTF-8" ?> <report name="ve3500l" lpi="6"> <description>Stampa listini</description> <font face="Arial" size="8" /> <section type="Head"> <font face="Arial" bold="1" size="8" /> <field x="81" type="Testo" align="center" width="12" pattern="1" text="Sconti" /> <field x="95" type="Testo" align="center" width="15" pattern="1" text="Omaggi" /> <field x="1" y="0.5" type="Testo" width="20" pattern="1" text="Codice" /> <field x="22" y="0.5" type="Testo" width="35" pattern="1" text="Descrizione" /> <field x="57" y="0.5" type="Testo" width="2" pattern="1" text="UM" /> <field x="59.5" y="0.5" type="Testo" align="right" width="11" pattern="1" text="Prezzo" /> <field x="72" y="0.5" type="Testo" align="center" width="3" pattern="1" text="IVA" /> <field x="76" y="0.5" type="Testo" width="4" pattern="1" text="%Prv" /> <field x="81.5" y="0.75" type="Testo" align="center" width="12" pattern="1" text="Formula - Qta base"> <font face="Arial Narrow" size="8" /> </field> <field x="95" y="0.75" type="Testo" align="center" width="15" pattern="1" text="Qta base - Prezzo - UM"> <font face="Arial Narrow" size="8" /> </field> <field border="1" x="1" y="1.5" type="Linea" width="116" height="0" pattern="1" /> </section> <section type="Head" level="1"> <font face="Arial" bold="1" size="8" /> <field border="2" radius="200" x="23" y="0.75" type="Rettangolo" width="75" height="3" pattern="1" /> <field x="24" y="1.75" type="Testo" width="10" pattern="1" text="LISTINO"> <font face="Arial" bold="1" size="12" /> </field> <field x="36" y="1.75" type="Stringa" width="4" pattern="1"> <font face="Arial" bold="1" size="12" /> <source>CATVEN</source> <prescript description="H1.0 PRESCRIPT">MESSAGE COPY,F0.99</prescript> </field> <field x="41" y="1.75" type="Stringa" width="5" pattern="1"> <font face="Arial" bold="1" size="12" /> <source>COD</source> <prescript description="H1.0 PRESCRIPT">MESSAGE ISAMREAD,52,TIPO=L!CATVEN=CATVEN!COD=COD,101=DESCR!102=VALIN!103=VALFIN!104=CODLISSUCC!105=FATHCATVEN!106=FATHCOD!201=IMPLORDI!202=GESTUM!203=GESTSCAGL!204=GESTSCO </prescript> <postscript description="H1.0 POSTSCRIPT">MESSAGE COPY,F0.100</postscript> </field> <field x="1" y="5" type="Testo" width="12" pattern="1" text="Inizio validit&#E0;:" /> <field x="26" y="5" type="Testo" width="10" pattern="1" text="Fine validit&#E0;:" /> <field x="50" y="5" type="Testo" width="17" pattern="1" text="Listino successivo:" /> <field x="73" y="5" type="Testo" width="13" pattern="1" text="Listino padre:" /> <field x="1" y="6.5" type="Testo" width="12" pattern="1" text="Importi lordi:" /> <field x="16" y="6.5" type="Testo" width="12" pattern="1" text="Gest. UM:" /> <field x="29" y="6.5" type="Testo" width="13" pattern="1" text="Gest. scaglioni:" /> <field x="47" y="6.5" type="Testo" width="11" pattern="1" text="Gest. sconti:" /> <field border="2" y="7.5" type="Linea" width="117" height="0" pattern="1" /> <field x="47" y="1.75" type="Stringa" width="50" id="101" pattern="1"> <font face="Arial" bold="1" size="12" /> <prescript description="H1.101 PRESCRIPT">MESSAGE COPY,F0.101</prescript> </field> <field x="13" y="5" type="Data" width="10" id="102" pattern="1"> <font face="Arial" size="8" /> </field> <field x="37" y="5" type="Data" width="10" id="103" pattern="1"> <font face="Arial" size="8" /> </field> <field x="67" y="5" type="Stringa" width="4" id="104" pattern="1"> <font face="Arial" size="8" /> </field> <field x="86" y="5" type="Stringa" width="3" id="105" pattern="1"> <font face="Arial" size="8" /> </field> <field x="90" y="5" type="Stringa" width="4" id="106" pattern="1"> <font face="Arial" size="8" /> </field> <field x="12" y="6.5" type="Array" width="2" id="201" pattern="1"> <font face="Arial" size="8" /> <list> <li Value="No" Code=" " /> <li Value="Si" Code="X" /> </list> </field> <field x="24" y="6.5" type="Array" width="2" id="202" pattern="1"> <font face="Arial" size="8" /> <list> <li Value="No" Code=" " /> <li Value="Si" Code="X" /> </list> </field> <field x="42" y="6.5" type="Array" width="2" id="203" pattern="1"> <font face="Arial" size="8" /> <list> <li Value="No" Code=" " /> <li Value="Si" Code="X" /> </list> </field> <field x="57.5" y="6.5" type="Array" width="2" id="204" pattern="1"> <font face="Arial" size="8" /> <list> <li Value="No" Code=" " /> <li Value="Si" Code="X" /> </list> </field> </section> <section type="Head" level="2"> <groupby>TIPORIGA="A"</groupby> <font face="Arial" bold="1" size="8" /> <field border="1" x="1" y="1.5" type="Linea" width="116" height="0" pattern="1" /> <field x="1" y="0.25" type="Array" width="25" id="101" pattern="1"> <font italic="1" face="Arial" bold="1" size="8" /> <source>TIPORIGA</source> <list> <li Value="Articoli" Code="A" /> <li Value="Gruppi Merceologici" Code="G" /> <li Value="Raggruppamenti fiscali" Code="R" /> </list> </field> </section> <section type="Body" /> <section type="Body" level="1"> <condition>PREZZOE;0</condition> <field x="57.5" type="Stringa" width="2" pattern="1"> <source>UM</source> <alt_source>UMART.UM</alt_source> </field> <field x="59.5" type="Prezzo" align="right" width="11" pattern="1" text="#########,@@"> <source>PREZZO</source> </field> <field x="73" type="Stringa" width="3" pattern="1"> <font face="Arial Narrow" size="8" /> <source>CODIVA</source> <alt_source>ANAMAG.CODIVA</alt_source> </field> <field x="77" type="Numero" align="right" width="3" pattern="1" hide_zero="1"> <font face="Arial Narrow" size="8" /> <source>PERCPROVV</source> </field> <field x="81" type="Stringa" align="center" width="8" pattern="1"> <font face="Arial Narrow" size="7" /> <source>SCONTO</source> </field> <field x="89" type="Numero" align="right" width="5" pattern="1" hide_zero="1"> <font face="Arial Narrow" size="7" /> <source>QBASE</source> </field> <field x="95" type="Numero" align="right" width="5" pattern="1" hide_zero="1"> <font face="Arial Narrow" size="7" /> <source>QOM</source> </field> <field x="100" type="Prezzo" align="right" width="8" pattern="1" hide_zero="1" text="#########,@@"> <font face="Arial Narrow" size="7" /> <source>PROMAGGIO</source> </field> <field x="108.5" type="Stringa" width="2" pattern="1"> <font face="Arial Narrow" size="7" /> <source>UMOM</source> </field> <field type="Array" hidden="1" width="1" id="101" pattern="1"> <source>TIPORIGA</source> <list> <li Value="Articolo" Code="A">MESSAGE HIDE,203|HIDE,303|SHOW,103</li> <li Value="Gr.Merc." Code="G">MESSAGE HIDE,103|HIDE,303|SHOW,203</li> <li Value="Ragg. fisc." Code="R">MESSAGE HIDE,103|HIDE,203|SHOW,303</li> </list> </field> <field x="1.5" type="Stringa" width="20" id="102" pattern="1"> <source>CODRIGA</source> </field> <field x="22" type="Stringa" width="35" id="103" pattern="1"> <font face="Arial Narrow" size="7" /> <prescript description="B1.103 PRESCRIPT">MESSAGE ISAMREAD,47,CODART=#102,DESCR</prescript> </field> <field x="22" type="Stringa" width="35" id="203" pattern="1"> <font face="Arial Narrow" size="7" /> <prescript description="B1.203 PRESCRIPT">MESSAGE TABLEREAD,GMC,#102,S0</prescript> </field> <field x="22" type="Stringa" width="35" id="303" pattern="1"> <font face="Arial Narrow" size="7" /> <prescript description="B1.303 PRESCRIPT">MESSAGE TABLEREAD,RFA,#102,S0</prescript> </field> </section> <section type="Foot"> <field border="1" x="1" y="0.5" type="Linea" width="116" height="0" pattern="1" /> <field x="5" y="1" type="Testo" width="10" pattern="1" text="Listino:" /> <field x="104" y="1" type="Testo" width="5" pattern="1" text="Pag." /> <field x="110" y="1" type="Numero" align="right" width="4" pattern="1"> <source>#REPORT.PAGE</source> </field> <field x="15" y="1" type="Stringa" width="3" id="99" pattern="1" /> <field x="19" y="1" type="Stringa" width="4" id="100" pattern="1" /> <field x="24" y="1" type="Stringa" width="50" id="101" pattern="1" /> </section> <section type="Foot" level="1" /> <section type="Foot" level="2" /> <sql>USE RCONDV SELECT ((TIPORIGA="A")(BETWEEN(CODRIGA,#DACODART,#ACODART))(BETWEEN(ANAMAG.GRMERC,#DAGRMERC,#AGRMERC))(BETWEEN(ANAMAG.RAGGFIS,#DARAGFIS,#ARAGFIS)))||((TIPORIGA="G")(BETWEEN(CODRIGA,#DAGRMERC,#AGRMERC)))||((TIPORIGA="R")(BETWEEN(CODRIGA,#DARAGFIS,#ARAGFIS))) JOIN ANAMAG INTO CODART=CODRIGA JOIN UMART TO RCONDV INTO CODART=CODRIGA NRIGA=1 FROM TIPO=L CATVEN=#CATVEN COD=#COD TO TIPO=L CATVEN=#CATVEN COD=#COD </sql> </report>