INSERT INTO dbo.ZFILE3_01 VALUES
('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE013','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,'' )
,('LFE014','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','01',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','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,'' )
,('LFE014','01',4,'IDENTIFICATIVO ???????????',2,'SYNTID',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','01',5,'CODICE EDI MITTENTE ???????????????',2,'NUMVER',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LFE014','01',6,'QUALIFICATORE 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,'' )
,('LFE014','01',7,'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,'' )
,('LFE014','01',8,'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,'' )
,('LFE014','01',9,'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,'' )
,('LFE014','01',10,'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,'' )
,('LFE014','01',11,'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,'' )
,('LFE014','01',12,'DATA PREPARAZIONE',2,'DATPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE014','01',13,'ORA PREPARAZIONE',2,'ORAPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE014','01',14,'INTERCHANGE CONTROL REFERENCE',2,'INTCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE014','01',15,'COSA CAZZO E'' ????',2,'RECPWD',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFE014','01',16,'COSA CAZZO E'' ????',2,'RECQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LFE014','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,'' )
,('LFE014','01',18,'CODICE PRIORITA''',2,'CODPRI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE014','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,'' )
,('LFE014','01',20,'COMM AGREEMENT ID',2,'COMAGR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','01',21,'TEST INDICATOR',2,'TESTID',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LFE014','01',22,'TIPO DOCUMENTO (380,384,83)',2,'TIPDOC',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
('LFE014','01',23,'CODE LIST QUALIFIER',2,'CODQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','01',24,'????????????????????',2,'CODRES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','01',25,'MESSAGE NAME',2,'MESNAM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','01',26,'MESSAGE NUMBER',2,'MESNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','01',27,'FISSO 9 ??????',2,'MESFUN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','01',28,'RESPOSTA AB/NA',2,'RESTYP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','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,'' )
,('LFE014','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,'' )
,('LFE014','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','02',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','02',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,'' )
,('LFE014','02',4,'QUALIFICATORE DATA 1370=FATT 35=CONS',2,'DATQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','02',5,'DATA',2,'DATREC',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','02',6,'QUALIFICATORE FORMATO 102=CCYYMMAA',2,'FORQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','02',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,'' )
,('LFE014','02',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,'' )
,('LFE014','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','03',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','03',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,'' )
,('LFE014','03',4,'QUALIFICATORE ORDINE/BOLLA/FATTURA',2,'REFQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','03',5,'NUMERO (ORDINE/BOLLA/FATTURA)',2,'REFNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','03',6,'LINE NUMBER',2,'LINNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE014','03',7,'REVISION NUMBER',2,'REFREV',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','03',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,'' )
,('LFE014','03',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,'' )
,('LFE014','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','04',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','04',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,'' )
,('LFE014','04',4,'QUALIFICATORE',2,'PARQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','04',5,'CODICE',2,'PARCDI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',6,'QUALIFICATORE',2,'PARQU1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','04',7,'QUALIFICATORE',2,'PARQU2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','04',8,'INDIRIZZO',2,'INDIR1',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',9,'INDIRIZZO',2,'INDIR2',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',10,'INDIRIZZO',2,'INDIR3',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',11,'INDIRIZZO',2,'INDIR4',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',12,'INDIRIZZO',2,'INDIR5',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',13,'PARTY NAME',2,'PARNO1',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',14,'PARTY NAME',2,'PARNO2',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',15,'PARTY NAME',2,'PARNO3',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',16,'PARTY NAME',2,'PARNO4',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',17,'PARTY NAME',2,'PARNO5',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',18,'FORMATO',2,'PARFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','04',19,'LOCALITA''',2,'LOCAL1',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',20,'LOCALITA''',2,'LOCAL2',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',21,'LOCALITA''',2,'LOCAL3',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',22,'LOCALITA''',2,'LOCAL4',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',23,'CITTA''',2,'NCITTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','04',24,'PAESE',2,'CODPAE',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE014','04',25,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('LFE014','04',26,'PAESE',2,'NOMPAE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','04',27,'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,'' )
,('LFE014','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','05',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','05',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,'' )
,('LFE014','05',4,'QUALIFICATORE ORDINE/BOLLA/FATTURA',2,'REFQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','05',5,'NUMERO (ORDINE/BOLLA/FATTURA)',2,'REFNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','05',6,'LINE NUMBER',2,'LINNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE014','05',7,'REVISION NUMBER',2,'REFREV',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','05',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,'' )
,('LFE014','05',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,'' )
,('LFE014','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','06',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','06',3,'CUX CURRENCIES',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','06',4,'QUALIFICATORE',2,'CURQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','06',5,'CURRENCY',2,'CURCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','06',6,'QUALIFICATORE',2,'CURQU1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','06',7,'CURRENCY RATE BASE',2,'CURRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE014','06',8,'QUALIFICATORE',2,'CURQU2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','06',9,'CURRENCY',2,'CURCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','06',10,'QUALIFICATORE',2,'CURQU3',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','06',11,'RATE',2,'CURRA1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE014','06',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,'' )
,('LFE014','06',13,'MERCATO',2,'MERCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','06',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,'' )
,('LFE014','06',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,'' )
,('LFE014','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','07',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','07',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,'' )
,('LFE014','07',4,'QUALIFICATORE',2,'QTYQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','07',5,'SEGNO +/-',2,'QTYSIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE014','07',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,'' )
,('LFE014','07',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,'' )
,('LFE014','07',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,'' )
,('LFE014','07',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,'' )
,('LFE014','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','08',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','08',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,'' )
,('LFE014','08',4,'QUALIFICATORE PREZZO',2,'PRIQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','08',5,'SEGNO +/-',2,'PRISIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE014','08',6,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('LFE014','08',7,'TIPO PREZZO',2,'PRITIP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','08',8,'TIPO PREZZO 1',2,'PRITI1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','08',9,'UNITA PER PREZZO',2,'UNIPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LFE014','08',10,'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,'' )
,('LFE014','08',11,'CAMBIAMENTO PREZZO SOTTORIGA ?????',2,'SUBLPC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','08',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,553,553,0,0,'X(553)','',0,'',0,0,'' )
,('LFE014','08',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,'' )
,('LFE014','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','09',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE014','09',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,'' )
,('LFE014','09',4,'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,'' )
,('LFE014','09',5,'AZIONE',2,'CODQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','09',6,'CODICE EAN (???!!!???)',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','09',7,'TIPO CODICE (SEMPRE=EN ???!!!???)',2,'TIPART',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','09',8,'CODLIS QUALIFIER',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','09',9,'CODLIS 1',2,'CODLI1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','09',10,'SUB LINEA',2,'SUBLIN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','09',11,'NUMERO SOTTOLINEA',2,'NRRIG1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE014','09',12,'LIVELLO CONFIGURAZIONE',2,'LEVCON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE014','09',13,'CONFIGURAZIONE',2,'TIPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','09',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,526,526,0,0,'X(526)','',0,'',0,0,'' )
,('LFE014','09',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,'' )
,('LFE014','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','12',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','12',3,'TIPO RECORD = TA2',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',4,'TIPO IMPOSIZIONE',2,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',5,'TIPO IMPOSIZIONE 1',2,'TIPIM1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',6,'TIPO IMPOSIZIONE 2',2,'TIPIM2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',7,'TIPO IMPOSIZIONE 3',2,'TIPIM3',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',8,'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,'' )
,('LFE014','12',9,'CATEGORIA IMPOSTA',2,'CATIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFE014','12',10,'QUALIFICATORE',2,'TAXQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',11,'QUALIFICATORE',2,'TAXQU1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',12,'QUALIFICATORE',2,'TAXQU2',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LFE014','12',13,'QUALIFICATORE',2,'TAXQU3',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('LFE014','12',14,'QUALIFICATORE',2,'TAXQU4',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',15,'QUALIFICATORE',2,'TAXQU5',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',16,'QUALIFICATORE',2,'TAXQU6',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('LFE014','12',17,'QUALIFICATORE',2,'TAXQU7',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('LFE014','12',18,'QUALIFICATORE',2,'TAXQU8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',19,'QUALIFICATORE',2,'TAXQU9',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',20,'QUALIFICATORE',2,'TAXQUB',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','12',21,'QUALIFICATORE',2,'TAXQUC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LFE014','12',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,448,448,0,0,'X(448)','',0,'',0,0,'' )
,('LFE014','12',23,'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,'' )
,('LFE014','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','13',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','13',3,'TIPO RECORD = ALC',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','13',4,'QUALIFICATORE',2,'ALLQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','13',5,'NUMERO',2,'ALLNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','13',6,'DESCRITTORE',2,'ALLDES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','13',7,'SETTAGGIO',2,'ALLSET',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','13',8,'SEQUENZA',2,'ALLSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','13',9,'SPECIAL SERVICES',2,'SPESER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','13',10,'QUALIFICATORE CODLIST',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','13',11,'COSLIST QUA 1',2,'CODLI1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','13',12,'SCECIAL SERVICE 1',2,'SPESE1',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','13',13,'SCECIAL SERVICE 2',2,'SPESE2',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE014','13',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,467,467,0,0,'X(467)','',0,'',0,0,'' )
,('LFE014','13',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,'' )
,('LFE014','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE014','24',2,'SPAZIO',2,'SPAZIO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE014','24',3,'TIPO RECORD = MOA (MO1,MO2.....)',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','24',4,'QUALIFICATORE',2,'MONQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','24',5,'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,'' )
,('LFE014','24',6,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,3,0,'9(15)V999','',0,'',0,0,'' )
,('LFE014','24',7,'DIVISA',2,'DIV001',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','24',8,'QUALIFICATORE DIVISA',2,'DICQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','24',9,'STATUS DIVISA',2,'STADIV',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE014','24',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,562,562,0,0,'X(562)','',0,'',0,0,'' )
,('LFE014','24',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,'' )
,('LFE015','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE015','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE015','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,'' )
,('LFE016','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE016','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,'' )
,('LFE017','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','03',13,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE017','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE017','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,'' )
,('LFE018','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,514,514,0,0,'X(514)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE018','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','03',13,'CODICE FISCALE CLIENTE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE018','03',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,352,352,0,0,'X(352)','',0,'',0,0,'' )
,('LFE018','03',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,'' )
,('LFE018','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE018','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,'' )
,('LFE018','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','08',3,'TERMINI DI PAGAMENTO SEMPRE 10E',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,478,478,0,0,'X(478)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,373,373,0,0,'X(373)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,498,498,0,0,'X(498)','',0,'',0,0,'' )
,('LFE018','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE018','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,627,627,0,0,'X(627)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,609,609,0,0,'X(609)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,600,600,0,0,'X(600)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','17',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,414,414,0,0,'X(414)','',0,'',0,0,'' )
,('LFE018','17',14,'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,'' )
,('LFE018','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE018','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,'' )
,('LFE018','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,603,603,0,0,'X(603)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,593,593,0,0,'X(593)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','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,'' )
,('LFE018','24',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,475,475,0,0,'X(475)','',0,'',0,0,'' )
,('LFE018','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,'' )
,('LFE018','25',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE018','25',2,'TIPO RECORD = RFC',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE018','25',3,'NUMERO CONTRATTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE018','25',4,'DATA INIZIO VALIDITA''',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE018','25',5,'DATA FINE VALIDITA''',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE018','25',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,622,622,0,0,'X(622)','',0,'',0,0,'' )
,('LFE018','25',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,'' )
,('LFE019','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,514,514,0,0,'X(514)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE019','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','03',13,'CODICE FISCALE CLIENTE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE019','03',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,352,352,0,0,'X(352)','',0,'',0,0,'' )
,('LFE019','03',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,'' )
,('LFE019','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','08',3,'TERMINI DI PAGAMENTO SEMPRE 10E',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,478,478,0,0,'X(478)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,373,373,0,0,'X(373)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,498,498,0,0,'X(498)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,627,627,0,0,'X(627)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,609,609,0,0,'X(609)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,600,600,0,0,'X(600)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','17',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,414,414,0,0,'X(414)','',0,'',0,0,'' )
,('LFE019','17',14,'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,'' )
,('LFE019','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,603,603,0,0,'X(603)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE019','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,'' )
,('LFE019','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,593,593,0,0,'X(593)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','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,'' )
,('LFE019','24',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,475,475,0,0,'X(475)','',0,'',0,0,'' )
,('LFE019','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,'' )
,('LFE019','25',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE019','25',2,'TIPO RECORD = RFC',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE019','25',3,'NUMERO CONTRATTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE019','25',4,'DATA INIZIO VALIDITA''',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE019','25',5,'DATA FINE VALIDITA''',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE019','25',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,622,622,0,0,'X(622)','',0,'',0,0,'' )
,('LFE019','25',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,'' )
,('LFE020','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,514,514,0,0,'X(514)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE020','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','03',13,'CODICE FISCALE CLIENTE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE020','03',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,352,352,0,0,'X(352)','',0,'',0,0,'' )
,('LFE020','03',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,'' )
,('LFE020','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','08',3,'TERMINI DI PAGAMENTO SEMPRE 10E',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,478,478,0,0,'X(478)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,373,373,0,0,'X(373)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,498,498,0,0,'X(498)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,627,627,0,0,'X(627)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,609,609,0,0,'X(609)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,600,600,0,0,'X(600)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','17',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,414,414,0,0,'X(414)','',0,'',0,0,'' )
,('LFE020','17',14,'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,'' )
,('LFE020','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,603,603,0,0,'X(603)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,593,593,0,0,'X(593)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
,('LFE020','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE020','24',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,475,475,0,0,'X(475)','',0,'',0,0,'' )
,('LFE020','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,'' )
,('LFE020','25',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE020','25',2,'TIPO RECORD = RFC',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE020','25',3,'NUMERO CONTRATTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE020','25',4,'DATA INIZIO VALIDITA''',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE020','25',5,'DATA FINE VALIDITA''',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE020','25',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,622,622,0,0,'X(622)','',0,'',0,0,'' )
,('LFE020','25',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,'' )
,('LFE021','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,514,514,0,0,'X(514)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE021','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','03',13,'CODICE FISCALE CLIENTE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE021','03',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,352,352,0,0,'X(352)','',0,'',0,0,'' )
,('LFE021','03',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,'' )
,('LFE021','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','08',3,'TERMINI DI PAGAMENTO SEMPRE 10E',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,478,478,0,0,'X(478)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,373,373,0,0,'X(373)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,498,498,0,0,'X(498)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,627,627,0,0,'X(627)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,609,609,0,0,'X(609)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,600,600,0,0,'X(600)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','17',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,414,414,0,0,'X(414)','',0,'',0,0,'' )
,('LFE021','17',14,'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,'' )
,('LFE021','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE021','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,603,603,0,0,'X(603)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,593,593,0,0,'X(593)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','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,'' )
,('LFE021','24',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,475,475,0,0,'X(475)','',0,'',0,0,'' )
,('LFE021','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,'' )
,('LFE021','25',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE021','25',2,'TIPO RECORD = RFC',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE021','25',3,'NUMERO CONTRATTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE021','25',4,'DATA INIZIO VALIDITA''',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE021','25',5,'DATA FINE VALIDITA''',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE021','25',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,622,622,0,0,'X(622)','',0,'',0,0,'' )
,('LFE021','25',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,'' )
,('LFE022','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,514,514,0,0,'X(514)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE022','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','03',13,'CODICE FISCALE CLIENTE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE022','03',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,352,352,0,0,'X(352)','',0,'',0,0,'' )
,('LFE022','03',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,'' )
,('LFE022','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','08',3,'TERMINI DI PAGAMENTO SEMPRE 10E',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,478,478,0,0,'X(478)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,373,373,0,0,'X(373)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,498,498,0,0,'X(498)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,627,627,0,0,'X(627)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,609,609,0,0,'X(609)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,600,600,0,0,'X(600)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','17',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,414,414,0,0,'X(414)','',0,'',0,0,'' )
,('LFE022','17',14,'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,'' )
,('LFE022','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,603,603,0,0,'X(603)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,593,593,0,0,'X(593)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','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,'' )
,('LFE022','24',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,475,475,0,0,'X(475)','',0,'',0,0,'' )
,('LFE022','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,'' )
,('LFE022','25',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','25',2,'TIPO RECORD = RFC',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE022','25',3,'NUMERO CONTRATTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE022','25',4,'DATA INIZIO VALIDITA''',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE022','25',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','25',6,'ANNO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE022','25',7,'MESE',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE022','25',8,'GIORNO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE022','25',9,'DATA FINE VALIDITA''',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE022','25',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE022','25',11,'ANNO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE022','25',12,'MESE',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE022','25',13,'GIORNO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFE022','25',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,622,622,0,0,'X(622)','',0,'',0,0,'' )
,('LFE022','25',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,'' )
,('LFE023','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,514,514,0,0,'X(514)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','02',23,'CODICE IDENTIFICATIVO FORNITORE (EAN)',2,'CIDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE023','02',24,'CODICE ID. FORNITORE ASS. DA VEDITORE',2,'CIDFO1',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','03',13,'CODICE FISCALE CLIENTE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE023','03',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,352,352,0,0,'X(352)','',0,'',0,0,'' )
,('LFE023','03',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,'' )
,('LFE023','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,422,422,0,0,'X(422)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,320,320,0,0,'X(320)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','08',3,'TERMINI DI PAGAMENTO SEMPRE 10E',2,'TERPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,478,478,0,0,'X(478)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,373,373,0,0,'X(373)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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
('LFE023','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,'' )
,('LFE023','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,498,498,0,0,'X(498)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,627,627,0,0,'X(627)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,609,609,0,0,'X(609)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,600,600,0,0,'X(600)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,457,457,0,0,'X(457)','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','17',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,414,414,0,0,'X(414)','',0,'',0,0,'' )
,('LFE023','17',14,'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,'' )
,('LFE023','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
go
