Patch level : 2.0 688
Files correlati : ve1.exe Ricompilazione Demo : [ ] Commento : A020134 Per poter stampare il documento precedente bisognerebbe far riferimento alla prima riga non di descrizione e non alla prima riga di riferimento sul documento generato. git-svn-id: svn://10.65.10.50/trunk@11772 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									ce1ae20aab
								
							
						
					
					
						commit
						df1c495fd2
					
				| @ -1055,7 +1055,7 @@ bool TDocumento_form::validate(TForm_item &cf, TToken_string &s) | |||||||
|       const TDocumento& doc = (const TDocumento&)cursor()->curr(); |       const TDocumento& doc = (const TDocumento&)cursor()->curr(); | ||||||
|       const TRiga_documento* first_merc = NULL; |       const TRiga_documento* first_merc = NULL; | ||||||
|       const TRiga_documento* first_desc = NULL; |       const TRiga_documento* first_desc = NULL; | ||||||
|       for (int r = 1; r < doc.physical_rows(); r++) |       for (int r = 1; r <= doc.physical_rows(); r++) | ||||||
|       { |       { | ||||||
|         const TRiga_documento& row = doc[r]; |         const TRiga_documento& row = doc[r]; | ||||||
|         if (row.get(RDOC_DANDOC).not_empty()) |         if (row.get(RDOC_DANDOC).not_empty()) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user