revert ultimi commit errati Alex
This commit is contained in:
		
							parent
							
								
									59ddf2234d
								
							
						
					
					
						commit
						a012b488c2
					
				@ -31,8 +31,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fplib", "fplib.vcxproj", "{
 | 
			
		||||
EndProject
 | 
			
		||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "f1lib", "f1lib.vcxproj", "{41F4C25F-6BD2-4FC9-A0D3-A68CD1C9E4FC}"
 | 
			
		||||
EndProject
 | 
			
		||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "vedoc", "vedoc.vcxproj", "{A1CE9743-A597-4F92-B55A-345A366C9E55}"
 | 
			
		||||
EndProject
 | 
			
		||||
Global
 | 
			
		||||
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
			
		||||
		Debug|Win32 = Debug|Win32
 | 
			
		||||
@ -87,10 +85,6 @@ Global
 | 
			
		||||
		{41F4C25F-6BD2-4FC9-A0D3-A68CD1C9E4FC}.Debug|Win32.Build.0 = Debug|Win32
 | 
			
		||||
		{41F4C25F-6BD2-4FC9-A0D3-A68CD1C9E4FC}.Release|Win32.ActiveCfg = Release|Win32
 | 
			
		||||
		{41F4C25F-6BD2-4FC9-A0D3-A68CD1C9E4FC}.Release|Win32.Build.0 = Release|Win32
 | 
			
		||||
		{A1CE9743-A597-4F92-B55A-345A366C9E55}.Debug|Win32.ActiveCfg = Debug|Win32
 | 
			
		||||
		{A1CE9743-A597-4F92-B55A-345A366C9E55}.Debug|Win32.Build.0 = Debug|Win32
 | 
			
		||||
		{A1CE9743-A597-4F92-B55A-345A366C9E55}.Release|Win32.ActiveCfg = Release|Win32
 | 
			
		||||
		{A1CE9743-A597-4F92-B55A-345A366C9E55}.Release|Win32.Build.0 = Release|Win32
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(SolutionProperties) = preSolution
 | 
			
		||||
		HideSolutionNode = FALSE
 | 
			
		||||
 | 
			
		||||
@ -8,12 +8,10 @@ type ..\src\include\uml.h >%TMP%\%~n1.tmp
 | 
			
		||||
type %1 >>%TMP%\%~n1.tmp
 | 
			
		||||
 | 
			
		||||
cl /nologo /EP %TMP%\%~n1.tmp >%TMP%\%~n1.tm2
 | 
			
		||||
 | 
			
		||||
patchdef %TMP%\%~n1.tm2 %TMP%\%~n1.tm3
 | 
			
		||||
 | 
			
		||||
type ..\src\include\uml.h >%TMP%\%~n1.uml
 | 
			
		||||
type %TMP%\%~n1.tm3 >>%TMP%\%~n1.uml
 | 
			
		||||
 | 
			
		||||
cl /nologo /EP %TMP%\%~n1.uml >%TMP%\%~n1.msk
 | 
			
		||||
fastrip %TMP%\%~n1.msk %2 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -316,9 +316,6 @@
 | 
			
		||||
    <IniCompiler Include="..\src\ve\verig15.ini" />
 | 
			
		||||
    <IniCompiler Include="..\src\ve\verig23.ini" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ClInclude Include="..\src\ve\verigdef.h" />
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 | 
			
		||||
  <ImportGroup Label="ExtensionTargets">
 | 
			
		||||
    <Import Project="CampoRules.targets" />
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								exe/Cb6.dll
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								exe/Cb6.dll
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								exe/DIR.GEN
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								exe/DIR.GEN
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								exe/TRC.GEN
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								exe/TRC.GEN
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							@ -2,7 +2,7 @@
 | 
			
		||||
Donglehw =4
 | 
			
		||||
Firm =00001a
 | 
			
		||||
MaxHandles = 32
 | 
			
		||||
Study =h:\e\dati\metalfrigor\
 | 
			
		||||
Study =h:\e\dati\crpa\
 | 
			
		||||
Type = 1
 | 
			
		||||
User = ADMIN
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								exe/gfm.dll
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								exe/gfm.dll
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							@ -239,7 +239,6 @@ PreProcess =
 | 
			
		||||
Prezzo(1) =
 | 
			
		||||
Prezzo(2) =
 | 
			
		||||
Versione = 21511200
 | 
			
		||||
Edit_33 = ve0 -0
 | 
			
		||||
 | 
			
		||||
[fp]
 | 
			
		||||
Data = 06-11-2019
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								exe/pdflib.dll
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								exe/pdflib.dll
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							@ -1,102 +0,0 @@
 | 
			
		||||
[FieldDescr]
 | 
			
		||||
ANTICORPI = Anticorpi
 | 
			
		||||
BENEM = Vuole le benemerenze S/N
 | 
			
		||||
CATDON = Categoria donatori
 | 
			
		||||
CATNOND1 = Categoria non donatori 1
 | 
			
		||||
CATNOND2 = Categoria non donatori 2
 | 
			
		||||
CF = Codice fiscale
 | 
			
		||||
CMV = CMV
 | 
			
		||||
CODCL = Codice cartella clinica
 | 
			
		||||
CODCT = Codice centro trasfusionale
 | 
			
		||||
CODICE = Codice
 | 
			
		||||
CODMED = Codice regionale medico di base
 | 
			
		||||
CODSEZ = Codice sezione di appartenenza
 | 
			
		||||
CODSOT = Codice sottogruppo di appartenenza
 | 
			
		||||
COGNOME = Cognome
 | 
			
		||||
COGNOME_SP = Cognome del marito
 | 
			
		||||
COMNASC = Codice comune o stato estero di nascita
 | 
			
		||||
CONDOCC = Condizione occupazionale (da cambiare)
 | 
			
		||||
CONSENSO = Consenso informato (legge privacy)
 | 
			
		||||
DATAAF = Data stato AF
 | 
			
		||||
DATACONV = Data ultima convocazione spedita
 | 
			
		||||
DATADIM = Data dimissione
 | 
			
		||||
DATAISC = Data iscrizione
 | 
			
		||||
DATANASC = Data di nascita
 | 
			
		||||
DATAPRIAF = Data prima donazione AF
 | 
			
		||||
DATAPRISI = Data prima donazione SI
 | 
			
		||||
DATAPROSAF = Data prossima AF
 | 
			
		||||
DATAPROSSI = Data prossima SI
 | 
			
		||||
DATASI = Data stato SI
 | 
			
		||||
DATASTATO = Data in cui è stato attribuito lo stato
 | 
			
		||||
DATAULTAF = Data ultima donazione AF
 | 
			
		||||
DATAULTAGG = Data ultimo aggiornamento
 | 
			
		||||
DATAULTDON = Data ultima donazione
 | 
			
		||||
DATAULTID = Data ultima idoneità
 | 
			
		||||
DATAULTSI = Data ultima donazione SI
 | 
			
		||||
DATAULTSOL = Data ultimo sollecito
 | 
			
		||||
DATA_PROS = Data prossimo stato (per fine sospensione)
 | 
			
		||||
DISP_AF_1 = Disponibilita AF 1
 | 
			
		||||
DISP_AF_2 = Disponibilita AF 2
 | 
			
		||||
DOCID = Documento di identità
 | 
			
		||||
DOM_CAP = Domicilio - CAP
 | 
			
		||||
DOM_CODCOM = Domicilio - codice comune
 | 
			
		||||
DOM_CODLOC = Domicilio - codice localita' postale
 | 
			
		||||
DOM_DISTRI = Domicilio - presso/località - ex distribuzione
 | 
			
		||||
DOM_INDIR = Domicilio - indirizzo
 | 
			
		||||
DOM_STRADA = Domicilio - codice stradario
 | 
			
		||||
DONPRECAF = Numero donazioni AF non dettagliate
 | 
			
		||||
DONPRECSI = Numero donazioni SI non dettagliate
 | 
			
		||||
DU = Du
 | 
			
		||||
EMAIL = Indirizzo di posta elettronica
 | 
			
		||||
ESCLUSO = Esclusione non sanitaria
 | 
			
		||||
FENOTIPORH = Fenotipo Rh
 | 
			
		||||
FINESOSAF = Data fine sospensione AF
 | 
			
		||||
FINESOSSI = Data fine sospensione per SI
 | 
			
		||||
GIOPRECON = Giorni preferiti per controlli
 | 
			
		||||
GIOPREDON = Giorni preferiti per donazioni
 | 
			
		||||
GRUPPOAB0 = Gruppo AB0
 | 
			
		||||
GRUPPOAZIE = Codice gruppo aziendale
 | 
			
		||||
IDON1 = Idoneità 1
 | 
			
		||||
IDON2 = Idoneità 2
 | 
			
		||||
IDON3 = Idoneità 3
 | 
			
		||||
IDON4 = Idoneità 4
 | 
			
		||||
INTAF = Intervallo aferesi
 | 
			
		||||
INTSI = Intervallo sangue intero
 | 
			
		||||
KELL = Kell
 | 
			
		||||
LUOGOLAV = Luogo di lavoro (codice)
 | 
			
		||||
MODCONV = Modalita' di convocazione
 | 
			
		||||
MOTESCL = Motivo esclusione
 | 
			
		||||
NOME = Nome
 | 
			
		||||
NOTE = Note
 | 
			
		||||
NOTIZIARIO = Vuole il notiziario S/N
 | 
			
		||||
NUMCONV = Numero convocazioni spedite
 | 
			
		||||
POSPROF = Posizione professionale (da cambiare)
 | 
			
		||||
PROFESS = Professione (codice)
 | 
			
		||||
PROS_STATO = Stato prossimo
 | 
			
		||||
PUNTORACC = Punto di raccolta per convocazione
 | 
			
		||||
RAMOATT = Ramo di attività (da cambiare)
 | 
			
		||||
RES_CAP = Residenza - CAP
 | 
			
		||||
RES_CODCOM = Residenza - codice comune
 | 
			
		||||
RES_CODLOC = Residenza - codice localita' postale
 | 
			
		||||
RES_INDIR = Residenza - indirizzo
 | 
			
		||||
RHANTID = Rh/AntiD
 | 
			
		||||
SESSO = Sesso
 | 
			
		||||
STATO = Stato attuale
 | 
			
		||||
STATOAF = Stato sanitario AF
 | 
			
		||||
STATOSI = Stato sanitario per SI
 | 
			
		||||
TELABI = Telefono abitazione
 | 
			
		||||
TELALT = Telefono altro
 | 
			
		||||
TELLAV = Telefono lavoro
 | 
			
		||||
TERMESCL = Data termine esclusione
 | 
			
		||||
TESSAVIS = Tessera AVIS
 | 
			
		||||
TESSSSN = Tessera SSN
 | 
			
		||||
TIPOULTDON = Tipo ultima donazione
 | 
			
		||||
TIPOULTID = Tipo ultima idoneità
 | 
			
		||||
TITINDIR = Titolo in indirizzo
 | 
			
		||||
TITSTUD = Titolo di studio (da cambiare)
 | 
			
		||||
TOTDON = Totale donazioni
 | 
			
		||||
TOTDONAF = Numero donazioni AF
 | 
			
		||||
TOTDONSI = Numero donazioni SI
 | 
			
		||||
T_STAMPATA = Tessera stampata (S/N)
 | 
			
		||||
UTENULTAGG = Utente ultimo aggiornamento
 | 
			
		||||
 | 
			
		||||
@ -1,18 +1,3 @@
 | 
			
		||||
[FieldDescr]
 | 
			
		||||
CC = CC
 | 
			
		||||
CODICE = Codice soggetto
 | 
			
		||||
CODSEZ = Sezione di app. al momento della donazione
 | 
			
		||||
CODSOT = Sottogruppo di app.
 | 
			
		||||
DATADON = Data donazione
 | 
			
		||||
ETICHETTA = Etichetta sacca
 | 
			
		||||
HB = Hb
 | 
			
		||||
LUOGODON = Luogo donazione
 | 
			
		||||
PA = P.A.
 | 
			
		||||
PRIMADON = Prima donazione
 | 
			
		||||
PROGDON = Progressivo donazione per soggetto
 | 
			
		||||
PROGINS = Progressivo inserimento
 | 
			
		||||
PROTIDEMIA = Protidemia
 | 
			
		||||
SGPT = SGPT
 | 
			
		||||
TIPODON = Tipo donazione
 | 
			
		||||
XX =  
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,17 +0,0 @@
 | 
			
		||||
[FieldDescr]
 | 
			
		||||
CODICE = Codice soggetto
 | 
			
		||||
DATACON = Data controllo
 | 
			
		||||
IDON1 = Idoneità 1
 | 
			
		||||
IDON2 = Idoneità 2
 | 
			
		||||
IDON3 = Idoneità 3
 | 
			
		||||
IDON4 = Idoneità 4
 | 
			
		||||
INTAF = Intervallo per aferesi
 | 
			
		||||
INTSI = Intervallo per sangue intero
 | 
			
		||||
MOTIVO = Motivo (per controlli che modificano lo stato)
 | 
			
		||||
PROGCON = Progressivo controllo
 | 
			
		||||
PROSSDATA = Data prossimo tipo
 | 
			
		||||
PROSSTIPO = Prossimo tipo di controllo (programmato e/o presunto)
 | 
			
		||||
RESPONSAB = Responsabile (per controlli che modificano lo stato)
 | 
			
		||||
SINGOLI = Singoli controlli
 | 
			
		||||
TIPOCON = Tipo o esito controllo
 | 
			
		||||
 | 
			
		||||
@ -1,6 +0,0 @@
 | 
			
		||||
[FieldDescr]
 | 
			
		||||
CODFAM = Codice soggetto familiare
 | 
			
		||||
FAMIGLIA = Codice famiglia (progressivo automatico)
 | 
			
		||||
GRADOPAR = Grado di parentela
 | 
			
		||||
PROGFAM = Progressivo familiare
 | 
			
		||||
 | 
			
		||||
@ -1,40 +0,0 @@
 | 
			
		||||
[FieldDescr]
 | 
			
		||||
CATCANC = Categoria cancellati
 | 
			
		||||
CATEMER = Categoria emeriti
 | 
			
		||||
CATESTI = Categoria estinti
 | 
			
		||||
CODSEZ = Codice sezione
 | 
			
		||||
CODSOT = Codice sottogruppo
 | 
			
		||||
COM = Codice comune residenza
 | 
			
		||||
CONVNOTE = Note
 | 
			
		||||
CONVORA = Orario per stampa cartolina
 | 
			
		||||
CONVSEDE1 = Sede: 1° riga
 | 
			
		||||
CONVSEDE2 = Sede: 2° riga
 | 
			
		||||
CONVSEDE3 = Sede: 3° riga
 | 
			
		||||
CONVSEDE4 = Sede: 4° riga
 | 
			
		||||
DATAULTCON = Data ultima convocazione
 | 
			
		||||
DENOMINAZ = Denominazione completa della sezione
 | 
			
		||||
DENSEZ = Denominazione sezione
 | 
			
		||||
DENSOT = Denominazione sottogruppo
 | 
			
		||||
DONEMER = Numero donazioni per passaggio a emeriti
 | 
			
		||||
FAX = Fax sezione
 | 
			
		||||
GIOCARSOL = Giorni tra cartolina e primo sollecito
 | 
			
		||||
GIOPERRIT = Giorni tra le chiamate per ritardatari
 | 
			
		||||
GIOSOLSOL = Giorni tra sollecito e sollecito
 | 
			
		||||
GIOULTSOL = Giorni tra penultimo e ultimo sollecito
 | 
			
		||||
INDIRIZZO = Indirizzo
 | 
			
		||||
INTESTAZ1 = 1° Riga di intestazione per tessere e cartoline
 | 
			
		||||
INTESTAZ2 = 2° Riga di intestazione per tessere e cartoline
 | 
			
		||||
INTESTAZ3 = 3° Riga di intestazione per tessere e cartoline
 | 
			
		||||
INTESTAZ4 = 4° Riga di intestazione per tessere e cartoline
 | 
			
		||||
INTESTI = Intervallo di estinzione in anni
 | 
			
		||||
INTMAX = Intervallo max per cartolina
 | 
			
		||||
INTMIN = Intervallo min. per cartolina
 | 
			
		||||
INTMINCONV = Intervallo minimo di convocazione in gg.
 | 
			
		||||
LOCALITA = Località postale
 | 
			
		||||
NUMMAXSOL = Numero massimo di solleciti
 | 
			
		||||
PUNTORACC = Codice punto di raccolta per convocazione
 | 
			
		||||
REFERCED = Cognome e nome referente CED
 | 
			
		||||
STATO = Stato sezione
 | 
			
		||||
TELEFONO = Telefono sezione
 | 
			
		||||
TIPOCONV = Tipo convocazione
 | 
			
		||||
 | 
			
		||||
@ -1,10 +0,0 @@
 | 
			
		||||
[FieldDescr]
 | 
			
		||||
CODMED = Codice regionale del medico
 | 
			
		||||
COGNOME = Cognome medico
 | 
			
		||||
COM = Codice comune di residenza
 | 
			
		||||
INDIRIZZO = Indirizzo medico
 | 
			
		||||
LOCALITA = Località postale
 | 
			
		||||
NOME = Nome medico
 | 
			
		||||
TELABI = Telefono abitazione
 | 
			
		||||
TELAMB = Telefono ambulatorio
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
[FieldDescr]
 | 
			
		||||
AL = Data fine periodo
 | 
			
		||||
ANNO = Anno
 | 
			
		||||
CHIUSA = Indica se una lettera di intento è chiusa
 | 
			
		||||
CODCLI = Codice cliente
 | 
			
		||||
DAL = Data inizio periodo
 | 
			
		||||
DATAREG = Data di registrazione
 | 
			
		||||
@ -9,8 +8,6 @@ IMPORTO = Importo
 | 
			
		||||
INVIATO = Inviato
 | 
			
		||||
NOTE = Note
 | 
			
		||||
NUMPROT = Numero protocollo
 | 
			
		||||
PROTINTF = Numero di protocollo passato dall agenzia delle entrate (prima parte)
 | 
			
		||||
PROTINTS = Numero di protocollo passato dall agenzia delle entrate (seconda parte)
 | 
			
		||||
STAMPATO = Stampato
 | 
			
		||||
TIPOOP = Tipo operazione (1=singola,2=fino a,3=nel periodo dal/al)
 | 
			
		||||
UFFIVA = Codice ufficio IVA
 | 
			
		||||
 | 
			
		||||
@ -46,7 +46,7 @@ RIFBOL = Riferimenti bolle in fattura
 | 
			
		||||
RIFBOLFAT = Riferimenti bolle in fattura
 | 
			
		||||
RIPCONS = Stampa riepilogo consegne
 | 
			
		||||
RITAUDTTMP = Ritiro automatico dotazione temporanea
 | 
			
		||||
SSCONS = Spese da addebitare alla consegna
 | 
			
		||||
SSCONS = Spese di spedizione alla consegna
 | 
			
		||||
STATUS = Stato del contratto, <CH>chiuso, <CO>confermato, <DC>da confermare
 | 
			
		||||
STDDTPTS = Stampa DDT da pulito con Touch Screen
 | 
			
		||||
STDICITURA = Stampa dicitura
 | 
			
		||||
 | 
			
		||||
@ -7,7 +7,6 @@ DATAREGP = Data pagamento
 | 
			
		||||
IMPONIBILE = Imponibile
 | 
			
		||||
IMPORTO = Importo
 | 
			
		||||
IMPOSTA = Imposta
 | 
			
		||||
INDETR = Riga di IVA indetraibile
 | 
			
		||||
MESELIQ = Mese liquidazione
 | 
			
		||||
NUMPRO = Numero progressivo PAG o NC
 | 
			
		||||
NUMREG = Numero operazione Fattura
 | 
			
		||||
 | 
			
		||||
@ -42,7 +42,7 @@ NUMCC = Numero di conto corrente
 | 
			
		||||
OCCAS = Cliente / fornitore occasionale
 | 
			
		||||
OGGETTI = Link ad oggetti esterni
 | 
			
		||||
PAIV = Partita IVA
 | 
			
		||||
PEC = Indirizzo di posta elettronica certificato
 | 
			
		||||
PEC = Missing description
 | 
			
		||||
PFAX = Prefisso del numero di FAX
 | 
			
		||||
PTEL = Prefisso del numero di telefono
 | 
			
		||||
PTEL2 = Prefisso del 2 numero di telefono
 | 
			
		||||
 | 
			
		||||
@ -9,12 +9,8 @@ GRUPPO = Gruppo
 | 
			
		||||
NUMULTMOV = Numero operazione dell'ultimo movimento
 | 
			
		||||
PAVERE = Progressivo avere
 | 
			
		||||
PAVEREPRO = Progressivo avere movimenti provvisori
 | 
			
		||||
PAVEREPROB = Progressivo avere movimenti provvisori bilancio costi ricavi
 | 
			
		||||
PAVEREPROC = Progressivo avere movimenti provvisori cespiti
 | 
			
		||||
PDARE = Progressivo dare
 | 
			
		||||
PDAREPRO = Progressivo dare movimenti provvisori
 | 
			
		||||
PDAREPROB = Progressivo dare movimenti provvisori bilancio costi ricavi
 | 
			
		||||
PDAREPROC = Progressivo dare movimenti provvisori cespiti
 | 
			
		||||
SALDO = Saldo iniziale
 | 
			
		||||
SALDOFIN = Saldo di chiusura
 | 
			
		||||
SOTTOCONTO = Sottoconto
 | 
			
		||||
 | 
			
		||||
@ -4,7 +4,6 @@ ANNOFE = Anno invio definitivo dati rilevanti
 | 
			
		||||
ANNOIVA = Anno IVA
 | 
			
		||||
CAMBIO = Cambio della valuta
 | 
			
		||||
CAMBIOI = Cambio della valuta intra-comunitaria
 | 
			
		||||
CFBOLLADOG = Codice fornitore a cui è riferita la bolla doganale
 | 
			
		||||
CODCAUS = Codice causale
 | 
			
		||||
CODCF = Codice
 | 
			
		||||
CODPAG = Codice pagamento
 | 
			
		||||
@ -18,7 +17,6 @@ DANNO = Documento originale ANNO
 | 
			
		||||
DATA74TER = Data per art. 74 ter
 | 
			
		||||
DATACAM = Data del cambio
 | 
			
		||||
DATACOMP = Data competenza
 | 
			
		||||
DATACOMPCR = Data competenza costi/ricavi
 | 
			
		||||
DATACOMPI = Data di competenza intra-comunitaria
 | 
			
		||||
DATADOC = Data documento
 | 
			
		||||
DATAINC = Data di incasso per liquidazione differita
 | 
			
		||||
@ -31,13 +29,10 @@ DPROVV = Documento originale PROVV
 | 
			
		||||
INVIATO = Inviato ad altra contabilità
 | 
			
		||||
INVIOFE = Data invio definitivo dati rilevanti
 | 
			
		||||
INVIVA = Inviata la parte IVA ad altra contabilita'
 | 
			
		||||
IVALIQ = Iva per cassa liquidata completamente
 | 
			
		||||
IVAXCASSA = Flag di movimento IVA per cassa
 | 
			
		||||
KEYFPPRO = Chiave FpPro
 | 
			
		||||
LIQDIFF = Flag di movimento a liquidazione differita
 | 
			
		||||
MESELIQ = Mese per liquidazione differita
 | 
			
		||||
MODPAG = Modalità di pagamento 1=Non frazionato; 2=Frazionato; 3=Periodico
 | 
			
		||||
MOVCOLL = Movimento collegato
 | 
			
		||||
NOLEGGIO = Tipo veicolo Auto, Camper, Altro, Diporto, aEreo
 | 
			
		||||
NUMDOC = Numero documento
 | 
			
		||||
NUMDOCEXT = Numero documento esteso
 | 
			
		||||
@ -46,18 +41,15 @@ NUMREG = Numero di operazione
 | 
			
		||||
NUMRETT = Numero documento rettificato
 | 
			
		||||
OCFPI = Codice cliente / fornitore occasionale
 | 
			
		||||
PROTIVA = Numero di protocollo IVA
 | 
			
		||||
PROVVIS = Tipo movimento (< > Normale, Provvisorio <P> cancellabile, <C> cespiti, <B> bilancio costi/ricavi
 | 
			
		||||
PROVVIS = Tipo movimento (" " Normale, "P" Provvisorio cancellabile, "C" Provvisorio cespiti)
 | 
			
		||||
REG = Codice registro IVA
 | 
			
		||||
REGST = Stampato su registro IVA
 | 
			
		||||
REVCHARGE = Reverse charge
 | 
			
		||||
RITFATT = Fattura in ritardo
 | 
			
		||||
RITFIS = Ritenute fiscali
 | 
			
		||||
RITSOC = Ritenute sociali
 | 
			
		||||
SCARCON = Scaricata la contabilitá
 | 
			
		||||
SPLITPAY = Flag di scissione pagamenti [_=Auto,S=Split,N=Normale]
 | 
			
		||||
STAMPATO = Stampato su giornale
 | 
			
		||||
TFDATA = Data ultimo invio Trasferimento Fatture
 | 
			
		||||
TFINVIO = Flag Invio Trasferimento Fatture
 | 
			
		||||
TIPO = Tipo <C>liente o <F>ornitore
 | 
			
		||||
TIPODOC = Tipo documento
 | 
			
		||||
TIPOMOV = Tipo movimento
 | 
			
		||||
 | 
			
		||||
@ -7,7 +7,6 @@ CODCAUSIM = Codice causale incasso immediato
 | 
			
		||||
COLLCESP = Collegamnto ai cespiti
 | 
			
		||||
CONTIND = Causale per contabilità industriale
 | 
			
		||||
DATADOC = Data documento
 | 
			
		||||
DATAREGPR = Data di registrazion nell'ereserciozio precedente per il caso del campo precedente
 | 
			
		||||
DESCR = Descrizione causale
 | 
			
		||||
INTRACOM = Movimento intra-comunitario
 | 
			
		||||
LIQDIFF = Fatture a liquidazione differita
 | 
			
		||||
@ -21,8 +20,7 @@ NUMDOC = Numero documento
 | 
			
		||||
PROVV = Tipo movimento (" " Normale, "P" Provvisorio cancellabile, "C" Provvisorio da cepiti)
 | 
			
		||||
REG = Codice registro
 | 
			
		||||
REGSPIVA = Regimi speciali IVA
 | 
			
		||||
RILFTEMRI = Causale di rilevazione fatture de emettere o ricevere
 | 
			
		||||
RITFATT = Fattura in ritardo
 | 
			
		||||
RITFATT = 
 | 
			
		||||
SOLOIVA = Movimento di sola IVA
 | 
			
		||||
SOSPESO = Causale sospesa
 | 
			
		||||
TIPODOC = Tipo documento
 | 
			
		||||
 | 
			
		||||
@ -22,7 +22,6 @@ D1 =
 | 
			
		||||
D2 = 
 | 
			
		||||
D3 = 
 | 
			
		||||
D4 = 
 | 
			
		||||
DATAAGG = 
 | 
			
		||||
FPC = 
 | 
			
		||||
I0 = 
 | 
			
		||||
I1 = 
 | 
			
		||||
@ -67,7 +66,6 @@ R30 =
 | 
			
		||||
R31 = 
 | 
			
		||||
R32 = 
 | 
			
		||||
R33 = 
 | 
			
		||||
R34 = 
 | 
			
		||||
R4 = 
 | 
			
		||||
R5 = 
 | 
			
		||||
R6 = 
 | 
			
		||||
@ -78,9 +76,6 @@ S0 =
 | 
			
		||||
S1 = 
 | 
			
		||||
S10 = 
 | 
			
		||||
S11 = 
 | 
			
		||||
S12 = 
 | 
			
		||||
S13 = 
 | 
			
		||||
S14 = 
 | 
			
		||||
S2 = 
 | 
			
		||||
S3 = 
 | 
			
		||||
S4 = 
 | 
			
		||||
@ -89,5 +84,4 @@ S6 =
 | 
			
		||||
S7 = 
 | 
			
		||||
S8 = 
 | 
			
		||||
S9 = 
 | 
			
		||||
UTENTE = 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -93,7 +93,6 @@ TARA = Tara
 | 
			
		||||
TIPOCF = Tipo <C>liente <F>ornitore
 | 
			
		||||
TIPOCFFATT = Tipo <C>liente <F>ornitore cui fatturare
 | 
			
		||||
TIPODOC = Tipo documento
 | 
			
		||||
TIPODOCSDI = Tido documento secondo Agenzia delle Entrate
 | 
			
		||||
UMPNETTO = Unità di misura per il peso netto
 | 
			
		||||
UMTARA = Unità di misura per la tara
 | 
			
		||||
UTENTE = Utente ultimo aggiornamento
 | 
			
		||||
 | 
			
		||||
@ -78,9 +78,6 @@ S0 =
 | 
			
		||||
S1 = 
 | 
			
		||||
S10 = 
 | 
			
		||||
S11 = 
 | 
			
		||||
S12 = 
 | 
			
		||||
S13 = 
 | 
			
		||||
S14 = 
 | 
			
		||||
S2 = 
 | 
			
		||||
S3 = 
 | 
			
		||||
S4 = 
 | 
			
		||||
 | 
			
		||||
@ -78,9 +78,6 @@ S0 =
 | 
			
		||||
S1 = 
 | 
			
		||||
S10 = 
 | 
			
		||||
S11 = 
 | 
			
		||||
S12 = 
 | 
			
		||||
S13 = 
 | 
			
		||||
S14 = 
 | 
			
		||||
S2 = 
 | 
			
		||||
S3 = 
 | 
			
		||||
S4 = 
 | 
			
		||||
 | 
			
		||||
@ -45,7 +45,6 @@ STATOPAIV =
 | 
			
		||||
STATORES = 
 | 
			
		||||
TELRF = 
 | 
			
		||||
TIPOA = 
 | 
			
		||||
TIPORFSO = Definisce se la persona è un <R>appr. Fiscale, <S>tabile Organizzazione o nessuno dei due
 | 
			
		||||
TIPOSTDEL = 
 | 
			
		||||
TITCF = 
 | 
			
		||||
TLEXRFX = 
 | 
			
		||||
@ -53,7 +52,6 @@ UFFCONC =
 | 
			
		||||
UFFIIDD = 
 | 
			
		||||
UFFIVA = 
 | 
			
		||||
UFFUUE = 
 | 
			
		||||
UTENTE = 
 | 
			
		||||
VARDF = 
 | 
			
		||||
VARSLORES = 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -10,7 +10,6 @@ CESSIVA = Cessata attivita' o variata partita IVA
 | 
			
		||||
CODANAGR = 
 | 
			
		||||
CODATTPREV = 
 | 
			
		||||
CODDITTA = 
 | 
			
		||||
CODRFSO = Codice Rappresentante Fiscale/Stabile Organizzazione
 | 
			
		||||
CODSOGDEL = Codice del soggetto delegato
 | 
			
		||||
CODSTAT1 = 
 | 
			
		||||
CODSTAT2 = 
 | 
			
		||||
@ -19,7 +18,6 @@ COMAA =
 | 
			
		||||
CONDFAM = 
 | 
			
		||||
CONTORD = 
 | 
			
		||||
DATAISCRAA = 
 | 
			
		||||
DATARFSO = Data immissione valore
 | 
			
		||||
DATLAV = 
 | 
			
		||||
DECCARINT = 
 | 
			
		||||
DEDART13 = 
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
109
 | 
			
		||||
0
 | 
			
		||||
$mag|38313|38313|692|0|Giacenze di magazzino|||
 | 
			
		||||
$mag|0|0|692|0|Giacenze di magazzino|||
 | 
			
		||||
 | 
			
		||||
@ -47,7 +47,6 @@ USER5|4|15|5|campo definito dall'utente
 | 
			
		||||
USERVAL5|4|18|3|valore
 | 
			
		||||
USER6|4|15|5|campo definito dall'utente
 | 
			
		||||
USERVAL6|4|18|3|valore
 | 
			
		||||
3
 | 
			
		||||
2
 | 
			
		||||
ANNOES+CODART+NRIGA| 
 | 
			
		||||
ANNOES+CODMAG+CODART+LIVELLO|X
 | 
			
		||||
ANNOES+CODMAG+LIVELLO|X
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
120
 | 
			
		||||
1
 | 
			
		||||
m770/quadrodb|0|0|118|0|Quadro D bis 770|||
 | 
			
		||||
m770/quadrodb|0|0|117|4|Quadro D bis 770|||
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@ TIPOA|1|1|0|Tipo anagrafica (Sempre 'F')
 | 
			
		||||
CODANAGR|3|5|0|Codice anagrafica
 | 
			
		||||
NPROG|2|4|0|Numero progressivo di riga
 | 
			
		||||
CODCAUS|9|2|0|Codice causale
 | 
			
		||||
CAUSALE|1|2|0|15 - Causale
 | 
			
		||||
CAUSALE|1|1|0|15 - Causale
 | 
			
		||||
TOTALE|4|18|0|16 - Ammontare lordo corrisposto
 | 
			
		||||
SOMME|4|18|0|17 - Somme non soggette a ritenuta
 | 
			
		||||
IMPONIBILE|4|18|0|19 - Imponibile
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
20
 | 
			
		||||
0
 | 
			
		||||
$clifo|||905|0|Clienti/Fornitori|||
 | 
			
		||||
$clifo|774|774|875|0|Clienti/Fornitori|||
 | 
			
		||||
 | 
			
		||||
@ -34,7 +34,7 @@ PTELEX|1|10|0|Prefisso del numero di TELEX
 | 
			
		||||
TELEX|1|30|0|Prefisso del numero di TELEX
 | 
			
		||||
MAIL|1|50|0|Indirizzo di posta elettronica generico
 | 
			
		||||
BYMAIL|8|1|0|Consenso all' invio dei documenti per posta elettronica
 | 
			
		||||
PEC|1|80|0|Indirizzo di posta elettronica certificato
 | 
			
		||||
PEC|1|50|0|Indirizzo di posta elettronica certificato
 | 
			
		||||
DOCMAIL|1|50|0|Indirizzo di posta elettronica per i documenti
 | 
			
		||||
DATANASC|5|8|0|Data di nascita
 | 
			
		||||
STATONASC|2|3|0|Codice stato di nascita
 | 
			
		||||
@ -64,10 +64,10 @@ ENTE|1|4|0|Codice ente pubblico di appartenenza (Dipendente Pubblico)
 | 
			
		||||
SPLITPAY|8|1|0|Ente pubblico soggetto a split payment
 | 
			
		||||
UTENTE|1|32|0|Utente dell'ultima modifica
 | 
			
		||||
DATAAGG|5|8|0|Data ultima modifica
 | 
			
		||||
CODRFSO|1|6|0|Missing description
 | 
			
		||||
DATARFSO|5|8|0|Missing description
 | 
			
		||||
INIFATTEL|5|8|0|Missing description
 | 
			
		||||
INIREVCHG|5|8|0|Missing description
 | 
			
		||||
CODRFSO|1|6|0|Codice Rappresentate Fisc/Stabile Org
 | 
			
		||||
DATARFSO|5|8|0|Data Rappresentate Fisc/Stabile Org
 | 
			
		||||
INIFATTEL|5|8|0|Data inizio fatturazione elettronica
 | 
			
		||||
INIREVCHG|5|8|0|Data inizio reverse charge
 | 
			
		||||
6
 | 
			
		||||
TIPOCF+CODCF| 
 | 
			
		||||
TIPOCF+UPPER(RAGSOC)|X
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
21
 | 
			
		||||
0
 | 
			
		||||
$saldi|||215|0|Saldi|||
 | 
			
		||||
$saldi|||143|0|Saldi|||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
21
 | 
			
		||||
19
 | 
			
		||||
15
 | 
			
		||||
ANNOES|9|4|0|Codice esercizio
 | 
			
		||||
GRUPPO|2|3|0|Gruppo
 | 
			
		||||
CONTO|2|3|0|Conto
 | 
			
		||||
@ -13,10 +13,6 @@ PDARE|4|18|3|Progressivo dare
 | 
			
		||||
PAVERE|4|18|3|Progressivo avere
 | 
			
		||||
PDAREPRO|4|18|3|Progressivo dare movimenti provvisori
 | 
			
		||||
PAVEREPRO|4|18|3|Progressivo avere movimenti provvisori
 | 
			
		||||
PDAREPROB|4|18|3|Progressivo dare movimenti provvisori bilancio costi ricavi
 | 
			
		||||
PAVEREPROB|4|18|3|Progressivo avere movimenti provvisori bilancio costi ricavi
 | 
			
		||||
PDAREPROC|4|18|3|Progressivo dare movimenti provvisori cespiti
 | 
			
		||||
PAVEREPROC|4|18|3|Progressivo avere movimenti provvisori cespiti
 | 
			
		||||
DATAULMOV|5|8|0|Data ultimo movimento
 | 
			
		||||
NUMULTMOV|3|7|0|Numero operazione dell'ultimo movimento
 | 
			
		||||
3
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
3
 | 
			
		||||
1
 | 
			
		||||
%tabgen|0|0|1285|0|Tabelle di studio|50||
 | 
			
		||||
%tabgen|0|0|1181|0|Tabelle di studio|50||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
3
 | 
			
		||||
91
 | 
			
		||||
86
 | 
			
		||||
COD|1|3|0|
 | 
			
		||||
CODTAB|1|25|0|
 | 
			
		||||
S0|1|70|0|
 | 
			
		||||
@ -14,9 +14,6 @@ S8|1|5|0|
 | 
			
		||||
S9|1|5|0|
 | 
			
		||||
S10|1|5|0|
 | 
			
		||||
S11|1|5|0|
 | 
			
		||||
S12|1|5|0|
 | 
			
		||||
S13|1|70|0|
 | 
			
		||||
S14|1|5|0|
 | 
			
		||||
I0|3|7|0|
 | 
			
		||||
I1|3|7|0|
 | 
			
		||||
I2|3|7|0|
 | 
			
		||||
@ -62,11 +59,11 @@ R26|4|18|5|
 | 
			
		||||
R27|4|18|5|
 | 
			
		||||
R28|4|18|5|
 | 
			
		||||
R29|4|18|5|
 | 
			
		||||
R29|4|18|5|
 | 
			
		||||
R30|4|18|5|
 | 
			
		||||
R31|4|18|5|
 | 
			
		||||
R32|4|18|5|
 | 
			
		||||
R33|4|18|5|
 | 
			
		||||
R34|4|18|5|
 | 
			
		||||
D0|5|8|0|
 | 
			
		||||
D1|5|8|0|
 | 
			
		||||
D2|5|8|0|
 | 
			
		||||
@ -88,8 +85,6 @@ B12|8|1|0|
 | 
			
		||||
B13|8|1|0|
 | 
			
		||||
B14|8|1|0|
 | 
			
		||||
B15|8|1|0|
 | 
			
		||||
DATAAGG|5|8|0|
 | 
			
		||||
UTENTE|1|16|0|
 | 
			
		||||
FPC|8|1|0|
 | 
			
		||||
2
 | 
			
		||||
COD+CODTAB| 
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
39
 | 
			
		||||
1
 | 
			
		||||
m770/schper|0|0|194|0|Schede percipienti|#9||
 | 
			
		||||
m770/schper|0|0|193|0|Schede percipienti|#9||
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@ TOTRIT|4|18|2|Totale ritenute (collegamento contabilit
 | 
			
		||||
RITSOC|4|18|2|Ritenute sociali (collegamento contabilità)
 | 
			
		||||
MESEC|2|2|0|Mese competenza
 | 
			
		||||
ANNOC|2|4|0|Anno competenza
 | 
			
		||||
CAUSQUA|1|2|0|Causale quadro
 | 
			
		||||
CAUSQUA|7|1|0|Causale quadro
 | 
			
		||||
FLAGTS|7|1|0|Flag T.S.
 | 
			
		||||
RITOPE|4|18|2|Ritenute operate
 | 
			
		||||
RITVER|4|18|2|Ritenute versate
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
4
 | 
			
		||||
1
 | 
			
		||||
%tabcom|0|0|1285|0|Tabelle comuni|1500||
 | 
			
		||||
%tabcom|0|0|1210|0|Tabelle comuni|1500||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
4
 | 
			
		||||
91
 | 
			
		||||
89
 | 
			
		||||
COD|1|3|0|
 | 
			
		||||
CODTAB|1|25|0|
 | 
			
		||||
S0|1|70|0|
 | 
			
		||||
@ -15,8 +15,6 @@ S9|1|5|0|
 | 
			
		||||
S10|1|5|0|
 | 
			
		||||
S11|1|5|0|
 | 
			
		||||
S12|1|5|0|
 | 
			
		||||
S13|1|70|0|
 | 
			
		||||
S14|1|5|0|
 | 
			
		||||
I0|3|7|0|
 | 
			
		||||
I1|3|7|0|
 | 
			
		||||
I2|3|7|0|
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
5
 | 
			
		||||
0
 | 
			
		||||
$tab|3666|3666|1285|0|Tabelle ditta|400||
 | 
			
		||||
$tab|0|0|1197|0|Tabelle ditta|400||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
5
 | 
			
		||||
91
 | 
			
		||||
88
 | 
			
		||||
COD|1|3|0|
 | 
			
		||||
CODTAB|1|25|0|
 | 
			
		||||
S0|1|70|0|
 | 
			
		||||
@ -14,9 +14,6 @@ S8|1|5|0|
 | 
			
		||||
S9|1|5|0|
 | 
			
		||||
S10|1|5|0|
 | 
			
		||||
S11|1|5|0|
 | 
			
		||||
S12|1|5|0|
 | 
			
		||||
S13|1|70|0|
 | 
			
		||||
S14|1|5|0|
 | 
			
		||||
I0|3|7|0|
 | 
			
		||||
I1|3|7|0|
 | 
			
		||||
I2|3|7|0|
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
61
 | 
			
		||||
1
 | 
			
		||||
m770/quadroc|0|0|193|0|Quadro C 770|||
 | 
			
		||||
m770/quadroc|||192|0|Quadro C 770|||
 | 
			
		||||
 | 
			
		||||
@ -7,7 +7,7 @@ NPROG|2|4|0|Numero progressivo
 | 
			
		||||
GENERATA|8|1|0|Riga generata dalle schede
 | 
			
		||||
CODCAUS|9|2|0|Codice causale
 | 
			
		||||
PERC|4|6|2|Aliquota applicata
 | 
			
		||||
CAUSALE|1|2|0|11 - Causale quadro C
 | 
			
		||||
CAUSALE|1|1|0|11 - Causale quadro C
 | 
			
		||||
TASSAZIONE|6|1|0|12 - Tassazione operata
 | 
			
		||||
AMMLORDO|4|18|0|13 - Ammontare lordo corrisposto
 | 
			
		||||
CONTROBB|4|18|0|14 - Contributi obbligatori
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
62
 | 
			
		||||
1
 | 
			
		||||
m770/quadrod|0|0|117|0|Quadro D 770|||
 | 
			
		||||
m770/quadrod|0|0|116|4|Quadro D 770|||
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@ TIPOA|1|1|0|Tipo anagrafica (Sempre 'F')
 | 
			
		||||
CODANAGR|3|5|0|Codice anagrafica
 | 
			
		||||
NPROG|2|4|0|Numero progressivo di riga
 | 
			
		||||
CODCAUS|9|2|0|Codice causale
 | 
			
		||||
CAUSALE|1|2|0|15 - Causale
 | 
			
		||||
CAUSALE|1|1|0|15 - Causale
 | 
			
		||||
TOTALE|4|18|2|16 - Ammontare lordo corrisposto
 | 
			
		||||
SOMME|4|18|2|17 - Somme non soggette a ritenuta
 | 
			
		||||
IMPONIBILE|4|18|2|19 - Imponibile
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
63
 | 
			
		||||
1
 | 
			
		||||
m770/quadrod1|0|0|117|0|Quadro D1 770|||
 | 
			
		||||
m770/quadrod1|0|0|116|4|Quadro D1 770|||
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@ TIPOA|1|1|0|Tipo anagrafica (sempre 'F')
 | 
			
		||||
CODANAGR|3|5|0|Codice anagrafica
 | 
			
		||||
NPROG|2|4|0|Numero progrssivo riga
 | 
			
		||||
CODCAUS|9|2|0|Codice causale
 | 
			
		||||
CAUSALE|1|2|0|11 - Causale
 | 
			
		||||
CAUSALE|7|1|0|11 - Causale
 | 
			
		||||
TOTALE|4|18|2|12 - Ammontare lordo corrisposto
 | 
			
		||||
QUOTAPRO|4|18|2|14 - Quota provvigioni
 | 
			
		||||
SPESEANT|4|18|2|13 - Spese anticipate
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
64
 | 
			
		||||
1
 | 
			
		||||
m770/quadroe|0|0|99|0|Quadro E 770|||
 | 
			
		||||
m770/quadroe|||98|0|Quadro E 770|||
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@ TIPOA|1|1|0|Natura giuridica del percipiente
 | 
			
		||||
CODANAGR|3|5|0|Codice anagrafico
 | 
			
		||||
NPROG|2|4|0|Numero progressivo di riga
 | 
			
		||||
CODCAUS|9|2|0|Codice causale
 | 
			
		||||
CAUSALE|1|2|0|11 - Causale quadro
 | 
			
		||||
CAUSALE|7|1|0|11 - Causale quadro
 | 
			
		||||
IMPONIBILE|4|18|2|12 - Imponibile corrisposto
 | 
			
		||||
PERC|4|6|2|13 - Aliquota
 | 
			
		||||
IMPORTO|4|18|2|14 - Ritenute operate
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
65
 | 
			
		||||
1
 | 
			
		||||
m770/quadroe1|0|0|99|0|Quadro E1 770|||
 | 
			
		||||
m770/quadroe1|||98|0|Quadro E1 770|||
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@ TIPOA|1|1|0|Natura giuridica
 | 
			
		||||
CODANAGR|3|5|0|Codice anagrafica
 | 
			
		||||
NPROG|2|4|0|Numero progrssivo i riga
 | 
			
		||||
CODCAUS|9|2|0|Codice causale
 | 
			
		||||
CAUSALE|1|2|0|11 - Causale quadro
 | 
			
		||||
CAUSALE|7|1|0|11 - Causale quadro
 | 
			
		||||
SOMME|4|18|2|12 - Somme corrisposte
 | 
			
		||||
AMMONTARE|4|18|2|13 - Ammontare complessivo dei premi riscossi
 | 
			
		||||
PERC|4|6|2|14 - Aliquota
 | 
			
		||||
 | 
			
		||||
@ -24,6 +24,6 @@ LogVerbose=
 | 
			
		||||
PingFreq=
 | 
			
		||||
 | 
			
		||||
[Spotlite]
 | 
			
		||||
Data(0) = h:\e\dati\din\spotlite
 | 
			
		||||
Data(0) = f:\clienti\Bellegotti\spotlite
 | 
			
		||||
Study(0) = 
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
[MAIN]
 | 
			
		||||
OEM = 2
 | 
			
		||||
OEM = 1
 | 
			
		||||
 | 
			
		||||
[OEM_0]
 | 
			
		||||
Administrator = ’—’Œ<EFBFBD>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								exe/xi.dll
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								exe/xi.dll
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								exe/xvaga.dll
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								exe/xvaga.dll
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							@ -1,102 +1,99 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8" ?>
 | 
			
		||||
<report libraries="" page_merge="" save_printer="" name="bastiva" use_printer_font="" orientation="2" page_split="" lpi="6" command="" class="bastiva">
 | 
			
		||||
<report name="bastiva" orientation="2" lpi="6" class="bastiva">
 | 
			
		||||
 <font face="Courier New" size="10" />
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <field deactivated="" type="Testo" valign="center" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="96" codval="" height="2" id="" pattern="2" hide_zero="" text="Tabella Codici IVA">
 | 
			
		||||
 <section type="Head" pattern="1">
 | 
			
		||||
  <field type="Testo" valign="center" align="center" width="96" height="2" pattern="2" text="Tabella Codici IVA">
 | 
			
		||||
   <font face="Courier New" bold="1" size="14" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" x="1" y="2.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
 | 
			
		||||
  <field border="2" x="108" y="2.75" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="3.5" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="109" y="2.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="Riga IVA 11">
 | 
			
		||||
  <field border="2" x="1" y="2.5" type="Linea" width="133" height="0" pattern="2" />
 | 
			
		||||
  <field border="2" x="108" y="2.75" type="Linea" height="3.5" pattern="1" />
 | 
			
		||||
  <field x="109" y="2.75" type="Testo" width="11" pattern="2" text="Riga IVA 11">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="123" y="2.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="Riga prosp.">
 | 
			
		||||
  <field x="123" y="2.75" type="Testo" width="11" pattern="2" text="Riga prosp.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="2" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Cod.">
 | 
			
		||||
  <field x="2" y="3.5" type="Testo" width="4" pattern="2" text="Cod.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="7" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="12" codval="" id="" pattern="2" hide_zero="" text="Descrizione">
 | 
			
		||||
  <field x="7" y="3.5" type="Testo" width="12" pattern="2" text="Descrizione">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="57" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="8" codval="" id="" pattern="2" hide_zero="" text="Aliquota">
 | 
			
		||||
  <field x="57" y="3.5" type="Testo" width="8" pattern="2" text="Aliquota">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="67" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="1" hide_zero="" text="Natura">
 | 
			
		||||
  <field x="67" y="3.5" type="Testo" width="10" pattern="1" text="Natura">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="74" y="3.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="Tipo Codice">
 | 
			
		||||
  <field x="74" y="3.5" type="Testo" width="11" pattern="2" text="Tipo Codice">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="109" y="3.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Ven.">
 | 
			
		||||
  <field x="109" y="3.75" type="Testo" width="4" pattern="2" text="Ven.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="116" y="3.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Acq.">
 | 
			
		||||
  <field x="116" y="3.75" type="Testo" width="4" pattern="2" text="Acq.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="123" y="3.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Ven.">
 | 
			
		||||
  <field x="123" y="3.75" type="Testo" width="4" pattern="2" text="Ven.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="130" y="3.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Acq.">
 | 
			
		||||
  <field x="130" y="3.75" type="Testo" width="4" pattern="2" text="Acq.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="1" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="C.IVA vent.">
 | 
			
		||||
  <field x="1" y="4.5" type="Testo" width="11" pattern="2" text="C.IVA vent.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="13" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="11" codval="" id="" pattern="2" hide_zero="" text="% IVA teor.">
 | 
			
		||||
  <field x="13" y="4.5" type="Testo" width="11" pattern="2" text="% IVA teor.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="25" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="2" hide_zero="" text="Gestione plafond">
 | 
			
		||||
  <field x="25" y="4.5" type="Testo" width="16" pattern="2" text="Gestione plafond">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="45" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="2" hide_zero="" text="Regime agricolo">
 | 
			
		||||
  <field x="45" y="4.5" type="Testo" width="16" pattern="2" text="Regime agricolo">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="68" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="14" codval="" id="" pattern="2" hide_zero="" text="Agenzia viaggi">
 | 
			
		||||
  <field x="68" y="4.5" type="Testo" width="14" pattern="2" text="Agenzia viaggi">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="85" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="9" codval="" id="" pattern="2" hide_zero="" text="Rim.Infr.">
 | 
			
		||||
  <field x="85" y="4.5" type="Testo" width="9" pattern="2" text="Rim.Infr.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="95" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="2" hide_zero="" text="Esc.rim.">
 | 
			
		||||
  <field x="95" y="4.5" type="Testo" width="7" pattern="2" text="Esc.rim.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="103" y="4.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Sos.">
 | 
			
		||||
  <field x="103" y="4.5" type="Testo" width="4" pattern="2" text="Sos.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="124" y="4.75" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="8" codval="" id="" pattern="2" hide_zero="" text="Pro Rata">
 | 
			
		||||
  <field x="109" y="5" type="Testo" width="8" pattern="2" text="Pro Rata">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="109.5" y="5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="2" hide_zero="" text="Rev.Charge">
 | 
			
		||||
  <field x="123" y="5" type="Testo" width="4" pattern="2" text="Num.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="123" y="5.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Num.">
 | 
			
		||||
  <field x="129.5" y="5" type="Testo" width="4" pattern="2" text="Den.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="129.5" y="5.5" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="Den.">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" x="1" y="6.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
 | 
			
		||||
  <field border="2" x="1" y="6.5" type="Linea" width="133" height="0" pattern="2" />
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" page_break="" can_break="" pattern="1" />
 | 
			
		||||
 <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="" height="2.6" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <field x="2" deactivated="" type="Stringa" hidden="" link="%IVA.CODTAB" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
 <section type="Head" level="1" pattern="1" />
 | 
			
		||||
 <section type="Body" pattern="1" />
 | 
			
		||||
 <section type="Body" level="1" height="2.6" pattern="1">
 | 
			
		||||
  <field x="2" type="Stringa" link="%IVA.CODTAB" width="4" pattern="2">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
   <source>CODTAB</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="7" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="7" type="Stringa" width="50" pattern="2">
 | 
			
		||||
   <source>S0</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="58" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="7" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="58" type="Numero" align="right" width="7" pattern="2">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
   <source>R0</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="67" deactivated="" type="Stringa" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="">
 | 
			
		||||
  <field x="67" type="Stringa" align="center" width="5" pattern="1">
 | 
			
		||||
   <font face="Courier New" bold="1" size="10" />
 | 
			
		||||
   <source>S12</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="74" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="74" type="Array" width="20" pattern="2">
 | 
			
		||||
   <source>S1</source>
 | 
			
		||||
   <list>
 | 
			
		||||
    <li Value="Regime IVA normale" Code=" " />
 | 
			
		||||
@ -106,20 +103,20 @@
 | 
			
		||||
    <li Value="Non soggetti" Code="NS" />
 | 
			
		||||
   </list>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" x="108" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" codval="" height="2.5" id="" pattern="1" hide_zero="" text="" />
 | 
			
		||||
  <field x="109" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field border="2" x="108" type="Linea" height="2.5" pattern="1" />
 | 
			
		||||
  <field x="109" y="0.25" type="Stringa" width="3" pattern="2">
 | 
			
		||||
   <source>S2</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="116" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="116" y="0.25" type="Stringa" width="3" pattern="2">
 | 
			
		||||
   <source>S9</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="123" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="123" y="0.25" type="Stringa" width="3" pattern="2">
 | 
			
		||||
   <source>S10</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="130" y="0.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="130" y="0.25" type="Stringa" width="3" pattern="2">
 | 
			
		||||
   <source>S11</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="2" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="2" y="1" type="Array" width="4" pattern="2">
 | 
			
		||||
   <source>S6</source>
 | 
			
		||||
   <list>
 | 
			
		||||
    <li Value="IVA normale" Code=" " />
 | 
			
		||||
@ -130,10 +127,10 @@
 | 
			
		||||
    <li Value="Fuori campo" Code="FC" />
 | 
			
		||||
   </list>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="13" y="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="2" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="13" y="1" type="Numero" align="right" width="2" pattern="2">
 | 
			
		||||
   <source>I0</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="17" y="1" deactivated="" type="Array" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="17" y="1" type="Array" align="right" width="20" pattern="2">
 | 
			
		||||
   <source>S3</source>
 | 
			
		||||
   <list>
 | 
			
		||||
    <li Value="Regime normale" Code=" " />
 | 
			
		||||
@ -142,7 +139,7 @@
 | 
			
		||||
    <li Value="Oper. relative art.9" Code="3" />
 | 
			
		||||
   </list>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="39" y="1" deactivated="" type="Array" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="26" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="39" y="1" type="Array" align="center" width="26" pattern="2">
 | 
			
		||||
   <source>S4</source>
 | 
			
		||||
   <list>
 | 
			
		||||
    <li Value="Regime normale" Code=" " />
 | 
			
		||||
@ -151,7 +148,7 @@
 | 
			
		||||
    <li Value="Acquisti ad uso promiscuo" Code="3" />
 | 
			
		||||
   </list>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="65" y="1" deactivated="" type="Array" hidden="" link="" dynamic_height="" shade_offset="" width="20" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="65" y="1" type="Array" width="20" pattern="2">
 | 
			
		||||
   <source>S5</source>
 | 
			
		||||
   <list>
 | 
			
		||||
    <li Value="Regime normale" Code=" " />
 | 
			
		||||
@ -162,37 +159,34 @@
 | 
			
		||||
    <li Value="Acquisti misti parte fuori CEE" Code="5" />
 | 
			
		||||
   </list>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="90" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="90" y="1" type="Stringa" width="1" pattern="2">
 | 
			
		||||
   <source>B3</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="99" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="99" y="1" type="Stringa" width="1" pattern="2">
 | 
			
		||||
   <source>B4</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="105" y="1" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="105" y="1" type="Stringa" width="1" pattern="2">
 | 
			
		||||
   <source>B2</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="110" y="1.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
   <source>B8</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="124" y="1.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="124" y="1.25" type="Stringa" width="1" pattern="2">
 | 
			
		||||
   <source>B6</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="131" y="1.25" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="1" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="131" y="1.25" type="Stringa" width="1" pattern="2">
 | 
			
		||||
   <source>B7</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="1" x="1" y="2.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
 | 
			
		||||
  <field border="1" x="1" y="2.5" type="Linea" width="133" height="0" pattern="2" />
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" height="3" page_break="" can_break="" pattern="1">
 | 
			
		||||
  <field border="2" x="1" y="0.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
 | 
			
		||||
  <field x="2" y="1" deactivated="" type="Data" hidden="" link="" dynamic_height="" shade_offset="" width="10" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
 <section type="Foot" height="3" pattern="1">
 | 
			
		||||
  <field border="2" x="1" y="0.5" type="Linea" width="133" height="0" pattern="2" />
 | 
			
		||||
  <field x="2" y="1" type="Data" width="10" pattern="2">
 | 
			
		||||
   <source>#SYSTEM.DATE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field x="130" y="1" deactivated="" type="Numero" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="3" codval="" id="" pattern="2" hide_zero="" text="">
 | 
			
		||||
  <field x="130" y="1" type="Numero" align="right" width="3" pattern="2">
 | 
			
		||||
   <source>#PAGE</source>
 | 
			
		||||
  </field>
 | 
			
		||||
  <field border="2" x="1" y="2.5" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="133" codval="" height="0" id="" pattern="2" hide_zero="" text="" />
 | 
			
		||||
  <field border="2" x="1" y="2.5" type="Linea" width="133" height="0" pattern="2" />
 | 
			
		||||
 </section>
 | 
			
		||||
 <section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" page_break="" can_break="" pattern="1" />
 | 
			
		||||
 <section type="Foot" level="1" pattern="1" />
 | 
			
		||||
 <sql>USE %IVA
 | 
			
		||||
 FROM CODTAB=#FROM
 | 
			
		||||
 TO CODTAB=#TO</sql>
 | 
			
		||||
 | 
			
		||||
@ -27,4 +27,3 @@
 | 
			
		||||
#define CHK_TABIVA_B5  128
 | 
			
		||||
#define FLD_NUM_B6     129
 | 
			
		||||
#define FLD_DEN_B7     130
 | 
			
		||||
#define FLD_DEN_B8		 131
 | 
			
		||||
 | 
			
		||||
@ -340,15 +340,9 @@ BEGIN
 | 
			
		||||
  FIELD B7
 | 
			
		||||
END
 | 
			
		||||
 | 
			
		||||
BOOLEAN FLD_DEN_B8
 | 
			
		||||
BEGIN
 | 
			
		||||
  PROMPT 3 22 "Reverse charge attivo"
 | 
			
		||||
  FIELD B8
 | 
			
		||||
END
 | 
			
		||||
 | 
			
		||||
BOOLEAN FLD_SOSPESO_B2
 | 
			
		||||
BEGIN
 | 
			
		||||
  PROMPT 3 23 "Codice IVA sospeso"
 | 
			
		||||
  PROMPT 3 22 "Codice IVA sospeso"
 | 
			
		||||
  FIELD B2
 | 
			
		||||
END
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -15,7 +15,6 @@
 | 
			
		||||
 | 
			
		||||
#include "../ca/movana.h"
 | 
			
		||||
#include "../ca/rmovana.h"
 | 
			
		||||
#include "../cg/cglib03.h"
 | 
			
		||||
 | 
			
		||||
// Fine del comando sql con separatore magico per crpa.exe
 | 
			
		||||
#define SQL_EOL "æ"
 | 
			
		||||
 | 
			
		||||
@ -44,7 +44,6 @@
 | 
			
		||||
#define F_DESCONTSEP													239
 | 
			
		||||
#define F_MANDATO                             240
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#define F_IBAN        250
 | 
			
		||||
#define F_IBAN_STATO  251
 | 
			
		||||
#define F_IBAN_CHECK  252
 | 
			
		||||
 | 
			
		||||
@ -26,8 +26,7 @@ BEGIN
 | 
			
		||||
  PROMPT 30 1 "Numero "
 | 
			
		||||
  FIELD NPROGTR
 | 
			
		||||
  KEY 1
 | 
			
		||||
  USE LF_EFFETTI 
 | 
			
		||||
//	SELECT (TIPOCF=#F_TIPOCF)&&(BETWEEN(CODCF,#F_CODCF,#F_CODCF))
 | 
			
		||||
  USE LF_EFFETTI SELECT (TIPOCF=#F_TIPOCF)&&(BETWEEN(CODCF,#F_CODCF,#F_CODCF))
 | 
			
		||||
  JOIN LF_CLIFO INTO CODCF=CODCF TIPOCF=TIPOCF
 | 
			
		||||
  INPUT NPROGTR F_NPROGTR
 | 
			
		||||
  DISPLAY "Nr.progr." NPROGTR   
 | 
			
		||||
 | 
			
		||||
@ -98,10 +98,8 @@ int TEffetto::leggi(TLocalisamfile &f, const TRectype& r, word lockop)
 | 
			
		||||
  if (err == NOERR)
 | 
			
		||||
  { // leggo dai record array
 | 
			
		||||
    _righe.read(k_reff);
 | 
			
		||||
		_righe.pack();
 | 
			
		||||
    _cess.read(k_cess);
 | 
			
		||||
		_cess.pack();
 | 
			
		||||
	}
 | 
			
		||||
  }
 | 
			
		||||
  else // se ho trovato un errore
 | 
			
		||||
  {
 | 
			
		||||
    head() = r;
 | 
			
		||||
 | 
			
		||||
@ -54,20 +54,20 @@ int TDistinta::read(const char tipo, const long numero, word lockop)
 | 
			
		||||
  {
 | 
			
		||||
    TISAM_recordset reff(query(tipo, numero));
 | 
			
		||||
    TLocalisamfile& f = reff.cursor()->file();
 | 
			
		||||
		int i = 0;
 | 
			
		||||
 | 
			
		||||
    for (bool ok = reff.move_first(); ok; ok = reff.move_next(), i++)
 | 
			
		||||
    int i = 0;
 | 
			
		||||
    for (bool ok = reff.move_first(); ok; ok = reff.move_next())
 | 
			
		||||
    {
 | 
			
		||||
      const word lock = (i == 0 && lockop == _lock) ? _lock : _nolock; // Lock solo sulla prima riga
 | 
			
		||||
      const int n = reff.get(EFF_NRIGADIST).as_int();
 | 
			
		||||
      TEffetto effetto;
 | 
			
		||||
 | 
			
		||||
      err = effetto.read(f, tipo, numero, n, lock);//legge un effetto per chiave 4
 | 
			
		||||
      TEffetto* effetto = new TEffetto; 
 | 
			
		||||
      err = effetto->read(f, tipo, numero, n, lock);//legge un effetto per chiave 4
 | 
			
		||||
      if (err == NOERR)
 | 
			
		||||
      {
 | 
			
		||||
        _righe_dist.add(effetto, i);
 | 
			
		||||
        effetto.put(EFF_NRIGADIST, i + 1);
 | 
			
		||||
        i = _righe_dist.add(effetto) + 1;
 | 
			
		||||
        effetto->put(EFF_NRIGADIST, i);
 | 
			
		||||
      }
 | 
			
		||||
      else
 | 
			
		||||
        delete effetto;  
 | 
			
		||||
    }
 | 
			
		||||
  }  
 | 
			
		||||
  // se ho letto degli effetti della distinta ed ho 
 | 
			
		||||
 | 
			
		||||
@ -24,6 +24,43 @@
 | 
			
		||||
 | 
			
		||||
static XVT_SQLDB _db = NULL;  // SEPA sqlite db
 | 
			
		||||
 | 
			
		||||
/////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// Utilities
 | 
			
		||||
/////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
// Cerca una stringa all'interno di una SLIST (Potrebbe diventare una funzione di XVT.h)
 | 
			
		||||
static SLIST_ELT xvt_slist_find_str(SLIST list, const char* str)
 | 
			
		||||
{
 | 
			
		||||
  SLIST_ELT e = NULL;
 | 
			
		||||
  for (e = xvt_slist_get_first(list); e; e = xvt_slist_get_next(list, e))
 | 
			
		||||
  {
 | 
			
		||||
    const char* val = xvt_slist_get(list, e, NULL);
 | 
			
		||||
    if (xvt_str_compare_ignoring_case(str, val) == 0)
 | 
			
		||||
      break;
 | 
			
		||||
  }
 | 
			
		||||
  return e;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Aggiorna il file dst se più vecchio di src (Potrebbe diventare una funzione di XVT.h)
 | 
			
		||||
bool xvt_fsys_fupdate(const char* src, const char* dst)
 | 
			
		||||
{
 | 
			
		||||
  bool ok = false;
 | 
			
		||||
  if (xvt_fsys_file_exists(src))
 | 
			
		||||
  {
 | 
			
		||||
    const long tsrc = xvt_fsys_file_attr(src, XVT_FILE_ATTR_MTIME);
 | 
			
		||||
    if (tsrc > 0)
 | 
			
		||||
    {
 | 
			
		||||
      long tdst = 0;
 | 
			
		||||
      if (xvt_fsys_file_exists(dst))
 | 
			
		||||
        tdst = xvt_fsys_file_attr(dst, XVT_FILE_ATTR_MTIME);
 | 
			
		||||
      if (tsrc > tdst)
 | 
			
		||||
        ok = xvt_fsys_fcopy(src, dst) != 0;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  return ok;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// TJava_profile
 | 
			
		||||
/////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
@ -244,6 +244,10 @@ TExclusion_mode TSpesometro_msk::validate_mov(const TRectype& mov)
 | 
			
		||||
  if (anno < 2012)
 | 
			
		||||
    return segnala_movimento(mov, em_data_limite);
 | 
			
		||||
 | 
			
		||||
#ifdef DBG
 | 
			
		||||
  if (mov.get_long(MOV_NUMREG) ==14224)
 | 
			
		||||
    int sn = 1;
 | 
			
		||||
#endif
 | 
			
		||||
  const char tipocf = mov.get_char(MOV_TIPO);
 | 
			
		||||
  const real impmin = get_real(F_IMPMIN);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1390,36 +1390,11 @@ bool TDoc_fp::export_info_articolo(TFPRiga_documento* rdoc, TPaf_record& paf1900
 | 
			
		||||
      TString scat = rdoc->get(conai_sottocat_name(i));
 | 
			
		||||
      TString msg_conai;
 | 
			
		||||
 | 
			
		||||
      msg_conai << "Contributo CONAI " << conai_material(conai_str2class(scat)) << " (Kg)";
 | 
			
		||||
      msg_conai << "Contributo CONAI " << conai_material(conai_str2class(scat)) << " (KG)";
 | 
			
		||||
      paf2100f.set("PK_TIPODATO", "CONAI");
 | 
			
		||||
      paf2100f.set("PK_RIFDATO", msg_conai);
 | 
			
		||||
      paf2100f.set("PK_RIFNUMERO", rdoc->get_real(conai_peso_name(i)).string());
 | 
			
		||||
      ok &= insert(paf2100f);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      TLocalisamfile cfven(LF_CFVEN);
 | 
			
		||||
      cfven.put("TIPOCF", "C");
 | 
			
		||||
      cfven.put("CODCF", rdoc->doc().codcf());
 | 
			
		||||
      cfven.read();
 | 
			
		||||
      TString esen_field = conai_esenzione_name(conai_str2class(scat));
 | 
			
		||||
 | 
			
		||||
      real perc_esenz = cfven.get_real(esen_field);
 | 
			
		||||
      if (perc_esenz > ZERO)
 | 
			
		||||
      {
 | 
			
		||||
        reset(paf2100f);
 | 
			
		||||
        paf2100f.set("PK_KEYNLINEA", static_cast<long>(riga_doc));
 | 
			
		||||
        paf2100f.set("PK_KEYNLINAR", _idx_adg_doc_row++);
 | 
			
		||||
 | 
			
		||||
        real qta = rdoc->calc_conai_qta(i);
 | 
			
		||||
        qta = qta * perc_esenz / CENTO;
 | 
			
		||||
        qta.round(2);
 | 
			
		||||
        TString msg_esen; msg_esen << "Esenzione CONAI sul totale riga (Kg)";
 | 
			
		||||
 | 
			
		||||
        paf2100f.set("PK_TIPODATO", "ESEN CONAI");
 | 
			
		||||
        paf2100f.set("PK_RIFDATO", msg_esen);
 | 
			
		||||
        paf2100f.set("PK_RIFNUMERO", qta);
 | 
			
		||||
        ok &= insert(paf2100f);
 | 
			
		||||
      }
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	return ok;
 | 
			
		||||
 | 
			
		||||
@ -73,7 +73,7 @@ int	n;
 | 
			
		||||
		tmpa[i]	= pSrc[i];
 | 
			
		||||
 | 
			
		||||
	/* sort	pointers */
 | 
			
		||||
	qsort((void *)tmpa,n,sizeof(DEC	*), (int (__cdecl *)(void)) _SortInc);
 | 
			
		||||
	qsort((void *)tmpa,n,sizeof(DEC	*), _SortInc);
 | 
			
		||||
 | 
			
		||||
	if (n%2)
 | 
			
		||||
		_MacDCopy(pDst,	tmpa[(n-1)/2]);
 | 
			
		||||
 | 
			
		||||
@ -395,9 +395,7 @@ THEN
 | 
			
		||||
#F1.203 +!</postscript>
 | 
			
		||||
  </field>
 | 
			
		||||
 </section>
 | 
			
		||||
 <sql>USE IVADIFF KEY 4 SELECT (BETWEEN(DATAREGP;#DAL;#AL))(TIPOIVA==#TIPOIVA)(TIPODIFF==#TIPODIFF)((CHIUSA=#CHIUSA)||(#CHIUSA="T"))
 | 
			
		||||
FROM DATAREG=#DAL
 | 
			
		||||
TO DATAREG=#AL
 | 
			
		||||
 <sql>USE IVADIFF SELECT (BETWEEN(DATAREG,#DAL,#AL))(TIPOIVA==#TIPOIVA)(TIPODIFF==#TIPODIFF)((CHIUSA=#CHIUSA)||(#CHIUSA="T"))
 | 
			
		||||
 JOIN MOV INTO NUMREG==NUMREG
 | 
			
		||||
 JOIN CLIFO TO MOV INTO TIPOCF==TIPO CODCF==CODCF</sql>
 | 
			
		||||
</report>
 | 
			
		||||
@ -1170,12 +1170,7 @@ bool TAlex_virtual_machine::execute(const TBytecode& bc)
 | 
			
		||||
 | 
			
		||||
bool TAlex_virtual_machine::compile(const char* cmd, TBytecode& bc)
 | 
			
		||||
{
 | 
			
		||||
#ifdef LINUX
 | 
			
		||||
	string s(cmd);
 | 
			
		||||
  istringstream instr(s);
 | 
			
		||||
#else
 | 
			
		||||
  istrstream instr((const char*)cmd, strlen(cmd));
 | 
			
		||||
#endif
 | 
			
		||||
  return compile(instr, bc);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -296,11 +296,12 @@ void TApplication::stop_run()
 | 
			
		||||
{
 | 
			
		||||
  if (_savefirm) 
 | 
			
		||||
		prefix().set_codditta(_savefirm);
 | 
			
		||||
	terminate();
 | 
			
		||||
  terminate();
 | 
			
		||||
 | 
			
		||||
  xvt_app_destroy();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
bool TApplication::add_menu(TString_array& menu, MENU_TAG id)
 | 
			
		||||
{
 | 
			
		||||
  TTemp_window tw(TASK_WIN);
 | 
			
		||||
@ -315,77 +316,19 @@ bool TApplication::remove_menu(MENU_TAG id)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
TApplication::TApplication()
 | 
			
		||||
            : _god_vars(nullptr),_savefirm(0), _running(false), _create_ok(false), _force(false)
 | 
			
		||||
            : _god_vars(NULL),_savefirm(0), _running(FALSE), _create_ok(FALSE)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
TApplication::~TApplication()
 | 
			
		||||
{
 | 
			
		||||
	SAFE_DELETE(_god_vars);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const TString & logdir()
 | 
			
		||||
{
 | 
			
		||||
	TString & name = get_tmp_string(1024);
 | 
			
		||||
 | 
			
		||||
	name << firm2dir(prefix().get_codditta()) << "/log";
 | 
			
		||||
 | 
			
		||||
	return name;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const TString & logname()
 | 
			
		||||
{
 | 
			
		||||
	TString & name = (TString &) logdir();
 | 
			
		||||
 | 
			
		||||
	name << "/dblog.xml";
 | 
			
		||||
	return name;
 | 
			
		||||
}
 | 
			
		||||
const TString & rollname(const TDate & day)
 | 
			
		||||
{
 | 
			
		||||
	TString & name = (TString &)logdir();
 | 
			
		||||
 | 
			
		||||
	name << "/dblog" << day.date2ansi() << ".txt";
 | 
			
		||||
	return name;
 | 
			
		||||
  if (_god_vars != NULL)
 | 
			
		||||
    delete _god_vars;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool TApplication::create()
 | 
			
		||||
{
 | 
			
		||||
	if (use_files())
 | 
			
		||||
	{
 | 
			
		||||
		TConfig c(CONFIG_STUDIO, "Main");
 | 
			
		||||
 | 
			
		||||
		db_log(c.get("DBLog", "Main", -1, "off") == "on");
 | 
			
		||||
 | 
			
		||||
		if (db_log())
 | 
			
		||||
		{
 | 
			
		||||
			TFilename logd = logdir();
 | 
			
		||||
			int roll_days = c.get_int("RollingDays", "Main", -1, 10);
 | 
			
		||||
			TDate oggi(TODAY);
 | 
			
		||||
			TDate lastroll(c.get("LastDate", "Main", -1, oggi.stringa()));
 | 
			
		||||
			TDate limit(lastroll);
 | 
			
		||||
 | 
			
		||||
			if (!logd.exist())
 | 
			
		||||
				make_dir(logd);
 | 
			
		||||
			limit += roll_days;
 | 
			
		||||
			if (!lastroll.ok() || (limit <= oggi))
 | 
			
		||||
			{ 
 | 
			
		||||
				TSystemisamfile dblog(LF_DBLOG);
 | 
			
		||||
				TFilename roll = rollname(lastroll);
 | 
			
		||||
				TFilename logn = logname();
 | 
			
		||||
 | 
			
		||||
				dblog.dump(roll);
 | 
			
		||||
				dblog.zap();
 | 
			
		||||
				if (logn.exist())
 | 
			
		||||
				{
 | 
			
		||||
					roll.ext("xml");
 | 
			
		||||
					rename(logn, roll);
 | 
			
		||||
				}
 | 
			
		||||
				c.set("LastDate", oggi.date2ansi());
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
  return true;
 | 
			
		||||
}
 | 
			
		||||
{ return true; }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
bool TApplication::destroy()
 | 
			
		||||
@ -398,8 +341,7 @@ void TApplication::terminate()
 | 
			
		||||
  if (_create_ok)
 | 
			
		||||
    destroy();                    // Distruzione files e maschere
 | 
			
		||||
 | 
			
		||||
  if(!_force)
 | 
			
		||||
		do_events();
 | 
			
		||||
  do_events();
 | 
			
		||||
 | 
			
		||||
  if (use_files())
 | 
			
		||||
  {
 | 
			
		||||
@ -429,8 +371,7 @@ const char* TApplication::get_module_name() const
 | 
			
		||||
    const TDongle& d = dongle();
 | 
			
		||||
    const TString4 modname = _name.left(2);
 | 
			
		||||
    word aut = d.module_name2code(modname);
 | 
			
		||||
    
 | 
			
		||||
		if (aut == 0xFFFF && modname == "ps")
 | 
			
		||||
    if (aut == 0xFFFF && modname == "ps")
 | 
			
		||||
    {
 | 
			
		||||
      aut = 0;
 | 
			
		||||
      module = TR("Personalizzazioni");
 | 
			
		||||
@ -463,11 +404,18 @@ const char* TApplication::get_module_name() const
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      }    
 | 
			
		||||
      if (!ok && !is_power_station())
 | 
			
		||||
			{
 | 
			
		||||
			  cantaccess_box(module);
 | 
			
		||||
				module.cut(0);
 | 
			
		||||
		  }
 | 
			
		||||
      if (!ok)
 | 
			
		||||
      {
 | 
			
		||||
				if(is_power_station())
 | 
			
		||||
				{
 | 
			
		||||
					warning_box("Attenzione! Non sei abilitato per l'utilizzo del modulo %s", static_cast<const char*>(module));
 | 
			
		||||
				}
 | 
			
		||||
				else
 | 
			
		||||
				{
 | 
			
		||||
					cantaccess_box(module);
 | 
			
		||||
					module.cut(0);
 | 
			
		||||
				}
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }  
 | 
			
		||||
  return module;
 | 
			
		||||
@ -821,7 +769,7 @@ void TApplication::open_files(int logicnum, ...)
 | 
			
		||||
  va_start(marker, logicnum);
 | 
			
		||||
  while (logicnum >= LF_USER && logicnum < LF_EXTERNAL)
 | 
			
		||||
  {
 | 
			
		||||
    if (_used_files.objptr(logicnum) == nullptr)
 | 
			
		||||
    if (_used_files.objptr(logicnum) == NULL)
 | 
			
		||||
	    _used_files.add(new TLocalisamfile(logicnum), logicnum);
 | 
			
		||||
    logicnum = va_arg(marker, int);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
@ -51,9 +51,6 @@ class TApplication
 | 
			
		||||
 | 
			
		||||
  // @cmember:(INTERNAL) Codice della ditta
 | 
			
		||||
  long _savefirm;
 | 
			
		||||
	// @cmember:(INTERNAL) Chiusura forzata per programmi senza interfaccia
 | 
			
		||||
  bool _force;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  // @cmember:(INTERNAL) Indica se l'applicazione e' partita
 | 
			
		||||
  bool _running;
 | 
			
		||||
@ -138,8 +135,6 @@ public:
 | 
			
		||||
                                    
 | 
			
		||||
  // @cmember Forza la chiusura dell'applicazione  
 | 
			
		||||
  void stop_run();
 | 
			
		||||
	void TApplication::force_stop() {_force = true;}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  // @cmember Mette il segno Check a fianco di una voce di menu
 | 
			
		||||
  void check_menu_item(MENU_TAG item, bool on = true);
 | 
			
		||||
@ -200,10 +195,6 @@ public:
 | 
			
		||||
  virtual ~TApplication();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const TString & logdir();
 | 
			
		||||
const TString & logname();
 | 
			
		||||
const TString & rollname(const TDate & day);
 | 
			
		||||
 | 
			
		||||
class TSkeleton_application : public TApplication
 | 
			
		||||
{          
 | 
			
		||||
protected:
 | 
			
		||||
 | 
			
		||||
@ -17,7 +17,7 @@
 | 
			
		||||
#include <strings.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
enum TDongleHardware { _dongle_unknown, _dongle_hardlock, _dongle_eutron, _dongle_network, _dongle_ssa, _dongle_ssanet,_dongle_software };
 | 
			
		||||
enum TDongleHardware { _dongle_unknown=0, _dongle_network=3, _dongle_ssa=4, _dongle_ssanet=5 };
 | 
			
		||||
enum TDongleType { _no_dongle, _user_dongle, _developer_dongle };
 | 
			
		||||
 | 
			
		||||
class TDongle : public TObject
 | 
			
		||||
 | 
			
		||||
@ -122,11 +122,7 @@ void fraction::build_fraction (const char *s)
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		n.strip(",.-+/[]");
 | 
			
		||||
#ifdef WIN32
 | 
			
		||||
	  sscanf_s(n, "%I64d", &_num);
 | 
			
		||||
#else	  
 | 
			
		||||
	  sscanf_s(n, "%Ld", &_num);
 | 
			
		||||
#endif
 | 
			
		||||
		if (len_periodo > 0)
 | 
			
		||||
		{
 | 
			
		||||
			_den = 9;
 | 
			
		||||
 | 
			
		||||
@ -27,13 +27,6 @@
 | 
			
		||||
 | 
			
		||||
const int MAX_KEYS = 8;
 | 
			
		||||
 | 
			
		||||
enum db_op {db_add = 1, db_remove, db_update};
 | 
			
		||||
 | 
			
		||||
void db_log(bool on);
 | 
			
		||||
void db_log_on();
 | 
			
		||||
void db_log_off();
 | 
			
		||||
bool db_log();
 | 
			
		||||
 | 
			
		||||
class TBaseisamfile;
 | 
			
		||||
class TLocalisamfile;
 | 
			
		||||
class TRecfield;
 | 
			
		||||
@ -89,9 +82,6 @@ protected:
 | 
			
		||||
  // @cmember:(INTERNAL) Campo "COD" della tabella 
 | 
			
		||||
  TMemo_data* _memo_data;
 | 
			
		||||
 | 
			
		||||
  TString_array _modified_fields;
 | 
			
		||||
	bool _preserve_values;
 | 
			
		||||
 | 
			
		||||
// @access Protected Member
 | 
			
		||||
protected:  
 | 
			
		||||
  // @cmember Segnalazione di un campo inesistente
 | 
			
		||||
@ -110,7 +100,6 @@ protected:
 | 
			
		||||
  virtual void put_str(const char* fieldname, const char* val);
 | 
			
		||||
 | 
			
		||||
  bool set_edit_info(const char* ut, const char* dt, const char* or);
 | 
			
		||||
  void set_modified_field(int i, const char * val);
 | 
			
		||||
 | 
			
		||||
// @access Public Member
 | 
			
		||||
public:
 | 
			
		||||
@ -172,8 +161,6 @@ public:
 | 
			
		||||
  virtual int ndec(const char* fieldname) const;
 | 
			
		||||
  // @cmember Indica se esiste il campo <p fieldname>
 | 
			
		||||
  virtual bool exist(const char* fieldname) const;
 | 
			
		||||
  // @cmember Indica se esiste il campo <p fieldname> e ritorna la ppsizionr
 | 
			
		||||
  virtual int find(const char* fieldname) const;
 | 
			
		||||
  // @cmember Ritorna il nome del campo <p i>-esimo
 | 
			
		||||
  const char* fieldname(int i) const;
 | 
			
		||||
  
 | 
			
		||||
@ -272,12 +259,6 @@ public:
 | 
			
		||||
  // @cmember Ritorna true se sono uguali
 | 
			
		||||
  bool is_equal(const TRectype& r) const;
 | 
			
		||||
 | 
			
		||||
	bool field_modified(int i) const { return _modified_fields.objptr(i) != NULL; }
 | 
			
		||||
	const TString & get_modified_field(int i) const { return field_modified(i) ? _modified_fields.row(i) : EMPTY_STRING; }
 | 
			
		||||
	void clear_modified_fields(int i = -1) { _modified_fields.destroy(i); }
 | 
			
		||||
	bool preserve_values() { return _preserve_values; }
 | 
			
		||||
	void set_preserve_values(bool on = true) { _preserve_values = on; }
 | 
			
		||||
 | 
			
		||||
  virtual void init_memo(const TRecnotype recno  = RECORD_NON_FISICO, TIsam_handle file = 0);
 | 
			
		||||
  virtual void reset_memo() { _memo_data->init(RECORD_NON_FISICO, 0); }
 | 
			
		||||
	virtual void update_memo() {}
 | 
			
		||||
@ -350,7 +331,6 @@ protected:
 | 
			
		||||
// @access Protected Member
 | 
			
		||||
protected:
 | 
			
		||||
  // @cmember:(INTERNAL) IO su file:
 | 
			
		||||
  virtual bool writelog(const db_op op, TRectype & rec, TRectype * new_rec, int fhnd);
 | 
			
		||||
  virtual int _read(TRectype& rec, word op = _isequal, word lockop = _nolock);
 | 
			
		||||
  virtual int _readat(TRectype& rec, TRecnotype nrec, word lockop = _nolock);
 | 
			
		||||
  virtual int _write(const TRectype& rec);
 | 
			
		||||
@ -818,7 +798,6 @@ class TRecfield : public TObject
 | 
			
		||||
  TString16 _name, _sub_field;
 | 
			
		||||
  // @cmember:(INTERNAL) Puntatore a inizio record
 | 
			
		||||
  TRectype* _rec;
 | 
			
		||||
  int _nf;
 | 
			
		||||
  // @cmember:(INTERNAL) Puntatore a inizio campo
 | 
			
		||||
  char* _p;
 | 
			
		||||
  // @cmember:(INTERNAL) Lunghezza del campo
 | 
			
		||||
 | 
			
		||||
@ -198,7 +198,6 @@
 | 
			
		||||
#define LF_FPCART							 178
 | 
			
		||||
#define LF_FPCADG							 179
 | 
			
		||||
#define LF_CONART							 180
 | 
			
		||||
#define LF_DBLOG							 181
 | 
			
		||||
 | 
			
		||||
#define LF_EXTERNAL           1000 // Files with id >= are considered to be externals
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -368,12 +368,7 @@ bool TPostman::dispatch_transaction(const TRectype& rec,
 | 
			
		||||
			TSocketClient socket;
 | 
			
		||||
			char * buf = new char[1024 * 256];
 | 
			
		||||
 | 
			
		||||
#ifdef WIN32  
 | 
			
		||||
      ostrstream stream(buf, 1024 * 256);
 | 
			
		||||
#else
 | 
			
		||||
      ostringstream stream(buf);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
			bool ok = true;
 | 
			
		||||
			
 | 
			
		||||
			item.SetTag("m:CampoTransaction");
 | 
			
		||||
 | 
			
		||||
@ -495,7 +495,7 @@ const TFilename& TFile_info::load_filedes()
 | 
			
		||||
  {
 | 
			
		||||
    _dir = _filedes.SysName[0] != '$' ? _comdir : _nordir;
 | 
			
		||||
    _name = CAddPref(_filedes.SysName);
 | 
			
		||||
    strncpy_s(_filedes.Des, dictionary_translate(_filedes.Des), sizeof(_filedes.Des)-1);
 | 
			
		||||
    strncpy(_filedes.Des, dictionary_translate(_filedes.Des), sizeof(_filedes.Des)-1);
 | 
			
		||||
  }
 | 
			
		||||
  else
 | 
			
		||||
    _name.cut(0);
 | 
			
		||||
@ -534,7 +534,7 @@ TFile_info::TFile_info(int logicnum, TFilename& name)
 | 
			
		||||
      int err = DB_recinfo(_name, &_filedes, (RecDes*)&rec.rec(), keys.get_buffer());
 | 
			
		||||
      if (err == NOERR && prefix().add_recdes(logicnum, rec, keys))
 | 
			
		||||
      {
 | 
			
		||||
        strncpy_s(_filedes.SysName, _name, sizeof(_filedes.SysName));
 | 
			
		||||
        strncpy(_filedes.SysName, _name, sizeof(_filedes.SysName));
 | 
			
		||||
        _filedes.SysName[41] = '\0';
 | 
			
		||||
      }
 | 
			
		||||
      else
 | 
			
		||||
@ -1036,7 +1036,7 @@ void TPrefix::set(
 | 
			
		||||
    {
 | 
			
		||||
      const TString saved_prf = __ptprf;  // Salvo __ptprf che viene cambiato da CGetPref
 | 
			
		||||
      char* prfx = (char*)CGetPref();     // Safe non const cast for StPath cprefix
 | 
			
		||||
      strcpy_s(__ptprf, saved_prf);
 | 
			
		||||
      strcpy(__ptprf, saved_prf);
 | 
			
		||||
      xvt_fsys_build_pathname(prfx, NULL, __ptprf, _prefix, NULL, NULL);
 | 
			
		||||
    }
 | 
			
		||||
    else
 | 
			
		||||
@ -1168,7 +1168,7 @@ bool TPrefix::set_studio(const char* study, long ditta)
 | 
			
		||||
  const TString old_firm(_prefix);
 | 
			
		||||
  
 | 
			
		||||
  strcpy_s(__ptprf, sizeof(__ptprf), study);
 | 
			
		||||
  const word len = (word) strlen(__ptprf);
 | 
			
		||||
  const word len = strlen(__ptprf);
 | 
			
		||||
  if (len > 0 && __ptprf[len-1] != '\\' && __ptprf[len-1] != '/')
 | 
			
		||||
  {
 | 
			
		||||
    __ptprf[len] = SLASH;
 | 
			
		||||
 | 
			
		||||
@ -205,21 +205,6 @@ void TRecord_array::sort(COMPARE_FUNCTION sort_func)
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int TRecord_array::find(const TRectype & rec, int nkey) const
 | 
			
		||||
{
 | 
			
		||||
	const int last = last_row();
 | 
			
		||||
	const TString80 key2find = rec.key(nkey);
 | 
			
		||||
	TString80 key;
 | 
			
		||||
 | 
			
		||||
	for (int nrow = first_row(); nrow <= last; nrow = succ_row(nrow))
 | 
			
		||||
	{
 | 
			
		||||
		key = row(nrow).key(nkey);
 | 
			
		||||
		if (key2find == key)
 | 
			
		||||
			return nrow;
 | 
			
		||||
	}
 | 
			
		||||
	return -1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int TRecord_array::rec2row(const TRectype& r) const
 | 
			
		||||
{
 | 
			
		||||
  CHECK(r.num() == _file, "Incompatible record");
 | 
			
		||||
@ -462,36 +447,34 @@ int TRecord_array::write(bool re) const
 | 
			
		||||
 | 
			
		||||
  const int u = _data.last();
 | 
			
		||||
 | 
			
		||||
  CHECK(u < 1 || !key().empty(), "Can't write rows using an empty key");
 | 
			
		||||
  CHECK(u<1 || !key().empty(), "Can't write rows using an empty key");
 | 
			
		||||
  int i;
 | 
			
		||||
  for (i = 1; i <= u; i++)
 | 
			
		||||
  {
 | 
			
		||||
    TRectype* r = (TRectype*)_data.objptr(i);
 | 
			
		||||
    const TRectype* r = (TRectype*)_data.objptr(i);
 | 
			
		||||
    
 | 
			
		||||
		if (r != NULL)
 | 
			
		||||
		{
 | 
			
		||||
			if (re)
 | 
			
		||||
			{
 | 
			
		||||
				if (db_log() && _file != LF_DBLOG)
 | 
			
		||||
					r->set_preserve_values(false);
 | 
			
		||||
				err = r->rewrite(f);
 | 
			
		||||
				if (err == _iskeynotfound || err == _iseof || err == _isemptyfile)
 | 
			
		||||
					err = r->write(f);
 | 
			
		||||
				if (err != NOERR)
 | 
			
		||||
					break;
 | 
			
		||||
			}
 | 
			
		||||
			else
 | 
			
		||||
			{
 | 
			
		||||
				err = r->write(f);
 | 
			
		||||
				if (err == _isreinsert)
 | 
			
		||||
				{
 | 
			
		||||
					err = r->rewrite(f);
 | 
			
		||||
					re = true;
 | 
			
		||||
				}
 | 
			
		||||
				if (err != NOERR)
 | 
			
		||||
					break;
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
    if (r != NULL) 
 | 
			
		||||
    {               
 | 
			
		||||
      if (re)
 | 
			
		||||
      {
 | 
			
		||||
        err = r->rewrite(f);     
 | 
			
		||||
        if (err == _iskeynotfound || err == _iseof || err == _isemptyfile)
 | 
			
		||||
          err = r->write(f);           
 | 
			
		||||
        if (err != NOERR) 
 | 
			
		||||
          break;
 | 
			
		||||
      }
 | 
			
		||||
      else
 | 
			
		||||
      {
 | 
			
		||||
        err = r->write(f);     
 | 
			
		||||
        if (err == _isreinsert)
 | 
			
		||||
        {
 | 
			
		||||
          err = r->rewrite(f);           
 | 
			
		||||
          re = true;
 | 
			
		||||
        }  
 | 
			
		||||
        if (err != NOERR) 
 | 
			
		||||
          break;
 | 
			
		||||
      }    
 | 
			
		||||
    }
 | 
			
		||||
    else
 | 
			
		||||
    {                    
 | 
			
		||||
      const int pos = i+_offset;                                       
 | 
			
		||||
@ -524,7 +507,7 @@ int TRecord_array::write(bool re) const
 | 
			
		||||
          last_on_file = EOR;                 // Sul file non ci sono piu' righe da cancellare
 | 
			
		||||
        delete rec;   
 | 
			
		||||
      }  
 | 
			
		||||
  }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Cancella eventuali residui successivi
 | 
			
		||||
 | 
			
		||||
@ -123,8 +123,6 @@ public:
 | 
			
		||||
  bool renum_key(const char* field, long num);
 | 
			
		||||
  // @cmember Ordina il Record Array secondo il criterio definito in <t COMPARE_FUNCTION>
 | 
			
		||||
  void sort(COMPARE_FUNCTION sort_func);
 | 
			
		||||
	// @cmember Cerca un record nel Record Array secondo la chiave nkey
 | 
			
		||||
	int find(const TRectype & rec, int nkey = 1) const ;
 | 
			
		||||
 | 
			
		||||
  // @cmember Legge tutto l'array dal file
 | 
			
		||||
  virtual int read(const TRectype& r);
 | 
			
		||||
 | 
			
		||||
@ -565,15 +565,10 @@ bool TRelation_application::modify_mode()
 | 
			
		||||
  {
 | 
			
		||||
    if (err == _islocked)
 | 
			
		||||
    {
 | 
			
		||||
			if (db_log())
 | 
			
		||||
				_locked = !yesno_box(TR("I dati sono già usati da un altro programma, vuoi modificare ugualmente"));
 | 
			
		||||
			else
 | 
			
		||||
			{
 | 
			
		||||
				_locked = true;
 | 
			
		||||
				message_box(TR("I dati sono già usati da un altro programma, scrittura disabilitata"));
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		else
 | 
			
		||||
      _locked = true;
 | 
			
		||||
      message_box(TR("I dati sono già usati da un altro programma, scrittura disabilitata"));
 | 
			
		||||
    }
 | 
			
		||||
    else
 | 
			
		||||
    {
 | 
			
		||||
      error_box(FR("Impossibile leggere i dati: errore %d"), err);
 | 
			
		||||
		  if (!is_transaction())
 | 
			
		||||
@ -898,7 +893,7 @@ int TRelation_application::delete_mode()
 | 
			
		||||
          {
 | 
			
		||||
            cur = pos;
 | 
			
		||||
            brw->do_output();
 | 
			
		||||
            bool can_delete = false;
 | 
			
		||||
            bool can_delete = FALSE;
 | 
			
		||||
            if (find(1))
 | 
			
		||||
            {
 | 
			
		||||
              TRelation& r = *get_relation();
 | 
			
		||||
@ -914,14 +909,14 @@ int TRelation_application::delete_mode()
 | 
			
		||||
                query_mode();  
 | 
			
		||||
                cur.freeze(true);
 | 
			
		||||
              }                  
 | 
			
		||||
              _autodelete = false;
 | 
			
		||||
              _autodelete = FALSE;
 | 
			
		||||
            }
 | 
			
		||||
            if (!can_delete)
 | 
			
		||||
              skipped++;
 | 
			
		||||
            deleting--;
 | 
			
		||||
          }
 | 
			
		||||
        }  
 | 
			
		||||
        cur.freeze(false);
 | 
			
		||||
        cur.freeze(FALSE);
 | 
			
		||||
        set_limits(); // Riaggiorno il numero del primo/ultimo record
 | 
			
		||||
 | 
			
		||||
        if (skipped > 0)
 | 
			
		||||
@ -935,9 +930,9 @@ int TRelation_application::delete_mode()
 | 
			
		||||
  else
 | 
			
		||||
  {
 | 
			
		||||
    if (search_mode())
 | 
			
		||||
      _autodelete = true;
 | 
			
		||||
      _autodelete = TRUE;
 | 
			
		||||
  }
 | 
			
		||||
  return true;
 | 
			
		||||
  return TRUE;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// @doc INTERNAL
 | 
			
		||||
@ -1416,7 +1411,7 @@ void TRelation_application::main_loop()
 | 
			
		||||
            _mask->send_key(K_CTRL+'E', 0);    
 | 
			
		||||
          else
 | 
			
		||||
            error_box(TR("Elemento non eliminabile."));
 | 
			
		||||
          _autodelete = false;
 | 
			
		||||
          _autodelete = FALSE;
 | 
			
		||||
        } 
 | 
			
		||||
      }
 | 
			
		||||
  
 | 
			
		||||
@ -1427,7 +1422,7 @@ void TRelation_application::main_loop()
 | 
			
		||||
        batch(false);
 | 
			
		||||
      }
 | 
			
		||||
      else
 | 
			
		||||
		k = _mask->run();
 | 
			
		||||
				k = _mask->run();
 | 
			
		||||
  
 | 
			
		||||
      switch (k)
 | 
			
		||||
      {
 | 
			
		||||
@ -1685,9 +1680,7 @@ void TRelation_application::main_loop()
 | 
			
		||||
      }   
 | 
			
		||||
      if (_curr_trans_mode == TM_BATCH)
 | 
			
		||||
      {
 | 
			
		||||
        batch(false);
 | 
			
		||||
 | 
			
		||||
		TString_array & errs = errors();
 | 
			
		||||
        TString_array & errs = errors();
 | 
			
		||||
 | 
			
		||||
        FOR_EACH_ARRAY_ROW(errs, r, s)
 | 
			
		||||
          ini.set("ErrMsg", *s, "Main", false, r);
 | 
			
		||||
@ -1701,8 +1694,6 @@ void TRelation_application::main_loop()
 | 
			
		||||
    }
 | 
			
		||||
    _trans_counter++;
 | 
			
		||||
  } while ( _trans_counter < _ntransactions);
 | 
			
		||||
  if (_curr_trans_mode == TM_BATCH)
 | 
			
		||||
		force_stop();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool TRelation_application::filter()
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
#include <colors.h>
 | 
			
		||||
#include <dongle.h>
 | 
			
		||||
#include <real.h>
 | 
			
		||||
#include <utility.h>
 | 
			
		||||
#include <xml.h>
 | 
			
		||||
 | 
			
		||||
#include <incstr.h>
 | 
			
		||||
@ -143,7 +142,7 @@ TXmlItem& TXmlItem::SetAttr(const char* strAttr, const char* strVal)
 | 
			
		||||
	if (m_Attributes == NULL)
 | 
			
		||||
		m_Attributes = new TAssoc_array;
 | 
			
		||||
  m_Attributes->remove(strAttr);
 | 
			
		||||
  if (strVal)
 | 
			
		||||
  if (strVal && *strVal)
 | 
			
		||||
    m_Attributes->add(strAttr, new TXmlAttr(strVal));
 | 
			
		||||
	return *this;
 | 
			
		||||
}
 | 
			
		||||
@ -519,11 +518,7 @@ void TXmlItem::AsString(TString& str) const
 | 
			
		||||
	{
 | 
			
		||||
	  char* buf = str.get_buffer(nSize); 
 | 
			
		||||
		memset(buf, 0, nSize);
 | 
			
		||||
#ifdef WIN32
 | 
			
		||||
		ostrstream outf(buf, nSize);
 | 
			
		||||
#else
 | 
			
		||||
		ostringstream outf(buf);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Write(outf, 0);
 | 
			
		||||
		if (buf[nSize-1] == '\0')
 | 
			
		||||
@ -537,15 +532,6 @@ void TXmlItem::Save(const char* strFilename) const
 | 
			
		||||
	Write(outf, 0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void TXmlItem::Append(const char* strFilename) const
 | 
			
		||||
{
 | 
			
		||||
  bool AppendToExisting = fexist(strFilename);
 | 
			
		||||
  ofstream outf;
 | 
			
		||||
 | 
			
		||||
  outf.open(strFilename, ios::app);
 | 
			
		||||
  Write(outf, AppendToExisting);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool TXmlItem::Load(const char* strFilename)
 | 
			
		||||
{
 | 
			
		||||
  bool ok = false;
 | 
			
		||||
 | 
			
		||||
@ -67,7 +67,6 @@ public:
 | 
			
		||||
 | 
			
		||||
	void Save(const char* strFilename) const;
 | 
			
		||||
	bool Load(const char* strFilename);
 | 
			
		||||
	void Append(const char* strFilename) const;
 | 
			
		||||
 | 
			
		||||
	TXmlItem* ForEach(XmlItemCallback cb, long jolly = 0);
 | 
			
		||||
  TXmlItem* FindFirst(const char* strTag) const;      // Recursive
 | 
			
		||||
 | 
			
		||||
@ -65,6 +65,39 @@ static bool chiave_paf(const TRectype& doc, TString& cess, TString& numdoc)
 | 
			
		||||
  return cess.full();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Cerca una stringa all'interno di una SLIST (Potrebbe diventare una funzione di XVT.h)
 | 
			
		||||
static SLIST_ELT xvt_slist_find_str(SLIST list, const char* str)
 | 
			
		||||
{
 | 
			
		||||
  SLIST_ELT e = NULL;
 | 
			
		||||
  for (e = xvt_slist_get_first(list); e; e = xvt_slist_get_next(list, e))
 | 
			
		||||
  {
 | 
			
		||||
    const char* val = xvt_slist_get(list, e, NULL);
 | 
			
		||||
    if (xvt_str_compare_ignoring_case(str, val) == 0)
 | 
			
		||||
      break;
 | 
			
		||||
  }
 | 
			
		||||
  return e;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Aggiorna il file dst se più vecchio di src (Potrebbe diventare una funzione di XVT.h)
 | 
			
		||||
bool xvt_fsys_fupdate(const char* src, const char* dst)
 | 
			
		||||
{
 | 
			
		||||
  bool ok = false;
 | 
			
		||||
  if (xvt_fsys_file_exists(src))
 | 
			
		||||
  {
 | 
			
		||||
    const long tsrc = xvt_fsys_file_attr(src, XVT_FILE_ATTR_MTIME);
 | 
			
		||||
    if (tsrc > 0)
 | 
			
		||||
    {
 | 
			
		||||
      long tdst = 0;
 | 
			
		||||
      if (xvt_fsys_file_exists(dst))
 | 
			
		||||
        tdst = xvt_fsys_file_attr(dst, XVT_FILE_ATTR_MTIME);
 | 
			
		||||
      if (tsrc > tdst)
 | 
			
		||||
        ok = xvt_fsys_fcopy(src, dst) != 0;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  return ok;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
// TJava_profile
 | 
			
		||||
/////////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
@ -358,6 +358,7 @@ void TDichiarazione_CONAI::scrivi_csv(const TRectype& prima_riga, TDichiarazione
 | 
			
		||||
      break;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (n_riga_generata > 0)
 | 
			
		||||
    scrivi_csv_doc_con_riga_generata(doc, n_riga_generata, csv, conai_specie);
 | 
			
		||||
  else
 | 
			
		||||
 | 
			
		||||
@ -6,8 +6,6 @@
 | 
			
		||||
#include "sc0100.h"
 | 
			
		||||
#include "sc0100a.h"
 | 
			
		||||
 | 
			
		||||
#include "../cg/cg2105.h"
 | 
			
		||||
 | 
			
		||||
#include <pconti.h>
 | 
			
		||||
 | 
			
		||||
HIDDEN bool gruppo_handler(TMask_field& f, KEY key)
 | 
			
		||||
 | 
			
		||||
@ -10,14 +10,8 @@
 | 
			
		||||
#define WINVER 0x0500
 | 
			
		||||
#define STRICT
 | 
			
		||||
#define WXUSINGDLL 1
 | 
			
		||||
#include <wx/wxprec.h>
 | 
			
		||||
#else
 | 
			
		||||
#define _FILE_OFFSET_BITS 64
 | 
			
		||||
#define _LARGE_FILES
 | 
			
		||||
#define __WXGTK__
 | 
			
		||||
#define GTK_NO_CHECK_CASTS
 | 
			
		||||
#define _IODBC
 | 
			
		||||
#include <wx/wx.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <wx/wxprec.h>
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
@ -352,9 +352,6 @@ XVTDLL long*      xvt_slist_get_data(SLIST_ELT elt);
 | 
			
		||||
XVTDLL SLIST_ELT  xvt_slist_get_first(SLIST list);
 | 
			
		||||
XVTDLL SLIST_ELT  xvt_slist_get_next(SLIST list, SLIST_ELT item);
 | 
			
		||||
 | 
			
		||||
XVTDLL SLIST_ELT xvt_slist_find_str(SLIST list, const char* str); // Cerca una stringa all'interno di una SLIST
 | 
			
		||||
XVTDLL BOOLEAN xvt_fsys_fupdate(const char* src, const char* dst); // Aggiorna il file dst se più vecchio di src
 | 
			
		||||
 | 
			
		||||
XVTDLL int     xvt_str_compare_ignoring_case (const char* s1, const char* s2);
 | 
			
		||||
XVTDLL int     xvt_str_encode(const char* text, char* cypher, int mode);
 | 
			
		||||
XVTDLL int     xvt_str_decode(const char* cypher, char* text, int mode);
 | 
			
		||||
@ -481,8 +478,6 @@ XVTDLL void    xvt_win_set_handler(WINDOW win, EVENT_HANDLER eh);
 | 
			
		||||
XVTDLL void    xvt_win_trap_pointer(WINDOW win);
 | 
			
		||||
XVTDLL BOOLEAN xvt_win_is_taskbar_visible();
 | 
			
		||||
 | 
			
		||||
XVTDLL BOOLEAN    xvt_win_is_taskbar_visible();
 | 
			
		||||
 | 
			
		||||
// Added by XVAGA
 | 
			
		||||
XVTDLL BOOLEAN xvt_pane_add(WINDOW parent, WINDOW pane, const char* name, int dock, int flags);
 | 
			
		||||
XVTDLL BOOLEAN xvt_pane_change_flags(WINDOW pane, int set, int reset);
 | 
			
		||||
 | 
			
		||||
@ -6,14 +6,6 @@
 | 
			
		||||
#define TRUE 1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef LINUX
 | 
			
		||||
#define _MAX_PATH 512
 | 
			
		||||
#define _MAX_EXT 6
 | 
			
		||||
#define _MAX_DRIVE 6
 | 
			
		||||
#define _MAX_DIR 512
 | 
			
		||||
#define _MAX_FNAME 512
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef unsigned long WINDOW;
 | 
			
		||||
typedef unsigned int UNIT_TYPE;
 | 
			
		||||
typedef unsigned long ULONG;
 | 
			
		||||
 | 
			
		||||
@ -2,12 +2,7 @@
 | 
			
		||||
 | 
			
		||||
#include "xvt.h"
 | 
			
		||||
#include "xvtart.h"
 | 
			
		||||
 | 
			
		||||
#ifdef __WXMSW__
 | 
			
		||||
#include "oswin32.h"
 | 
			
		||||
#else 
 | 
			
		||||
#include "oslinux.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <wx/artprov.h>
 | 
			
		||||
#include <wx/aui/aui.h>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user