Patch level :10.0
Files correlati : Ricompilazione Demo : [ ] Commento : Report - Stampa Planning per Itinerario git-svn-id: svn://10.65.10.50/trunk@17272 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									edfa3e2bd6
								
							
						
					
					
						commit
						923e9f0a0a
					
				
							
								
								
									
										130
									
								
								lv/lv2300a.rep
									
									
									
									
									
								
							
							
						
						
									
										130
									
								
								lv/lv2300a.rep
									
									
									
									
									
								
							@ -1,32 +1,88 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8" ?>
 | 
			
		||||
<report name="lv2300a" lpi="6">
 | 
			
		||||
<report name="lv2300a" orientation="2" lpi="6" command="lv0 -1 lv2300a">
 | 
			
		||||
 <description>Stampa Planning per Itinerario</description>
 | 
			
		||||
 <font face="Courier New" size="10" />
 | 
			
		||||
 <section type="Head" />
 | 
			
		||||
 <section type="Head">
 | 
			
		||||
  <field x="1" y="1" type="Testo" width="15" height="1.5" pattern="1" text="Data elab. :">
 | 
			
		||||
   <font face="Courier New" size="12" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="16" y="1" type="Stringa" width="15" height="1.5" pattern="1">
 | 
			
		||||
   <font face="Courier New" size="12" />
 | 
			
		||||
   <prescript description="H0.0 PRESCRIPT">MESSAGE _TODAY</prescript>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="35" y="1" type="Testo" align="center" width="55" height="2" pattern="1" text="Stampa planning consegna giornaliero">
 | 
			
		||||
   <font face="Courier New" bold="1" size="14" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="103.87" y="1.12" type="Testo" width="5" height="1.5" pattern="1" text="Pag.">
 | 
			
		||||
   <font face="Courier New" size="12" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="109" y="1.12" type="Stringa" width="10" height="1.5" pattern="1">
 | 
			
		||||
   <font face="Courier New" size="12" />
 | 
			
		||||
   <prescript description="H0.0 PRESCRIPT">MESSAGE _PAGENO</prescript>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section type="Head" level="1" />
 | 
			
		||||
 <section type="Head" level="2">
 | 
			
		||||
  <groupby>CODITI</groupby>
 | 
			
		||||
  <field y="1" type="Testo" width="10" pattern="1" text="Itinerario" />
 | 
			
		||||
  <field x="15" y="1" type="Numero" align="right" width="6" pattern="1">
 | 
			
		||||
  <field x="24" type="Numero" align="right" width="5" height="1.5" pattern="1">
 | 
			
		||||
   <font face="Courier New" bold="1" size="14" />
 | 
			
		||||
   <source>167.CODITI</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="25" y="1" type="Stringa" width="50" pattern="1">
 | 
			
		||||
   <source>ITI.S0</source>
 | 
			
		||||
  <field x="31" type="Stringa" width="51" height="1.5" pattern="1">
 | 
			
		||||
   <font face="Courier New" bold="1" size="14" />
 | 
			
		||||
   <source>300@.S0</source>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section type="Head" level="3">
 | 
			
		||||
 <section type="Head" level="3" height="2">
 | 
			
		||||
  <groupby>CODAUT</groupby>
 | 
			
		||||
  <field y="1" type="Testo" width="10" pattern="1" text="Autista" />
 | 
			
		||||
  <field x="15" y="1" type="Stringa" width="2" pattern="1">
 | 
			
		||||
  <field x="5" type="Stringa" width="7" pattern="1">
 | 
			
		||||
   <font face="Courier New" bold="1" size="12" />
 | 
			
		||||
   <source>167.CODAUT</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="14" type="Stringa" width="50" pattern="1">
 | 
			
		||||
   <font face="Courier New" bold="1" size="12" />
 | 
			
		||||
   <source>301@.S0</source>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section type="Head" level="4">
 | 
			
		||||
 <section type="Head" level="4" height="5">
 | 
			
		||||
  <groupby>DTCONS</groupby>
 | 
			
		||||
  <field y="1" type="Testo" width="25" pattern="1" text="Data Ordine di Passaggio" />
 | 
			
		||||
  <field x="30" y="1" type="Data" width="9.5" pattern="1">
 | 
			
		||||
  <field border="2" type="Rettangolo" width="110" height="2.5" pattern="1" />
 | 
			
		||||
  <field x="1" type="Stringa" width="50" pattern="1">
 | 
			
		||||
   <source>302@.S0</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" x="50.87" type="Linea" height="2.45" pattern="1" />
 | 
			
		||||
  <field x="51.5" type="Testo" width="15" pattern="1" text="KM. PARTENZA:" />
 | 
			
		||||
  <field border="2" x="86.75" type="Linea" height="2.45" pattern="1" />
 | 
			
		||||
  <field x="87.5" type="Testo" width="15" pattern="1" text="ORA PARTENZA:" />
 | 
			
		||||
  <field x="1" y="1" type="Testo" width="7" pattern="1" text="TARGA" />
 | 
			
		||||
  <field x="8" y="1" type="Stringa" width="10" pattern="1">
 | 
			
		||||
   <source>167.CODMEZ</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="51.5" y="1" type="Testo" width="15" pattern="1" text="KM. ARRIVO:" />
 | 
			
		||||
  <field x="87.5" y="1" type="Testo" width="15" pattern="1" text="ORA ARRIVO:" />
 | 
			
		||||
  <field x="119" y="1.5" type="Data" width="16" height="1.5" pattern="1">
 | 
			
		||||
   <font face="Courier New" bold="1" size="14" />
 | 
			
		||||
   <source>DTCONS</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" y="3" type="Rettangolo" width="135" height="2" pattern="1" />
 | 
			
		||||
  <field border="2" x="6.5" y="3" type="Linea" height="1.95" pattern="1" />
 | 
			
		||||
  <field border="2" x="15" y="3" type="Linea" height="1.95" pattern="1" />
 | 
			
		||||
  <field border="2" x="50.87" y="3" type="Linea" height="1.95" pattern="1" />
 | 
			
		||||
  <field border="2" x="86.75" y="3" type="Linea" height="1.95" pattern="1" />
 | 
			
		||||
  <field x="87.12" y="3" type="Testo" align="center" width="13" pattern="1" text="MODALITA'" />
 | 
			
		||||
  <field border="2" x="100.75" y="3" type="Linea" height="2" pattern="1" />
 | 
			
		||||
  <field x="101" y="3" type="Testo" align="center" width="9" pattern="1" text="GG." />
 | 
			
		||||
  <field border="2" x="110" y="3" type="Linea" height="1.95" pattern="1" />
 | 
			
		||||
  <field x="111" y="3" type="Testo" width="12" height="1.5" pattern="1" text="BOLLE CONS." />
 | 
			
		||||
  <field border="2" x="123.12" y="3" type="Linea" height="2" pattern="1" />
 | 
			
		||||
  <field x="123.5" y="3" type="Testo" width="10" pattern="1" text="PROSSIMA" />
 | 
			
		||||
  <field x="1.12" y="3.25" type="Testo" align="right" width="5" pattern="1" text="FERM." />
 | 
			
		||||
  <field x="8.12" y="3.25" type="Testo" align="right" width="6.5" pattern="1" text="CODICE" />
 | 
			
		||||
  <field x="15.62" y="3.25" type="Testo" width="25" pattern="1" text="RAGIONE SOCIALE CLIENTE " />
 | 
			
		||||
  <field x="51" y="3.5" type="Testo" width="35" pattern="1" text="LOCALITA'" />
 | 
			
		||||
  <field x="87.12" y="3.75" type="Testo" align="center" width="13" pattern="1" text="PASSAGGIO" />
 | 
			
		||||
  <field x="101" y="4" type="Testo" align="center" width="9" pattern="1" text="CHIUS." />
 | 
			
		||||
  <field x="123.5" y="4" type="Testo" width="10.5" pattern="1" text="CONSEGNA" />
 | 
			
		||||
 </section>
 | 
			
		||||
 <section type="Body">
 | 
			
		||||
  <field y="197" type="Numero" align="right" width="3" pattern="1">
 | 
			
		||||
