Patch level : nopatch
Files correlati : Commento : Implementazione FP
This commit is contained in:
		
							parent
							
								
									cf745147a3
								
							
						
					
					
						commit
						92b7afc5e8
					
				| @ -490,8 +490,8 @@ void TPAR_mask::print_reg() | ||||
| 					TProgram_report mov_rep("fp0700a"); | ||||
| 					TISAM_recordset * recset = (TISAM_recordset *)mov_rep.recordset(); | ||||
| 
 | ||||
| 					recset->set_var("#NUM", nreg); | ||||
| 					recset->set_var("#TIPODOCSDI", tipo_doc_sdi); | ||||
| 					recset->set_var("#NUM", nreg, true); | ||||
| 					recset->set_var("#TIPODOCSDI", tipo_doc_sdi, true); | ||||
| 					book.add(mov_rep); | ||||
| 				} | ||||
| 			} | ||||
|  | ||||
| @ -16,6 +16,7 @@ | ||||
|   </field> | ||||
|   <field x="1" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>"Tipo Documento " + #TIPODOCSDI</source> | ||||
|    <alt_source>#TIPODOCSDI</alt_source> | ||||
|   </field> | ||||
|   <field x="50" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>20.RAGSOC</source> | ||||
| @ -30,23 +31,23 @@ | ||||
|    <source>20.CAPCF</source> | ||||
|   </field> | ||||
|   <field x="57" y="6" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>13.DENCOM + " " + 20.PROVCF</source> | ||||
|    <source>13.DENCOM + " " + 13.PROVCOM</source> | ||||
|   </field> | ||||
|   <field x="1" y="8" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="1" hide_zero="" text="Totale Documento" /> | ||||
|   <field x="18" y="8" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="1" hide_zero="1" text="###.###.###,@@"> | ||||
|    <source>TOTDOC</source> | ||||
|   <field x="17" y="8" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="1" hide_zero="1" text="###.###.###,@@"> | ||||
|    <source>23.TOTDOC</source> | ||||
|   </field> | ||||
|   <field x="50" y="8" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>"Partita IVA " + 20.STATOPAIV + 20.PAIV</source> | ||||
|   </field> | ||||
|   <field x="1" y="10" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>"Protocollo Debito " + PROTIVA</source> | ||||
|    <source>"Protocollo Debito " + 23.PROTIVA</source> | ||||
|   </field> | ||||
|   <field x="22" y="10" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>"del " + DATAREG</source> | ||||
|    <source>"del " + 23.DATAREG</source> | ||||
|   </field> | ||||
|   <field x="50" y="10" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>REG</source> | ||||
|    <source>23.REG</source> | ||||
|   </field> | ||||
|   <field x="1" y="12" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>"Protocollo Credito " + 100@.PROTIVA</source> | ||||
| @ -63,104 +64,82 @@ | ||||
|   <field x="22" y="14" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>"del " + 100@.DATADOC</source> | ||||
|   </field> | ||||
|   <field x="17" y="16" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Imponibile" /> | ||||
|   <field x="33" y="16" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Totale" /> | ||||
|   <field x="49" y="16" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Cod." /> | ||||
|   <field x="54" y="16" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Nat." /> | ||||
|   <field x="59" y="16" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Imposta" /> | ||||
|   <field x="75" y="16" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Conto" /> | ||||
|   <field border="2" y="17" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="120" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="17" y="16" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Imponibile"> | ||||
|    <font face="Arial" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="33" y="16" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Totale"> | ||||
|    <font face="Arial" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="49" y="16" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Cod."> | ||||
|    <font face="Arial" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="54" y="16" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Nat."> | ||||
|    <font face="Arial" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="59" y="16" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Imposta"> | ||||
|    <font face="Arial" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field x="77.5" y="16" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Conto"> | ||||
|    <font face="Arial" bold="1" size="8" /> | ||||
|   </field> | ||||
|   <field border="2" y="17" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="125" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|  </section> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" height="4" page_break="" can_break="" pattern="1"> | ||||
|   <field deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="90" codval="" height="2" id="" pattern="1" hide_zero="" text="PROSPETTO INTEGRAZIONE ACQUISTO CEE"> | ||||
|   <field x="12" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="90" codval="" height="2" id="" pattern="1" hide_zero="" text="PROSPETTO INTEGRAZIONE ACQUISTO CEE"> | ||||
|    <font face="Arial" bold="1" size="20" /> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="" hidden="" page_break="" can_break="" pattern="1" /> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="1" hidden="" page_break="" can_break="" pattern="1"> | ||||
|   <field x="49" deactivated="" type="Stringa" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>25-E;CODIVA</source> | ||||
|   <field x="49" y="0.25" deactivated="" type="Stringa" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>CODIVA</source> | ||||
|   </field> | ||||
|   <field x="54" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|   <field x="54" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>201@-E;S12</source> | ||||
|   </field> | ||||
|   <field x="90" deactivated="" type="Stringa" hidden="" link="" dynamic_height="1" shade_offset="" width="30" codval="" height="2" id="" pattern="1" hide_zero="" text=""> | ||||
|   <field x="92.5" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="1" shade_offset="" width="30" codval="" height="2" id="" pattern="1" hide_zero="" text=""> | ||||
|    <source>19-E;DESCR</source> | ||||
|   </field> | ||||
|   <field x="33" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="100" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>25-E;IMPONIBILE</source> | ||||
|   <field x="33" y="0.25" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="100" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>IMPONIBILE</source> | ||||
|    <postscript description="B1.100 POSTSCRIPT">#THIS @ | ||||
| #F1.100 +!</postscript> | ||||
|   </field> | ||||
|   <field x="59" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="101" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>25-E;IMPOSTA</source> | ||||
|   <field x="59" y="0.25" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="101" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>IMPOSTA</source> | ||||
|    <postscript description="B1.101 POSTSCRIPT">#THIS @ | ||||
| #F1.101 +!</postscript> | ||||
|   </field> | ||||
|   <field x="17" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="102" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|   <field x="17" y="0.25" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="102" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>#100+#101</source> | ||||
|   </field> | ||||
|   <field x="75" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="103" pattern="1" hide_zero="" text=""> | ||||
|    <source>25-E;GRUPPO</source> | ||||
|   <field x="77.5" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="103" pattern="1" hide_zero="" text=""> | ||||
|    <source>GRUPPO</source> | ||||
|   </field> | ||||
|   <field x="79" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="104" pattern="1" hide_zero="" text=""> | ||||
|    <source>25-E;CONTO</source> | ||||
|   <field x="81.5" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="104" pattern="1" hide_zero="" text=""> | ||||
|    <source>CONTO</source> | ||||
|   </field> | ||||
|   <field x="83" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="6" codval="" id="105" pattern="1" hide_zero="" text=""> | ||||
|    <source>25-E;SOTTOCONTO</source> | ||||
|   <field x="85.5" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="6" codval="" id="105" pattern="1" hide_zero="" text=""> | ||||
|    <source>SOTTOCONTO</source> | ||||
|   </field> | ||||
|  </section> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1" /> | ||||
|  <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" height="3" page_break="" can_break="" pattern="1"> | ||||
|   <field border="1" y="0.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="120" codval="" height="0" id="" pattern="1" hide_zero="" text="" /> | ||||
|   <field x="1" y="0.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Totale Movimento" /> | ||||
|   <field x="33" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="100" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <prescript description="F1.100 PRESCRIPT">#THIS @ | ||||
| 0 | ||||
| C; | ||||
| IF | ||||
| #THIS @ | ||||
| -1 | ||||
| * | ||||
| #THIS  ! | ||||
| THEN</prescript> | ||||
|   </field> | ||||
|   <field x="75" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="101" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <prescript description="F1.101 PRESCRIPT">#THIS @ | ||||
| 0 | ||||
| C; | ||||
| IF | ||||
| "A" #100 ! | ||||
| #THIS @ | ||||
| -1 | ||||
| * | ||||
| #THIS  ! | ||||
| ELSE | ||||
| "D" #100 ! | ||||
| THEN | ||||
| </prescript> | ||||
|   </field> | ||||
|   <field x="33" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="100" pattern="1" hide_zero="" text="###.###.###,@@" /> | ||||
|   <field x="59" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="101" pattern="1" hide_zero="" text="###.###.###,@@" /> | ||||
|   <field x="17" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="102" pattern="1" hide_zero="" text="###.###.###,@@"> | ||||
|    <source>#100+#101</source> | ||||
|    <prescript description="F1.102 PRESCRIPT">#THIS @ | ||||
| 0 | ||||
| C; | ||||
| IF | ||||
| #THIS @ | ||||
| -1 | ||||
| * | ||||
| #THIS  ! | ||||
| THEN | ||||
| </prescript> | ||||
|   </field> | ||||
|  </section> | ||||
|  <sql>USE MOV | ||||
| JOIN RMOVIVA INTO NUMREG==NUMREG | ||||
| JOIN MOV ALIAS 100 INTO NUMREG==MOVCOLL | ||||
|  <sql>USE RMOVIVA | ||||
| JOIN MOV INTO NUMREG==NUMREG | ||||
| JOIN MOV TO MOV ALIAS 100 INTO NUMREG==MOVCOLL | ||||
| JOIN CLIFO TO 100@ INTO TIPOCF==TIPO CODCF==CODCF | ||||
| JOIN COMUNI TO CLIFO INTO STATO==STATOCF COM==COMCF | ||||
| JOIN PCON TO RMOVIVA INTO GRUPPO==GRUPPO CONTO==CONTO SOTTOCONTO==SOTTOCONTO | ||||
| JOIN %IVA TO RMOVIVA ALIAS 201 INTO CODTAB==CODIVA | ||||
| JOIN PCON INTO GRUPPO==GRUPPO CONTO==CONTO SOTTOCONTO==SOTTOCONTO | ||||
| JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA | ||||
| FROM NUMREG=#NUM | ||||
| TO NUMREG=#NUM</sql> | ||||
| </report> | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user