INSERT INTO dbo.ZFILE3_01 VALUES
('LFE003','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE003','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE003','13',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','13',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','13',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE003','13',10,'FLAG SCONTO DI RIGA O TOTALE',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,533,533,0,0,'X(533)','',0,'',0,0,'' )
,('LFE003','13',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','14',2,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','14',3,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE003','14',4,'TIPO CODICE DES. FATTURA=92=ASS.DA.COMP.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','14',5,'RAGIONE SOCIALE DES.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','14',6,'INDIRIZZO DES.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','14',7,'LOCALITA'' DES.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','14',8,'PROVINCIA DES.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','14',9,'CAP DES.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','14',10,'NAZIONE DES.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','14',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','14',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE003','14',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','14',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE003','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE003','14',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','15',2,'TIPO RECORD = NAE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','15',3,'CODICE EMITTENTE BOLLA',2,'CODEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE003','15',4,'TIPO CODICE EMI.',2,'TIPEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','15',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','15',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','15',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','15',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','15',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','15',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE003','15',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','16',2,'TIPO RECORD = NAR',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','16',3,'CODICE CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE003','16',4,'TIPO CODICE CESS.',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','16',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','16',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','16',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','16',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','16',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','16',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE003','16',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','17',2,'TIPO RECORD = NAM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','17',3,'CODICE MAGAZZINO SPEDIZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE003','17',4,'TIPO CODICE MAGAZZINO',2,'TIPMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','17',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','17',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','17',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','17',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','17',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','17',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','17',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','17',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE003','17',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','17',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE003','17',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE003','17',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','18',2,'TIPO RECORD = NAF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','18',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE003','18',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','18',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','18',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','18',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','18',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','18',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','18',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','18',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','18',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE003','18',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','18',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE003','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE003','18',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','19',2,'TIPO RECORD = NAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','19',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE003','19',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','19',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','19',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE003','19',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','19',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','19',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE003','19',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','19',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','19',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE003','19',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','19',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE003','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE003','19',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE003','20',2,'TIPO RECORD = FTL',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','20',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','20',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE003','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE003','20',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','21',2,'TIPO RECORD = FTT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','21',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','21',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE003','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE003','21',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','22',2,'TIPO RECORD = ALT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','22',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','22',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','22',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','22',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE003','22',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','22',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','22',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE003','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,536,536,0,0,'X(536)','',0,'',0,0,'' )
,('LFE003','22',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','23',2,'TIPO RECORD = IVA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','23',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','23',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE003','23',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','23',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE003','23',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','23',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','23',9,'SEGNO IMPOSTA',2,'SEGIMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','23',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,526,526,0,0,'X(526)','',0,'',0,0,'' )
,('LFE003','23',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE003','24',2,'TIPO RECORD = TMA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','24',3,'SEGNO TOTALE DOCUMENTO',2,'SEGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',4,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',5,'SEGNO TOTALE IMPOSTA',2,'SETIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',6,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',9,'SEGNO TOTALE MESSAGGIO',2,'SEGTOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',10,'TOTALE MESSAGGIO',2,'IMPTOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',11,'SEGNO TOTALE ANTICIPI',2,'SEGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',12,'TOTALE ANTICIPI',2,'TOTANT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',13,'SEGNO TOTALE NETTO A PAGARE',2,'SEGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',14,'TOTALE NETTO A PAGARE',2,'TOTNET',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',15,'DIVISA (NON PREVISTO)',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','24',16,'SEGNO NON PREVISTO',2,'SEG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',17,'IMPORTO NON PREVISTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',18,'SEGNO NON PREVISTO',2,'SEG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',19,'IMPORTO NON PREVISTO',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',20,'SEGNO NON PREVISTO',2,'SEG003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',21,'IMPORTO NON PREVISTO',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',22,'SEGNO NON PREVISTO',2,'SEG004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',23,'IMPORTO NON PREVISTO',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',24,'SEGNO NON PREVISTO',2,'SEG005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',25,'IMPORTO NON PREVISTO',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',26,'SEGNO NON PREVISTO',2,'SEG006',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE003','24',27,'IMPORTO NON PREVISTO',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE003','24',28,'DIVISA (NON PREVISTO)',2,'DIV002',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE003','24',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,408,408,0,0,'X(408)','',0,'',0,0,'' )
,('LFE003','24',30,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','01',2,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','01',3,'CODICE MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','01',4,'TIPO CODICE MITTENTE=ZZ=P.IVA',2,'TIPMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE004','01',5,'ID MITTENTE REV. ROUTING (NON USATO)',2,'CODMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE004','01',6,'CODICE DESTINATARIO MESSAGGIO (CLIENTE)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','01',7,'TIPO CODICE DEST.MESS.=ZZ=P.IVA',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE004','01',8,'ID DEST.MES. PER REV. ROUTING NON USATO',2,'CODCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE004','01',9,'TIPO DOCUMENTO (INVOIC,NOTACC,NOTADD)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE004','01',10,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE004','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE004','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE004','01',16,'ORA DOCUMENTO',2,'ORADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE004','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,447,447,0,0,'X(447)','',0,'',0,0,'' )
,('LFE004','01',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','02',2,'TIPO RECORD = NAS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','02',3,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','02',4,'TIPO CODICE FORN.=92=ASSEGNATO DA ESSLUN',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','02',5,'RAGIONE SOCIALE FORNITORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','02',6,'INDIRIZZO FORNITORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','02',7,'LOCALITA'' FORNITORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','02',8,'PROVINCIA FORNITORE',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','02',9,'CAP FORNITORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','02',10,'NAZIONE FORNITORE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','02',11,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','02',12,'TRIBUNALE DI REGISTRAZIONE',2,'TRIREG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','02',13,'NUMERO LICENZA IMPORT/EXPORT',2,'NUMLIC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','02',14,'NUMERO REGISTRAZIONE CAMERA DI COMMERCIO',2,'NRCCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','02',15,'CAPITALE SOCIALE',2,'CAPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','02',16,'CODICE FISCALE FORNITORE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','02',17,'P.IVA INTERNAZIONALE',2,'PARIVI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','02',18,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE004','02',19,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE004','02',20,'NUMERO DI TELEX',2,'NTELEX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE004','02',21,'INDIRIZZO DI POSTA ELETTRONICA',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','02',22,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','03',2,'TIPO RECORD = NAI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','03',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','03',4,'TIPO CODICE INT. FATTURA=VA=P.IVA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','03',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','03',6,'INDIRIZZO INT.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','03',7,'LOCALITA'' INT.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','03',8,'PROVINCIA INT.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','03',9,'CAP INT.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','03',10,'NAZIONE INT.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','03',11,'PARTITA IVA INT.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','03',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE004','03',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','04',2,'TIPO RECORD = NAP',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','04',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','04',4,'TIPO CODICE INT. FATTURA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','04',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','04',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','04',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','04',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','04',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','04',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','04',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE004','04',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','05',2,'NAA EMITTENTE DIVERSO DA SEDE LEGALE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','05',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','05',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','05',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','05',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','05',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','05',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','05',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','05',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE004','05',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','06',2,'NAT RICEVITORE CARTACEO SE DIV. DA INT.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','06',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','06',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','06',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','06',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','06',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','06',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','06',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','06',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','06',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE004','06',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','07',2,'TIPO RECORD = FTX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','07',3,'DIVISA=EUR',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','07',4,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE004','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE004','07',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','08',2,'TIPO RECORD = PAT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','08',3,'TERMINI DI PAGAMENTO',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','08',4,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','08',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','08',6,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE004','08',7,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE004','08',8,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE004','08',9,'TIPO DATA PARTENZA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','08',10,'RELAZIONE TEMPORALE',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','08',11,'UNITA'' TEMPORALE (SEMPRE D=GIORNI)',2,'UNITEM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','08',12,'NUMERO UNITA'' TEMPORALI (GIORNI)',2,'NUMTEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE004','08',13,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','08',14,'TOTALE IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','08',15,'DIVISA (NON USATO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','08',16,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE004','08',17,'DESCRIZIONE MODALITA'' PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','08',18,'BANCA (ABI-CAB-C\C)',2,'COOBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','08',19,'DESCRIZIONE BANCA',2,'DESBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','08',20,'FACTORING (NON USATO)',2,'FACTOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','08',21,'MODO PAGAMENTO (1/35)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','08',22,'MEZZO DI PAGAMENTO',2,'MEZPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,411,411,0,0,'X(411)','',0,'',0,0,'' )
,('LFE004','08',24,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','09',2,'TIPO RECORD = DET',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',3,'NUMERO PROGRESSIVO RIGA',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE004','09',4,'INDICATORE DI SOTTORIGA',2,'INDSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',5,'PROGRESSIVO SOTTORIGA',2,'PROSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE004','09',6,'CODICE EAN C.U.',2,'CODECU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','09',7,'TIPO CODICE C.U. (SEMPRE=EN)',2,'TIPOCU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',8,'CODICE EAN T.U.',2,'CODETU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','09',9,'TIPO CODICE T.U. DEL PRODUTTORE',2,'TIPOTU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','09',10,'CODICE T.U. DEL DISTRIBUTORE',2,'CODTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','09',11,'TIPO CESSIONE',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',12,'SEGNO QUANTITA'' CONSEGNATA',2,'SEGQTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','09',13,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','09',14,'UNITA'' DI MISURA',2,'UNIMIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE004','09',15,'SEGNO QUANTITA'' FATTURATA',2,'SEGQTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','09',16,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','09',17,'UNITA'' DI MISURA',2,'UNIMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',18,'SEGNO PEZZI PER CARTONE',2,'SEGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','09',19,'NUMERO PEZZI PER CARTONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','09',20,'UNITA'' DI MISURA',2,'UNIMIX',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',21,'SEGNO PREZZO UNITARIO',2,'SEGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','09',22,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','09',23,'TIPO PREZZO UNITARIO',2,'TIPPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',24,'UNITA'' DI MISURA',2,'UNIPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',25,'SEGNO SECONDO PREZZO (SEMPRE +)',2,'SEGPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','09',26,'SECONDO PREZZO UNITARIO',2,'PR2UNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','09',27,'SECONDO TIPO PREZZO UNITARIO',2,'TI2PRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',28,'UNITA'' DI MISURA',2,'UNIPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',29,'SEGNO IMPORTO TOTALE RIGA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','09',30,'IMPORTO TOTALE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','09',31,'DIVISA (NON GESTITO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',32,'SEGNO IMPORTO IN VALUTA (NON GESTITO)',2,'SEGIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','09',33,'IMPORTO RIGA IN VALUTA (NON GESTITO)',2,'IM2RIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','09',34,'DIVISA (NON GESTITO)',2,'DIVIS2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,306,306,0,0,'X(306)','',0,'',0,0,'' )
,('LFE004','09',36,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','10',2,'TIPO RECORD = DES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','10',3,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE004','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,431,431,0,0,'X(431)','',0,'',0,0,'' )
,('LFE004','10',5,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','11',2,'TIPO RECORD = RFN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','11',3,'TIPO RIFERIMENTO',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','11',4,'RIFERIMENTO',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','11',5,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','11',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','11',7,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE004','11',8,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE004','11',9,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE004','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,560,560,0,0,'X(560)','',0,'',0,0,'' )
,('LFE004','11',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','12',2,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','12',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','12',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','12',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','12',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE004','12',7,'SEGNO IMPOSTA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','12',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,542,542,0,0,'X(542)','',0,'',0,0,'' )
,('LFE004','12',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE004','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE004','13',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','13',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','13',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE004','13',10,'FLAG SCONTO DI RIGA O TOTALE',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,533,533,0,0,'X(533)','',0,'',0,0,'' )
,('LFE004','13',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','14',2,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','14',3,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','14',4,'TIPO CODICE DES. FATTURA=92=ASS.DA.COMP.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','14',5,'RAGIONE SOCIALE DES.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','14',6,'INDIRIZZO DES.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','14',7,'LOCALITA'' DES.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','14',8,'PROVINCIA DES.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','14',9,'CAP DES.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','14',10,'NAZIONE DES.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','14',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','14',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','14',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','14',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE004','14',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','15',2,'TIPO RECORD = NAE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','15',3,'CODICE EMITTENTE BOLLA',2,'CODEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','15',4,'TIPO CODICE EMI.',2,'TIPEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','15',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','15',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','15',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','15',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','15',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','15',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE004','15',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','16',2,'TIPO RECORD = NAR',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','16',3,'CODICE CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','16',4,'TIPO CODICE CESS.',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','16',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','16',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','16',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','16',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','16',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','16',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE004','16',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE004','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','17',2,'TIPO RECORD = NAM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','17',3,'CODICE MAGAZZINO SPEDIZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','17',4,'TIPO CODICE MAGAZZINO',2,'TIPMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','17',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','17',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','17',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','17',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','17',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','17',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','17',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','17',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','17',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','17',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','17',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE004','17',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','18',2,'TIPO RECORD = NAF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','18',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','18',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','18',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','18',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','18',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','18',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','18',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','18',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','18',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','18',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','18',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','18',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE004','18',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','19',2,'TIPO RECORD = NAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','19',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE004','19',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','19',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','19',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE004','19',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','19',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','19',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE004','19',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','19',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','19',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','19',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','19',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE004','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE004','19',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','20',2,'TIPO RECORD = FTL',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','20',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','20',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE004','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE004','20',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','21',2,'TIPO RECORD = FTT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','21',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','21',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE004','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE004','21',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','22',2,'TIPO RECORD = ALT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','22',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','22',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','22',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','22',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE004','22',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','22',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','22',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE004','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,536,536,0,0,'X(536)','',0,'',0,0,'' )
,('LFE004','22',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','23',2,'TIPO RECORD = IVA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','23',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','23',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE004','23',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','23',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE004','23',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','23',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','23',9,'SEGNO IMPOSTA',2,'SEGIMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','23',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,526,526,0,0,'X(526)','',0,'',0,0,'' )
,('LFE004','23',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE004','24',2,'TIPO RECORD = TMA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','24',3,'SEGNO TOTALE DOCUMENTO',2,'SEGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',4,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',5,'SEGNO TOTALE IMPOSTA',2,'SETIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',6,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',9,'SEGNO TOTALE MESSAGGIO',2,'SEGTOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',10,'TOTALE MESSAGGIO',2,'IMPTOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',11,'SEGNO TOTALE ANTICIPI',2,'SEGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',12,'TOTALE ANTICIPI',2,'TOTANT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',13,'SEGNO TOTALE NETTO A PAGARE',2,'SEGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',14,'TOTALE NETTO A PAGARE',2,'TOTNET',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',15,'DIVISA (NON PREVISTO)',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','24',16,'SEGNO NON PREVISTO',2,'SEG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',17,'IMPORTO NON PREVISTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE004','24',18,'SEGNO NON PREVISTO',2,'SEG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',19,'IMPORTO NON PREVISTO',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',20,'SEGNO NON PREVISTO',2,'SEG003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',21,'IMPORTO NON PREVISTO',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',22,'SEGNO NON PREVISTO',2,'SEG004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',23,'IMPORTO NON PREVISTO',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',24,'SEGNO NON PREVISTO',2,'SEG005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',25,'IMPORTO NON PREVISTO',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',26,'SEGNO NON PREVISTO',2,'SEG006',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE004','24',27,'IMPORTO NON PREVISTO',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE004','24',28,'DIVISA (NON PREVISTO)',2,'DIV002',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE004','24',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,408,408,0,0,'X(408)','',0,'',0,0,'' )
,('LFE004','24',30,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','01',2,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','01',3,'CODICE MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','01',4,'TIPO CODICE MITTENTE=ZZ=P.IVA',2,'TIPMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE005','01',5,'ID MITTENTE REV. ROUTING (NON USATO)',2,'CODMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE005','01',6,'CODICE DESTINATARIO MESSAGGIO (CLIENTE)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','01',7,'TIPO CODICE DEST.MESS.=ZZ=P.IVA',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE005','01',8,'ID DEST.MES. PER REV. ROUTING NON USATO',2,'CODCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE005','01',9,'TIPO DOCUMENTO (INVOIC,NOTACC,NOTADD)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE005','01',10,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE005','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE005','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE005','01',16,'ORA DOCUMENTO',2,'ORADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE005','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,447,447,0,0,'X(447)','',0,'',0,0,'' )
,('LFE005','01',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','02',2,'TIPO RECORD = NAS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','02',3,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','02',4,'TIPO CODICE FORN.=92=ASSEGNATO DA ESSLUN',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','02',5,'RAGIONE SOCIALE FORNITORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','02',6,'INDIRIZZO FORNITORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','02',7,'LOCALITA'' FORNITORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','02',8,'PROVINCIA FORNITORE',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','02',9,'CAP FORNITORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','02',10,'NAZIONE FORNITORE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','02',11,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','02',12,'TRIBUNALE DI REGISTRAZIONE',2,'TRIREG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','02',13,'NUMERO LICENZA IMPORT/EXPORT',2,'NUMLIC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','02',14,'NUMERO REGISTRAZIONE CAMERA DI COMMERCIO',2,'NRCCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','02',15,'CAPITALE SOCIALE',2,'CAPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','02',16,'CODICE FISCALE FORNITORE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','02',17,'P.IVA INTERNAZIONALE',2,'PARIVI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','02',18,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE005','02',19,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE005','02',20,'NUMERO DI TELEX',2,'NTELEX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE005','02',21,'INDIRIZZO DI POSTA ELETTRONICA',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','02',22,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','03',2,'TIPO RECORD = NAI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','03',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','03',4,'TIPO CODICE INT. FATTURA=VA=P.IVA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','03',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','03',6,'INDIRIZZO INT.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','03',7,'LOCALITA'' INT.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','03',8,'PROVINCIA INT.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','03',9,'CAP INT.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','03',10,'NAZIONE INT.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','03',11,'PARTITA IVA INT.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','03',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE005','03',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','04',2,'TIPO RECORD = NAP',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','04',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','04',4,'TIPO CODICE INT. FATTURA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','04',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','04',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','04',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','04',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','04',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','04',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','04',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE005','04',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','05',2,'NAA EMITTENTE DIVERSO DA SEDE LEGALE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','05',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','05',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','05',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','05',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','05',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','05',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','05',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','05',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE005','05',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','06',2,'NAT RICEVITORE CARTACEO SE DIV. DA INT.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','06',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','06',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','06',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','06',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','06',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','06',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE005','06',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','06',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','06',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE005','06',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','07',2,'TIPO RECORD = FTX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','07',3,'DIVISA=EUR',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','07',4,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE005','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE005','07',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','08',2,'TIPO RECORD = PAT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','08',3,'TERMINI DI PAGAMENTO',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','08',4,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','08',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','08',6,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE005','08',7,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE005','08',8,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE005','08',9,'TIPO DATA PARTENZA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','08',10,'RELAZIONE TEMPORALE',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','08',11,'UNITA'' TEMPORALE (SEMPRE D=GIORNI)',2,'UNITEM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','08',12,'NUMERO UNITA'' TEMPORALI (GIORNI)',2,'NUMTEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE005','08',13,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','08',14,'TOTALE IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','08',15,'DIVISA (NON USATO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','08',16,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE005','08',17,'DESCRIZIONE MODALITA'' PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','08',18,'BANCA (ABI-CAB-C\C)',2,'COOBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','08',19,'DESCRIZIONE BANCA',2,'DESBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','08',20,'FACTORING (NON USATO)',2,'FACTOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','08',21,'MODO PAGAMENTO (1/35)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','08',22,'MEZZO DI PAGAMENTO',2,'MEZPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,411,411,0,0,'X(411)','',0,'',0,0,'' )
,('LFE005','08',24,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','09',2,'TIPO RECORD = DET',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',3,'NUMERO PROGRESSIVO RIGA',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE005','09',4,'INDICATORE DI SOTTORIGA',2,'INDSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',5,'PROGRESSIVO SOTTORIGA',2,'PROSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE005','09',6,'CODICE EAN C.U.',2,'CODECU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','09',7,'TIPO CODICE C.U. (SEMPRE=EN)',2,'TIPOCU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',8,'CODICE EAN T.U.',2,'CODETU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','09',9,'TIPO CODICE T.U. DEL PRODUTTORE',2,'TIPOTU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','09',10,'CODICE T.U. DEL DISTRIBUTORE',2,'CODTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','09',11,'TIPO CESSIONE',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',12,'SEGNO QUANTITA'' CONSEGNATA',2,'SEGQTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','09',13,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','09',14,'UNITA'' DI MISURA',2,'UNIMIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',15,'SEGNO QUANTITA'' FATTURATA',2,'SEGQTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','09',16,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','09',17,'UNITA'' DI MISURA',2,'UNIMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',18,'SEGNO PEZZI PER CARTONE',2,'SEGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','09',19,'NUMERO PEZZI PER CARTONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','09',20,'UNITA'' DI MISURA',2,'UNIMIX',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',21,'SEGNO PREZZO UNITARIO',2,'SEGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','09',22,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','09',23,'TIPO PREZZO UNITARIO',2,'TIPPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',24,'UNITA'' DI MISURA',2,'UNIPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',25,'SEGNO SECONDO PREZZO (SEMPRE +)',2,'SEGPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','09',26,'SECONDO PREZZO UNITARIO',2,'PR2UNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','09',27,'SECONDO TIPO PREZZO UNITARIO',2,'TI2PRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',28,'UNITA'' DI MISURA',2,'UNIPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',29,'SEGNO IMPORTO TOTALE RIGA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','09',30,'IMPORTO TOTALE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','09',31,'DIVISA (NON GESTITO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',32,'SEGNO IMPORTO IN VALUTA (NON GESTITO)',2,'SEGIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','09',33,'IMPORTO RIGA IN VALUTA (NON GESTITO)',2,'IM2RIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','09',34,'DIVISA (NON GESTITO)',2,'DIVIS2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,306,306,0,0,'X(306)','',0,'',0,0,'' )
,('LFE005','09',36,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','10',2,'TIPO RECORD = DES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','10',3,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE005','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,431,431,0,0,'X(431)','',0,'',0,0,'' )
,('LFE005','10',5,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','11',2,'TIPO RECORD = RFN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','11',3,'TIPO RIFERIMENTO',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','11',4,'RIFERIMENTO',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','11',5,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','11',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','11',7,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE005','11',8,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE005','11',9,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE005','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,560,560,0,0,'X(560)','',0,'',0,0,'' )
,('LFE005','11',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','12',2,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','12',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','12',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','12',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','12',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE005','12',7,'SEGNO IMPOSTA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','12',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,542,542,0,0,'X(542)','',0,'',0,0,'' )
,('LFE005','12',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE005','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE005','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE005','13',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','13',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','13',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE005','13',10,'FLAG SCONTO DI RIGA O TOTALE',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,533,533,0,0,'X(533)','',0,'',0,0,'' )
,('LFE005','13',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','14',2,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','14',3,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','14',4,'TIPO CODICE DES. FATTURA=92=ASS.DA.COMP.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','14',5,'RAGIONE SOCIALE DES.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','14',6,'INDIRIZZO DES.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','14',7,'LOCALITA'' DES.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','14',8,'PROVINCIA DES.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','14',9,'CAP DES.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','14',10,'NAZIONE DES.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','14',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','14',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','14',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','14',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE005','14',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','15',2,'TIPO RECORD = NAE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','15',3,'CODICE EMITTENTE BOLLA',2,'CODEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','15',4,'TIPO CODICE EMI.',2,'TIPEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','15',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','15',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','15',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','15',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','15',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','15',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE005','15',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','16',2,'TIPO RECORD = NAR',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','16',3,'CODICE CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','16',4,'TIPO CODICE CESS.',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','16',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','16',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','16',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','16',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','16',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','16',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE005','16',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','17',2,'TIPO RECORD = NAM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','17',3,'CODICE MAGAZZINO SPEDIZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','17',4,'TIPO CODICE MAGAZZINO',2,'TIPMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','17',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','17',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','17',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','17',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','17',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','17',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','17',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','17',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','17',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','17',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','17',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE005','17',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','18',2,'TIPO RECORD = NAF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','18',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','18',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','18',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','18',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','18',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','18',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','18',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','18',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','18',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','18',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','18',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','18',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE005','18',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','19',2,'TIPO RECORD = NAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','19',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE005','19',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','19',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','19',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE005','19',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','19',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','19',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE005','19',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','19',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','19',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','19',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','19',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE005','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE005','19',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','20',2,'TIPO RECORD = FTL',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','20',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE005','20',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE005','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE005','20',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','21',2,'TIPO RECORD = FTT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','21',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','21',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE005','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE005','21',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','22',2,'TIPO RECORD = ALT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','22',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','22',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','22',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','22',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE005','22',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','22',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','22',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE005','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,536,536,0,0,'X(536)','',0,'',0,0,'' )
,('LFE005','22',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','23',2,'TIPO RECORD = IVA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','23',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','23',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE005','23',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','23',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE005','23',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','23',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','23',9,'SEGNO IMPOSTA',2,'SEGIMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','23',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,526,526,0,0,'X(526)','',0,'',0,0,'' )
,('LFE005','23',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE005','24',2,'TIPO RECORD = TMA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','24',3,'SEGNO TOTALE DOCUMENTO',2,'SEGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',4,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',5,'SEGNO TOTALE IMPOSTA',2,'SETIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',6,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',9,'SEGNO TOTALE MESSAGGIO',2,'SEGTOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',10,'TOTALE MESSAGGIO',2,'IMPTOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',11,'SEGNO TOTALE ANTICIPI',2,'SEGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',12,'TOTALE ANTICIPI',2,'TOTANT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',13,'SEGNO TOTALE NETTO A PAGARE',2,'SEGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',14,'TOTALE NETTO A PAGARE',2,'TOTNET',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',15,'DIVISA (NON PREVISTO)',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','24',16,'SEGNO NON PREVISTO',2,'SEG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',17,'IMPORTO NON PREVISTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',18,'SEGNO NON PREVISTO',2,'SEG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',19,'IMPORTO NON PREVISTO',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',20,'SEGNO NON PREVISTO',2,'SEG003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',21,'IMPORTO NON PREVISTO',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',22,'SEGNO NON PREVISTO',2,'SEG004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',23,'IMPORTO NON PREVISTO',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',24,'SEGNO NON PREVISTO',2,'SEG005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',25,'IMPORTO NON PREVISTO',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',26,'SEGNO NON PREVISTO',2,'SEG006',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',27,'IMPORTO NON PREVISTO',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',28,'DIVISA (NON PREVISTO)',2,'DIV002',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE005','24',29,'SEGNO',2,'SEG007',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE005','24',30,'IMPORTO',2,'IMP007',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE005','24',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,392,392,0,0,'X(392)','',0,'',0,0,'' )
,('LFE005','24',32,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','01',2,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','01',3,'CODICE MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','01',4,'TIPO CODICE MITTENTE=ZZ=P.IVA',2,'TIPMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE006','01',5,'ID MITTENTE REV. ROUTING (NON USATO)',2,'CODMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE006','01',6,'CODICE DESTINATARIO MESSAGGIO (CLIENTE)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','01',7,'TIPO CODICE DEST.MESS.=ZZ=P.IVA',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE006','01',8,'ID DEST.MES. PER REV. ROUTING NON USATO',2,'CODCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE006','01',9,'TIPO DOCUMENTO (INVOIC,NOTACC,NOTADD)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE006','01',10,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE006','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE006','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE006','01',16,'ORA DOCUMENTO',2,'ORADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE006','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,516,516,0,0,'X(516)','',0,'',0,0,'' )
,('LFE006','01',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','02',2,'TIPO RECORD = NAS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','02',3,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','02',4,'TIPO CODICE FORN.=92=ASSEGNATO DA ESSLUN',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','02',5,'RAGIONE SOCIALE FORNITORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','02',6,'INDIRIZZO FORNITORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','02',7,'LOCALITA'' FORNITORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','02',8,'PROVINCIA FORNITORE',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','02',9,'CAP FORNITORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','02',10,'NAZIONE FORNITORE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','02',11,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','02',12,'TRIBUNALE DI REGISTRAZIONE',2,'TRIREG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','02',13,'NUMERO LICENZA IMPORT/EXPORT',2,'NUMLIC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','02',14,'NUMERO REGISTRAZIONE CAMERA DI COMMERCIO',2,'NRCCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','02',15,'CAPITALE SOCIALE',2,'CAPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','02',16,'CODICE FISCALE FORNITORE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','02',17,'P.IVA INTERNAZIONALE',2,'PARIVI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','02',18,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE006','02',19,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE006','02',20,'NUMERO DI TELEX',2,'NTELEX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE006','02',21,'INDIRIZZO DI POSTA ELETTRONICA',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','02',22,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','02',25,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','03',2,'TIPO RECORD = NAI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','03',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','03',4,'TIPO CODICE INT. FATTURA=VA=P.IVA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','03',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','03',6,'INDIRIZZO INT.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','03',7,'LOCALITA'' INT.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','03',8,'PROVINCIA INT.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','03',9,'CAP INT.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','03',10,'NAZIONE INT.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','03',11,'PARTITA IVA INT.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','03',12,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','03',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE006','03',14,'CODICE IDENTIFICATIVO INT. FATT. (EAN)',2,'IDINTF',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','03',15,'ID. INT. FATT. ASSEGNATO DAL VENDITORE',2,'IDINT1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','03',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE006','03',17,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','04',2,'TIPO RECORD = NAP',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','04',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','04',4,'TIPO CODICE INT. FATTURA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','04',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','04',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','04',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','04',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','04',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','04',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','04',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','04',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE006','04',13,'ID PAGANTE (EAN)',2,'CIDPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','04',14,'ID PAGANTE ASSEGNATO DAL VENDITORE',2,'CIDPA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','04',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE006','04',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','05',2,'NAA EMITTENTE DIVERSO DA SEDE LEGALE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','05',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','05',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','05',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','05',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','05',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','05',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','05',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','05',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','05',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE006','05',13,'ID EMITTENTE FATTURA ASS. DAL COMPRATORE',2,'CIDEFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','05',14,'ID EMITTENTE FATTURA ASS. DAL VENDITORE',2,'CIDEF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','05',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE006','05',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','06',2,'NAT RICEVITORE CARTACEO SE DIV. DA INT.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','06',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','06',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','06',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','06',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','06',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','06',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','06',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','06',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','06',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','06',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE006','06',13,'ID DEST. FATTURA ASSEGNATO DA COMPRATORE',2,'CIDDFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','06',14,'ID DEST. FATTURA ASSEGNATO DA VENDITORE',2,'CIDDF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','06',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE006','06',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','07',2,'TIPO RECORD = FTX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','07',3,'DIVISA=EUR',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','07',4,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE006','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE006','07',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','08',2,'TIPO RECORD = PAT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','08',3,'TERMINI DI PAGAMENTO',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','08',4,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','08',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','08',6,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE006','08',7,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE006','08',8,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE006','08',9,'TIPO DATA PARTENZA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','08',10,'RELAZIONE TEMPORALE',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','08',11,'UNITA'' TEMPORALE (SEMPRE D=GIORNI)',2,'UNITEM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','08',12,'NUMERO UNITA'' TEMPORALI (GIORNI)',2,'NUMTEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE006','08',13,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','08',14,'TOTALE IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','08',15,'DIVISA (NON USATO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','08',16,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE006','08',17,'DESCRIZIONE MODALITA'' PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','08',18,'BANCA (ABI-CAB-C\C)',2,'COOBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','08',19,'DESCRIZIONE BANCA',2,'DESBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','08',20,'FACTORING (NON USATO)',2,'FACTOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','08',21,'MODO PAGAMENTO (1/35)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','08',22,'MEZZO DI PAGAMENTO',2,'MEZPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE006','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,480,480,0,0,'X(480)','',0,'',0,0,'' )
,('LFE006','08',24,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','09',2,'TIPO RECORD = DET',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',3,'NUMERO PROGRESSIVO RIGA',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE006','09',4,'INDICATORE DI SOTTORIGA',2,'INDSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',5,'PROGRESSIVO SOTTORIGA',2,'PROSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE006','09',6,'CODICE EAN C.U.',2,'CODECU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','09',7,'TIPO CODICE C.U. (SEMPRE=EN)',2,'TIPOCU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',8,'CODICE EAN T.U.',2,'CODETU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','09',9,'TIPO CODICE T.U. DEL PRODUTTORE',2,'TIPOTU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','09',10,'CODICE T.U. DEL DISTRIBUTORE',2,'CODTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','09',11,'TIPO CESSIONE',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',12,'SEGNO QUANTITA'' CONSEGNATA',2,'SEGQTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',13,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','09',14,'UNITA'' DI MISURA',2,'UNIMIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',15,'SEGNO QUANTITA'' FATTURATA',2,'SEGQTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',16,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','09',17,'UNITA'' DI MISURA',2,'UNIMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',18,'SEGNO PEZZI PER CARTONE',2,'SEGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',19,'NUMERO PEZZI PER CARTONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','09',20,'UNITA'' DI MISURA',2,'UNIMIX',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',21,'SEGNO PREZZO UNITARIO',2,'SEGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',22,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','09',23,'TIPO PREZZO UNITARIO',2,'TIPPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',24,'UNITA'' DI MISURA',2,'UNIPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',25,'SEGNO SECONDO PREZZO (SEMPRE +)',2,'SEGPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',26,'SECONDO PREZZO UNITARIO',2,'PR2UNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','09',27,'SECONDO TIPO PREZZO UNITARIO',2,'TI2PRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',28,'UNITA'' DI MISURA',2,'UNIPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',29,'SEGNO IMPORTO TOTALE RIGA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',30,'IMPORTO TOTALE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','09',31,'DIVISA (NON GESTITO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',32,'SEGNO IMPORTO IN VALUTA (NON GESTITO)',2,'SEGIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',33,'IMPORTO RIGA IN VALUTA (NON GESTITO)',2,'IM2RIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','09',34,'DIVISA (NON GESTITO)',2,'DIVIS2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',35,'SEGNO PREZZO LORDO DA CATALOGO',2,'SEGPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',36,'PREZZO LORDO DA CATALOGO',2,'PREPLC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','09',37,'UNITA'' DI MISURA RELATIVA',2,'UDMPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',38,'SEGNO PREZZO PER INFO',2,'SEGPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','09',39,'PREZZO PER INFO',2,'PREPPI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','09',40,'UNITA'' DI MISURA RELATIVA',2,'UDMPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','09',41,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,337,337,0,0,'X(337)','',0,'',0,0,'' )
,('LFE006','09',42,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','10',2,'TIPO RECORD = DES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','10',3,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE006','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('LFE006','10',5,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','11',2,'TIPO RECORD = RFN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','11',3,'TIPO RIFERIMENTO',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','11',4,'RIFERIMENTO',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','11',5,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','11',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','11',7,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE006','11',8,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE006','11',9,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE006','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,629,629,0,0,'X(629)','',0,'',0,0,'' )
,('LFE006','11',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','12',2,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','12',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','12',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','12',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','12',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE006','12',7,'SEGNO IMPOSTA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','12',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,611,611,0,0,'X(611)','',0,'',0,0,'' )
,('LFE006','12',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE006','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE006','13',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','13',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','13',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE006','13',10,'FLAG SCONTO DI RIGA O TOTALE',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,602,602,0,0,'X(602)','',0,'',0,0,'' )
,('LFE006','13',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','14',2,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','14',3,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','14',4,'TIPO CODICE DES. FATTURA=92=ASS.DA.COMP.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','14',5,'RAGIONE SOCIALE DES.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','14',6,'INDIRIZZO DES.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','14',7,'LOCALITA'' DES.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','14',8,'PROVINCIA DES.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','14',9,'CAP DES.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','14',10,'NAZIONE DES.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','14',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','14',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','14',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','14',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','14',15,'CODICE EAN DESTINATARIO ???!!!???',2,'CODDE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','14',16,'CODICE DESTINATARIO ASS. DAL VENDITORE',2,'CODDE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','14',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE006','14',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE006','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','15',2,'TIPO RECORD = NAE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','15',3,'CODICE EMITTENTE BOLLA',2,'CODEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','15',4,'TIPO CODICE EMI.',2,'TIPEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','15',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','15',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','15',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','15',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','15',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','15',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','15',11,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE006','15',12,'CODICE EAN EMITTENTE',2,'CODEM1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','15',13,'CODICE EMITTENTE ASS. DAL VENDITORE',2,'CODEM2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','15',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE006','15',15,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','16',2,'TIPO RECORD = NAR',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','16',3,'CODICE CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','16',4,'TIPO CODICE CESS.',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','16',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','16',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','16',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','16',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','16',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','16',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','16',11,'NON USATO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE006','16',12,'COD. EAN CESSIONARIO',2,'CODCE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','16',13,'COD. P. IVA CESSIONARIO',2,'CODCE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','16',14,'COD. CESSIONARIO ASS DAL VENDITORE',2,'CODCE3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','16',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE006','16',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','17',2,'TIPO RECORD = NAM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','17',3,'CODICE MAGAZZINO SPEDIZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','17',4,'TIPO CODICE MAGAZZINO',2,'TIPMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','17',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','17',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','17',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','17',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','17',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','17',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','17',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','17',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','17',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('LFE006','17',14,'CODICE EAN MAGAZZINO',2,'CODMA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','17',15,'P.IVA MAGAZZINO',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','17',16,'COD. MAGAZZINO ASS. DAL VENDITORE',2,'CODMA3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','17',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE006','17',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','18',2,'TIPO RECORD = NAF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','18',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','18',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','18',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','18',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','18',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','18',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','18',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','18',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','18',11,'RIFERIMENTO AL NUMERO BOLLA FORNITORE',2,'NUMBOF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','18',12,'RIFERIMENTO ALLA DATA BOLLA FORNITORE',2,'DATBOF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','18',13,'RIFERIMENTO AL NUMERO BOLLA CLIENTE',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','18',14,'RIFERIMENTO ALLA DATA BOLLA CLIENTE',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','18',15,'COD EAN LUOGO SPED.',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','18',16,'P.IVA LUOGO SPED.',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','18',17,'COD. LUOGO SPED. ASS. DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','18',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE006','18',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','19',2,'TIPO RECORD = NAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','19',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','19',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','19',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','19',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE006','19',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','19',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','19',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE006','19',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','19',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','19',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','19',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','19',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE006','19',15,'CODICE EAN',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','19',16,'P.IVA',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','19',17,'CODICE ASSEGNATO DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE006','19',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE006','19',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','20',2,'TIPO RECORD = FTL',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','20',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','20',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE006','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE006','20',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','21',2,'TIPO RECORD = FTT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','21',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','21',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE006','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE006','21',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE006','22',2,'TIPO RECORD = ALT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','22',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','22',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','22',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','22',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE006','22',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','22',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','22',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE006','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,605,605,0,0,'X(605)','',0,'',0,0,'' )
,('LFE006','22',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','23',2,'TIPO RECORD = IVA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','23',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','23',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE006','23',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','23',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE006','23',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','23',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','23',9,'SEGNO IMPOSTA',2,'SEGIMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','23',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,595,595,0,0,'X(595)','',0,'',0,0,'' )
,('LFE006','23',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE006','24',2,'TIPO RECORD = TMA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','24',3,'SEGNO TOTALE DOCUMENTO',2,'SEGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',4,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',5,'SEGNO TOTALE IMPOSTA',2,'SETIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',6,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',9,'SEGNO TOTALE MESSAGGIO',2,'SEGTOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',10,'TOTALE MESSAGGIO',2,'IMPTOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',11,'SEGNO TOTALE ANTICIPI',2,'SEGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',12,'TOTALE ANTICIPI',2,'TOTANT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',13,'SEGNO TOTALE NETTO A PAGARE',2,'SEGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',14,'TOTALE NETTO A PAGARE',2,'TOTNET',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',15,'DIVISA (NON PREVISTO)',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','24',16,'SEGNO NON PREVISTO',2,'SEG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',17,'IMPORTO NON PREVISTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',18,'SEGNO NON PREVISTO',2,'SEG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',19,'IMPORTO NON PREVISTO',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',20,'SEGNO NON PREVISTO',2,'SEG003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',21,'IMPORTO NON PREVISTO',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',22,'SEGNO NON PREVISTO',2,'SEG004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',23,'IMPORTO NON PREVISTO',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',24,'SEGNO NON PREVISTO',2,'SEG005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',25,'IMPORTO NON PREVISTO',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',26,'SEGNO NON PREVISTO',2,'SEG006',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',27,'IMPORTO NON PREVISTO',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',28,'DIVISA (NON PREVISTO)',2,'DIV002',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE006','24',29,'SEGNO NON PREVISTO',2,'SEG007',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE006','24',30,'IMPORTO NON PREVISTO',2,'IMP007',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE006','24',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,461,461,0,0,'X(461)','',0,'',0,0,'' )
,('LFE006','24',32,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','01',2,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','01',3,'CODICE MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','01',4,'TIPO CODICE MITTENTE=ZZ=P.IVA',2,'TIPMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE007','01',5,'ID MITTENTE REV. ROUTING (NON USATO)',2,'CODMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE007','01',6,'CODICE DESTINATARIO MESSAGGIO (CLIENTE)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','01',7,'TIPO CODICE DEST.MESS.=ZZ=P.IVA',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE007','01',8,'ID DEST.MES. PER REV. ROUTING NON USATO',2,'CODCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE007','01',9,'TIPO DOCUMENTO (INVOIC,NOTACC,NOTADD)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE007','01',10,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE007','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE007','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE007','01',16,'ORA DOCUMENTO',2,'ORADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE007','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,516,516,0,0,'X(516)','',0,'',0,0,'' )
,('LFE007','01',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','02',2,'TIPO RECORD = NAS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','02',3,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','02',4,'TIPO CODICE FORN.=92=ASSEGNATO DA ESSLUN',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','02',5,'RAGIONE SOCIALE FORNITORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','02',6,'INDIRIZZO FORNITORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','02',7,'LOCALITA'' FORNITORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','02',8,'PROVINCIA FORNITORE',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','02',9,'CAP FORNITORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','02',10,'NAZIONE FORNITORE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','02',11,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','02',12,'TRIBUNALE DI REGISTRAZIONE',2,'TRIREG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','02',13,'NUMERO LICENZA IMPORT/EXPORT',2,'NUMLIC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','02',14,'NUMERO REGISTRAZIONE CAMERA DI COMMERCIO',2,'NRCCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','02',15,'CAPITALE SOCIALE',2,'CAPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','02',16,'CODICE FISCALE FORNITORE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','02',17,'P.IVA INTERNAZIONALE',2,'PARIVI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','02',18,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE007','02',19,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE007','02',20,'NUMERO DI TELEX',2,'NTELEX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE007','02',21,'INDIRIZZO DI POSTA ELETTRONICA',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','02',22,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','02',25,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','03',2,'TIPO RECORD = NAI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','03',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE007','03',4,'TIPO CODICE INT. FATTURA=VA=P.IVA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','03',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','03',6,'INDIRIZZO INT.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','03',7,'LOCALITA'' INT.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','03',8,'PROVINCIA INT.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','03',9,'CAP INT.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','03',10,'NAZIONE INT.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','03',11,'PARTITA IVA INT.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','03',12,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','03',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE007','03',14,'CODICE IDENTIFICATIVO INT. FATT. (EAN)',2,'IDINTF',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','03',15,'ID. INT. FATT. ASSEGNATO DAL VENDITORE',2,'IDINT1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','03',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE007','03',17,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','04',2,'TIPO RECORD = NAP',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','04',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','04',4,'TIPO CODICE INT. FATTURA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','04',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','04',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','04',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','04',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','04',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','04',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','04',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','04',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE007','04',13,'ID PAGANTE (EAN)',2,'CIDPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','04',14,'ID PAGANTE ASSEGNATO DAL VENDITORE',2,'CIDPA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','04',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE007','04',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','05',2,'NAA EMITTENTE DIVERSO DA SEDE LEGALE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','05',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','05',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','05',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','05',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','05',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','05',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','05',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','05',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','05',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE007','05',13,'ID EMITTENTE FATTURA ASS. DAL COMPRATORE',2,'CIDEFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','05',14,'ID EMITTENTE FATTURA ASS. DAL VENDITORE',2,'CIDEF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','05',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE007','05',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','06',2,'NAT RICEVITORE CARTACEO SE DIV. DA INT.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','06',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','06',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','06',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','06',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','06',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','06',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','06',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','06',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','06',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','06',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE007','06',13,'ID DEST. FATTURA ASSEGNATO DA COMPRATORE',2,'CIDDFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','06',14,'ID DEST. FATTURA ASSEGNATO DA VENDITORE',2,'CIDDF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','06',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE007','06',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','07',2,'TIPO RECORD = FTX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','07',3,'DIVISA=EUR',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','07',4,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE007','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE007','07',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','08',2,'TIPO RECORD = PAT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','08',3,'TERMINI DI PAGAMENTO',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','08',4,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','08',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','08',6,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE007','08',7,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE007','08',8,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE007','08',9,'TIPO DATA PARTENZA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','08',10,'RELAZIONE TEMPORALE',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','08',11,'UNITA'' TEMPORALE (SEMPRE D=GIORNI)',2,'UNITEM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','08',12,'NUMERO UNITA'' TEMPORALI (GIORNI)',2,'NUMTEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE007','08',13,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','08',14,'TOTALE IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','08',15,'DIVISA (NON USATO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','08',16,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE007','08',17,'DESCRIZIONE MODALITA'' PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','08',18,'BANCA (ABI-CAB-C\C)',2,'COOBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','08',19,'DESCRIZIONE BANCA',2,'DESBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','08',20,'FACTORING (NON USATO)',2,'FACTOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','08',21,'MODO PAGAMENTO (1/35)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','08',22,'MEZZO DI PAGAMENTO',2,'MEZPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,480,480,0,0,'X(480)','',0,'',0,0,'' )
,('LFE007','08',24,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','09',2,'TIPO RECORD = DET',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',3,'NUMERO PROGRESSIVO RIGA',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE007','09',4,'INDICATORE DI SOTTORIGA',2,'INDSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',5,'PROGRESSIVO SOTTORIGA',2,'PROSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE007','09',6,'CODICE EAN C.U.',2,'CODECU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','09',7,'TIPO CODICE C.U. (SEMPRE=EN)',2,'TIPOCU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',8,'CODICE EAN T.U.',2,'CODETU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE007','09',9,'TIPO CODICE T.U. DEL PRODUTTORE',2,'TIPOTU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','09',10,'CODICE T.U. DEL DISTRIBUTORE',2,'CODTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','09',11,'TIPO CESSIONE',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',12,'SEGNO QUANTITA'' CONSEGNATA',2,'SEGQTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',13,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','09',14,'UNITA'' DI MISURA',2,'UNIMIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',15,'SEGNO QUANTITA'' FATTURATA',2,'SEGQTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',16,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','09',17,'UNITA'' DI MISURA',2,'UNIMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',18,'SEGNO PEZZI PER CARTONE',2,'SEGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',19,'NUMERO PEZZI PER CARTONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','09',20,'UNITA'' DI MISURA',2,'UNIMIX',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',21,'SEGNO PREZZO UNITARIO',2,'SEGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',22,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','09',23,'TIPO PREZZO UNITARIO',2,'TIPPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',24,'UNITA'' DI MISURA',2,'UNIPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',25,'SEGNO SECONDO PREZZO (SEMPRE +)',2,'SEGPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',26,'SECONDO PREZZO UNITARIO',2,'PR2UNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','09',27,'SECONDO TIPO PREZZO UNITARIO',2,'TI2PRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',28,'UNITA'' DI MISURA',2,'UNIPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',29,'SEGNO IMPORTO TOTALE RIGA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',30,'IMPORTO TOTALE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','09',31,'DIVISA (NON GESTITO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',32,'SEGNO IMPORTO IN VALUTA (NON GESTITO)',2,'SEGIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',33,'IMPORTO RIGA IN VALUTA (NON GESTITO)',2,'IM2RIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','09',34,'DIVISA (NON GESTITO)',2,'DIVIS2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',35,'SEGNO PREZZO LORDO DA CATALOGO',2,'SEGPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',36,'PREZZO LORDO DA CATALOGO',2,'PREPLC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','09',37,'UNITA'' DI MISURA RELATIVA',2,'UDMPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',38,'SEGNO PREZZO PER INFO',2,'SEGPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','09',39,'PREZZO PER INFO',2,'PREPPI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','09',40,'UNITA'' DI MISURA RELATIVA',2,'UDMPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','09',41,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,337,337,0,0,'X(337)','',0,'',0,0,'' )
,('LFE007','09',42,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','10',2,'TIPO RECORD = DES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','10',3,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE007','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('LFE007','10',5,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','11',2,'TIPO RECORD = RFN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','11',3,'TIPO RIFERIMENTO',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','11',4,'RIFERIMENTO',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','11',5,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','11',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','11',7,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE007','11',8,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE007','11',9,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE007','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,629,629,0,0,'X(629)','',0,'',0,0,'' )
,('LFE007','11',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','12',2,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','12',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','12',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','12',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','12',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE007','12',7,'SEGNO IMPOSTA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','12',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,611,611,0,0,'X(611)','',0,'',0,0,'' )
,('LFE007','12',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE007','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE007','13',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','13',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','13',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE007','13',10,'FLAG SCONTO DI RIGA O TOTALE',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,602,602,0,0,'X(602)','',0,'',0,0,'' )
,('LFE007','13',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','14',2,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','14',3,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','14',4,'TIPO CODICE DES. FATTURA=92=ASS.DA.COMP.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','14',5,'RAGIONE SOCIALE DES.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','14',6,'INDIRIZZO DES.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','14',7,'LOCALITA'' DES.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','14',8,'PROVINCIA DES.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','14',9,'CAP DES.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','14',10,'NAZIONE DES.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','14',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','14',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','14',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','14',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','14',15,'CODICE EAN DESTINATARIO ???!!!???',2,'CODDE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','14',16,'CODICE DESTINATARIO ASS. DAL VENDITORE',2,'CODDE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','14',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE007','14',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','15',2,'TIPO RECORD = NAE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','15',3,'CODICE EMITTENTE BOLLA',2,'CODEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','15',4,'TIPO CODICE EMI.',2,'TIPEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','15',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','15',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','15',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','15',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','15',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','15',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE007','15',11,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE007','15',12,'CODICE EAN EMITTENTE',2,'CODEM1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','15',13,'CODICE EMITTENTE ASS. DAL VENDITORE',2,'CODEM2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','15',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE007','15',15,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','16',2,'TIPO RECORD = NAR',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','16',3,'CODICE CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','16',4,'TIPO CODICE CESS.',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','16',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','16',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','16',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','16',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','16',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','16',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','16',11,'NON USATO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE007','16',12,'COD. EAN CESSIONARIO',2,'CODCE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','16',13,'COD. P. IVA CESSIONARIO',2,'CODCE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','16',14,'COD. CESSIONARIO ASS DAL VENDITORE',2,'CODCE3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','16',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE007','16',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','17',2,'TIPO RECORD = NAM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','17',3,'CODICE MAGAZZINO SPEDIZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','17',4,'TIPO CODICE MAGAZZINO',2,'TIPMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','17',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','17',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','17',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','17',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','17',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','17',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','17',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','17',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','17',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('LFE007','17',14,'CODICE EAN MAGAZZINO',2,'CODMA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','17',15,'P.IVA MAGAZZINO',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','17',16,'COD. MAGAZZINO ASS. DAL VENDITORE',2,'CODMA3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','17',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE007','17',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','18',2,'TIPO RECORD = NAF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','18',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','18',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','18',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','18',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','18',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','18',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','18',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','18',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','18',11,'RIFERIMENTO AL NUMERO BOLLA FORNITORE',2,'NUMBOF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','18',12,'RIFERIMENTO ALLA DATA BOLLA FORNITORE',2,'DATBOF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','18',13,'RIFERIMENTO AL NUMERO BOLLA CLIENTE',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','18',14,'RIFERIMENTO ALLA DATA BOLLA CLIENTE',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','18',15,'COD EAN LUOGO SPED.',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','18',16,'P.IVA LUOGO SPED.',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','18',17,'COD. LUOGO SPED. ASS. DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','18',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE007','18',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','19',2,'TIPO RECORD = NAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','19',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','19',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','19',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','19',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE007','19',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','19',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','19',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE007','19',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','19',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','19',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','19',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','19',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE007','19',15,'CODICE EAN',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','19',16,'P.IVA',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','19',17,'CODICE ASSEGNATO DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE007','19',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE007','19',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','20',2,'TIPO RECORD = FTL',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','20',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','20',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE007','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE007','20',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','21',2,'TIPO RECORD = FTT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','21',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','21',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE007','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE007','21',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','22',2,'TIPO RECORD = ALT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','22',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','22',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','22',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','22',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE007','22',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','22',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','22',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE007','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,605,605,0,0,'X(605)','',0,'',0,0,'' )
,('LFE007','22',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE007','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','23',2,'TIPO RECORD = IVA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','23',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','23',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE007','23',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','23',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE007','23',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','23',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','23',9,'SEGNO IMPOSTA',2,'SEGIMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','23',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,595,595,0,0,'X(595)','',0,'',0,0,'' )
,('LFE007','23',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE007','24',2,'TIPO RECORD = TMA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','24',3,'SEGNO TOTALE DOCUMENTO',2,'SEGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',4,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',5,'SEGNO TOTALE IMPOSTA',2,'SETIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',6,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',9,'SEGNO TOTALE MESSAGGIO',2,'SEGTOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',10,'TOTALE MESSAGGIO',2,'IMPTOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',11,'SEGNO TOTALE ANTICIPI',2,'SEGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',12,'TOTALE ANTICIPI',2,'TOTANT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',13,'SEGNO TOTALE NETTO A PAGARE',2,'SEGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',14,'TOTALE NETTO A PAGARE',2,'TOTNET',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',15,'DIVISA (NON PREVISTO)',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','24',16,'SEGNO NON PREVISTO',2,'SEG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',17,'IMPORTO NON PREVISTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',18,'SEGNO NON PREVISTO',2,'SEG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',19,'IMPORTO NON PREVISTO',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',20,'SEGNO NON PREVISTO',2,'SEG003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',21,'IMPORTO NON PREVISTO',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',22,'SEGNO NON PREVISTO',2,'SEG004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',23,'IMPORTO NON PREVISTO',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',24,'SEGNO NON PREVISTO',2,'SEG005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',25,'IMPORTO NON PREVISTO',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',26,'SEGNO NON PREVISTO',2,'SEG006',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',27,'IMPORTO NON PREVISTO',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',28,'DIVISA (NON PREVISTO)',2,'DIV002',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE007','24',29,'SEGNO NON PREVISTO',2,'SEG007',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE007','24',30,'IMPORTO NON PREVISTO',2,'IMP007',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE007','24',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,461,461,0,0,'X(461)','',0,'',0,0,'' )
,('LFE007','24',32,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','01',2,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','01',3,'CODICE MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','01',4,'TIPO CODICE MITTENTE=ZZ=P.IVA',2,'TIPMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE008','01',5,'ID MITTENTE REV. ROUTING (NON USATO)',2,'CODMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE008','01',6,'CODICE DESTINATARIO MESSAGGIO (CLIENTE)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','01',7,'TIPO CODICE DEST.MESS.=ZZ=P.IVA',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE008','01',8,'ID DEST.MES. PER REV. ROUTING NON USATO',2,'CODCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE008','01',9,'TIPO DOCUMENTO (INVOIC,NOTACC,NOTADD)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE008','01',10,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE008','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE008','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE008','01',16,'ORA DOCUMENTO',2,'ORADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE008','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,447,447,0,0,'X(447)','',0,'',0,0,'' )
,('LFE008','01',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','02',2,'TIPO RECORD = NAS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','02',3,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','02',4,'TIPO CODICE FORN.=92=ASSEGNATO DA ESSLUN',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','02',5,'RAGIONE SOCIALE FORNITORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','02',6,'INDIRIZZO FORNITORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','02',7,'LOCALITA'' FORNITORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','02',8,'PROVINCIA FORNITORE',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','02',9,'CAP FORNITORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','02',10,'NAZIONE FORNITORE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','02',11,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','02',12,'TRIBUNALE DI REGISTRAZIONE',2,'TRIREG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','02',13,'NUMERO LICENZA IMPORT/EXPORT',2,'NUMLIC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','02',14,'NUMERO REGISTRAZIONE CAMERA DI COMMERCIO',2,'NRCCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','02',15,'CAPITALE SOCIALE',2,'CAPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','02',16,'CODICE FISCALE FORNITORE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','02',17,'P.IVA INTERNAZIONALE',2,'PARIVI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','02',18,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE008','02',19,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE008','02',20,'NUMERO DI TELEX',2,'NTELEX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE008','02',21,'INDIRIZZO DI POSTA ELETTRONICA',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','02',22,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','03',2,'TIPO RECORD = NAI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','03',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','03',4,'TIPO CODICE INT. FATTURA=VA=P.IVA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','03',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','03',6,'INDIRIZZO INT.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','03',7,'LOCALITA'' INT.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','03',8,'PROVINCIA INT.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','03',9,'CAP INT.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','03',10,'NAZIONE INT.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','03',11,'PARTITA IVA INT.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','03',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE008','03',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','04',2,'TIPO RECORD = NAP',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','04',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE008','04',4,'TIPO CODICE INT. FATTURA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','04',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','04',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','04',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','04',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','04',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','04',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','04',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE008','04',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','05',2,'NAA EMITTENTE DIVERSO DA SEDE LEGALE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','05',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','05',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','05',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','05',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','05',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','05',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','05',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','05',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE008','05',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','06',2,'NAT RICEVITORE CARTACEO SE DIV. DA INT.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','06',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','06',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','06',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','06',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','06',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','06',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','06',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','06',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','06',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE008','06',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','07',2,'TIPO RECORD = FTX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','07',3,'DIVISA=EUR',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','07',4,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE008','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE008','07',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','08',2,'TIPO RECORD = PAT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','08',3,'TERMINI DI PAGAMENTO',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','08',4,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','08',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','08',6,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE008','08',7,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE008','08',8,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE008','08',9,'TIPO DATA PARTENZA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','08',10,'RELAZIONE TEMPORALE',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','08',11,'UNITA'' TEMPORALE (SEMPRE D=GIORNI)',2,'UNITEM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','08',12,'NUMERO UNITA'' TEMPORALI (GIORNI)',2,'NUMTEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE008','08',13,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','08',14,'TOTALE IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','08',15,'DIVISA (NON USATO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','08',16,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE008','08',17,'DESCRIZIONE MODALITA'' PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','08',18,'BANCA (ABI-CAB-C\C)',2,'COOBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','08',19,'DESCRIZIONE BANCA',2,'DESBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','08',20,'FACTORING (NON USATO)',2,'FACTOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','08',21,'MODO PAGAMENTO (1/35)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','08',22,'MEZZO DI PAGAMENTO',2,'MEZPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,411,411,0,0,'X(411)','',0,'',0,0,'' )
,('LFE008','08',24,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','09',2,'TIPO RECORD = DET',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',3,'NUMERO PROGRESSIVO RIGA',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE008','09',4,'INDICATORE DI SOTTORIGA',2,'INDSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',5,'PROGRESSIVO SOTTORIGA',2,'PROSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE008','09',6,'CODICE EAN C.U.',2,'CODECU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','09',7,'TIPO CODICE C.U. (SEMPRE=EN)',2,'TIPOCU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',8,'CODICE EAN T.U.',2,'CODETU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','09',9,'TIPO CODICE T.U. DEL PRODUTTORE',2,'TIPOTU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','09',10,'CODICE T.U. DEL DISTRIBUTORE',2,'CODTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','09',11,'TIPO CESSIONE',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',12,'SEGNO QUANTITA'' CONSEGNATA',2,'SEGQTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','09',13,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','09',14,'UNITA'' DI MISURA',2,'UNIMIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',15,'SEGNO QUANTITA'' FATTURATA',2,'SEGQTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','09',16,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','09',17,'UNITA'' DI MISURA',2,'UNIMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',18,'SEGNO PEZZI PER CARTONE',2,'SEGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','09',19,'NUMERO PEZZI PER CARTONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','09',20,'UNITA'' DI MISURA',2,'UNIMIX',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',21,'SEGNO PREZZO UNITARIO',2,'SEGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','09',22,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','09',23,'TIPO PREZZO UNITARIO',2,'TIPPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',24,'UNITA'' DI MISURA',2,'UNIPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',25,'SEGNO SECONDO PREZZO (SEMPRE +)',2,'SEGPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','09',26,'SECONDO PREZZO UNITARIO',2,'PR2UNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','09',27,'SECONDO TIPO PREZZO UNITARIO',2,'TI2PRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',28,'UNITA'' DI MISURA',2,'UNIPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',29,'SEGNO IMPORTO TOTALE RIGA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','09',30,'IMPORTO TOTALE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','09',31,'DIVISA (NON GESTITO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','09',32,'SEGNO IMPORTO IN VALUTA (NON GESTITO)',2,'SEGIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','09',33,'IMPORTO RIGA IN VALUTA (NON GESTITO)',2,'IM2RIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','09',34,'DIVISA (NON GESTITO)',2,'DIVIS2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE008','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,306,306,0,0,'X(306)','',0,'',0,0,'' )
,('LFE008','09',36,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','10',2,'TIPO RECORD = DES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','10',3,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE008','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,431,431,0,0,'X(431)','',0,'',0,0,'' )
,('LFE008','10',5,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','11',2,'TIPO RECORD = RFN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','11',3,'TIPO RIFERIMENTO',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','11',4,'RIFERIMENTO',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','11',5,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','11',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','11',7,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE008','11',8,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE008','11',9,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE008','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,560,560,0,0,'X(560)','',0,'',0,0,'' )
,('LFE008','11',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','12',2,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','12',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','12',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','12',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','12',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE008','12',7,'SEGNO IMPOSTA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','12',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,542,542,0,0,'X(542)','',0,'',0,0,'' )
,('LFE008','12',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE008','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE008','13',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','13',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','13',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE008','13',10,'FLAG SCONTO DI RIGA O TOTALE',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,533,533,0,0,'X(533)','',0,'',0,0,'' )
,('LFE008','13',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','14',2,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','14',3,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','14',4,'TIPO CODICE DES. FATTURA=92=ASS.DA.COMP.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','14',5,'RAGIONE SOCIALE DES.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','14',6,'INDIRIZZO DES.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','14',7,'LOCALITA'' DES.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','14',8,'PROVINCIA DES.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','14',9,'CAP DES.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','14',10,'NAZIONE DES.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','14',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','14',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','14',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','14',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE008','14',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','15',2,'TIPO RECORD = NAE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','15',3,'CODICE EMITTENTE BOLLA',2,'CODEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','15',4,'TIPO CODICE EMI.',2,'TIPEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','15',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','15',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','15',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','15',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','15',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','15',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE008','15',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','16',2,'TIPO RECORD = NAR',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','16',3,'CODICE CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','16',4,'TIPO CODICE CESS.',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','16',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','16',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','16',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','16',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','16',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','16',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE008','16',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','17',2,'TIPO RECORD = NAM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','17',3,'CODICE MAGAZZINO SPEDIZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','17',4,'TIPO CODICE MAGAZZINO',2,'TIPMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','17',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','17',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','17',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','17',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','17',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','17',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','17',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','17',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','17',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','17',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','17',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE008','17',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','18',2,'TIPO RECORD = NAF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','18',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','18',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE008','18',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','18',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','18',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','18',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','18',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','18',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','18',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','18',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','18',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','18',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE008','18',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','19',2,'TIPO RECORD = NAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','19',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE008','19',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','19',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','19',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE008','19',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','19',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','19',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE008','19',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','19',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','19',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','19',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','19',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE008','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE008','19',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','20',2,'TIPO RECORD = FTL',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','20',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','20',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE008','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE008','20',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','21',2,'TIPO RECORD = FTT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','21',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','21',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE008','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE008','21',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','22',2,'TIPO RECORD = ALT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','22',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','22',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','22',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','22',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE008','22',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','22',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','22',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE008','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,536,536,0,0,'X(536)','',0,'',0,0,'' )
,('LFE008','22',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','23',2,'TIPO RECORD = IVA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','23',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','23',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE008','23',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','23',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE008','23',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','23',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','23',9,'SEGNO IMPOSTA',2,'SEGIMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','23',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,526,526,0,0,'X(526)','',0,'',0,0,'' )
,('LFE008','23',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE008','24',2,'TIPO RECORD = TMA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','24',3,'SEGNO TOTALE DOCUMENTO',2,'SEGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',4,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',5,'SEGNO TOTALE IMPOSTA',2,'SETIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',6,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',9,'SEGNO TOTALE MESSAGGIO',2,'SEGTOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',10,'TOTALE MESSAGGIO',2,'IMPTOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',11,'SEGNO TOTALE ANTICIPI',2,'SEGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',12,'TOTALE ANTICIPI',2,'TOTANT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',13,'SEGNO TOTALE NETTO A PAGARE',2,'SEGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',14,'TOTALE NETTO A PAGARE',2,'TOTNET',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',15,'DIVISA (NON PREVISTO)',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','24',16,'SEGNO NON PREVISTO',2,'SEG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',17,'IMPORTO NON PREVISTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',18,'SEGNO NON PREVISTO',2,'SEG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',19,'IMPORTO NON PREVISTO',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',20,'SEGNO NON PREVISTO',2,'SEG003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',21,'IMPORTO NON PREVISTO',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',22,'SEGNO NON PREVISTO',2,'SEG004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',23,'IMPORTO NON PREVISTO',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',24,'SEGNO NON PREVISTO',2,'SEG005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',25,'IMPORTO NON PREVISTO',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',26,'SEGNO NON PREVISTO',2,'SEG006',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE008','24',27,'IMPORTO NON PREVISTO',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE008','24',28,'DIVISA (NON PREVISTO)',2,'DIV002',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE008','24',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,408,408,0,0,'X(408)','',0,'',0,0,'' )
,('LFE008','24',30,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','00',2,'TIPO RECORD = HDRX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','00',3,'USI FUTURI',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LFE009','00',4,'CODICE EAN MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LFE009','00',5,'USI FUTURI',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LFE009','00',6,'CODICE DESTINATARIO',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LFE009','00',7,'USI FUTURI',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE009','00',8,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE009','00',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,458,458,0,0,'X(458)','',0,'',0,0,'' )
,('LFE009','00',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','01',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','01',3,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','01',4,'SYNTAX IDENTIFIER',2,'SYNTID',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','01',5,'SYNTAX VERSION NUMBER',2,'SYNTVN',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LFE009','01',6,'SENDER ID',2,'SENDID',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','01',7,'IDENTIFICATION CODE',2,'IDENID',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','01',8,'ADDRESS FOR REVERSE ROUTING',2,'REVROU',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE009','01',9,'RECIPIENT IDENTIFICATION',2,'RECIID',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','01',10,'IDENTIFICATION CODE QUALIFIER',2,'IDCOID',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','01',11,'ROUTING ADDRESS',2,'ROUADD',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE009','01',12,'DATE PREPARATION',2,'DATPRE',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('LFE009','01',13,'TIME OF PREPARATION',2,'TIMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE009','01',14,'INTERCHANGE CONTROL REFERENCE',2,'INTCRE',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE009','01',15,'RECIPIENT''S REF/PWD',2,'RECRET',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE009','01',16,'COME SOPRA DUAL',2,'RECDUA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LFE009','01',17,'APPLICATION REFERENCE',2,'APPREF',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE009','01',18,'PROCESS PRIORITY CODE',2,'PROPRI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','01',19,'ACK REQUEST',2,'ACKREQ',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LFE009','01',20,'COMMUNICATION AGREEMENT',2,'COMAGR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','01',21,'TEST INDICATOR',2,'TESINT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LFE009','01',22,'TIPO DOC 308=FATTURA 381=NOTA',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','01',23,'CODE LIST QUALIFIER',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','01',24,'COD LIST RESPONSIBLE ......',2,'CODRES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','01',25,'DOCUMENT NAME',2,'DOCNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','01',26,'NUMERO DOCUMENTO/MESSAGGIO',2,'DOCNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','01',27,'MESSAGE FUNCTION = 9',2,'MESFUN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','01',28,'RESPONSE TYPE',2,'RESTYP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','01',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,305,305,0,0,'X(305)','',0,'',0,0,'' )
,('LFE009','01',30,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','14',2,'NON UTILIZZATO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','14',3,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','14',4,'QUALIFICATORE = SE,SF,BY,SN,DP',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','14',5,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','14',6,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','14',7,'VALORE = 9',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','14',8,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE009','14',9,'NOME',2,'DESNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','14',10,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,143,143,0,0,'X(143)','',0,'',0,0,'' )
,('LFE009','14',11,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','14',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,105,105,0,0,'X(105)','',0,'',0,0,'' )
,('LFE009','14',13,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','14',14,'CODICE PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE009','14',15,'CODICE AVVIAMENTO POSTALE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE009','14',16,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','14',17,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','25',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','25',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','25',3,'TIPO RECORD = DTM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','25',4,'QUALIFICATORE DATA/ORA = 137',2,'DATIQA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','25',5,'DATA FATTURA aaaammgg',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','25',6,'QUALIFICATORE DATA/ORA = 102',2,'DATIFO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','25',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,552,552,0,0,'X(552)','',0,'',0,0,'' )
,('LFE009','25',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','26',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','26',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','26',3,'TIPO RECORD = RF3',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','26',4,'RIFERIMENTO ON OPPURE IV',2,'REFQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','26',5,'REFERENCE NUMBER',2,'REFNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','26',6,'LINE NUMBER',2,'LINMUN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE009','26',7,'REFERENCE VERSION NUMBER',2,'REFVER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','26',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,514,514,0,0,'X(514)','',0,'',0,0,'' )
,('LFE009','26',9,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','27',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','27',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','27',3,'TIPO RECORD = DT4',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','27',4,'QUALIFICATORE DATA/ORA = 171',2,'DATIQA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','27',5,'DATA FATTURA aaaammgg',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','27',6,'QUALIFICATORE DATA/ORA = 102',2,'DATIFO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','27',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,552,552,0,0,'X(552)','',0,'',0,0,'' )
,('LFE009','27',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','28',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','28',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','28',3,'TIPO RECORD = RFF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','28',4,'RIFERIMENTO VA',2,'REFQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','28',5,'NUMERO VAT',2,'REFNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','28',6,'LINE NUMBER',2,'LINMUN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE009','28',7,'REFERENCE VERSION NUMBER',2,'REFVER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','28',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,514,514,0,0,'X(514)','',0,'',0,0,'' )
,('LFE009','28',9,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','29',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','29',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','29',3,'TIPO RECORD = CUX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','29',4,'QUALIFICATORE = 2',2,'CURDET',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','29',5,'VALUTA (ES GBP)',2,'CODCUR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','29',6,'QUALIFICATORE = 4',2,'CURQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','29',7,'CAMBIO',2,'CURRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE009','29',8,'VALORE 3',2,'VALDET',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','29',9,'CODICE VALUTA',2,'VALCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','29',10,'VALORE 4',2,'VALQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','29',11,'CAMBIO',2,'VALRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE009','29',12,'CAMBIO',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V999','',0,'',0,0,'' )
,('LFE009','29',13,'MERCATO DEL CAMBIO',2,'VALMAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','29',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,552,552,0,0,'X(552)','',0,'',0,0,'' )
,('LFE009','29',15,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','30',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE009','30',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','30',3,'TIPO RECORD = DT1',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','30',4,'QUALIFICATORE DATA/ORA = 134',2,'DATIQA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','30',5,'DATA ORDINE aaaammgg',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','30',6,'QUALIFICATORE DATA/ORA = 102',2,'DATIFO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','30',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,552,552,0,0,'X(552)','',0,'',0,0,'' )
,('LFE009','30',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','31',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','31',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','31',3,'TIPO RECORD = LIN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','31',4,'NUMERO RIGA (SARA VERO????)',2,'NUMLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE009','31',5,'ACTION REQUEST',2,'ACTREQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','31',6,'CODICE EAN ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','31',7,'TIPO CODICE ARTICOLO = EN',2,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','31',8,'NON USATO (SPERO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LFE009','31',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,526,526,0,0,'X(526)','',0,'',0,0,'' )
,('LFE009','31',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','32',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','32',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','32',3,'TIPO RECORD = IMD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','32',4,'TIPO DESCRIZIONE ARTICOLO = F',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','32',5,'CARATTERISTICHE ARTICOLO',2,'ITECAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','32',6,'IDENTIFICAZIONE DESCRIZIONE = TU',2,'DESAID',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE009','32',7,'NON USATO (SPERO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE009','32',8,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','32',9,'NON USATO (SPERO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,529,529,0,0,'X(529)','',0,'',0,0,'' )
,('LFE009','32',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','33',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','33',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','33',3,'TIPO RECORD = QTY',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','33',4,'46 47 O 59',2,'QTAQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','33',5,'SEGNO QUANTITA''',2,'SEGNOQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','33',6,'QUANTITA''',2,'QTARIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE009','33',7,'UNITA'' DI MISURA',2,'UNIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','33',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,571,571,0,0,'X(571)','',0,'',0,0,'' )
,('LFE009','33',9,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','34',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','34',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','34',3,'TIPO RECORD = AL4',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','34',4,'PAESE DI ORIGINE',2,'PAEORI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','34',5,'NON USATO (SPERO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,590,590,0,0,'X(590)','',0,'',0,0,'' )
,('LFE009','34',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','35',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','35',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','35',3,'TIPO RECORD = MO2',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','35',4,'QUALIFICATORE IMPORTO 66 NETTO 203 LORDO',2,'IMPQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','35',5,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','35',6,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,3,0,'9(15)V999','',0,'',0,0,'' )
,('LFE009','35',7,'NON USATO (SPERO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,571,571,0,0,'X(571)','',0,'',0,0,'' )
,('LFE009','35',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','36',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','36',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','36',3,'TIPO RECORD = PRI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','36',4,'TIPO PREZZO AAA = NETTO AAB = LORDO',2,'PREQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','36',5,'SEGNO PREZZO',2,'SEGPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','36',6,'PREZZO RIGA',2,'PRERIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE009','36',7,'NON USATO (SPERO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,574,574,0,0,'X(574)','',0,'',0,0,'' )
,('LFE009','36',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','37',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','37',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','37',3,'TIPO RECORD = RF1',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','37',4,'RIFERIMENTO IP=ALCOLICI GN=CASSE',2,'REFQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','37',5,'OPZIONALE',2,'REFQU1',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE009','37',6,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,555,555,0,0,'X(555)','',0,'',0,0,'' )
,('LFE009','37',7,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','38',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','38',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','38',3,'TIPO RECORD = TA1',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','38',4,'QUALIFICATORE TASSA = 7',2,'TASQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','38',5,'TIPO TASSA = VAT',2,'TASDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','38',6,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,81,81,0,0,'X(81)','',0,'',0,0,'' )
,('LFE009','38',7,'TAX RATE',2,'TASPER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE009','38',8,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('LFE009','38',9,'CATEGORIA TASSA',2,'TASCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','38',10,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,468,468,0,0,'X(468)','',0,'',0,0,'' )
,('LFE009','38',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','39',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','39',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','39',3,'TIPO RECORD = MO3',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','39',4,'QUALIFICATORE IMPORTO = 124',2,'IMPQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','39',5,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','39',6,'IMPORTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,3,0,'9(15)V999','',0,'',0,0,'' )
,('LFE009','39',7,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,571,571,0,0,'X(571)','',0,'',0,0,'' )
,('LFE009','39',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','40',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','40',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','40',3,'TIPO RECORD = CNT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','40',4,'QUALIFICATORE CONTROLLO = 2',2,'CONQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','40',5,'SOMMA SEGMENTI LIN',2,'TOTLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,3,0,'9(15)V999','',0,'',0,0,'' )
,('LFE009','40',6,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,572,572,0,0,'X(572)','',0,'',0,0,'' )
,('LFE009','40',7,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','41',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','41',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','41',3,'TIPO RECORD = MO5',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','41',4,'QUALIFICATORE IMPORTO = 9 O 79',2,'IMPQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','41',5,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','41',6,'IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,3,0,'9(15)V999','',0,'',0,0,'' )
,('LFE009','41',7,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,571,571,0,0,'X(571)','',0,'',0,0,'' )
,('LFE009','41',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','42',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE009','42',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','42',3,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','42',4,'QUALIFICATORE = 7',2,'TAXQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','42',5,'NOME TASSA = VAT',2,'TAXDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','42',6,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,81,81,0,0,'X(81)','',0,'',0,0,'' )
,('LFE009','42',7,'NON SO COSA SIA',2,'TAXIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE009','42',8,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('LFE009','42',9,'CATEGORIA TASSA',2,'TAXCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','42',10,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,468,468,0,0,'X(468)','',0,'',0,0,'' )
,('LFE009','42',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','43',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE009','43',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE009','43',3,'TIPO RECORD = MO6',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','43',4,'QUALIFICATORE IMPORTO = 124 O 125',2,'IMPQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE009','43',5,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE009','43',6,'IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,3,0,'9(15)V999','',0,'',0,0,'' )
,('LFE009','43',7,'NON USATO SPERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,571,571,0,0,'X(571)','',0,'',0,0,'' )
,('LFE009','43',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','01',2,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','01',3,'CODICE MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','01',4,'TIPO CODICE MITTENTE=ZZ=P.IVA',2,'TIPMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE010','01',5,'ID MITTENTE REV. ROUTING (NON USATO)',2,'CODMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE010','01',6,'CODICE DESTINATARIO MESSAGGIO (CLIENTE)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','01',7,'TIPO CODICE DEST.MESS.=ZZ=P.IVA',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE010','01',8,'ID DEST.MES. PER REV. ROUTING NON USATO',2,'CODCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE010','01',9,'TIPO DOCUMENTO (INVOIC,NOTACC,NOTADD)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE010','01',10,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE010','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE010','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE010','01',16,'ORA DOCUMENTO',2,'ORADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE010','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,516,516,0,0,'X(516)','',0,'',0,0,'' )
,('LFE010','01',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','02',2,'TIPO RECORD = NAS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','02',3,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','02',4,'TIPO CODICE FORN.=92=ASSEGNATO DA ESSLUN',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','02',5,'RAGIONE SOCIALE FORNITORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','02',6,'INDIRIZZO FORNITORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','02',7,'LOCALITA'' FORNITORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','02',8,'PROVINCIA FORNITORE',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','02',9,'CAP FORNITORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','02',10,'NAZIONE FORNITORE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','02',11,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','02',12,'TRIBUNALE DI REGISTRAZIONE',2,'TRIREG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','02',13,'NUMERO LICENZA IMPORT/EXPORT',2,'NUMLIC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','02',14,'NUMERO REGISTRAZIONE CAMERA DI COMMERCIO',2,'NRCCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','02',15,'CAPITALE SOCIALE',2,'CAPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','02',16,'CODICE FISCALE FORNITORE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','02',17,'P.IVA INTERNAZIONALE',2,'PARIVI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','02',18,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE010','02',19,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE010','02',20,'NUMERO DI TELEX',2,'NTELEX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE010','02',21,'INDIRIZZO DI POSTA ELETTRONICA',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','02',22,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','02',25,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','03',2,'TIPO RECORD = NAI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','03',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','03',4,'TIPO CODICE INT. FATTURA=VA=P.IVA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','03',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','03',6,'INDIRIZZO INT.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','03',7,'LOCALITA'' INT.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','03',8,'PROVINCIA INT.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','03',9,'CAP INT.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','03',10,'NAZIONE INT.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','03',11,'PARTITA IVA INT.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','03',12,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','03',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE010','03',14,'CODICE IDENTIFICATIVO INT. FATT. (EAN)',2,'IDINTF',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','03',15,'ID. INT. FATT. ASSEGNATO DAL VENDITORE',2,'IDINT1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','03',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE010','03',17,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','04',2,'TIPO RECORD = NAP',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','04',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','04',4,'TIPO CODICE INT. FATTURA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','04',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','04',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','04',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','04',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','04',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','04',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','04',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','04',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE010','04',13,'ID PAGANTE (EAN)',2,'CIDPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','04',14,'ID PAGANTE ASSEGNATO DAL VENDITORE',2,'CIDPA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','04',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE010','04',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','05',2,'NAA EMITTENTE DIVERSO DA SEDE LEGALE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','05',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','05',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','05',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE010','05',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','05',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','05',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','05',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','05',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','05',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE010','05',13,'ID EMITTENTE FATTURA ASS. DAL COMPRATORE',2,'CIDEFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','05',14,'ID EMITTENTE FATTURA ASS. DAL VENDITORE',2,'CIDEF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','05',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE010','05',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','06',2,'NAT RICEVITORE CARTACEO SE DIV. DA INT.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','06',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','06',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','06',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','06',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','06',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','06',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','06',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','06',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','06',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','06',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE010','06',13,'ID DEST. FATTURA ASSEGNATO DA COMPRATORE',2,'CIDDFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','06',14,'ID DEST. FATTURA ASSEGNATO DA VENDITORE',2,'CIDDF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','06',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE010','06',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','07',2,'TIPO RECORD = FTX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','07',3,'DIVISA=EUR',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','07',4,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE010','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE010','07',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','08',2,'TIPO RECORD = PAT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','08',3,'TERMINI DI PAGAMENTO',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','08',4,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','08',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','08',6,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE010','08',7,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE010','08',8,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE010','08',9,'TIPO DATA PARTENZA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','08',10,'RELAZIONE TEMPORALE',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','08',11,'UNITA'' TEMPORALE (SEMPRE D=GIORNI)',2,'UNITEM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','08',12,'NUMERO UNITA'' TEMPORALI (GIORNI)',2,'NUMTEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE010','08',13,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','08',14,'TOTALE IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','08',15,'DIVISA (NON USATO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','08',16,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE010','08',17,'DESCRIZIONE MODALITA'' PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','08',18,'BANCA (ABI-CAB-C\C)',2,'COOBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','08',19,'DESCRIZIONE BANCA',2,'DESBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','08',20,'FACTORING (NON USATO)',2,'FACTOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','08',21,'MODO PAGAMENTO (1/35)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','08',22,'MEZZO DI PAGAMENTO',2,'MEZPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,480,480,0,0,'X(480)','',0,'',0,0,'' )
,('LFE010','08',24,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','09',2,'TIPO RECORD = DET',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',3,'NUMERO PROGRESSIVO RIGA',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE010','09',4,'INDICATORE DI SOTTORIGA',2,'INDSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',5,'PROGRESSIVO SOTTORIGA',2,'PROSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE010','09',6,'CODICE EAN C.U.',2,'CODECU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','09',7,'TIPO CODICE C.U. (SEMPRE=EN)',2,'TIPOCU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',8,'CODICE EAN T.U.',2,'CODETU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','09',9,'TIPO CODICE T.U. DEL PRODUTTORE',2,'TIPOTU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','09',10,'CODICE T.U. DEL DISTRIBUTORE',2,'CODTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','09',11,'TIPO CESSIONE',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',12,'SEGNO QUANTITA'' CONSEGNATA',2,'SEGQTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',13,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','09',14,'UNITA'' DI MISURA',2,'UNIMIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',15,'SEGNO QUANTITA'' FATTURATA',2,'SEGQTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',16,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','09',17,'UNITA'' DI MISURA',2,'UNIMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',18,'SEGNO PEZZI PER CARTONE',2,'SEGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',19,'NUMERO PEZZI PER CARTONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','09',20,'UNITA'' DI MISURA',2,'UNIMIX',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',21,'SEGNO PREZZO UNITARIO',2,'SEGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',22,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','09',23,'TIPO PREZZO UNITARIO',2,'TIPPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',24,'UNITA'' DI MISURA',2,'UNIPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',25,'SEGNO SECONDO PREZZO (SEMPRE +)',2,'SEGPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',26,'SECONDO PREZZO UNITARIO',2,'PR2UNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','09',27,'SECONDO TIPO PREZZO UNITARIO',2,'TI2PRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',28,'UNITA'' DI MISURA',2,'UNIPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',29,'SEGNO IMPORTO TOTALE RIGA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',30,'IMPORTO TOTALE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','09',31,'DIVISA (NON GESTITO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',32,'SEGNO IMPORTO IN VALUTA (NON GESTITO)',2,'SEGIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',33,'IMPORTO RIGA IN VALUTA (NON GESTITO)',2,'IM2RIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','09',34,'DIVISA (NON GESTITO)',2,'DIVIS2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',35,'SEGNO PREZZO LORDO DA CATALOGO',2,'SEGPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',36,'PREZZO LORDO DA CATALOGO',2,'PREPLC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','09',37,'UNITA'' DI MISURA RELATIVA',2,'UDMPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',38,'SEGNO PREZZO PER INFO',2,'SEGPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','09',39,'PREZZO PER INFO',2,'PREPPI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','09',40,'UNITA'' DI MISURA RELATIVA',2,'UDMPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','09',41,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,337,337,0,0,'X(337)','',0,'',0,0,'' )
,('LFE010','09',42,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','10',2,'TIPO RECORD = DES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE010','10',3,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE010','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('LFE010','10',5,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','11',2,'TIPO RECORD = RFN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','11',3,'TIPO RIFERIMENTO',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','11',4,'RIFERIMENTO',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','11',5,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','11',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','11',7,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE010','11',8,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE010','11',9,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE010','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,629,629,0,0,'X(629)','',0,'',0,0,'' )
,('LFE010','11',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','12',2,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','12',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','12',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','12',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','12',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE010','12',7,'SEGNO IMPOSTA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','12',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,611,611,0,0,'X(611)','',0,'',0,0,'' )
,('LFE010','12',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE010','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE010','13',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','13',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','13',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE010','13',10,'FLAG SCONTO DI RIGA O TOTALE',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,602,602,0,0,'X(602)','',0,'',0,0,'' )
,('LFE010','13',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','14',2,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','14',3,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','14',4,'TIPO CODICE DES. FATTURA=92=ASS.DA.COMP.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','14',5,'RAGIONE SOCIALE DES.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','14',6,'INDIRIZZO DES.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','14',7,'LOCALITA'' DES.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','14',8,'PROVINCIA DES.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','14',9,'CAP DES.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','14',10,'NAZIONE DES.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','14',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','14',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','14',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','14',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','14',15,'CODICE EAN DESTINATARIO ???!!!???',2,'CODDE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','14',16,'CODICE DESTINATARIO ASS. DAL VENDITORE',2,'CODDE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','14',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE010','14',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','15',2,'TIPO RECORD = NAE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','15',3,'CODICE EMITTENTE BOLLA',2,'CODEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','15',4,'TIPO CODICE EMI.',2,'TIPEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','15',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','15',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','15',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','15',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','15',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','15',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','15',11,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE010','15',12,'CODICE EAN EMITTENTE',2,'CODEM1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','15',13,'CODICE EMITTENTE ASS. DAL VENDITORE',2,'CODEM2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','15',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE010','15',15,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','16',2,'TIPO RECORD = NAR',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','16',3,'CODICE CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','16',4,'TIPO CODICE CESS.',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','16',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','16',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','16',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','16',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','16',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','16',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','16',11,'NON USATO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE010','16',12,'COD. EAN CESSIONARIO',2,'CODCE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','16',13,'COD. P. IVA CESSIONARIO',2,'CODCE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','16',14,'COD. CESSIONARIO ASS DAL VENDITORE',2,'CODCE3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','16',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE010','16',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','17',2,'TIPO RECORD = NAM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','17',3,'CODICE MAGAZZINO SPEDIZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','17',4,'TIPO CODICE MAGAZZINO',2,'TIPMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','17',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','17',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','17',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','17',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','17',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','17',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','17',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','17',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','17',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('LFE010','17',14,'CODICE EAN MAGAZZINO',2,'CODMA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','17',15,'P.IVA MAGAZZINO',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE010','17',16,'COD. MAGAZZINO ASS. DAL VENDITORE',2,'CODMA3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','17',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE010','17',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','18',2,'TIPO RECORD = NAF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','18',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','18',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','18',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','18',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','18',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','18',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','18',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','18',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','18',11,'RIFERIMENTO AL NUMERO BOLLA FORNITORE',2,'NUMBOF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','18',12,'RIFERIMENTO ALLA DATA BOLLA FORNITORE',2,'DATBOF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','18',13,'RIFERIMENTO AL NUMERO BOLLA CLIENTE',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','18',14,'RIFERIMENTO ALLA DATA BOLLA CLIENTE',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','18',15,'COD EAN LUOGO SPED.',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','18',16,'P.IVA LUOGO SPED.',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','18',17,'COD. LUOGO SPED. ASS. DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','18',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE010','18',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','19',2,'TIPO RECORD = NAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','19',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','19',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','19',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','19',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE010','19',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','19',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','19',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE010','19',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','19',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','19',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','19',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','19',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE010','19',15,'CODICE EAN',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','19',16,'P.IVA',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','19',17,'CODICE ASSEGNATO DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE010','19',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE010','19',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','20',2,'TIPO RECORD = FTL',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','20',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','20',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE010','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE010','20',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','21',2,'TIPO RECORD = FTT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','21',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','21',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE010','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE010','21',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','22',2,'TIPO RECORD = ALT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','22',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','22',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','22',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','22',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE010','22',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','22',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','22',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE010','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,605,605,0,0,'X(605)','',0,'',0,0,'' )
,('LFE010','22',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','23',2,'TIPO RECORD = IVA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','23',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','23',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE010','23',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','23',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE010','23',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','23',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','23',9,'SEGNO IMPOSTA',2,'SEGIMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','23',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,595,595,0,0,'X(595)','',0,'',0,0,'' )
,('LFE010','23',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE010','24',2,'TIPO RECORD = TMA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','24',3,'SEGNO TOTALE DOCUMENTO',2,'SEGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',4,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',5,'SEGNO TOTALE IMPOSTA',2,'SETIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',6,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',9,'SEGNO TOTALE MESSAGGIO',2,'SEGTOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',10,'TOTALE MESSAGGIO',2,'IMPTOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',11,'SEGNO TOTALE ANTICIPI',2,'SEGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',12,'TOTALE ANTICIPI',2,'TOTANT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',13,'SEGNO TOTALE NETTO A PAGARE',2,'SEGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',14,'TOTALE NETTO A PAGARE',2,'TOTNET',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',15,'DIVISA (NON PREVISTO)',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','24',16,'SEGNO NON PREVISTO',2,'SEG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',17,'IMPORTO NON PREVISTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',18,'SEGNO NON PREVISTO',2,'SEG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',19,'IMPORTO NON PREVISTO',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',20,'SEGNO NON PREVISTO',2,'SEG003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',21,'IMPORTO NON PREVISTO',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',22,'SEGNO NON PREVISTO',2,'SEG004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',23,'IMPORTO NON PREVISTO',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',24,'SEGNO NON PREVISTO',2,'SEG005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE010','24',25,'IMPORTO NON PREVISTO',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',26,'SEGNO NON PREVISTO',2,'SEG006',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',27,'IMPORTO NON PREVISTO',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',28,'DIVISA (NON PREVISTO)',2,'DIV002',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE010','24',29,'SEGNO NON PREVISTO',2,'SEG007',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE010','24',30,'IMPORTO NON PREVISTO',2,'IMP007',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE010','24',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,461,461,0,0,'X(461)','',0,'',0,0,'' )
,('LFE010','24',32,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','01',2,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','01',3,'CODICE MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','01',4,'TIPO CODICE MITTENTE=ZZ=P.IVA',2,'TIPMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE011','01',5,'ID MITTENTE REV. ROUTING (NON USATO)',2,'CODMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE011','01',6,'CODICE DESTINATARIO MESSAGGIO (CLIENTE)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','01',7,'TIPO CODICE DEST.MESS.=ZZ=P.IVA',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE011','01',8,'ID DEST.MES. PER REV. ROUTING NON USATO',2,'CODCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE011','01',9,'TIPO DOCUMENTO (INVOIC,NOTACC,NOTADD)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE011','01',10,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE011','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE011','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE011','01',16,'ORA DOCUMENTO',2,'ORADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE011','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,516,516,0,0,'X(516)','',0,'',0,0,'' )
,('LFE011','01',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','02',2,'TIPO RECORD = NAS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','02',3,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','02',4,'TIPO CODICE FORN.=92=ASSEGNATO DA ESSLUN',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','02',5,'RAGIONE SOCIALE FORNITORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','02',6,'INDIRIZZO FORNITORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','02',7,'LOCALITA'' FORNITORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','02',8,'PROVINCIA FORNITORE',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','02',9,'CAP FORNITORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','02',10,'NAZIONE FORNITORE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','02',11,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','02',12,'TRIBUNALE DI REGISTRAZIONE',2,'TRIREG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','02',13,'NUMERO LICENZA IMPORT/EXPORT',2,'NUMLIC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','02',14,'NUMERO REGISTRAZIONE CAMERA DI COMMERCIO',2,'NRCCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','02',15,'CAPITALE SOCIALE',2,'CAPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','02',16,'CODICE FISCALE FORNITORE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','02',17,'P.IVA INTERNAZIONALE',2,'PARIVI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','02',18,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE011','02',19,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE011','02',20,'NUMERO DI TELEX',2,'NTELEX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE011','02',21,'INDIRIZZO DI POSTA ELETTRONICA',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','02',22,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','02',25,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','03',2,'TIPO RECORD = NAI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','03',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','03',4,'TIPO CODICE INT. FATTURA=VA=P.IVA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','03',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','03',6,'INDIRIZZO INT.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','03',7,'LOCALITA'' INT.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','03',8,'PROVINCIA INT.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','03',9,'CAP INT.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','03',10,'NAZIONE INT.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','03',11,'PARTITA IVA INT.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','03',12,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','03',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE011','03',14,'CODICE IDENTIFICATIVO INT. FATT. (EAN)',2,'IDINTF',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','03',15,'ID. INT. FATT. ASSEGNATO DAL VENDITORE',2,'IDINT1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','03',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE011','03',17,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','04',2,'TIPO RECORD = NAP',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','04',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','04',4,'TIPO CODICE INT. FATTURA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','04',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','04',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','04',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','04',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','04',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','04',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','04',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','04',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE011','04',13,'ID PAGANTE (EAN)',2,'CIDPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','04',14,'ID PAGANTE ASSEGNATO DAL VENDITORE',2,'CIDPA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','04',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE011','04',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','05',2,'NAA EMITTENTE DIVERSO DA SEDE LEGALE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','05',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','05',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','05',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','05',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','05',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','05',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','05',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','05',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','05',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE011','05',13,'ID EMITTENTE FATTURA ASS. DAL COMPRATORE',2,'CIDEFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','05',14,'ID EMITTENTE FATTURA ASS. DAL VENDITORE',2,'CIDEF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','05',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE011','05',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE011','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','06',2,'NAT RICEVITORE CARTACEO SE DIV. DA INT.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','06',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','06',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','06',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','06',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','06',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','06',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','06',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','06',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','06',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','06',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE011','06',13,'ID DEST. FATTURA ASSEGNATO DA COMPRATORE',2,'CIDDFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','06',14,'ID DEST. FATTURA ASSEGNATO DA VENDITORE',2,'CIDDF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','06',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE011','06',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','07',2,'TIPO RECORD = FTX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','07',3,'DIVISA=EUR',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','07',4,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE011','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE011','07',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','08',2,'TIPO RECORD = PAT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','08',3,'TERMINI DI PAGAMENTO',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','08',4,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','08',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','08',6,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE011','08',7,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE011','08',8,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE011','08',9,'TIPO DATA PARTENZA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','08',10,'RELAZIONE TEMPORALE',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','08',11,'UNITA'' TEMPORALE (SEMPRE D=GIORNI)',2,'UNITEM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','08',12,'NUMERO UNITA'' TEMPORALI (GIORNI)',2,'NUMTEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE011','08',13,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','08',14,'TOTALE IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','08',15,'DIVISA (NON USATO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','08',16,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE011','08',17,'DESCRIZIONE MODALITA'' PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','08',18,'BANCA (ABI-CAB-C\C)',2,'COOBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','08',19,'DESCRIZIONE BANCA',2,'DESBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','08',20,'FACTORING (NON USATO)',2,'FACTOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','08',21,'MODO PAGAMENTO (1/35)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','08',22,'MEZZO DI PAGAMENTO',2,'MEZPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,480,480,0,0,'X(480)','',0,'',0,0,'' )
,('LFE011','08',24,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','09',2,'TIPO RECORD = DET',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',3,'NUMERO PROGRESSIVO RIGA',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE011','09',4,'INDICATORE DI SOTTORIGA',2,'INDSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',5,'PROGRESSIVO SOTTORIGA',2,'PROSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE011','09',6,'CODICE EAN C.U.',2,'CODECU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','09',7,'TIPO CODICE C.U. (SEMPRE=EN)',2,'TIPOCU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',8,'CODICE EAN T.U.',2,'CODETU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','09',9,'TIPO CODICE T.U. DEL PRODUTTORE',2,'TIPOTU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','09',10,'CODICE T.U. DEL DISTRIBUTORE',2,'CODTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','09',11,'TIPO CESSIONE',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',12,'SEGNO QUANTITA'' CONSEGNATA',2,'SEGQTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',13,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','09',14,'UNITA'' DI MISURA',2,'UNIMIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',15,'SEGNO QUANTITA'' FATTURATA',2,'SEGQTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',16,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','09',17,'UNITA'' DI MISURA',2,'UNIMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',18,'SEGNO PEZZI PER CARTONE',2,'SEGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',19,'NUMERO PEZZI PER CARTONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','09',20,'UNITA'' DI MISURA',2,'UNIMIX',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',21,'SEGNO PREZZO UNITARIO',2,'SEGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',22,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','09',23,'TIPO PREZZO UNITARIO',2,'TIPPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',24,'UNITA'' DI MISURA',2,'UNIPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',25,'SEGNO SECONDO PREZZO (SEMPRE +)',2,'SEGPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',26,'SECONDO PREZZO UNITARIO',2,'PR2UNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','09',27,'SECONDO TIPO PREZZO UNITARIO',2,'TI2PRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',28,'UNITA'' DI MISURA',2,'UNIPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',29,'SEGNO IMPORTO TOTALE RIGA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',30,'IMPORTO TOTALE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','09',31,'DIVISA (NON GESTITO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',32,'SEGNO IMPORTO IN VALUTA (NON GESTITO)',2,'SEGIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',33,'IMPORTO RIGA IN VALUTA (NON GESTITO)',2,'IM2RIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','09',34,'DIVISA (NON GESTITO)',2,'DIVIS2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',35,'SEGNO PREZZO LORDO DA CATALOGO',2,'SEGPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',36,'PREZZO LORDO DA CATALOGO',2,'PREPLC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','09',37,'UNITA'' DI MISURA RELATIVA',2,'UDMPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',38,'SEGNO PREZZO PER INFO',2,'SEGPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','09',39,'PREZZO PER INFO',2,'PREPPI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','09',40,'UNITA'' DI MISURA RELATIVA',2,'UDMPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','09',41,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,337,337,0,0,'X(337)','',0,'',0,0,'' )
,('LFE011','09',42,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','10',2,'TIPO RECORD = DES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','10',3,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE011','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('LFE011','10',5,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','11',2,'TIPO RECORD = RFN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','11',3,'TIPO RIFERIMENTO',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','11',4,'RIFERIMENTO',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','11',5,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','11',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','11',7,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE011','11',8,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE011','11',9,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE011','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,629,629,0,0,'X(629)','',0,'',0,0,'' )
,('LFE011','11',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','12',2,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','12',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','12',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','12',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','12',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE011','12',7,'SEGNO IMPOSTA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','12',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,611,611,0,0,'X(611)','',0,'',0,0,'' )
,('LFE011','12',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE011','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE011','13',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','13',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','13',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE011','13',10,'FLAG SCONTO DI RIGA O TOTALE',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,602,602,0,0,'X(602)','',0,'',0,0,'' )
,('LFE011','13',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','14',2,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','14',3,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','14',4,'TIPO CODICE DES. FATTURA=92=ASS.DA.COMP.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','14',5,'RAGIONE SOCIALE DES.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','14',6,'INDIRIZZO DES.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','14',7,'LOCALITA'' DES.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','14',8,'PROVINCIA DES.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','14',9,'CAP DES.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','14',10,'NAZIONE DES.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','14',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','14',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','14',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','14',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','14',15,'CODICE EAN DESTINATARIO ???!!!???',2,'CODDE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','14',16,'CODICE DESTINATARIO ASS. DAL VENDITORE',2,'CODDE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','14',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE011','14',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','15',2,'TIPO RECORD = NAE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','15',3,'CODICE EMITTENTE BOLLA',2,'CODEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','15',4,'TIPO CODICE EMI.',2,'TIPEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','15',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','15',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','15',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','15',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','15',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','15',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','15',11,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE011','15',12,'CODICE EAN EMITTENTE',2,'CODEM1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','15',13,'CODICE EMITTENTE ASS. DAL VENDITORE',2,'CODEM2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','15',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE011','15',15,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','16',2,'TIPO RECORD = NAR',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','16',3,'CODICE CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','16',4,'TIPO CODICE CESS.',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','16',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','16',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','16',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','16',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','16',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','16',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','16',11,'NON USATO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE011','16',12,'COD. EAN CESSIONARIO',2,'CODCE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','16',13,'COD. P. IVA CESSIONARIO',2,'CODCE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','16',14,'COD. CESSIONARIO ASS DAL VENDITORE',2,'CODCE3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','16',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE011','16',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','17',2,'TIPO RECORD = NAM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','17',3,'CODICE MAGAZZINO SPEDIZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','17',4,'TIPO CODICE MAGAZZINO',2,'TIPMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','17',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','17',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','17',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','17',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','17',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','17',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','17',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','17',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','17',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('LFE011','17',14,'CODICE EAN MAGAZZINO',2,'CODMA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','17',15,'P.IVA MAGAZZINO',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','17',16,'COD. MAGAZZINO ASS. DAL VENDITORE',2,'CODMA3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','17',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE011','17',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','18',2,'TIPO RECORD = NAF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','18',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','18',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','18',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','18',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','18',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE011','18',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','18',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','18',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','18',11,'RIFERIMENTO AL NUMERO BOLLA FORNITORE',2,'NUMBOF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','18',12,'RIFERIMENTO ALLA DATA BOLLA FORNITORE',2,'DATBOF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','18',13,'RIFERIMENTO AL NUMERO BOLLA CLIENTE',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','18',14,'RIFERIMENTO ALLA DATA BOLLA CLIENTE',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','18',15,'COD EAN LUOGO SPED.',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','18',16,'P.IVA LUOGO SPED.',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','18',17,'COD. LUOGO SPED. ASS. DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','18',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE011','18',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','19',2,'TIPO RECORD = NAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','19',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','19',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','19',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','19',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE011','19',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','19',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','19',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE011','19',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','19',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','19',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','19',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','19',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE011','19',15,'CODICE EAN',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','19',16,'P.IVA',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','19',17,'CODICE ASSEGNATO DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE011','19',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE011','19',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','20',2,'TIPO RECORD = FTL',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','20',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','20',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE011','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE011','20',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','21',2,'TIPO RECORD = FTT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','21',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','21',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE011','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE011','21',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','22',2,'TIPO RECORD = ALT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','22',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','22',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','22',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','22',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE011','22',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','22',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','22',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE011','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,605,605,0,0,'X(605)','',0,'',0,0,'' )
,('LFE011','22',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','23',2,'TIPO RECORD = IVA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','23',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','23',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE011','23',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','23',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE011','23',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','23',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','23',9,'SEGNO IMPOSTA',2,'SEGIMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','23',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,595,595,0,0,'X(595)','',0,'',0,0,'' )
,('LFE011','23',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE011','24',2,'TIPO RECORD = TMA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','24',3,'SEGNO TOTALE DOCUMENTO',2,'SEGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',4,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',5,'SEGNO TOTALE IMPOSTA',2,'SETIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',6,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',9,'SEGNO TOTALE MESSAGGIO',2,'SEGTOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',10,'TOTALE MESSAGGIO',2,'IMPTOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',11,'SEGNO TOTALE ANTICIPI',2,'SEGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',12,'TOTALE ANTICIPI',2,'TOTANT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',13,'SEGNO TOTALE NETTO A PAGARE',2,'SEGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',14,'TOTALE NETTO A PAGARE',2,'TOTNET',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',15,'DIVISA (NON PREVISTO)',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','24',16,'SEGNO NON PREVISTO',2,'SEG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',17,'IMPORTO NON PREVISTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',18,'SEGNO NON PREVISTO',2,'SEG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',19,'IMPORTO NON PREVISTO',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',20,'SEGNO NON PREVISTO',2,'SEG003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',21,'IMPORTO NON PREVISTO',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',22,'SEGNO NON PREVISTO',2,'SEG004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',23,'IMPORTO NON PREVISTO',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',24,'SEGNO NON PREVISTO',2,'SEG005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',25,'IMPORTO NON PREVISTO',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',26,'SEGNO NON PREVISTO',2,'SEG006',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',27,'IMPORTO NON PREVISTO',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',28,'DIVISA (NON PREVISTO)',2,'DIV002',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE011','24',29,'SEGNO NON PREVISTO',2,'SEG007',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE011','24',30,'IMPORTO NON PREVISTO',2,'IMP007',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE011','24',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,461,461,0,0,'X(461)','',0,'',0,0,'' )
,('LFE011','24',32,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','01',2,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE012','01',3,'CODICE MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','01',4,'TIPO CODICE MITTENTE=ZZ=P.IVA',2,'TIPMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE012','01',5,'ID MITTENTE REV. ROUTING (NON USATO)',2,'CODMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE012','01',6,'CODICE DESTINATARIO MESSAGGIO (CLIENTE)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','01',7,'TIPO CODICE DEST.MESS.=ZZ=P.IVA',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE012','01',8,'ID DEST.MES. PER REV. ROUTING NON USATO',2,'CODCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE012','01',9,'TIPO DOCUMENTO (INVOIC,NOTACC,NOTADD)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE012','01',10,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE012','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE012','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE012','01',16,'ORA DOCUMENTO',2,'ORADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE012','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,516,516,0,0,'X(516)','',0,'',0,0,'' )
,('LFE012','01',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','02',2,'TIPO RECORD = NAS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','02',3,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','02',4,'TIPO CODICE FORN.=92=ASSEGNATO DA ESSLUN',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','02',5,'RAGIONE SOCIALE FORNITORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','02',6,'INDIRIZZO FORNITORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','02',7,'LOCALITA'' FORNITORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','02',8,'PROVINCIA FORNITORE',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','02',9,'CAP FORNITORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','02',10,'NAZIONE FORNITORE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','02',11,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','02',12,'TRIBUNALE DI REGISTRAZIONE',2,'TRIREG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','02',13,'NUMERO LICENZA IMPORT/EXPORT',2,'NUMLIC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','02',14,'NUMERO REGISTRAZIONE CAMERA DI COMMERCIO',2,'NRCCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','02',15,'CAPITALE SOCIALE',2,'CAPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','02',16,'CODICE FISCALE FORNITORE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','02',17,'P.IVA INTERNAZIONALE',2,'PARIVI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','02',18,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE012','02',19,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE012','02',20,'NUMERO DI TELEX',2,'NTELEX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE012','02',21,'INDIRIZZO DI POSTA ELETTRONICA',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','02',22,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','02',25,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','03',2,'TIPO RECORD = NAI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','03',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','03',4,'TIPO CODICE INT. FATTURA=VA=P.IVA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','03',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','03',6,'INDIRIZZO INT.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','03',7,'LOCALITA'' INT.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','03',8,'PROVINCIA INT.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','03',9,'CAP INT.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','03',10,'NAZIONE INT.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','03',11,'PARTITA IVA INT.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','03',12,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','03',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE012','03',14,'CODICE IDENTIFICATIVO INT. FATT. (EAN)',2,'IDINTF',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','03',15,'ID. INT. FATT. ASSEGNATO DAL VENDITORE',2,'IDINT1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','03',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE012','03',17,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','04',2,'TIPO RECORD = NAP',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','04',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','04',4,'TIPO CODICE INT. FATTURA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','04',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','04',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','04',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','04',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','04',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','04',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','04',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','04',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE012','04',13,'ID PAGANTE (EAN)',2,'CIDPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','04',14,'ID PAGANTE ASSEGNATO DAL VENDITORE',2,'CIDPA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','04',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE012','04',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','05',2,'NAA EMITTENTE DIVERSO DA SEDE LEGALE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','05',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','05',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','05',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','05',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','05',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','05',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','05',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','05',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','05',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE012','05',13,'ID EMITTENTE FATTURA ASS. DAL COMPRATORE',2,'CIDEFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','05',14,'ID EMITTENTE FATTURA ASS. DAL VENDITORE',2,'CIDEF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','05',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE012','05',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','06',2,'NAT RICEVITORE CARTACEO SE DIV. DA INT.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','06',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','06',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','06',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','06',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','06',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','06',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','06',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','06',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE012','06',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','06',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE012','06',13,'ID DEST. FATTURA ASSEGNATO DA COMPRATORE',2,'CIDDFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','06',14,'ID DEST. FATTURA ASSEGNATO DA VENDITORE',2,'CIDDF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','06',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE012','06',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','07',2,'TIPO RECORD = FTX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','07',3,'DIVISA=EUR',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','07',4,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE012','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE012','07',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','08',2,'TIPO RECORD = PAT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','08',3,'TERMINI DI PAGAMENTO',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','08',4,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','08',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','08',6,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE012','08',7,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE012','08',8,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE012','08',9,'TIPO DATA PARTENZA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','08',10,'RELAZIONE TEMPORALE',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','08',11,'UNITA'' TEMPORALE (SEMPRE D=GIORNI)',2,'UNITEM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','08',12,'NUMERO UNITA'' TEMPORALI (GIORNI)',2,'NUMTEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE012','08',13,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','08',14,'TOTALE IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','08',15,'DIVISA (NON USATO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','08',16,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE012','08',17,'DESCRIZIONE MODALITA'' PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','08',18,'BANCA (ABI-CAB-C\C)',2,'COOBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','08',19,'DESCRIZIONE BANCA',2,'DESBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','08',20,'FACTORING (NON USATO)',2,'FACTOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','08',21,'MODO PAGAMENTO (1/35)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','08',22,'MEZZO DI PAGAMENTO',2,'MEZPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,480,480,0,0,'X(480)','',0,'',0,0,'' )
,('LFE012','08',24,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','09',2,'TIPO RECORD = DET',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',3,'NUMERO PROGRESSIVO RIGA',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE012','09',4,'INDICATORE DI SOTTORIGA',2,'INDSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',5,'PROGRESSIVO SOTTORIGA',2,'PROSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE012','09',6,'CODICE EAN C.U.',2,'CODECU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','09',7,'TIPO CODICE C.U. (SEMPRE=EN)',2,'TIPOCU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',8,'CODICE EAN T.U.',2,'CODETU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','09',9,'TIPO CODICE T.U. DEL PRODUTTORE',2,'TIPOTU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','09',10,'CODICE T.U. DEL DISTRIBUTORE',2,'CODTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','09',11,'TIPO CESSIONE',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',12,'SEGNO QUANTITA'' CONSEGNATA',2,'SEGQTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',13,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','09',14,'UNITA'' DI MISURA',2,'UNIMIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',15,'SEGNO QUANTITA'' FATTURATA',2,'SEGQTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',16,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','09',17,'UNITA'' DI MISURA',2,'UNIMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',18,'SEGNO PEZZI PER CARTONE',2,'SEGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',19,'NUMERO PEZZI PER CARTONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','09',20,'UNITA'' DI MISURA',2,'UNIMIX',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',21,'SEGNO PREZZO UNITARIO',2,'SEGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',22,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','09',23,'TIPO PREZZO UNITARIO',2,'TIPPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',24,'UNITA'' DI MISURA',2,'UNIPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',25,'SEGNO SECONDO PREZZO (SEMPRE +)',2,'SEGPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',26,'SECONDO PREZZO UNITARIO',2,'PR2UNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','09',27,'SECONDO TIPO PREZZO UNITARIO',2,'TI2PRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',28,'UNITA'' DI MISURA',2,'UNIPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',29,'SEGNO IMPORTO TOTALE RIGA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',30,'IMPORTO TOTALE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','09',31,'DIVISA (NON GESTITO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',32,'SEGNO IMPORTO IN VALUTA (NON GESTITO)',2,'SEGIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',33,'IMPORTO RIGA IN VALUTA (NON GESTITO)',2,'IM2RIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','09',34,'DIVISA (NON GESTITO)',2,'DIVIS2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',35,'SEGNO PREZZO LORDO DA CATALOGO',2,'SEGPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',36,'PREZZO LORDO DA CATALOGO',2,'PREPLC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','09',37,'UNITA'' DI MISURA RELATIVA',2,'UDMPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',38,'SEGNO PREZZO PER INFO',2,'SEGPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','09',39,'PREZZO PER INFO',2,'PREPPI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','09',40,'UNITA'' DI MISURA RELATIVA',2,'UDMPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','09',41,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,337,337,0,0,'X(337)','',0,'',0,0,'' )
,('LFE012','09',42,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','10',2,'TIPO RECORD = DES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','10',3,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE012','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('LFE012','10',5,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','11',2,'TIPO RECORD = RFN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','11',3,'TIPO RIFERIMENTO',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','11',4,'RIFERIMENTO',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','11',5,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','11',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','11',7,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE012','11',8,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE012','11',9,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE012','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,629,629,0,0,'X(629)','',0,'',0,0,'' )
,('LFE012','11',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','12',2,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','12',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','12',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','12',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','12',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE012','12',7,'SEGNO IMPOSTA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','12',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,611,611,0,0,'X(611)','',0,'',0,0,'' )
,('LFE012','12',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE012','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE012','13',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','13',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','13',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE012','13',10,'FLAG SCONTO DI RIGA O TOTALE',2,'FLGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,602,602,0,0,'X(602)','',0,'',0,0,'' )
,('LFE012','13',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','14',2,'TIPO RECORD = NAD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','14',3,'CODICE DESTINATARIO FATTURA',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','14',4,'TIPO CODICE DES. FATTURA=92=ASS.DA.COMP.',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','14',5,'RAGIONE SOCIALE DES.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','14',6,'INDIRIZZO DES.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','14',7,'LOCALITA'' DES.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','14',8,'PROVINCIA DES.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','14',9,'CAP DES.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','14',10,'NAZIONE DES.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','14',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','14',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','14',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','14',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','14',15,'CODICE EAN DESTINATARIO ???!!!???',2,'CODDE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','14',16,'CODICE DESTINATARIO ASS. DAL VENDITORE',2,'CODDE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','14',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE012','14',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','15',2,'TIPO RECORD = NAE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','15',3,'CODICE EMITTENTE BOLLA',2,'CODEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','15',4,'TIPO CODICE EMI.',2,'TIPEMI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','15',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','15',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','15',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','15',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','15',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','15',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','15',11,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE012','15',12,'CODICE EAN EMITTENTE',2,'CODEM1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','15',13,'CODICE EMITTENTE ASS. DAL VENDITORE',2,'CODEM2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','15',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE012','15',15,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','16',2,'TIPO RECORD = NAR',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','16',3,'CODICE CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','16',4,'TIPO CODICE CESS.',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','16',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','16',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','16',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','16',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','16',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','16',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','16',11,'NON USATO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('LFE012','16',12,'COD. EAN CESSIONARIO',2,'CODCE1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','16',13,'COD. P. IVA CESSIONARIO',2,'CODCE2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','16',14,'COD. CESSIONARIO ASS DAL VENDITORE',2,'CODCE3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','16',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE012','16',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','17',2,'TIPO RECORD = NAM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','17',3,'CODICE MAGAZZINO SPEDIZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','17',4,'TIPO CODICE MAGAZZINO',2,'TIPMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','17',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','17',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','17',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','17',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','17',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','17',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','17',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','17',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','17',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('LFE012','17',14,'CODICE EAN MAGAZZINO',2,'CODMA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','17',15,'P.IVA MAGAZZINO',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','17',16,'COD. MAGAZZINO ASS. DAL VENDITORE',2,'CODMA3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','17',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE012','17',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','18',2,'TIPO RECORD = NAF',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','18',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','18',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','18',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','18',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','18',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','18',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','18',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','18',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','18',11,'RIFERIMENTO AL NUMERO BOLLA FORNITORE',2,'NUMBOF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','18',12,'RIFERIMENTO ALLA DATA BOLLA FORNITORE',2,'DATBOF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','18',13,'RIFERIMENTO AL NUMERO BOLLA CLIENTE',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','18',14,'RIFERIMENTO ALLA DATA BOLLA CLIENTE',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','18',15,'COD EAN LUOGO SPED.',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','18',16,'P.IVA LUOGO SPED.',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','18',17,'COD. LUOGO SPED. ASS. DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE012','18',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE012','18',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','19',2,'TIPO RECORD = NAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','19',3,'CODICE LUOGO SPEDIZIONE',2,'CODLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','19',4,'TIPO CODICE LUOGO SPEDIZIONE',2,'TIPLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','19',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','19',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE012','19',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','19',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','19',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE012','19',10,'NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','19',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','19',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','19',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','19',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE012','19',15,'CODICE EAN',2,'CODLU1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','19',16,'P.IVA',2,'CODLU2',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','19',17,'CODICE ASSEGNATO DAL VENDITORE',2,'CODLU3',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE012','19',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE012','19',19,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','20',2,'TIPO RECORD = FTL',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','20',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','20',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE012','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE012','20',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','21',2,'TIPO RECORD = FTT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','21',3,'TIPO DI TESTO',2,'TIPTES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','21',4,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
,('LFE012','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE012','21',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','22',2,'TIPO RECORD = ALT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','22',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','22',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','22',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','22',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE012','22',7,'SEGNO IMPORTO SCONTO',2,'SEGSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','22',8,'IMPORTO SCONTO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','22',9,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE012','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,605,605,0,0,'X(605)','',0,'',0,0,'' )
,('LFE012','22',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','23',2,'TIPO RECORD = IVA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','23',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','23',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE012','23',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','23',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE012','23',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','23',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','23',9,'SEGNO IMPOSTA',2,'SEGIMS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','23',10,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,595,595,0,0,'X(595)','',0,'',0,0,'' )
,('LFE012','23',12,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE012','24',2,'TIPO RECORD = TMA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','24',3,'SEGNO TOTALE DOCUMENTO',2,'SEGTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',4,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',5,'SEGNO TOTALE IMPOSTA',2,'SETIPS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',6,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',7,'SEGNO IMPONIBILE',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',8,'IMPORTO IMPONIBILE',2,'IMPIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',9,'SEGNO TOTALE MESSAGGIO',2,'SEGTOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',10,'TOTALE MESSAGGIO',2,'IMPTOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',11,'SEGNO TOTALE ANTICIPI',2,'SEGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',12,'TOTALE ANTICIPI',2,'TOTANT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',13,'SEGNO TOTALE NETTO A PAGARE',2,'SEGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',14,'TOTALE NETTO A PAGARE',2,'TOTNET',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',15,'DIVISA (NON PREVISTO)',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','24',16,'SEGNO NON PREVISTO',2,'SEG001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',17,'IMPORTO NON PREVISTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',18,'SEGNO NON PREVISTO',2,'SEG002',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',19,'IMPORTO NON PREVISTO',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',20,'SEGNO NON PREVISTO',2,'SEG003',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',21,'IMPORTO NON PREVISTO',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',22,'SEGNO NON PREVISTO',2,'SEG004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',23,'IMPORTO NON PREVISTO',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',24,'SEGNO NON PREVISTO',2,'SEG005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',25,'IMPORTO NON PREVISTO',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',26,'SEGNO NON PREVISTO',2,'SEG006',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',27,'IMPORTO NON PREVISTO',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',28,'DIVISA (NON PREVISTO)',2,'DIV002',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE012','24',29,'SEGNO NON PREVISTO',2,'SEG007',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE012','24',30,'IMPORTO NON PREVISTO',2,'IMP007',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE012','24',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,461,461,0,0,'X(461)','',0,'',0,0,'' )
,('LFE012','24',32,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','01',2,'TIPO RECORD = BGM',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','01',3,'CODICE MITTENTE',2,'CODMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','01',4,'TIPO CODICE MITTENTE=ZZ=P.IVA',2,'TIPMIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE013','01',5,'ID MITTENTE REV. ROUTING (NON USATO)',2,'CODMI2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE013','01',6,'CODICE DESTINATARIO MESSAGGIO (CLIENTE)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','01',7,'TIPO CODICE DEST.MESS.=ZZ=P.IVA',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE013','01',8,'ID DEST.MES. PER REV. ROUTING NON USATO',2,'CODCL2',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE013','01',9,'TIPO DOCUMENTO (INVOIC,NOTACC,NOTADD)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE013','01',10,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','01',11,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE013','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE013','01',13,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE013','01',14,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE013','01',15,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE013','01',16,'ORA DOCUMENTO',2,'ORADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE013','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,516,516,0,0,'X(516)','',0,'',0,0,'' )
,('LFE013','01',18,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','02',2,'TIPO RECORD = NAS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','02',3,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','02',4,'TIPO CODICE FORN.=92=ASSEGNATO DA ESSLUN',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','02',5,'RAGIONE SOCIALE FORNITORE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','02',6,'INDIRIZZO FORNITORE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','02',7,'LOCALITA'' FORNITORE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','02',8,'PROVINCIA FORNITORE',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','02',9,'CAP FORNITORE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','02',10,'NAZIONE FORNITORE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','02',11,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','02',12,'TRIBUNALE DI REGISTRAZIONE',2,'TRIREG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','02',13,'NUMERO LICENZA IMPORT/EXPORT',2,'NUMLIC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','02',14,'NUMERO REGISTRAZIONE CAMERA DI COMMERCIO',2,'NRCCIA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','02',15,'CAPITALE SOCIALE',2,'CAPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','02',16,'CODICE FISCALE FORNITORE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','02',17,'P.IVA INTERNAZIONALE',2,'PARIVI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','02',18,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE013','02',19,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE013','02',20,'NUMERO DI TELEX',2,'NTELEX',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFE013','02',21,'INDIRIZZO DI POSTA ELETTRONICA',2,'IEMAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','02',22,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','02',25,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','03',2,'TIPO RECORD = NAI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','03',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','03',4,'TIPO CODICE INT. FATTURA=VA=P.IVA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','03',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','03',6,'INDIRIZZO INT.',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','03',7,'LOCALITA'' INT.',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','03',8,'PROVINCIA INT.',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','03',9,'CAP INT.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','03',10,'NAZIONE INT.',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','03',11,'PARTITA IVA INT.',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','03',12,'NUMERO REGISTRAZIONE ALBO IMPRESE',2,'ALBIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','03',13,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE013','03',14,'CODICE IDENTIFICATIVO INT. FATT. (EAN)',2,'IDINTF',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','03',15,'ID. INT. FATT. ASSEGNATO DAL VENDITORE',2,'IDINT1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','03',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE013','03',17,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','04',2,'TIPO RECORD = NAP',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','04',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','04',4,'TIPO CODICE INT. FATTURA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','04',5,'RAGIONE SOCIALE INT.',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','04',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','04',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','04',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','04',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','04',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','04',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','04',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE013','04',13,'ID PAGANTE (EAN)',2,'CIDPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','04',14,'ID PAGANTE ASSEGNATO DAL VENDITORE',2,'CIDPA1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','04',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE013','04',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','05',2,'NAA EMITTENTE DIVERSO DA SEDE LEGALE',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','05',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','05',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','05',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','05',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','05',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','05',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','05',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','05',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','05',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE013','05',13,'ID EMITTENTE FATTURA ASS. DAL COMPRATORE',2,'CIDEFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','05',14,'ID EMITTENTE FATTURA ASS. DAL VENDITORE',2,'CIDEF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','05',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE013','05',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','06',2,'NAT RICEVITORE CARTACEO SE DIV. DA INT.',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','06',3,'CODICE INTESTATARIO FATTURA',2,'CODINT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','06',4,'TIPO CODICE INTESTATARIO',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','06',5,'RAGIONE SOCIALE INTESTATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','06',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('LFE013','06',7,'LOCALITA'' INTESTATARIO',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','06',8,'PROVINCIA INTESTATARIO',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','06',9,'CAP INTESTATARIO',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE013','06',10,'NAZIONE INTESTATARIO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','06',11,'PARTITA IVA INTESTATARIO',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','06',12,'FILLER (NON USATO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('LFE013','06',13,'ID DEST. FATTURA ASSEGNATO DA COMPRATORE',2,'CIDDFA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','06',14,'ID DEST. FATTURA ASSEGNATO DA VENDITORE',2,'CIDDF1',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE013','06',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('LFE013','06',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','07',2,'TIPO RECORD = FTX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','07',3,'DIVISA=EUR',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','07',4,'NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,350,350,0,0,'X(350)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE013','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,322,322,0,0,'X(322)','',0,'',0,0,'' )
,('LFE013','07',6,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','08',2,'TIPO RECORD = PAT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','08',3,'TERMINI DI PAGAMENTO',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','08',4,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE013','08',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','08',6,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE013','08',7,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE013','08',8,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE013','08',9,'TIPO DATA PARTENZA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','08',10,'RELAZIONE TEMPORALE',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','08',11,'UNITA'' TEMPORALE (SEMPRE D=GIORNI)',2,'UNITEM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','08',12,'NUMERO UNITA'' TEMPORALI (GIORNI)',2,'NUMTEM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE013','08',13,'SEGNO IMPORTO',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','08',14,'TOTALE IMPORTO',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','08',15,'DIVISA (NON USATO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','08',16,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE013','08',17,'DESCRIZIONE MODALITA'' PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','08',18,'BANCA (ABI-CAB-C\C)',2,'COOBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','08',19,'DESCRIZIONE BANCA',2,'DESBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','08',20,'FACTORING (NON USATO)',2,'FACTOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','08',21,'MODO PAGAMENTO (1/35)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','08',22,'MEZZO DI PAGAMENTO',2,'MEZPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,480,480,0,0,'X(480)','',0,'',0,0,'' )
,('LFE013','08',24,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','09',2,'TIPO RECORD = DET',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',3,'NUMERO PROGRESSIVO RIGA',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE013','09',4,'INDICATORE DI SOTTORIGA',2,'INDSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',5,'PROGRESSIVO SOTTORIGA',2,'PROSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE013','09',6,'CODICE EAN C.U.',2,'CODECU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','09',7,'TIPO CODICE C.U. (SEMPRE=EN)',2,'TIPOCU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',8,'CODICE EAN T.U.',2,'CODETU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','09',9,'TIPO CODICE T.U. DEL PRODUTTORE',2,'TIPOTU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','09',10,'CODICE T.U. DEL DISTRIBUTORE',2,'CODTUD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','09',11,'TIPO CESSIONE',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',12,'SEGNO QUANTITA'' CONSEGNATA',2,'SEGQTC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',13,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','09',14,'UNITA'' DI MISURA',2,'UNIMIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',15,'SEGNO QUANTITA'' FATTURATA',2,'SEGQTF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',16,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','09',17,'UNITA'' DI MISURA',2,'UNIMIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',18,'SEGNO PEZZI PER CARTONE',2,'SEGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',19,'NUMERO PEZZI PER CARTONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','09',20,'UNITA'' DI MISURA',2,'UNIMIX',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',21,'SEGNO PREZZO UNITARIO',2,'SEGPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',22,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','09',23,'TIPO PREZZO UNITARIO',2,'TIPPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',24,'UNITA'' DI MISURA',2,'UNIPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',25,'SEGNO SECONDO PREZZO (SEMPRE +)',2,'SEGPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',26,'SECONDO PREZZO UNITARIO',2,'PR2UNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','09',27,'SECONDO TIPO PREZZO UNITARIO',2,'TI2PRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',28,'UNITA'' DI MISURA',2,'UNIPR2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',29,'SEGNO IMPORTO TOTALE RIGA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',30,'IMPORTO TOTALE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','09',31,'DIVISA (NON GESTITO)',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',32,'SEGNO IMPORTO IN VALUTA (NON GESTITO)',2,'SEGIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',33,'IMPORTO RIGA IN VALUTA (NON GESTITO)',2,'IM2RIG',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','09',34,'DIVISA (NON GESTITO)',2,'DIVIS2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',35,'SEGNO PREZZO LORDO DA CATALOGO',2,'SEGPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',36,'PREZZO LORDO DA CATALOGO',2,'PREPLC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','09',37,'UNITA'' DI MISURA RELATIVA',2,'UDMPLC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',38,'SEGNO PREZZO PER INFO',2,'SEGPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','09',39,'PREZZO PER INFO',2,'PREPPI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','09',40,'UNITA'' DI MISURA RELATIVA',2,'UDMPPI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','09',41,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,337,337,0,0,'X(337)','',0,'',0,0,'' )
,('LFE013','09',42,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','10',2,'TIPO RECORD = DES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','10',3,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('LFE013','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('LFE013','10',5,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','11',2,'TIPO RECORD = RFN',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','11',3,'TIPO RIFERIMENTO',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','11',4,'RIFERIMENTO',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','11',5,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE013','11',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','11',7,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE013','11',8,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE013','11',9,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE013','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,629,629,0,0,'X(629)','',0,'',0,0,'' )
,('LFE013','11',11,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','12',2,'TIPO RECORD = TAX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','12',3,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','12',4,'DESCRIZIONE IMPOSIZIONE',2,'DESIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','12',5,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','12',6,'ALIQUOTA IMPOSTA',2,'ALIIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('LFE013','12',7,'SEGNO IMPOSTA',2,'SEGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','12',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('LFE013','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,611,611,0,0,'X(611)','',0,'',0,0,'' )
,('LFE013','12',10,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE013','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','13',2,'TIPO RECORD = ALD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','13',3,'INDICATORE SCONTO/ADDEBITO',2,'INDSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE013','13',4,'DESCRIZIONE IMDICATORE',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE013','13',5,'INDICATORE SEQUENZA DI CALCOLO',2,'INDSEQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFE013','13',6,'TIPOLOGIA DI SCONTO/ADDEBITO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
go