@ -34,16 +90,54 @@
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <section type="Body" level="1">
 | 
			
		||||
  <field x="1" y="1" type="Numero" align="right" width="3" pattern="1">
 | 
			
		||||
   <source>CODITI</source>
 | 
			
		||||
  <field border="2" x="110" y="-0.07" type="Linea" height="3" pattern="1" />
 | 
			
		||||
  <field border="2" x="123" y="-0.07" type="Linea" height="3" pattern="1" />
 | 
			
		||||
  <field border="2" x="134.9" y="-0.07" type="Linea" height="3" pattern="1" />
 | 
			
		||||
  <field border="2" type="Linea" height="3" pattern="1" />
 | 
			
		||||
  <field border="2" x="6.5" type="Linea" height="3" pattern="1" />
 | 
			
		||||
  <field border="2" x="15" type="Linea" height="3" pattern="1" />
 | 
			
		||||
  <field border="2" x="50.87" type="Linea" height="3" pattern="1" />
 | 
			
		||||
  <field border="2" x="86.75" type="Linea" height="3" pattern="1" />
 | 
			
		||||
  <field border="2" x="100.75" type="Linea" height="3" pattern="1" />
 | 
			
		||||
  <field x="1" y="1" type="Numero" align="right" width="5" pattern="1">
 | 
			
		||||
   <source>167.ORDFER</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="7.5" y="1" type="Numero" align="right" width="6" pattern="1">
 | 
			
		||||
   <source>167.CODCF</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="15.5" y="1" type="Stringa" width="35" pattern="1">
 | 
			
		||||
   <source>303@.RAGSOC</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="51" y="1" type="Stringa" width="35" pattern="1">
 | 
			
		||||
   <source>IF(304@.CODINDSP= "0" ;303@.LOCALITACF;305@.LOCALITA)</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="87.5" y="1" type="Array" align="center" width="12.5" pattern="1">
 | 
			
		||||
   <source>167.MODPASS</source>
 | 
			
		||||
   <list>
 | 
			
		||||
    <li Value="ENTRAMBI" Code=" " />
 | 
			
		||||
    <li Value="ENTRAMBI" Code="E" />
 | 
			
		||||
    <li Value="CONSEGNA" Code="C" />
 | 
			
		||||
    <li Value="RITIRO" Code="R" />
 | 
			
		||||
   </list>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="51" y="2" type="Stringa" width="35" pattern="1">
 | 
			
		||||
   <source>IF(304@.CODINDSP= "0";303@.INDCF;305@.INDIR)</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" y="3" type="Linea" width="135" height="0" pattern="1" />
 | 
			
		||||
 </section>
 | 
			
		||||
 <section type="Foot" />
 | 
			
		||||
 <section type="Foot" level="1" />
 | 
			
		||||
 <section type="Foot" level="2" />
 | 
			
		||||
 <section type="Foot" level="3" />
 | 
			
		||||
 <section type="Foot" level="4" />
 | 
			
		||||
 <sql>USE 167
 | 
			
		||||
