Ricompilazione Demo : [ ] Commento : Riportata la versione 3.1 patch 848 git-svn-id: svn://10.65.10.50/trunk@14993 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			83 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			83 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| 
 | |
| <report name="pd0350_progart" lpi="6">
 | |
|  <description>Progressivo articoli</description>
 | |
|  <font face="Courier New" size="10" />
 | |
|  <section type="Head">
 | |
|   <font face="Courier New" bold="1" size="10" />
 | |
|   <field x="1" type="Stringa" width="50" pattern="1">
 | |
|    <font italic="1" face="Courier New" bold="1" size="9" />
 | |
|    <source>#SYSTEM.RAGSOC</source>
 | |
|   </field>
 | |
|   <field x="80" type="Data" width="10" pattern="1">
 | |
|    <source>#SYSTEM.DATE</source>
 | |
|   </field>
 | |
|   <field x="165" type="Numero" align="right" width="3" pattern="1">
 | |
|    <source>#REPORT.PAGE</source>
 | |
|   </field>
 | |
|   <field x="1" y="1.5" type="Testo" width="32.5" pattern="1" text="Periodo Osservazione: Dalla data" />
 | |
|   <field x="34" y="1.5" type="Data" width="10" pattern="1">
 | |
|    <source>#DADATA</source>
 | |
|   </field>
 | |
|   <field x="50" y="1.5" type="Testo" width="9.5" pattern="1" text="Alla data" />
 | |
|   <field x="60" y="1.5" type="Data" width="10" pattern="1">
 | |
|    <source>#ADATA</source>
 | |
|   </field>
 | |
|   <field border="1" x="1" y="3" type="Linea" width="93" height="0" pattern="1" />
 | |
|   <field x="1" y="3.25" type="Testo" width="15" pattern="1" text="Cod. Articolo" />
 | |
|   <field x="22" y="3.25" type="Testo" width="15" pattern="1" text="Descrizione" />
 | |
|   <field x="75" y="3.25" type="Testo" width="8" pattern="1" text="Qta acq." />
 | |
|   <field x="86" y="3.25" type="Testo" width="8" pattern="1" text="Qta ven." />
 | |
|   <field border="1" x="1" y="4.75" type="Linea" width="93" height="0" pattern="1" />
 | |
|  </section>
 | |
|  <section type="Head" level="1">
 | |
|   <field y="0.75" type="Testo" align="center" width="94" height="2" pattern="1" text="PROGRESSIVO  ARTICOLI">
 | |
|    <font face="Courier New" bold="1" size="16" />
 | |
|   </field>
 | |
|  </section>
 | |
|  <section type="Head" level="2">
 | |
|   <groupby>CODART</groupby>
 | |
|   <prescript description="H2 PRESCRIPT">MESSAGE RESET,F2.104
 | |
| MESSAGE RESET,F2.105</prescript>
 | |
|   <field x="1" type="Stringa" hidden="1" width="20" id="101" pattern="1">
 | |
|    <source>CODART</source>
 | |
|    <postscript description="H2.101 POSTSCRIPT">#THIS @
 | |
| "F2.101" !</postscript>
 | |
|   </field>
 | |
|   <field x="22" type="Stringa" hidden="1" width="50" id="102" pattern="1">
 | |
|    <source>ANAMAG.DESCR</source>
 | |
|    <postscript description="H2.102 POSTSCRIPT">#THIS @
 | |
| "F2.102" !</postscript>
 | |
|   </field>
 | |
|  </section>
 | |
|  <section type="Body" />
 | |
|  <section type="Body" level="1">
 | |
|   <field x="1" type="Numero" hidden="1" align="right" width="10" id="103" pattern="1">
 | |
|    <source>QUANT</source>
 | |
|    <postscript description="B1.103 POSTSCRIPT">#THIS @
 | |
| "MOVMAG.CODCAUS" @
 | |
| "02" = IF
 | |
|   "F2.104"
 | |
| ELSE
 | |
|   "F2.105"
 | |
| THEN
 | |
| +!</postscript>
 | |
|   </field>
 | |
|  </section>
 | |
|  <section type="Foot">
 | |
|   <field x="86.5" type="Stringa" width="8.5" pattern="1" text="Pag.">
 | |
|    <source>#PAGE</source>
 | |
|   </field>
 | |
|  </section>
 | |
|  <section type="Foot" level="1" />
 | |
|  <section type="Foot" level="2">
 | |
|   <field x="1" type="Stringa" width="20" id="101" pattern="1" />
 | |
|   <field x="22" type="Stringa" width="50" id="102" pattern="1" />
 | |
|   <field x="73" type="Numero" align="right" width="10" id="104" pattern="1" />
 | |
|   <field x="84" type="Numero" align="right" width="10" id="105" pattern="1" />
 | |
|  </section>
 | |
|  <sql>USE RMOVMAG KEY 2
 | |
| SELECT
 | |
| (NUM(ANSI(110.DATAREG)E;=ANSI(#DADATA)))(NUM(ANSI(110.DATAREG)C;=ANSI(#ADATA)))(110.CODCAUSC;="02")
 | |
| JOIN MOVMAG INTO NUMREG=NUMREG
 | |
| JOIN ANAMAG INTO CODART=CODART</sql>
 | |
| </report> |