INSERT INTO dbo.ZFILE3_01 VALUES
('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','25',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE023','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,'' )
,('LFE024','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE024','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE024','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,'' )
,('LFE025','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE025','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,'' )
,('LFE026','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','01',2,'RECORD STANDARD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(1024)','',0,'',0,0,'' )
,('LFE026','02',1,'RECORD UNB',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','02',2,'TIPO RECORD UNB',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE026','02',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LFE026','02',4,'CODICE GLN QUARGENTAN',2,'GLNCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('LFE026','02',5,'STRINGA 2',2,'STR002',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE026','02',6,'CODICE GLN RECIPIENT',2,'GLNREC',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('LFE026','02',7,'STRINGA 3',2,'STR003',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LFE026','02',8,'DATA INVIO AAMMGG',2,'DATINV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFE026','02',9,'STRINGA 4',2,'STR004',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE026','02',10,'ORA INVIO',2,'ORAINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFE026','02',11,'STRINGA 5',2,'STR005',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE026','02',12,'STRINGA 6',2,'STR006',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LFE026','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','03',2,'TIPO RECORD UNH',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE026','03',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LFE026','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','04',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,'' )
,('LFE026','04',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE026','04',4,'TIPO DOCUMENTO 380/381',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE026','04',5,'STRINGA 2',2,'STR002',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LFE026','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','05',2,'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,'' )
,('LFE026','05',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LFE026','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE026','06',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,'' )
,('LFE026','06',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LFE026','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','07',2,'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,'' )
,('LFE026','07',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LFE026','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','08',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,'' )
,('LFE026','08',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LFE026','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','09',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,'' )
,('LFE026','09',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LFE026','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','10',2,'TIPO RECORD CUX',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE026','10',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LFE026','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','11',2,'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,'' )
,('LFE026','11',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('LFE026','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','12',2,'TIPO RECORD IMD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE026','12',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LFE026','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','13',2,'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,'' )
,('LFE026','13',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LFE026','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','14',2,'TIPO RECORD MOA',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE026','14',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LFE026','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','15',2,'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,'' )
,('LFE026','15',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LFE026','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','16',2,'TIPO RECORD UNS',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE026','16',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LFE026','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','17',2,'TIPO RECORD UNT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE026','17',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LFE026','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE026','18',2,'TIPO RECORD UNZ',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFE026','18',3,'STRINGA 1',2,'STR001',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LFE027','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE027','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,'' )
,('LFE028','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,447,447,0,0,'X(447)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','02',22,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE028','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','03',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE028','03',13,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE028','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','04',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','05',6,'INDIRIZZO INTESTATARIO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','05',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','06',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,355,355,0,0,'X(355)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','07',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','08',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,411,411,0,0,'X(411)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','09',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,306,306,0,0,'X(306)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','10',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,431,431,0,0,'X(431)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE028','11',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,560,560,0,0,'X(560)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','12',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,542,542,0,0,'X(542)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','13',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,533,533,0,0,'X(533)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','14',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','15',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','16',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,390,390,0,0,'X(390)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','17',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE028','17',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE028','17',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE028','17',16,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFE028','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','18',11,'RIFERIMENTO AL NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE028','18',12,'RIFERIMENTO ALLA DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE028','18',13,'RIFERIMENTO AL NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('LFE028','18',14,'RIFERIMENTO ALLA DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFE028','18',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','19',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,304,304,0,0,'X(304)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','20',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','21',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,253,253,0,0,'X(253)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','22',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,536,536,0,0,'X(536)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','23',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,526,526,0,0,'X(526)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','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,'' )
,('LFE028','24',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,408,408,0,0,'X(408)','',0,'',0,0,'' )
,('LFE028','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,'' )
,('LFECON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFECON','01',2,'TIPO RECORD = 01',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','01',3,'NUMERO PPROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LFECON','01',4,'NUMERO FATTURA/NOTA',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFECON','01',5,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFECON','01',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFECON','01',7,'ANNO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','01',8,'MESE',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','01',9,'GIORNO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','01',10,'NUMERO BOLLA (DDT)',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFECON','01',11,'DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFECON','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,'' )
,('LFECON','01',13,'ANNO',3,'AAABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','01',14,'MESE',3,'MMMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','01',15,'GIORNO',3,'GGGBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','01',16,'CODICE FORNITORE (SOAVE)',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LFECON','01',17,'TIPO CODICE FORNITORE (BLANK)',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','01',18,'CODICE CLIENTE CONAD SU AV2000',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LFECON','01',19,'CODICE DESTINATARIO ????',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LFECON','01',20,'CODICE SOCIO',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LFECON','01',21,'TIPO CODICE SOCIO',2,'TIPSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','01',22,'TIPO DOCUMENTO F=FATTURA N=NOTA',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','01',23,'FISSO EUR',2,'CODDIV',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
('LFECON','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('LFECON','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFECON','01',26,'FILLER PER PAREGGIARE LUNGHEZZA RECORD',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('LFECON','01',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,'' )
,('LFECON','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFECON','02',2,'TIPO RECORD = 02',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','02',3,'NUMERO PROGRESSIVO DOCUMENTO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LFECON','02',4,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LFECON','02',5,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LFECON','02',6,'UNITA'' DI MISURA FORNITORE',2,'UNIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LFECON','02',7,'QUANTITA'' FATTURATA',2,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LFECON','02',8,'PREZZO NETTO',2,'PRENET',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V999','',0,'',0,0,'' )
,('LFECON','02',9,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V999','',0,'',0,0,'' )
,('LFECON','02',10,'NUMERO PEZZI',2,'NUMPEX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFECON','02',11,'TIPO IVA SPAZIO/1/2',2,'TIPIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','02',12,'ALIQUOTA IVA',2,'ALIIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LFECON','02',13,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','02',14,'TIPO CESSIONE (VENDITA)',2,'TIPCES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','02',15,'NUMERO ORDINE CONAD',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFECON','02',16,'BLANK',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('LFECON','02',17,'TIPO CODICE ARTICOLO',2,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','02',18,'TIPO CONTRATTO BLANK',2,'TIPCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','02',19,'TIPO TRATTAMENTO BLANK',2,'TIPTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','02',20,'COSTO DEL TRASPORTO PER UNITA'' CONS',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,3,0,'9(5)V999','',0,'',0,0,'' )
,('LFECON','02',21,'CODICE CONTABILE',2,'CODCNT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','02',22,'TIPO DI RESO',2,'TIPRES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFECON','02',23,'PREZZO CATALOGO BLANK',2,'PRZCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,3,0,'9(7)V999','',0,'',0,0,'' )
,('LFECON','02',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFECON','02',25,'DATA ORDINE',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFECON','02',26,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFECON','02',27,'ANNO',3,'AAAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','02',28,'MESE',3,'MMMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','02',29,'GIORNO',3,'GGGORD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFECON','02',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LFECON','02',31,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFEEST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','01',24,'????????????????????',2,'CODRES',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','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,'' )
,('LFEEST','25',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEEST','25',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,'' )
,('LFEEST','25',3,'TIPO RECORD = CNT',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFEEST','25',4,'QUALIFICATORE',2,'CNTQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFEEST','25',5,'TOTALE RIGHE DOCUMENTO',2,'TOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,18,19,3,0,'9(15)V999','',0,'',0,0,'' )
,('LFEEST','25',6,'QUALIFICATORE UNITA'' DI MISURA',2,'MEAUNI',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LFEEST','25',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,569,569,0,0,'X(569)','',0,'',0,0,'' )
,('LFEEST','25',8,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFEPRO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','25',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','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,'' )
,('LFEPRO','25',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,624,624,0,0,'X(624)','',0,'',0,0,'' )
,('LFEPRO','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,'' )
,('LFEQQQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEQQQ','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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
('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFEQQQ','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,'' )
,('LFERR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFERR1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFERR1','01',3,'SSCC/ALVEOLO MOVIMENTATO',3,'CODALV',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LFERR3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFERR3','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFERR3','01',3,'SSCC/ALVEOLO MOVIMENTATO',3,'CODALV',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('LFERR3','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LFERR3','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFERR3','01',6,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LFERR3','01',7,'GIACENZA FERRETTO',2,'GIAFER',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LFERR3','01',8,'GIACENZA MAGAZZINO AV2000',2,'GIAV2K',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('LFESOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFESOR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFESOR','01',3,'PROGRESSIVO RIGA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFESOR','01',4,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('LFESOR','01',5,'QUANTITA''',2,'QTAART',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('LFESOR','01',6,'PREZZO',2,'PREART',0,0,0,0,0,0,0,0,0,0,'',1,1,12,14,5,0,'S9(7)V9(5)','',0,'',0,0,'' )
,('LFESOR','01',7,'IMPORTO RIGA',2,'IMPART',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('LFESOR','01',8,'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,'' )
,('LFESOR','01',9,'FLAG COMMENTO /S',2,'FLGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFEXXX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','09',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','11',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','12',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','13',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','14',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','15',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','16',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEXXX','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,'' )
,('LFEXXX','17',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','18',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','19',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','20',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','21',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','22',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','23',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','24',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFEXXX','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,'' )
,('LFI13D','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13D','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13D','01',3,'SOTTOCHIAVE',3,'KEY011',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13D','01',4,'ANNO FINANZIAMENTO',4,'ANNFIN',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFI13D','01',5,'TIPO CODICE SEMPRE = "S" SOCIO',4,'TIPCOD',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFI13D','01',6,'CODICE CLIENTE/FORNITORE/SOCIO/PROD',4,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFI13D','01',7,'CODICE FISCALE',4,'CODFIS',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFI13D','01',8,'1=DA ESTRAZIONE 2=DA MAN. MANUALE',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFI13D','01',9,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13D','01',10,'IMPORTO FINANZIAMENTO',3,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LFI13D','01',11,'IMPORTO CAPITALIZZAZIONE',3,'IMPCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LFI13D','01',12,'DATA ULTIMO FINANZIAMENTO',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFI13D','01',13,'DATA ULTIMA CAPITALIZZAZIONE',3,'DATCAP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFI13D','01',14,'DATA PRIMO FINANZIAMENTO',3,'PRIFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFI13D','01',15,'DATA PRIMA CAPITALIZZAZIONE',3,'PRICAP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LFI13D','01',16,'S = INSERITO DA MANUTENZIONE',3,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFI13D','01',18,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('LFI13E','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13E','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13E','01',3,'TIPO CODICE SEMPRE = "S" SOCIO',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFI13E','01',4,'CODICE SOCIO/PRODUTTORE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFI13E','01',5,'CODICE FISCALE',3,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('LFI13E','01',6,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13E','01',7,'IMPORTO FINANZIAMENTO',3,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LFI13E','01',8,'IMPORTO CAPITALIZZAZIONE',3,'IMPCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LFI13E','01',9,'DATA ULTIMO FINANZIAMENTO',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LFI13E','01',10,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13E','01',11,'ANNO',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFI13E','01',12,'MESE',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFI13E','01',13,'GIORNO',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFI13E','01',14,'DATA ULTIMA CAPITALIZZAZIONE',3,'DATCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LFI13E','01',15,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13E','01',16,'ANNO',4,'AAACAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFI13E','01',17,'MESE',4,'MMMCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFI13E','01',18,'GIORNO',4,'GGGCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFI13E','01',19,'DATA PRIMO FINANZIAMENTO',3,'PRIFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LFI13E','01',20,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13E','01',21,'ANNO',4,'AAAPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFI13E','01',22,'MESE',4,'MMMPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFI13E','01',23,'GIORNO',4,'GGGPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFI13E','01',24,'DATA PRIMA CAPITALIZZAZIONE',3,'PRICAP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LFI13E','01',25,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFI13E','01',26,'ANNO',4,'AAAPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LFI13E','01',27,'MESE',4,'MMMPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFI13E','01',28,'GIORNO',4,'GGGPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFI13E','01',29,'S = INSERITO DA MANUTENZIONE',3,'FLGNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFRSBA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSBA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSBA','01',3,'DATI SOGGETTO',3,'DATSOG',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSBA','01',4,'TIPO SOGGETTO Socio/Cliente',4,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFRSBA','01',5,'CODICE SOGGETTO',4,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFRSBA','01',6,'NOTE CONTO LAVORO',4,'NOTECL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LFRSBA','01',7,'DATI CONFERIMENTO',3,'DATCON',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSBA','01',8,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LFRSBA','01',9,'NUMERO VIAGGIO DEL GIORNO',4,'NRVGGS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFRSBA','01',10,'NUMERO CONFERIMENTO',4,'NRCONF',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LFRSBA','01',11,'DATI AGGREGATI BANCALI BANCALE',3,'DATAGG',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSBA','01',12,'CODICE STABILIMENTO',4,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFRSBA','01',13,'CODICE CAPANNONE',4,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFRSBA','01',14,'CODICE FILA',4,'CODFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LFRSBA','01',15,'TIPO BANCALE',4,'TIPBAN',0,0,3,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFRSBA','01',16,'TIPO BANCALE',4,'CODUVA',0,0,1,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LFRSBA','01',17,'CODICE SCELTA',4,'CODSCE',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFRSBA','01',18,'NUMERO BANCALE',3,'NUMBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LFRSBA','01',19,'QUINTALI CONFERITI',3,'QLICON',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LFRSMV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSMV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSMV','01',3,'NUMEOR MOVIMENTO',3,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LFRSMV','01',4,'DATI SOGGETTO CHE HA PORTATO IL BANCALE',3,'DESSOG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSMV','01',5,'TIPO SOGGETTO SOCIO/CLIENTE',4,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LFRSMV','01',6,'CODICE SOGGETTO',4,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LFRSMV','01',7,'NOTE CONTO LAVORO',4,'NOTECL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LFRSMV','01',8,'DATI CONFERIMENTO',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSMV','01',9,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LFRSMV','01',10,'NUMERO VIAGGIO DEL GIORNO',4,'NRVGGS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFRSMV','01',11,'NUMERO CONFERIMENTO',4,'NRCONF',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LFRSMV','01',12,'DATI AGGREGATI BANCALI BANCALE',3,'DATAGG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LFRSMV','01',13,'CODICE STABILIMENTO',4,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFRSMV','01',14,'CODICE CAPANNONE',4,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFRSMV','01',15,'CODICE FILA',4,'CODFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LFRSMV','01',16,'TIPO BANCALE',4,'TIPBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LFRSMV','01',17,'TIPO BANCALE',4,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LFRSMV','01',18,'CODICE SCELTA',4,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LFRSMV','01',19,'NUMERO BANCALE',3,'NUMBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LFRSMV','01',20,'QLI BANCALE',2,'QLIBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('LGBI2P','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGBI2P','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGBI2P','01',3,'GRUPPO CONTO SOTTOCONTO',3,'CODGCS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGBI2P','01',4,'GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGBI2P','01',5,'CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGBI2P','01',6,'SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGBI2P','01',7,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LGBI2P','01',8,'TIPO PROTEZIONE',2,'TIPAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGBI2P','01',9,'PROGRESSIVO DARE INIZIALE 1 P',2,'DARIN1',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',10,'PROGRESSIVO AVERE INIZIALE 1 P',2,'AVEIN1',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',11,'MOVIMENTI DARE 1 P',2,'MOVDA1',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',12,'MOVIMENTI AVERE 1 P',2,'MOVAV1',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',13,'PROGRESSIVO DARE FINALE 1 P',2,'DARFI1',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',14,'PROGRESSIVO AVERE FINALE 1 P',2,'AVEFI1',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',15,'PROGRESSIVO DARE INIZIALE 2 P',2,'DARIN2',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',16,'PROGRESSIVO AVERE INIZIALE 2 P',2,'AVEIN2',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',17,'MOVIMENTI DARE 2 P',2,'MOVDA2',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',18,'MOVIMENTI AVERE 2 P',2,'MOVAV2',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',19,'PROGRESSIVO DARE FINALE P 2',2,'DARFI2',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBI2P','01',20,'PROGRESSIVO AVERE FINALE P 2',2,'AVEFI2',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGBICO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGBICO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGBICO','01',3,'GRUPPO CONTO SOTTOCONTO',3,'CODGCS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGBICO','01',4,'GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGBICO','01',5,'CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGBICO','01',6,'SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGBICO','01',7,'PROGRESSIVO DARE',2,'PRODAR',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LGBICO','01',8,'PROGRESSIVO AVERE',2,'PROAVE',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LGBICO','01',9,'PROGESSIVO DARE PERIODO 1',2,'PRODA1',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LGBICO','01',10,'PROGESSIVO AVERE PERIODO 1',2,'PROAV1',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LGBICO','01',11,'S = CONTO MASCHERATO',2,'FLGMAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGBICO','01',12,'LETTURA RICLASSIFICAZIONE',2,'CODRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('LGINAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGINAC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGINAC','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LGINAC','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGINAC','01',5,'DATA FATTURA',3,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGINAC','01',6,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LGINAC','01',7,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGINAC','01',8,'IMPOSTA',2,'IMPOST',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGINAC','01',9,'FLAG RIPRESA SI SALDO',2,'FLGRIP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGMS29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGMS29','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGMS29','01',3,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGMS29','01',4,'DESCRIZIONE SCELTA',2,'DESSCE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LGMS29','01',5,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('LGMTPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGMTPC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGMTPC','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGMTPC','01',4,'CODICE SCELTA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGMTPC','01',5,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGMTPC','01',6,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LGMTPC','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGMTPC','01',8,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LGMTPC','01',9,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('LGMTPC','01',10,'FLAG PASSAGGIO A FONDO /S',2,'FLGFON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGMTPC','01',11,'RAGIONE SOCIALE CLIENTE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LGNMN1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGNMN1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGNMN1','01',3,'CODICE MENU DA GENERARE',3,'CODMEN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGNMN1','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LGSATT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSATT','01',2,'FALG AFFIDATO N/S/Z',2,'FLGAFF',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGSATT','01',3,'CODICE ATTRIBUTO',2,'CODATT',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSATT','01',4,'CODICE SOGGETTO',2,'CODSOG',3,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSATT','01',5,'IMPORTO SALDO',2,'IMPSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGSATT','01',6,'CODICE CONTRATTO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBAN','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBAN','01',3,'DATA VALUTA',3,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSBAN','01',4,'NUMERO REGISTRAZIONE',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSBAN','01',5,'NUMERO RIGA REGISTRAZIONE',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSBAN','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGSBRE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRE','01',3,'CODICE REPARTO',3,'CODREP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSBRE','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',3,'CODPCO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRE','01',5,'GRUPPO RIGA',4,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRE','01',6,'CONTO RIGA',4,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRE','01',7,'SOTTOCONTO RIGA',4,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSBRE','01',8,'DATA REGISTRAZIONE',3,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSBRE','01',9,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRE','01',10,'ANNO REGISTRAZIONE',4,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRE','01',11,'MESE REGISTRAZIONE',4,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRE','01',12,'GIORNO REGISTRAZIONE',4,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRE','01',13,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSBRE','01',14,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRE','01',15,'ANNO DOCUMENTO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRE','01',16,'MESE DOCUMENTO',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRE','01',17,'GIORNO DOCUMENTO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRE','01',18,'NUMERO PROTOCOLLO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LGSBRE','01',19,'DATA BOLLA',3,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSBRE','01',20,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRE','01',21,'ANNO DOCUMENTO',4,'AAABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRE','01',22,'MESE DOCUMENTO',4,'MMMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRE','01',23,'GIORNO DOCUMENTO',4,'GGGBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRE','01',24,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSBRE','01',25,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSBRE','01',26,'IMPONIBILE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGSBRE','01',27,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LGSBRI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRI','01',3,'CODICE REFERENTE',3,'CODREF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSBRI','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',3,'CODPCO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRI','01',5,'GRUPPO RIGA',4,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRI','01',6,'CONTO RIGA',4,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRI','01',7,'SOTTOCONTO RIGA',4,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSBRI','01',8,'DATA REGISTRAZIONE',3,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSBRI','01',9,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRI','01',10,'ANNO REGISTRAZIONE',4,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRI','01',11,'MESE REGISTRAZIONE',4,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRI','01',12,'GIORNO REGISTRAZIONE',4,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRI','01',13,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSBRI','01',14,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRI','01',15,'ANNO DOCUMENTO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRI','01',16,'MESE DOCUMENTO',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRI','01',17,'GIORNO DOCUMENTO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRI','01',18,'NUMERO PROTOCOLLO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LGSBRI','01',19,'DATA BOLLA',3,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSBRI','01',20,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSBRI','01',21,'ANNO DOCUMENTO',4,'AAABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSBRI','01',22,'MESE DOCUMENTO',4,'MMMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRI','01',23,'GIORNO DOCUMENTO',4,'GGGBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSBRI','01',24,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSBRI','01',25,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSBRI','01',26,'IMPONIBILE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGSBRI','01',27,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('LGSC2P','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSC2P','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSC2P','01',3,'NATURA',3,'NATURA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGSC2P','01',4,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSC2P','01',5,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSC2P','01',6,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSCAD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCAD','01',2,'DATA SCADENZA',2,'DATSCA',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSCAD','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCAD','01',4,'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,'' )
,('LGSCAD','01',5,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCAD','01',6,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCAD','01',7,'RIMESSE DIRETTE SCADUTE',2,'RIMSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCAD','01',8,'RIMESSE DIRETTE IN SCADENZA',2,'RIMDIR',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCAD','01',9,'EFFETTI NON EMESSI',2,'NONEME',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCAD','01',10,'EFFETTI SCADUTI A RISCHIO',2,'EFFSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCAD','01',11,'EFFETTI IN SCADENZA',2,'EFFETT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCAD','01',12,'EFFETTI INSOLUTI',2,'INSOLU',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCAD','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LGSCCL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCCL','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCCL','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSCCL','01',4,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSCCL','01',5,'NUMERO PARTITA',2,'NNPART',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCCL','01',6,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSCCL','01',7,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LGSCCL','01',8,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LGSCCL','01',9,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSCCL','01',10,'IMPORTO SCADUTO',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGSCCL','01',11,'IMPORTO IN SCADENZA',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGSCCL','01',12,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LGSCCL','01',13,'AUTORIZZAZIONE (NEGRAR)',2,'TIPAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGSCCL','01',14,'NUMERO RECORD AREGC3',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSCCL','01',15,'PROGRESSIVO RECORD AREGC3',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSCCS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCCS','01',2,'CHIAVE',2,'KEY001',1,2,3,2,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCCS','01',3,'TIPO SCADENZA 1 2 3 4',3,'TIPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LGSCCS','01',4,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSCCS','01',5,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCCS','01',6,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSCCS','01',7,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCCS','01',8,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCCS','01',9,'RAGIONE SOCIALE PER SORT ALFABETICO',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LGSCCS','01',10,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSCCS','01',11,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSCCS','01',12,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCCS','01',13,'ANNO DOCUMENTO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSCCS','01',14,'MESE DOCUMENTO',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCCS','01',15,'GIORNO DOCUMENTO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCCS','01',16,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LGSCCS','01',17,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSCCS','01',18,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSCCS','01',19,'NUMERO PARTITA',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LGSCCS','01',20,'CODICE AGENTE',2,'AGENTE',0,1,2,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LGSCCS','01',21,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LGSCCS','01',22,'NUMERO REGISTRAZIONE',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSCCS','01',23,'RIMESSE DIRETTE SCADUTE',2,'RIMSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCCS','01',24,'RIMESSE DIRETTE IN SCADENZA',2,'RIMDIR',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCCS','01',25,'EFFETTI NON EMESSI',2,'NONEME',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCCS','01',26,'EFFETTI SCADUTI A RISCHIO',2,'EFFSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCCS','01',27,'EFFETTI IN SCADENZA',2,'EFFETT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCCS','01',28,'EFFETTI INSOLUTI',2,'INSOLU',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCCS','01',29,'FLAG EFFETTO S/N',2,'FLGEFF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGSCCS','01',30,'IMPORTO RIGA',2,'IMPRIE',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LGSCCS','01',31,'CAPO AREA',2,'CODCAP',0,0,1,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LGSCCS','01',32,'CODICE REGIONE',2,'CODREG',0,0,0,1,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSCCS','01',33,'CODICE CAUSALE DOCUMENTO',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSCFS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCFS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCFS','01',3,'RIM. DIRETTA/EFFETTO 0/1',3,'RDIEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LGSCFS','01',4,'BANCA INT. PREV. FORNIT. (SOLO EFFETTI)',3,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSCFS','01',5,'TIPO SCADENZA 1 2 3 4',3,'TIPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LGSCFS','01',6,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSCFS','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCFS','01',8,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSCFS','01',9,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCFS','01',10,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCFS','01',11,'CODICE FORNITORE',3,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSCFS','01',12,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSCFS','01',13,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSCFS','01',14,'ANNO DOCUMENTO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSCFS','01',15,'MESE DOCUMENTO',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCFS','01',16,'GIORNO DOCUMENTO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSCFS','01',17,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LGSCFS','01',18,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSCFS','01',19,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSCFS','01',20,'NUMERO PARTITA',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LGSCFS','01',21,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSCFS','01',22,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LGSCFS','01',23,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LGSCFS','01',24,'RIMESSE DIRETTE IN SCADENZA',2,'RIMDIR',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCFS','01',25,'EFFETTI IN SCADENZA',2,'EFFETT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('LGSCFS','01',26,'NUMERO REGISTRAZIONE',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSCFS','01',27,'NUMERO SCADENZA',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSCFS','01',28,'NUMERO RIGA SCADENZA',2,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSECS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSECS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSECS','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LGSECS','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSECS','01',5,'NUMERO PARTITA',3,'NNPART',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSECS','01',6,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSECS','01',7,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LGSECS','01',8,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSECS','01',9,'DATA REGISTRAZIONE',3,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSECS','01',10,'PROGRESSIVO ALL''INTERNO DELLA PARTITA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSECS','01',11,'CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSECS','01',12,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LGSECS','01',13,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSECS','01',14,'IMPORTO GENERA',2,'IMPGEN',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGSECS','01',15,'IMPORTO SALDA',2,'IMPSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGSISM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSISM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSISM','01',3,'CODICE 1 (AGE/ATT/CAN)',3,'COD001',0,1,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSISM','01',4,'CODICE 2 (AGE/ATT/CAN)',3,'COD002',0,2,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSISM','01',5,'CODICE CLIENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSISM','01',6,'RAGIONE SOCIALE/DESCRIZIONE',2,'RAGSOC',0,3,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('LGSISM','01',7,'NUMERO GIORNI SCADUTO',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('LGSISM','01',8,'NUMERO SCADENZE',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LGSISM','01',9,'COMPLEMENTO SCADUTO MEDIO',2,'GIOCOM',0,0,3,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LGSISM','01',10,'SCADUTO MEDIO',2,'GIOMED',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LGSISM','01',11,'SCADENZE PAGATE DOPO',2,'SCASUC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LGSISM','01',12,'NUMERO CLIENTI SERVITI',2,'NUMCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSISM','01',13,'SCADENZE PAGATE ENTRO 30 GIORNI',2,'ENT30G',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSISM','01',14,'SCADENZE PAGATE ENTRO 60 GIORNI',2,'ENT60G',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSISM','01',15,'SCADENZE PAGATE ENTRO 90 GIORNI',2,'ENT90G',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSISM','01',16,'SCADENZE PAGATE OLTRE 90 GIORNI',2,'OLT90G',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSMNA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSMNA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSMNA','01',3,'NAZIONE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSMNA','01',4,'CODICE CLIENTE/FORNITORE',3,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSMNA','01',5,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('LGSMNA','01',6,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('LGSMNA','01',7,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('LGSMNA','01',8,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LGSMNA','01',9,'IMPORTO IVA',2,'TOTIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LGSOL5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL5','01',2,'CHIAVE 1',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL5','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LGSOL5','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSOL5','01',5,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOL5','01',6,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LGSOL5','01',7,'NUMERO SCADENZA',3,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSOL5','01',8,'PROGRESSIVO SCADENZA',3,'PROSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSOL5','01',9,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LGSOL5','01',10,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOL5','01',11,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL5','01',12,'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,'' )
,('LGSOL5','01',13,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL5','01',14,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL5','01',15,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOL5','01',16,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL5','01',17,'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,'' )
,('LGSOL5','01',18,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL5','01',19,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL5','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('LGSOL5','01',21,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LGSOL5','01',22,'DATA REGISTRAZIONE INSOLUTO',2,'DATINS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOL5','01',23,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL5','01',24,'ANNO REGISTRAZIONE INSOLUTO',3,'AAAINS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOL5','01',25,'MESE REGISTRAZIONE INSOLUTO',3,'MMMINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL5','01',26,'GIORNO REGISTRAZIONE INSOLUTO',3,'GGGINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL5','01',27,'IMPORTO INSOLUTO',2,'IMPINS',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('LGSOL5','01',28,'SPESE INSOLUTO',2,'SPEINS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,2,'9(6)','9(4)V99',0,'',0,0,'' )
,('LGSOL5','01',29,'SIGLA DI STAMPA EVENTUALE VALUTA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('LGSOL5','01',30,'NUMERO DECIMALI IMPORTO',2,'NUMDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LGSOL5','01',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LGSOL7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL7','01',2,'CODICE SCADENZA',2,'CODSCA',2,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL7','01',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSOL7','01',4,'CODICE PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL7','01',5,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOL7','01',6,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LGSOL7','01',7,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOL7','01',8,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL7','01',9,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOL7','01',10,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL7','01',11,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL7','01',12,'NUMERO SCADENZA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSOL7','01',13,'NUMERO RIGA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSOL7','01',14,'INDICE PER RECORD UNIVOCO',3,'INDICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOL7','01',15,'DATA ASSEGNO',2,'DATASS',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOL7','01',16,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL7','01',17,'ANNO ASSEGNO',3,'AAAASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOL7','01',18,'MESE ASSEGNO',3,'MMMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL7','01',19,'GIORNO ASSEGNO',3,'GGGASS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL7','01',20,'DATA REGISTRAZIONE',2,'DATREG',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOL7','01',21,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOL7','01',22,'ANNO REGISTRAZIONE',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOL7','01',23,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL7','01',24,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOL7','01',25,'NUMERO ASSEGNO',2,'NUMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSOL7','01',26,'IMPORTO ASSEGNO',2,'IMPASS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LGSOLE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLE','01',2,'CHIAVE PRIMA PARTE',2,'KEY00A',1,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLE','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LGSOLE','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSOLE','01',5,'TIPO SCADENZA 1=RIMDIR 2=EFFETTO',3,'TIPSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGSOLE','01',6,'NUMERO TESTO',2,'NUMTES',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLE','01',7,'CHIAVE SECONDA PARTE',2,'KEY00B',2,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLE','01',8,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOLE','01',9,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LGSOLE','01',10,'NUMERO SCADENZA',3,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSOLE','01',11,'PROGRESSIVO SCADENZA',3,'PROSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSOLE','01',12,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LGSOLE','01',13,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOLE','01',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLE','01',15,'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,'' )
,('LGSOLE','01',16,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLE','01',17,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLE','01',18,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOLE','01',19,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLE','01',20,'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,'' )
,('LGSOLE','01',21,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLE','01',22,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLE','01',23,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('LGSOLE','01',24,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LGSOLE','01',25,'DATA REGISTRAZIONE INSOLUTO',2,'DATINS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOLE','01',26,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLE','01',27,'ANNO REGISTRAZIONE INSOLUTO',3,'AAAINS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOLE','01',28,'MESE REGISTRAZIONE INSOLUTO',3,'MMMINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLE','01',29,'GIORNO REGISTRAZIONE INSOLUTO',3,'GGGINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLE','01',30,'IMPORTO INSOLUTO',2,'IMPINS',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('LGSOLE','01',31,'SPESE INSOLUTO',2,'SPEINS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,2,'9(6)','9(4)V99',0,'',0,0,'' )
,('LGSOLE','01',32,'SIGLA DI STAMPA EVENTUALE VALUTA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LGSOLE','01',33,'NUMERO DECIMALI IMPORTO',2,'NUMDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LGSOLE','01',35,'ELEMENTO NOTA',2,'ELENOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('LGSOLE','01',36,'NUMERO NOTA DI ACCREDITO',3,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LGSOLE','01',37,'DATA NOTA DI ACCREDITO',3,'DATNOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOLE','01',38,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLE','01',39,'ANNO NOTA',4,'AAANOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOLE','01',40,'MESE NOTA',4,'MMMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLE','01',41,'GIORNO NOTA',4,'GGGNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLE','01',42,'IMPORTO NOTA',3,'IMPNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LGSOLE','01',43,'TOTALE NOTE',2,'TOTNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LGSOLE','01',44,'IMPORTO FATTURA',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('LGSOLE','01',45,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',10,'',0,0,'' )
,('LGSOLG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLG','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('LGSOLG','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LGSOLG','01',5,'DATA SOLLECITO',3,'DATSOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOLG','01',6,'TIPO SOLLECITO',3,'TIPSOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LGSOLG','01',7,'NUMERO TESTO',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLG','01',8,'NUMERO SCADENZA',3,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('LGSOLG','01',9,'PROGRESSIVO SCADENZA',3,'PROSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LGSOLG','01',10,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('LGSOLG','01',11,'NUMERO PARTITA',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('LGSOLG','01',12,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('LGSOLG','01',13,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOLG','01',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLG','01',15,'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,'' )
,('LGSOLG','01',16,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLG','01',17,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLG','01',18,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LGSOLG','01',19,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LGSOLG','01',20,'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,'' )
,('LGSOLG','01',21,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLG','01',22,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LGSOLG','01',23,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',0,'',0,0,'' )
,('LGSOLG','01',24,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('LGSOLG','01',25,'IMPORTO INSOLUTO',2,'IMPINS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('LGSOLG','01',26,'SPESE INSOLUTO',2,'SPEINS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('LGSOLG','01',27,'SIGLA DI STAMPA EVENTUALE VALUTA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('LGSOLG','01',29,'ELEMENTO NOTA DI ACCREDITO',2,'ELENOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
go