JOIN ITI INTO CODTAB==CODITI
 | 
			
		||||
</sql>
 | 
			
		||||
 <section type="Foot" level="4" height="1" page_break="1" />
 | 
			
		||||
 <sql>USE 167 KEY 2
 | 
			
		||||
SELECT BETWEEN (CODITI, #FROM_COD_ITI, #TO_COD_ITI) 
 | 
			
		||||
JOIN ITI ALIAS 300 INTO CODTAB==CODITI
 | 
			
		||||
JOIN AUT TO 167 ALIAS 301 INTO CODTAB==CODAUT
 | 
			
		||||
JOIN MEZ TO 167 ALIAS 302 INTO CODTAB==CODMEZ
 | 
			
		||||
JOIN 20 TO 167 ALIAS 303 INTO TIPOCF=="C" CODCF==CODCF
 | 
			
		||||
JOIN 168 TO 167 ALIAS 304 INTO CODCONT==CODCONT CODCF==CODCF
 | 
			
		||||
JOIN 16 TO 168 ALIAS 305 INTO TIPOCF=="C" CODCF==CODCF CODIND==CODINDSP
 | 
			
		||||
FROM DTCONS=#FROM_DATA
 | 
			
		||||
TO DTCONS=#TO_DATA</sql>
 | 
			
		||||
</report>
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user