INSERT INTO dbo.ZFILE3_01 VALUES
('ADOCO2','01',17,'PROVINCIA TRASPORTATORE',2,'TRAPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADOCO2','01',18,'MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCO2','01',19,'LUOGO PARTENZA',2,'LUOPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ADOCO2','01',20,'DATA PARTENZA',2,'DTAPAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ADOCO2','01',21,'ORA PARTENZA',2,'ORAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADOCO2','01',22,'REDEFINES',2,'HHMMSS',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCO2','01',23,'ORA PARTENZA',3,'HH-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCO2','01',24,'MIN PARTENZA',3,'MM-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCO2','01',25,'SEC PARTENZA',3,'SS-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCO2','01',26,'TARGA TRATTORE',2,'TARGAT',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ADOCOV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCOV','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCOV','01',3,'NUMERO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCOV','01',4,'PREFISSO',4,'PREFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADOCOV','01',5,'PROGRESSIVO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADOCOV','01',6,'POST FISSO',4,'POSFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ADOCOV','01',7,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCOV','01',8,'NUMERO CONFERIMENTO',4,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADOCOV','01',9,'MODALITA'' DI TRASPORTO (Dest/Mitt/Vett)',2,'FLGTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADOCOV','01',13,'RAGIONE SOCIALE TRASPORTATORE',2,'TRADES',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADOCOV','01',14,'INDIRIZZO TRASPORTATORE',2,'TRAIND',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ADOCOV','01',15,'CAP TRASPORTATORE',2,'TRACAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADOCOV','01',16,'LOCALITA'' TRASPORTATORE',2,'TRALOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ADOCOV','01',17,'PROVINCIA TRASPORTATORE',2,'TRAPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADOCOV','01',18,'MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCOV','01',19,'LUOGO PARTENZA',2,'LUOPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ADOCOV','01',20,'DATA PARTENZA',2,'DTAPAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ADOCOV','01',21,'ORA PARTENZA',2,'ORAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADOCOV','01',22,'REDEFINES',2,'HHMMSS',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCOV','01',23,'ORA PARTENZA',3,'HH-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCOV','01',24,'MIN PARTENZA',3,'MM-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCOV','01',25,'SEC PARTENZA',3,'SS-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCOV','01',26,'TARGA TRATTORE',2,'TARGAT',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ADOCSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCSO','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,'' )
,('ADOCSO','01',3,'CODICE LANCIO (0 = ANTICIPI...)',3,'CODICE',0,1,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADOCSO','01',4,'CODICE SOCIO',3,'CODSOC',0,3,2,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADOCSO','01',5,'ANNO DOCUMENTO',3,'ANNIVA',0,4,3,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADOCSO','01',6,'TIPO DOCUMENTO FATTURA/AUTOFATTURA',3,'TIPDOC',0,0,0,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADOCSO','01',7,'NUMERO DOCUMENTO',3,'NUMDOC',0,5,4,4,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADOCSO','01',8,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ADOCSO','01',9,'REDEFINES',3,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCSO','01',10,'ANNO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADOCSO','01',11,'MESE',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCSO','01',12,'GIORNO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCSO','01',13,'ANNO VENDEMMIA',2,'ANNVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADOCSO','01',14,'HUBID AGYO ATTIVO',2,'IDAGYO',0,2,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('ADOCSO','01',15,'STATO INVIO FATTURAZIONE ELETTRONICA',2,'STAB2B',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCSO','01',16,'TIME STAMP AGYO',2,'TSTB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ADOCSO','01',17,'MESSAGGIO B2B',2,'MESB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ADOCSO','01',18,'CODICE PAGAMENTO (MP02 O MP05)',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ADOCSO','01',19,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADOCSO','01',20,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ADOCSO','01',21,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ADOCSO','01',22,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ADOCSO','01',23,'TIPO DOCUMENTO (TD01....)',2,'TDSPES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ADOCSO','01',24,'REGISTRO IVA',2,'REGIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADOCSO','01',25,'DATA CREAZIONE XML',2,'DATXML',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ADOCSO','01',26,'REDEFINES',2,'AMGXML',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCSO','01',27,'ANNO',3,'AAAXML',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADOCSO','01',28,'MESE',3,'MMMXML',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCSO','01',29,'GIORNO',3,'GGGXML',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCVI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOCVI','01',2,'CODICE ALBO',2,'CODALB',1,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ADOCVI','01',4,'NUMERO VITI >= A',2,'1NVMUA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ADOCVI','01',5,'ANNO IMPIANTO >= A',2,'1AIMUA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADOCVI','01',7,'ANNO IMPIANTO >= A',2,'2AIMUA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADOCVI','01',8,'CODICE VITIGNO DIVERSO DA',2,'2VITDA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',5,'',0,0,'' )
,('ADOCVI','01',9,'ATTRIBUTO NR',2,'2ATTNR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOCVI','01',10,'= A CODICE',2,'2ATTCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADOCVI','01',12,'CODICE VITIGNO',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',60,'',0,0,'' )
,('ADOCVI','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,122,122,0,0,'X(122)','',0,'',0,0,'' )
,('ADOE01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOE01','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,'' )
,('ADOE01','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADOE01','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADOE01','01',5,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADOE01','01',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ADOE01','01',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADOE01','01',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ADOE01','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADOE01','01',10,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADOE01','01',11,'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,'' )
,('ADOE01','01',12,'IMPORTO SANZIONE',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ADOE01','01',13,'D.O. TRATTENUTA',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ADOE01','01',14,'D.O. RIMBORSATA',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ADOE01','01',15,'QUINTALI CONFERITI 1994',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ADOE01','01',16,'CONTRIBUTO ARRICCHIMENTI',2,'CONARR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ADOE01','01',17,'TOTALE DA RIMBORSARE',2,'TOTDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ADOE01','01',18,'TOTALE RIMBORSATO',2,'TOTRIM',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ADOE01','01',19,'CONTABILIZZATO /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADOE01','01',20,'NUMERO ASSEGNO',2,'NUMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('ADOE01','01',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ADOL01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOL01','01',2,'CODICE SOCIO',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADOL01','01',3,'IMPORTO DA DITTA IN LIRE',2,'IMPDOB',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,2,0,'9(13)V99','',0,'',0,0,'' )
,('ADOTCS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOTCS','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,'' )
,('ADOTCS','01',3,'NUMERO CONTENITORE (1-8)',3,'NUMCON',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADOTCS','01',4,'CODICE STABILIMENTO',3,'CODSTB',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ADOTCS','01',5,'DOTAZIONE',2,'DOTAZC',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ADOTCS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,88,88,0,0,'X(88)','',0,'',0,0,'' )
,('ADOWDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWDI','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWDI','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ADOWDI','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADOWDI','01',5,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ADOWDI','01',6,'TIPO VINO',2,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ADOWEB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWEB','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWEB','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ADOWEB','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADOWEB','01',5,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ADOWME','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWME','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWME','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADOWME','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADOWME','01',5,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ADOWSZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWSZ','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWSZ','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ADOWSZ','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADOWSZ','01',5,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ADOWSZ','01',6,'DESCRIZIONE VINO',2,'DESVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ADOWSZ','01',7,'TIPO ZONA',2,'TIPZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ADOWVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWVA','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWVA','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADOWVA','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADOWVA','01',5,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ADOWZV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWZV','01',2,'CHIAVE ABBINAMENTO PRODOTTI',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADOWZV','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADOWZV','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADOWZV','01',5,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ADPL23','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADPL23','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADPL23','01',3,'IMPORTO DIFFERENZA',2,'DIFPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,2,'S9(9)','S9(7)V99',0,'',0,0,'' )
,('ADRCL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADRCL1','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,'' )
,('ADRCL1','01',3,'NUMERO REGISTRAZIONE',3,'NUMREG',0,3,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADRCL1','01',4,'NUMERO RIGA REGISTRAZIONE',3,'NUMRIG',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADRCL1','01',5,'CODICE',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADRCL1','01',6,'CODICE SECONDO LIVELLO',3,'COD002',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADRCL1','01',7,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ADRCL1','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,150,150,0,0,'X(150)','',0,'',0,0,'' )
,('ADRCL2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADRCL2','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,'' )
,('ADRCL2','01',3,'NUMERO REGISTRAZIONE',3,'NUMREG',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADRCL2','01',4,'NUMERO RIGA REGISTRAZIONE',3,'NUMRIG',0,5,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADRCL2','01',5,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADRCL2','01',6,'CODICE SECONDO LIVELLO',3,'COD002',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADRCL2','01',7,'CODICE TERZO LIVELLO',3,'COD003',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADRCL2','01',8,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ADRCL2','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,150,150,0,0,'X(150)','',0,'',0,0,'' )
,('ADSL58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADSL58','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,'' )
,('ADSL58','01',3,'CODICE SOCIO',3,'CODSOC',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADSL58','01',4,'CODICE DETRAZIONE',3,'CODDET',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADSL58','01',5,'IMPORTO DETRAZIONE',2,'IMPDET',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('ADSL58','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ADT000','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADT000','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADT000','01',3,'PROGRESSIVO',2,'NUMPRO',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADT000','01',4,'DATA DOCUMENTO DA DETRARRE',2,'DATDOC',3,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ADT000','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADT000','01',6,'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,'' )
,('ADT000','01',7,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADT000','01',8,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADT000','01',9,'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,'' )
,('ADT000','01',10,'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,'' )
,('ADT000','01',11,'IMPORTO DA DETRARRE',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('ADT000','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADT010','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADT010','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,'' )
,('ADT010','01',3,'CODICE IMBALLAGGIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADT010','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ADT010','01',5,'NUMARABILE (S/N)',2,'FLGNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADT010','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,247,247,0,0,'X(247)','',0,'',0,0,'' )
,('ADT17P','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADT17P','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,'' )
,('ADT17P','01',3,'CODICE CLIENTE (ZERO PER DEFAULT)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADT17P','01',4,'PROGRESIVO NOTA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADT17P','01',5,'TESTO DESCRIZIONE AGGIUNTIVE',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ADT17P','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,160,160,0,0,'X(160)','',0,'',0,0,'' )
,('ADTCHD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTCHD','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,'' )
,('ADTCHD','01',3,'NUMERO INTERNO CAMBIO DESTINAZIONE',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTCHD','01',4,'CODICE REGISTRO ACCISE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADTCHD','01',5,'DATA TRASMISSIONE FILE',2,'DTATRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTCHD','01',6,'NUMERO ARC',2,'NUMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ADTCHD','01',7,'DURATA DEL TRASPORTO',2,'GG-TRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADTCHD','01',8,'RESPONSABILE TRASPORTO - T016 AG.DOGANE',2,'CDT016',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTCHD','01',9,'NUMERO FATTURA',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ADTCHD','01',10,'DATA FATTURA',2,'DTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTCHD','01',11,'MODALITA'' DI TRASPORTO - T008 AG.DOGANE',2,'CDT008',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTCHD','01',12,'TIPO DESTINAZIONE',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTCHD','01',13,'DESTINATARIO - CODICE ACCISA',2,'DESACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ADTCHD','01',14,'DESTINATARIO - RAGIONE SOCIALE',2,'DESRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ADTCHD','01',15,'DESTINATARIO - INDIRIZZO',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ADTCHD','01',16,'DESTINATARIO - CAP',2,'DESCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADTCHD','01',17,'DESTINATARIO - LOCALITA''',2,'DESLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTCHD','01',18,'DESTINATARIO - UFFICIO DESTINAZIONE',2,'UFFDES',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ADTCHD','01',19,'LUOGO DI CONSEGNA - ACCISA',2,'LUOACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ADTCHD','01',20,'LUOGO DI CONSEGNA - RAGIONE SOCIALE',2,'LUORAG',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ADTCHD','01',21,'LUOGO DI CONSEGNA - INDIRIZZO',2,'LUOIND',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTCHD','01',22,'LUOGO DI CONSEGNA - CAP',2,'LUOCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADTCHD','01',23,'LUOGO DI CONSEGNA - LOCALITA''',2,'LUOLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTCHD','01',24,'VETTORE - PARTITA IVA',2,'VETPIV',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTCHD','01',25,'VETTORE - RAGIONE SOCIALE',2,'VETRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTCHD','01',26,'VETTORE - INDIRIZZO',2,'VETIND',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTCHD','01',27,'VETTORE - CAP',2,'VETCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADTCHD','01',28,'VETTORE - LOCALITA''',2,'VETLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTCHD','01',29,'NOME FILE CREATO',2,'NOMFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ADTCHD','01',30,'DESTINATARIO - CODICE ISO',2,'DESISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTCHD','01',31,'CODICE EORI',2,'CDEORI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ADTCHD','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,380,380,0,0,'X(380)','',0,'',0,0,'' )
,('ADTCHU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTCHU','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,'' )
,('ADTCHU','01',3,'NUMERO INTERNO CAMBIO DESTINAZIONE',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTCHU','01',4,'NUMERO PROGRESSIVO DETTAGLI TRASPORTO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTCHU','01',5,'UNITA'' DI TRASPORTO - T009 AG.DOGANE',2,'CDT009',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTCHU','01',6,'IDENTIFICATIVO UNITA'' TRASPORTO',2,'ID-UDT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ADTCHU','01',7,'IDENTIFICATIVO COMMERCIALE DEI SIGILLI',2,'ID-SIG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ADTCHU','01',8,'INFORMAZIONI AGGIUNTIVE',2,'ID-AGG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ADTCHU','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,391,391,0,0,'X(391)','',0,'',0,0,'' )
,('ADTDEL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTDEL','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,'' )
,('ADTDEL','01',3,'NUMERO INTERNO ANNULLAMENTO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTDEL','01',4,'CODICE REGISTRO ACCISE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADTDEL','01',5,'DATA TRASMISSIONE FILE',2,'DTATRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTDEL','01',6,'NUMERO ARC',2,'NUMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ADTDEL','01',7,'MOTIVO CANCELLAZIONE',2,'CDT011',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTDEL','01',8,'NOME IFLE CREATO',2,'NOMFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ADTDEL','01',9,'INFORMAZIONI AGGIUNTIVE',2,'INFAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ADTDEL','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,338,338,0,0,'X(338)','',0,'',0,0,'' )
,('ADTHR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHR1','01',2,'CODICE PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHR1','01',3,'ZONA DOC ISCRIZIONE',2,'ZONAIS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ADTHR1','01',4,'ALBO DOC ISCRIZIONE',2,'ALBOIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADTHR1','01',5,'CODICE FISCALE CONDUTTORE',2,'CFISCO',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHR1','01',6,'ANNO VENDEMMIA',2,'ANNOVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADTHR1','01',7,'DATA COMPILAZIONE DENUNCIA',2,'DTADEN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ADTHR1','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHR1','01',9,'GIORNO',3,'GGGDEN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADTHR1','01',10,'MESE',3,'MMMDEN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADTHR1','01',11,'ANNO',3,'AAADEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADTHR1','01',12,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,66,66,0,0,'X(66)','',0,'',0,0,'' )
,('ADTHR1','01',13,'SUPERFICIE AGEA IN MQ',2,'SUAGEA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ADTHR1','01',14,'NUMERO VIGNETO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ADTHR1','01',15,'CARATTERE DI FINE RECORD PER UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHR2','01',2,'CODICE PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHR2','01',3,'ZONA DOC ISCRIZIONE',2,'ZONAIS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ADTHR2','01',4,'ALBO DOC ISCRIZIONE',2,'ALBOIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADTHR2','01',5,'CODICE FISCALE CONDUTTORE',2,'CFISCO',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHR2','01',6,'ANNO VENDEMMIA',2,'ANNOVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADTHR2','01',7,'PROGRESSIVO',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADTHR2','01',8,'PROVINCIA SCELTA VENDEMMIALE',2,'PROVSV',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHR2','01',9,'ZONA DOC SCELTA VENDEMMIALE',2,'ZONASV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ADTHR2','01',10,'ALBO DOC SCELTA VENDEMMIALE',2,'ALBOSV',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADTHR2','01',11,'NUMERO VIGNETO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ADTHR2','01',12,'CARATTERE DI FINE RECORD PER UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHR3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHR3','01',2,'CODICE PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHR3','01',3,'ZONA ISCRIZIONE',2,'ZONAIS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ADTHR3','01',4,'ALBO ISCRIZIONE',2,'ALBOIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADTHR3','01',5,'CODICE FISCALE CONDUTTORE',2,'CFISCO',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHR3','01',6,'ANNO VENDEMMIA',2,'ANNOVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADTHR3','01',7,'PROGRESSIVO SCELTA VENDEMMIALE',2,'PROSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADTHR3','01',8,'PROGRESSIVO DESTINAZIONE UVE',2,'PRODES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADTHR3','01',9,'TIPO DESTINAZIONE',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHR3','01',13,'RAGIONE SOCIALE DESTINATARIO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,66,66,0,0,'X(66)','',0,'',0,0,'' )
,('ADTHR3','01',14,'CODICE FISCALE DESTINATARIO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHR3','01',15,'PROVINCIA SCELTA VENDEMMIALE',2,'PROVSV',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHR3','01',16,'ZONA SCELTA VENDEMMIALE',2,'ZONASV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('ADTHR3','01',17,'ALBO SCELTA VENDEMMIALE',2,'ALBOSV',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADTHR3','01',18,'TIPO VINIFICAZIONE',2,'TVINIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHR3','01',19,'KG UVA DESTINATA',2,'QTADES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTHR3','01',20,'VIGNETO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ADTHR3','01',21,'CARATTERE DI FINE RECORD PER UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRA','01',3,'DATI CONDUTTORE',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRA','01',4,'PROVINCIA ISCRIZIONE VIGNETO',4,'PROISC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRA','01',5,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRA','01',6,'CODICE FISCALE',4,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHRA','01',7,'CODICE SOCIO',4,'CODSOC',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADTHRA','01',8,'DATI UNITA VITATA',3,'DATIUV',0,5,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRA','01',9,'PROVINCIA CATASTALE',4,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRA','01',10,'CODICE ISTAT DEL COMUNE',4,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADTHRA','01',11,'SEZIONE',4,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ADTHRA','01',12,'FOGLIO',4,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTHRA','01',13,'PARTICELLA',4,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ADTHRA','01',14,'SUB',4,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('ADTHRA','01',15,'NUMERO UNITA'' VITATA',4,'UVSITI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ADTHRA','01',16,'DATI RIVENDICAZIONE (SCELTA VENDEMMIALE)',3,'DATISV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRA','01',17,'CODICI DENOMINAZIONE UVA',4,'CODICI',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRA','01',18,'CODICE ZONA',5,'CODZON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRA','01',19,'CODICE ALBO',5,'CODALB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ADTHRA','01',20,'CODICE VINIFICAZIONE',5,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRA','01',21,'DATI DESTINAZIONE',4,'DESTIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRA','01',22,'TIPO DESTINAZIONE (C/V/N)',5,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRA','01',23,'PROVINCIA destinazione',5,'PRVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRA','01',24,'PARTITA IVA DESTINATARIO',5,'PIVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHRA','01',25,'CODICE CANTINA DESTINATARIO',5,'CODCAN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRA','01',26,'FLAG SUPERO (0/1)',4,'FLGSUP',0,4,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRA','01',27,'QUANTITA'' RIVENDICATA',2,'QTARIV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('ADTHRA','01',28,'NUMERO PROGRESSIVO UNIVOCO',2,'NUMPRO',0,0,1,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTHRA','01',32,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('ADTHRA','01',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,77,77,0,0,'X(77)','',0,'',0,0,'' )
,('ADTHRB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRB','01',2,'DATI CONDUTTORE',2,'DATCON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRB','01',3,'PROVINCIA ISCRIZIONE',3,'PROISC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRB','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRB','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,'' )
,('ADTHRB','01',6,'DATI UNITA VITATA',2,'DATIUV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRB','01',7,'PROVINCIA CATASTALE',3,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRB','01',8,'CODICE ISTAT DEL COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRB','01',9,'SEZIONE',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ADTHRB','01',10,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ADTHRB','01',11,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ADTHRB','01',12,'SUB',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('ADTHRB','01',13,'NUMERO UNITA'' VITATA AVEPA',3,'UVSITI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ADTHRB','01',14,'DATI RIVENDICAZIONE (SCELTA VENDEMMIALE)',2,'DATISV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRB','01',15,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRB','01',16,'CODICE ALBO',3,'CODALB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRB','01',17,'CODICE VINIFICAZIONE',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRB','01',18,'QUANTITA UVA RIVENDICATA',3,'QTARIV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('ADTHRB','01',19,'TIPO DESTINAZIONE (C/V/N)',3,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRB','01',20,'PROVINCIA destinazione',3,'PRVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRB','01',21,'PARTITA IVA DESTINATARIO',3,'PIVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHRB','01',22,'FLAG SUPERO (0/1)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRB','01',23,'CARATTERE FINE RECORD PER WINZOZ',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRC','01',3,'DATI CONDUTTORE',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRC','01',4,'PROVINCIA CCIAA',4,'PCCIAA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRC','01',5,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRC','01',6,'CODICE FISCALE',4,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHRC','01',7,'CODICE SOCIO',4,'CODSOC',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADTHRC','01',8,'DATI UNITA VITATA',3,'DATIUV',0,5,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRC','01',9,'PROVINCIA CATASTALE',4,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRC','01',10,'CODICE ISTAT DEL COMUNE',4,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADTHRC','01',11,'SEZIONE',4,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ADTHRC','01',12,'FOGLIO',4,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTHRC','01',13,'PARTICELLA',4,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ADTHRC','01',14,'SUB',4,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('ADTHRC','01',15,'ANNO IMPIANTO',4,'ANNOIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRC','01',16,'CODICE VITIGNO',4,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRC','01',17,'SUPERFICIE VITATA',4,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('ADTHRC','01',18,'NUMERO RIGA CATASTO AV2000',4,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRC','01',19,'DATI RIVENDICAZIONE (SCELTA VENDEMMIALE)',3,'DATISV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRC','01',20,'CODICI DENOMINAZIONE UVA',4,'CODICI',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRC','01',21,'CODICE ZONA',5,'CODZON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRC','01',22,'CODICE ALBO',5,'CODALB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRC','01',23,'CODICE VINIFICAZIONE',5,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRC','01',24,'DATI DESTINAZIONE',4,'DESTIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRC','01',25,'TIPO DESTINAZIONE (C/V/N)',5,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRC','01',26,'PROVINCIA destinazione',5,'PRVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRC','01',27,'PARTITA IVA DESTINATARIO',5,'PIVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHRC','01',28,'CODICE CANTINA DESTINATARIO',5,'CODCAN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRC','01',29,'FLAG SUPERO (0/1)',4,'FLGSUP',0,4,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRC','01',30,'QUANTITA'' RIVENDICATA',2,'QTARIV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('ADTHRC','01',31,'NUMERO PROGRESSIVO UNIVOCO',2,'NUMPRO',0,0,1,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTHRC','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,71,71,0,0,'X(71)','',0,'',0,0,'' )
,('ADTHRF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRF','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRF','01',3,'DATI CONDUTTORE',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRF','01',4,'PROVINCIA ISCRIZIONE VIGNETO',4,'PROISC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRF','01',5,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRF','01',6,'CODICE FISCALE',4,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHRF','01',7,'CODICE SOCIO',4,'CODSOC',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADTHRF','01',8,'DATI UNITA VITATA',3,'DATIUV',0,5,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRF','01',9,'ID VIGNETO',4,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ADTHRF','01',10,'DATI RIVENDICAZIONE (SCELTA VENDEMMIALE)',3,'DATISV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRF','01',11,'CODICI DENOMINAZIONE UVA',4,'CODICI',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRF','01',12,'CODICE ZONA',5,'CODZON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRF','01',13,'CODICE ALBO',5,'CODALB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRF','01',14,'CODICE VINIFICAZIONE',5,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRF','01',15,'DATI DESTINAZIONE',4,'DESTIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRF','01',16,'TIPO DESTINAZIONE (C/V/N)',5,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRF','01',17,'PROVINCIA destinazione',5,'PRVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRF','01',18,'PARTITA IVA DESTINATARIO',5,'PIVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHRF','01',19,'CODICE CANTINA DESTINATARIO',5,'CODCAN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRF','01',20,'FLAG SUPERO (0/1)',4,'FLGSUP',0,4,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRF','01',21,'QUANTITA'' RIVENDICATA',2,'QTARIV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('ADTHRF','01',22,'NUMERO PROGRESSIVO UNIVOCO',2,'NUMPRO',0,0,1,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTHRF','01',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,73,73,0,0,'X(73)','',0,'',0,0,'' )
,('ADTHRV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRV','01',2,'DATI CONDUTTORE',2,'DATCON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRV','01',3,'PROVINCIA CCIAA',3,'PCCIAA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRV','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRV','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,'' )
,('ADTHRV','01',6,'DATI UNITA VITATA',2,'DATIUV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRV','01',7,'PROVINCIA CATASTALE',3,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRV','01',8,'CODICE ISTAT DEL COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRV','01',9,'SEZIONE',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ADTHRV','01',10,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTHRV','01',11,'PARTICELLA',3,'PARTIC',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
('ADTHRV','01',12,'SUB',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('ADTHRV','01',13,'ANNO IMPIANTO',3,'ANNOIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRV','01',14,'CODICE VITIGNO',3,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRV','01',15,'SUPERFICIE VITATA',3,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,4,0,'9(6)V9(4)','',0,'',0,0,'' )
,('ADTHRV','01',16,'DATI RIVENDICAZIONE (SCELTA VENDEMMIALE)',2,'DATISV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTHRV','01',17,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTHRV','01',18,'CODICE ALBO',3,'CODALB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTHRV','01',19,'CODICE VINIFICAZIONE',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRV','01',20,'QUANTITA UVA RIVENDICATA',3,'QTARIV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('ADTHRV','01',21,'TIPO DESTINAZIONE (C/V/N)',3,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRV','01',22,'PROVINCIA destinazione',3,'PRVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTHRV','01',23,'PARTITA IVA DESTINATARIO',3,'PIVDES',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTHRV','01',24,'FLAG SUPERO (0/1)',3,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTHRV','01',25,'CARATTERE FINE RECORD PER WINZOZ',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTNRM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTNRM','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,'' )
,('ADTNRM','01',3,'NUMERO INTERNO NOTA RICEVIMENTO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTNRM','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTNRM','01',5,'NUMERO MOTIVO INSODDISFAZIONE',3,'NUMMOI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTNRM','01',6,'CODICE MOTIVO INSODDISFAZIONE',2,'MOTINS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTNRM','01',7,'DESCRIZIONE MOTIVO INSODDISFAZIONE',2,'DESINS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTNRM','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,141,141,0,0,'X(141)','',0,'',0,0,'' )
,('ADTNRP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTNRP','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,'' )
,('ADTNRP','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTNRP','01',4,'ULTIMO NUMERO INTERNO NOTA RICEVIMENTO',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTNRP','01',5,'ULTIMO NUMERO ANNULLAMENTO DAA',2,'ULTDEL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTNRP','01',6,'ULTIMO NUMERO CAMBIO DESTINAZIONE',2,'ULTCHD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTNRP','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,119,119,0,0,'X(119)','',0,'',0,0,'' )
,('ADTNRR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTNRR','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,'' )
,('ADTNRR','01',3,'NUMERO INTERNO NOTA RICEVIMENTO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTNRR','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADTNRR','01',5,'PROGRESSIVO RIGA DAA',2,'PRODAA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ADTNRR','01',6,'FLAG CALO/ECCEDENZA (S/E)',2,'FLAGEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTNRR','01',7,'QTA CALO/ECCEDENZA',2,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V9(3)','',0,'',0,0,'' )
,('ADTNRR','01',8,'CODIEC CPA PRODOTTO CALO/ECCEDENZA',2,'CODCPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ADTNRR','01',9,'QTA RIFIUTATA',2,'QTARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V9(3)','',0,'',0,0,'' )
,('ADTNRR','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,154,154,0,0,'X(154)','',0,'',0,0,'' )
,('ADTNRT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTNRT','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,'' )
,('ADTNRT','01',3,'NUMERO INTERNO NOTA RICEVIMENTO',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTNRT','01',4,'CODICE REGISTRO ACCISE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADTNRT','01',5,'DATA TRASMISSIONE FILE',2,'DTATRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTNRT','01',6,'NUMERO ARC',2,'NUMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ADTNRT','01',7,'NUMERO PROGRESSIVO DAA',2,'NUMDAA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ADTNRT','01',8,'TIPO DESTINAZIONE',2,'TIPDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTNRT','01',9,'DESTINATARIO - CODICE ACCISA',2,'DESACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ADTNRT','01',10,'DESTINATARIO - RAGIONE SOCIALE',2,'DESRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ADTNRT','01',11,'DESTINATARIO - INDIRIZZO',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTNRT','01',12,'DESTINATARIO - CAP',2,'DESCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADTNRT','01',13,'DESTINATARIO - LOCALITA''',2,'DESLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTNRT','01',14,'LUOGO DI CONSEGNA - ACCISA',2,'LUOACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ADTNRT','01',15,'LUOGO DI CONSEGNA - RAGIONE SOCIALE',2,'LUORAG',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('ADTNRT','01',16,'LUOGO DI CONSEGNA - INDIRIZZO',2,'LUOIND',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTNRT','01',17,'LUOGO DI CONSEGNA - CAP',2,'LUOCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADTNRT','01',18,'LUOGO DI CONSEGNA - LOCALITA''',2,'LUOLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ADTNRT','01',19,'DATA ARRIVO PRODOTTI/RIGETTO',2,'DTAARR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTNRT','01',20,'ESITO GLOBALE DELLA RICEZIONE',2,'ESITOG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTNRT','01',21,'NOME FILE CREATO',2,'NOMFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ADTNRT','01',22,'NUMERO INTERNO BOLLA (RIENTRO DEP.)',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADTNRT','01',23,'ACCISA DELLO SPEDITORE',2,'SPEACC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADTNRT','01',24,'CODICE ISO SPEDITORE',2,'SPEISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADTNRT','01',25,'NUMERO RIFERIMENTO LOCALE',2,'RIFLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ADTNRT','01',26,'DATA DOCUMENTO',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ADTNRT','01',27,'CODICE EORI DESTINATARIO',2,'CDEORI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ADTNRT','01',28,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,482,482,0,0,'X(482)','',0,'',0,0,'' )
,('ADTRIO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADTRIO','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,'' )
,('ADTRIO','01',3,'CODICE CLIENTE (ZERO PER DEFAULT)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADTRIO','01',4,'TIPO GESTIONE RIFERIMENTO ORDINE',2,'GESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADTRIO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,152,152,0,0,'X(152)','',0,'',0,0,'' )
,('ADUA02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADUA02','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADUA02','01',3,'CODICE UVAGGIO',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADUA02','01',4,'SEGNO DIFFERENZA',3,'DIFFSE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADUA02','01',5,'DIFFERENZA GRADO',3,'DIFFGR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ADUA02','01',6,'DIFFERENZA PUNTI',2,'PUNDIF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ADUA02','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ADUL02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADUL02','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADUL02','01',3,'CODICE UVAGGIO',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ADUL02','01',4,'SEGNO DIFFERENZA',3,'DIFFSE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADUL02','01',5,'DIFFERENZA GRADO',3,'DIFFGR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ADUL02','01',6,'DIFFERENZA PUNTI',2,'PUNDIF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ADUL02','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ADUPAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADUPAR','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,'' )
,('ADUPAR','01',3,'NOME FILE',3,'NOMFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ADUPAR','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ADUPAR','01',5,'AREA RECORD',2,'AREARE',0,0,0,0,0,0,0,0,0,0,'',4,0,884,884,0,0,'X(884)','',0,'',0,0,'' )
,('ADVMA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADVMA1','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,'' )
,('ADVMA1','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',4,'PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADVMA1','01',6,'QUADRO G RIGA 1',2,'QGR001',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('ADVMA1','01',7,'QUADRO G RIGA 2',2,'QGR002',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('ADVMA1','01',9,'QUADRO G RIGA 3 COLONNA 1 ROSSA',2,'QG3C1R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',10,'QUADRO G RIGA 3 COLONNA 1 BIANCA',2,'QG3C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',11,'QUADRO G RIGA 3 COLONNA 2 ROSSA',2,'QG3C2R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ADVMA1','01',12,'QUADRO G RIGA 3 COLONNA 2 BIANCA',2,'QG3C2B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',13,'QUADRO G RIGA 3 COLONNA 3 ROSSA',2,'QG3C3R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',14,'QUADRO G RIGA 3 COLONNA 3 BIANCA',2,'QG3C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',15,'QUADRO G RIGA 3 COLONNA 5',2,'QG3C05',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMA1','01',16,'QUADRO G RIGA 4 COLONNA 1 ROSSA',2,'QG4C1R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',17,'QUADRO G RIGA 4 COLONNA 1 BIANCA',2,'QG4C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',18,'QUADRO G RIGA 4 COLONNA 2 ROSSA',2,'QG4C2R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',19,'QUADRO G RIGA 4 COLONNA 2 BIANCA',2,'QG4C2B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',20,'QUADRO G RIGA 4 COLONNA 3 ROSSA',2,'QG4C3R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',21,'QUADRO G RIGA 4 COLONNA 3 BIANCA',2,'QG4C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',22,'QUADRO G RIGA 4 COLONNA 5',2,'QG4C05',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMA1','01',23,'QUADRO G RIGA 5 COLONNA 1 ROSSA',2,'QG5C1R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',24,'QUADRO G RIGA 5 COLONNA 1 BIANCA',2,'QG5C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',25,'QUADRO G RIGA 5 COLONNA 2 ROSSA',2,'QG5C2R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',26,'QUADRO G RIGA 5 COLONNA 2 BIANCA',2,'QG5C2B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',27,'QUADRO G RIGA 5 COLONNA 3 ROSSA',2,'QG5C3R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',28,'QUADRO G RIGA 5 COLONNA 3 BIANCA',2,'QG5C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',29,'QUADRO G RIGA 7 COLONNA 1 ROSSA',2,'QG7C1R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',30,'QUADRO G RIGA 7 COLONNA 1 BIANCA',2,'QG7C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',31,'QUADRO G RIGA 7 COLONNA 2 ROSSA',2,'QG7C2R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',32,'QUADRO G RIGA 7 COLONNA 2 BIANCA',2,'QG7C2B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',33,'QUADRO G RIGA 7 COLONNA 3 ROSSA',2,'QG7C3R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',34,'QUADRO G RIGA 7 COLONNA 3 BIANCA',2,'QG7C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',35,'QUADRO G RIGA 7 COLONNA 5',2,'QG7C05',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMA1','01',37,'QUADRO G RIGA 9 1',2,'QGR091',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',38,'QUADRO G RIGA 9 2',2,'QGR092',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',40,'QUADRO G RIGA 10 1',2,'QGR101',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',41,'QUADRO G RIGA 10 2',2,'QGR102',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',42,'QUADRO G RIGA 11 1',2,'QGR111',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',43,'QUADRO G RIGA 11 2',2,'QGR112',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',45,'QUADRO G RIGA 12 COLONNA 1 ROSSA',2,'G12C1R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',46,'QUADRO G RIGA 12 COLONNA 1 BIANCA',2,'G12C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',47,'QUADRO G RIGA 12 COLONNA 2 ROSSA',2,'G12C2R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',48,'QUADRO G RIGA 12 COLONNA 2 BIANCA',2,'G12C2B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',49,'QUADRO G RIGA 12 COLONNA 3 ROSSA',2,'G12C3R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',50,'QUADRO G RIGA 12 COLONNA 3 BIANCA',2,'G12C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',51,'QUADRO G RIGA 12 COLONNA 4 ROSSA',2,'G12C4R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',52,'QUADRO G RIGA 12 COLONNA 4 BIANCA',2,'G12C4B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',53,'QUADRO G RIGA 12 COLONNA 5 ROSSA',2,'G12C5R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',54,'QUADRO G RIGA 12 COLONNA 5 BIANCA',2,'G12C5B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',55,'QUADRO G RIGA 12 COLONNA 6 ROSSA',2,'G12C6R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',56,'QUADRO G RIGA 12 COLONNA 6 BIANCA',2,'G12C6B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',57,'QUADRO G RIGA 13 COLONNA 1 ROSSA',2,'G13C1R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',58,'QUADRO G RIGA 13 COLONNA 1 BIANCA',2,'G13C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',59,'QUADRO G RIGA 13 COLONNA 2 ROSSA',2,'G13C2R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',60,'QUADRO G RIGA 13 COLONNA 2 BIANCA',2,'G13C2B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',61,'QUADRO G RIGA 13 COLONNA 3 ROSSA',2,'G13C3R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',62,'QUADRO G RIGA 13 COLONNA 3 BIANCA',2,'G13C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',63,'QUADRO G RIGA 13 COLONNA 4 ROSSA',2,'G13C4R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',64,'QUADRO G RIGA 13 COLONNA 4 BIANCA',2,'G13C4B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',65,'QUADRO G RIGA 13 COLONNA 5 ROSSA',2,'G13C5R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',66,'QUADRO G RIGA 13 COLONNA 5 BIANCA',2,'G13C5B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',67,'QUADRO G RIGA 13 COLONNA 6 ROSSA',2,'G13C6R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',68,'QUADRO G RIGA 13 COLONNA 6 BIANCA',2,'G13C6B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',69,'QUADRO G RIGA 14 COLONNA 1 ROSSA',2,'G14C1R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',70,'QUADRO G RIGA 14 COLONNA 1 BIANCA',2,'G14C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',71,'QUADRO G RIGA 14 COLONNA 2 ROSSA',2,'G14C2R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',72,'QUADRO G RIGA 14 COLONNA 2 BIANCA',2,'G14C2B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',73,'QUADRO G RIGA 14 COLONNA 3 ROSSA',2,'G14C3R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',74,'QUADRO G RIGA 14 COLONNA 3 BIANCA',2,'G14C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',75,'QUADRO G RIGA 14 COLONNA 4 ROSSA',2,'G14C4R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',76,'QUADRO G RIGA 14 COLONNA 4 BIANCA',2,'G14C4B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',77,'QUADRO G RIGA 14 COLONNA 5 ROSSA',2,'G14C5R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',78,'QUADRO G RIGA 14 COLONNA 5 BIANCA',2,'G14C5B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',79,'QUADRO G RIGA 14 COLONNA 6 ROSSA',2,'G14C6R',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',80,'QUADRO G RIGA 14 COLONNA 6 BIANCA',2,'G14C6B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',81,'QUADRO G RIGA 16',2,'QGR016',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',82,'QUADRO G RIGA 17',2,'QGR017',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',84,'QUADRO G RIGA 18',2,'QGR018',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',85,'QUADRO G RIGA 19',2,'QGR019',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',86,'QUADRO G RIGA 9 0 (AGGIUNTO DOPO)',2,'QGR090',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMA1','01',87,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('ADVMAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADVMAN','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,'' )
,('ADVMAN','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',4,'PROVINCIA',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADVMAN','01',5,'PRIMO ANNO CAMPAGNA',2,'ANNINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',6,'SECONDO ANNO CAMPAGNA',2,'ANNFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',7,'DATA DICHIARAZIONE',2,'DATDIC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ADVMAN','01',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADVMAN','01',9,'ANNO DICHIARAZIONE',3,'AAADIC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',10,'MESE DICHIARAZIONE',3,'MMMDIC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADVMAN','01',11,'GIORNO DICHIARAZIONE',3,'GGGDIC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ADVMAN','01',12,'CASELLA RACCOLTA UVE',2,'RACUVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',13,'CASELLA PRODUZIONE VINICOLA',2,'PRODVI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',15,'SUPERFICIE TOTALE',2,'SUPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',16,'SUPERFICIE IN PROPRIETA''',2,'SUPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',17,'SUPERFICIE AD ALTRO TITOLO',2,'SUPALT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',18,'COMUNE RACCOLTA UVE',2,'COMRAC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',19,'ACQUIRENTE UNICO SI/NO',2,'ACQUNI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ADVMAN','01',20,'DATI ANAGRAFICI ACQUIRENTE',2,'ANAACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('ADVMAN','01',21,'CODICE FISCALE ACQUIRENTE',2,'CFIACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADVMAN','01',23,'DA UVE PROPRIE',2,'UVEPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',24,'DA UVE ACQUISTATE',2,'UVEACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',25,'CANTINA SOCIALE',2,'CANSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',27,'CAMPO A1',2,'QBIXA1',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',28,'NUMERO CAMPO A1',2,'QBINA1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',29,'CAMPO A2',2,'QBIXA2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',30,'NUMERO CAMPO A2',2,'QBINA2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',31,'CAMPO C1',2,'QBIXC1',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
('ADVMAN','01',32,'NUMERO CAMPO C1',2,'QBINC1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',33,'CAMPO F1',2,'QBIXF1',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',34,'NUMERO CAMPO F1',2,'QBINF1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',35,'CAMPO F2',2,'QBIXF2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',36,'NUMERO CAMPO F2',2,'QBINF2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',37,'CAMPO M1',2,'QBIXM1',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',38,'NUMERO CAMPO M1',2,'QBINM1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',39,'CAMPO F3',2,'QBIXF3',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',40,'NUMERO CAMPO F3',2,'QBINF3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',41,'CAMPO M2',2,'QBIXM2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',42,'NUMERO CAMPO M2',2,'QBINM2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',43,'CAMPO F4',2,'QBIXF4',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ADVMAN','01',44,'NUMERO CAMPO F4',2,'QBINF4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ADVMAN','01',46,'QUADRO C RIGA 1 COLONNA 1',2,'QCR1C1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',47,'QUADRO C RIGA 1 COLONNA 2',2,'QCR1C2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',48,'QUADRO C RIGA 1 COLONNA 4',2,'QCR1C4',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',49,'QUADRO C RIGA 1 COLONNA 5',2,'QCR1C5',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',50,'QUADRO C RIGA 1 COLONNA 6',2,'QCR1C6',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',51,'QUADRO C RIGA 1 COLONNA 7',2,'QCR1C7',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',52,'QUADRO C RIGA 2 COLONNA 1',2,'QCR2C1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',53,'QUADRO C RIGA 2 COLONNA 2',2,'QCR2C2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',54,'QUADRO C RIGA 2 COLONNA 4',2,'QCR2C4',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',55,'QUADRO C RIGA 2 COLONNA 5',2,'QCR2C5',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',56,'QUADRO C RIGA 2 COLONNA 6',2,'QCR2C6',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',57,'QUADRO C RIGA 2 COLONNA 7',2,'QCR2C7',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',58,'QUADRO C RIGA 3 COLONNA 1',2,'QCR3C1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',59,'QUADRO C RIGA 3 COLONNA 2',2,'QCR3C2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',60,'QUADRO C RIGA 3 COLONNA 5',2,'QCR3C5',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',61,'QUADRO C RIGA 3 COLONNA 6',2,'QCR3C6',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',62,'QUADRO C RIGA 3 COLONNA 7',2,'QCR3C7',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',63,'QUADRO C RIGA 5 COLONNA 1',2,'QCR5C1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',64,'QUADRO C RIGA 5 COLONNA 2',2,'QCR5C2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',65,'QUADRO C RIGA 5 COLONNA 4',2,'QCR5C4',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',66,'QUADRO C RIGA 5 COLONNA 5',2,'QCR5C5',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',67,'QUADRO C RIGA 5 COLONNA 6',2,'QCR5C6',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',68,'QUADRO C RIGA 5 COLONNA 7',2,'QCR5C7',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',70,'CODICE FISCALE PRIMO B1',2,'CFIB11',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADVMAN','01',71,'P.IVA PRIMO B1',2,'PIVB11',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADVMAN','01',72,'NUMERO PRIMO B1',2,'NUMB11',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ADVMAN','01',73,'SUPERFICIE PRIMO B1',2,'SUPB11',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',74,'CODICE FISCALE SECONDO B1',2,'CFIB12',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADVMAN','01',75,'P. IVA SECONDO B1',2,'PIVB12',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ADVMAN','01',76,'NUMERO SECONDO B1',2,'NUMB12',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ADVMAN','01',77,'SUPERFICIE SECONDO B1',2,'SUPB12',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',79,'QUADRO D RIGA 1 COLONNA 1 NERA',2,'QD1C1N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',80,'QUADRO D RIGA 1 COLONNA 1 BIANCA',2,'QD1C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',81,'QUADRO D RIGA COLONNA 2',2,'QD1C02',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',82,'QUADRO D RIGA 1 COLONNA 3 NERA',2,'QD1C3N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',83,'QUADRO D RIGA 1 COLONNA 3 BIANCA',2,'QD1C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',84,'QUADRO D RIGA 1 COLONNA 4 NERA',2,'QD1C4N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',85,'QUADRO D RIGA 1 COLONNA 4 BIANCA',2,'QD1C4B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',86,'QUADRO D RIGA 1 COLONNA 6',2,'QD1C06',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',87,'QUADRO D RIGA 2 COLONNA 1 NERA',2,'QD2C1N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',88,'QUADRO D RIGA 2 COLONNA 1 BIANCA',2,'QD2C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',89,'QUADRO D RIGA 2 COLONNA 2',2,'QD2C02',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',90,'QUADRO D RIGA 2 COLONNA 3 NERA',2,'QD2C3N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',91,'QUADRO D RIGA 2 COLONNA 3 BIANCA',2,'QD2C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',92,'QUADRO D RIGA 2 COLONNA 4 NERA',2,'QD2C4N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',93,'QUADRO D RIGA 2 COLONNA 4 BIANCA',2,'QD2C4B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',94,'QUADRO D RIGA 2 COLONNA 6',2,'QD2C06',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',95,'QUADRO D RIGA 3 COLONNA 1 NERA',2,'QD3C1N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',96,'QUADRO D RIGA 3 COLONNA 1 BIANCA',2,'QD3C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',97,'QUADRO D RIGA 4 COLONNA 1 NERA',2,'QD4C1N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',98,'QUADRO D RIGA 4 COLONNA 1 BIANCA',2,'QD4C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',99,'QUADRO D RIGA 4 COLONNA 2',2,'QD4C02',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',100,'QUADRO D RIGA 4 COLONNA 3 NERA',2,'QD4C3N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',101,'QUADRO D RIGA 4 COLONNA 3 BIANCA',2,'QD4C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',102,'QUADRO D RIGA 4 COLONNA 4 NERA',2,'QD4C4N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',103,'QUADRO D RIGA 4 COLONNA 4 BIANCA',2,'QD4C4B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',104,'QUADRO D RIGA 4 COLONNA 6',2,'QD4C06',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',105,'QUADRO D RIGA D6',2,'QDR006',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',106,'QUADRO D RIGA D7',2,'QDR007',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',107,'QUADRO D RIGA D8',2,'QDR008',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',108,'QUADRO D RIGA D9',2,'QDR009',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',110,'QUADRO E RIGA 1 COLONNA 1 NERA',2,'QE1C1N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',111,'QUADRO E RIGA 1 COLONNA 1 BIANCA',2,'QE1C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',112,'QUADRO E RIGA 1 COLONNA 2',2,'QE1C02',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',113,'QUADRO E RIGA 1 COLONNA 3 NERA',2,'QE1C3N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',114,'QUADRO E RIGA 1 COLONNA 3 BIANCA',2,'QE1C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',115,'QUADRO E RIGA 1 COLONNA 4 NERA',2,'QE1C4N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',116,'QUADRO E RIGA 1 COLONNA 4 BIANCA',2,'QE1C4B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',117,'QUADRO E RIGA 1 COLONNA 6',2,'QE1C06',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',118,'QUADRO E RIGA 2 COLONNA 1 NERA',2,'QE2C1N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',119,'QUADRO E RIGA 2 COLONNA 1 BIANCA',2,'QE2C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',120,'QUADRO E RIGA 2 COLONNA 2',2,'QE2C02',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',121,'QUADRO E RIGA 2 COLONNA 3 NERA',2,'QE2C3N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',122,'QUADRO E RIGA 2 COLONNA 3 BIANCA',2,'QE2C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',123,'QUADRO E RIGA 2 COLONNA 4 NERA',2,'QE2C4N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',124,'QUADRO E RIGA 2 COLONNA 4 BIANCA',2,'QE2C4B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',125,'QUADRO E RIGA 2 COLONNA 6',2,'QE2C06',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',126,'QUADRO E RIGA 3 COLONNA 1 NERA',2,'QE3C1N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',127,'QUADRO E RIGA 3 COLONNA 1 BIANCA',2,'QE3C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',128,'QUADRO E RIGA 4 COLONNA 1 NERA',2,'QE4C1N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',129,'QUADRO E RIGA 4 COLONNA 1 BIANCA',2,'QE4C1B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',130,'QUADRO E RIGA 4 COLONNA 2',2,'QE4C02',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ADVMAN','01',131,'QUADRO E RIGA 4 COLONNA 3 NERA',2,'QE4C3N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',132,'QUADRO E RIGA 4 COLONNA 3 BIANCA',2,'QE4C3B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',133,'QUADRO E RIGA 4 COLONNA 4 NERA',2,'QE4C4N',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',134,'QUADRO E RIGA 4 COLONNA 4 BIANCA',2,'QE4C4B',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',135,'QUADRO E RIGA 4 COLONNA 6',2,'QE4C06',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ADVMAN','01',136,'QUADRO E RIGA 6',2,'QER006',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',137,'QUADRO E RIGA 7',2,'QER007',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',138,'QUADRO E RIGA 8',2,'QER008',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',139,'QUADRO E RIGA 9',2,'QER009',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ADVMAN','01',140,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ADWCOM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ADWCOM','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,'' )
,('ADWCOM','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADWCOM','01',4,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADWCOM','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ADWCOM','01',6,'CODICE MANIPOLAZIONI (SE RICHIESTO)',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ADWCOM','01',7,'SALDO',2,'QSALDO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('ADWCOM','01',8,'DATA RIFERIMENTO SALDO',2,'DTASAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEADCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEADCO','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,'' )
,('AEADCO','01',3,'NUMERO ARC',3,'NUMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('AEADCO','01',4,'STATO E-AD',2,'DSTATO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEADCO','01',5,'DATA VALIDAZIONE',2,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEADCO','01',6,'ORA VALIDAZIONE',2,'ORAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEADCO','01',7,'ESITO GLOBALE DELLA RICEZIONE',2,'DESITO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEADCO','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('AEADST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEADST','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,'' )
,('AEADST','01',3,'STATO E-AD (POPOLATO DA RTSEAD)',3,'DSTATO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEADST','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,170,170,0,0,'X(170)','',0,'',0,0,'' )
,('AEAN09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEAN09','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,'' )
,('AEAN09','01',3,'CODICE CLIENTE',3,'CODCLI',0,2,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEAN09','01',4,'CODICE EAN',3,'CODEAN',0,3,1,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AEAN09','01',5,'CODICE ARTICOLO',3,'CODART',0,1,3,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEAN09','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AECCCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AECCCA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AECCCA','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AECCCA','01',4,'INTERVALLI',2,'ELEINI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('AECCCA','01',5,'CAPOA AREA INIZIALE',3,'CAPINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AECCCA','01',6,'CAPO AREA FINALE',3,'CAPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AECCCA','01',7,'CODICE CAPO AREA',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',100,'',0,0,'' )
,('AECCCA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('AECLPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AECLPR','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,'' )
,('AECLPR','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,'' )
,('AECLPR','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('AECPCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AECPCA','01',2,'CODICE CAPO AREA',2,'CODCAP',1,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AECPCA','01',3,'CODICE AGENTE',2,'CODAGE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AECPCA','01',4,'CLIENTE CON PROVVIGIONI',2,'CODCLI',3,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AECPCA','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AEDITT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEDITT','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,'' )
,('AEDITT','01',3,'NOME PROGRAMMA',3,'NOMPGM',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEDITT','01',4,'NUMERO TESTO GESTITO DAL PROGRAMMA',3,'NRTEXT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEDITT','01',5,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('AEDITT','01',6,'TESTO (MAX 64000)',2,'TESTOX',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('AEDITT','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('AEICOD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICOD','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,'' )
,('AEICOD','01',3,'NUMERO CONFERIMENTO',3,'NUMCON',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEICOD','01',4,'DECLASSAMENTO (99999999 ATTUALE) NO DATA',3,'DTADEC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEICOD','01',5,'PROGRESSIVO',3,'PROGRE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AEICOD','01',6,'CODICE UVA PRODOTTA',2,'CODUVA',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AEICOD','01',7,'CODICE UVA DI DESTINAZIONE PRODOTTA',2,'UVADES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEICOD','01',8,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AEICOD','01',9,'OLTRE TOLLERANZA (S)',2,'FLGOLT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICOD','01',10,'SUPERO DI DOC (S)',2,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICOD','01',11,'STOCCAGGIO (S)',2,'FLGSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICOD','01',12,'RICLASSIFICAZIONE PER GRADO (S)',2,'FLGRIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICOD','01',13,'DIROTTATO PER VITIGNO CATASTO (S)',2,'FLGVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICOD','01',14,'CODICE VITIGNO CATASTO (0=DEFAULT)',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEICOD','01',15,'UVA DI ORIGINE PER STOCCAGGIO E RICLASS.',2,'MEMUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AEICOD','01',16,'CODICE UVA SPEZZATO (JESOLO)',2,'UVASPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEICOD','01',17,'QUANTITA'' SPEZZATA',2,'QTASPE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AEICOD','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AEICOE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICOE','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,'' )
,('AEICOE','01',3,'NUMERO CONFERIMENTO',3,'NUMCON',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEICOE','01',4,'DATA DECLASSAMENTO',3,'DTADEC',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEICOE','01',5,'CODICE UVA DICHIARATA (ACONF1-01CODUVA)',2,'UVADIC',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AEICOE','01',6,'DESTINAZIONE DICHIARATA (ACONF1-01UVADES',2,'DESDIC',0,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AEICOE','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('AEICON','01',4,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',5,'CHIAVE ELABORAZIONE PER FONDO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',6,'CHIAVE ACCESSO ARCHIVIO FONDI',3,'DATIFO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',7,'CODICE SOCIO',4,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEICON','01',8,'CODICE UVA DICHIARATA',4,'CODUVA',0,0,0,2,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEICON','01',9,'* CODICE ZONA',4,'FONZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEICON','01',10,'* CODICE LOCALITA''',4,'FONLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AEICON','01',11,'* NOME VIGNETO',4,'FONVIG',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AEICON','01',12,'ALTRI DATI CHIAVE CONFERIMENTO',3,'DATCNF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',13,'CLASSE ELABORAZIONE CONFERIMENTO',4,'CLASSE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEICON','01',14,'DATA CONFERIMENTO',4,'DTACON',0,0,0,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEICON','01',15,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',16,'ANNO',5,'AA-CON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AEICON','01',17,'MESE',5,'MM-CON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEICON','01',18,'GIORNO',5,'GG-CON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEICON','01',19,'ORA ENTRATA',4,'ORAENT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEICON','01',20,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',21,'ORA',5,'HH-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEICON','01',22,'MINUTI',5,'MI-ENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEICON','01',23,'SECONDI',5,'SS-ENT',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
('AEICON','01',24,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',25,'NUMERO CONFERIMENTO',5,'NUMCON',0,0,2,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEICON','01',26,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEICON','01',27,'CODICE ZONA',2,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEICON','01',28,'CODICE LOCALITA''',2,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AEICON','01',29,'NOME VIGNETO',2,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AEICON','01',30,'CODICE VITIGNO',2,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEICON','01',31,'CODICE SECONDA SCELTA',2,'CODSC2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEICON','01',32,'CODICE TERZA SCELTA',2,'CODSC3',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEICON','01',33,'FLAG OLTRE TOLLERANZA (S/ )',2,'FLGOLT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICON','01',34,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEICON','01',35,'CODICE SCELTA',2,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEICON','01',36,'CREATO DA SUDDIVISIONE ALLA TARA (0/1)',2,'SDDTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AEICON','01',37,'INDICE COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,6,0,0,'XX COMP-X','',0,'',0,0,'' )
,('AEICON','01',38,'CODICE UVA IG SU CUI SPOSTARE TAVOLA',2,'CUVAIG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AEICON','01',39,'FLAG DECLASSATO PER SCELTA (0/1)',2,'FLGDCS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICON','01',43,'FLAG DECLASSATO PER GRADO (0/1)',2,'FLGDCG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICON','01',46,'NUMERO PRENOTAZIONE',2,'NUMPRE',0,0,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEICON','01',47,'PERCENTUALE CORREZIONE GRADO',2,'PERGRD',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AEICON','01',48,'LORDO',2,'QLLORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',49,'TARA',2,'QLTARA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',50,'DECLASSATO PER ATTRIBUTO (0/1)',2,'FLGDCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICON','01',53,'PERCENTUALE MECCANIZZATA',2,'PERCME',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEICON','01',54,'QUINTALI CONFERITI',2,'QLCONF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',55,'GRADO BABO CONFERITO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEICON','01',56,'ACIDITA''',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AEICON','01',57,'FATTORE PH',2,'FATTPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEICON','01',58,'INDICE MATURAZIONE',2,'INDMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',59,'PERCENTUALE CORREZIONE NETTO',2,'PERNET',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AEICON','01',60,'PERCENTUALE CONCENTRAZIONE',2,'PERCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEICON','01',61,'GRADO CONFERIMENTO',2,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEICON','01',62,'QUINTALI CONFERIMENTO',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',63,'* QUANTITA'' DOC ACCETTATA',2,'QTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',64,'* QUANTITA'' TAVOLA ACCETTATA',2,'QTATAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',65,'* QUANTITA'' TAVOLA OLTRE TOLLERANZA',2,'QTAOLT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',66,'UVA DECLASSATA (UVO SOAVE) VECCHIA',2,'OLUDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AEICON','01',67,'CODICE UVA DI DESTINAZIONE',2,'UVADES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEICON','01',68,'VECCHIO CODICE ATTRIBUTO CONFERIMENTI',2,'OLDATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',5,'',0,0,'' )
,('AEICON','01',69,'RIFERIMENTO CONFERIMENTO (SUDDIVISIONE)',2,'RIFDIV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEICON','01',70,'DATA DECLASSAMENTO UVO OLD',2,'OLDDEC',0,0,0,0,0,0,0,0,0,0,'',5,0,5,8,0,0,'D8 COMP-3','',0,'',0,0,'' )
,('AEICON','01',71,'QLI DOC PRECEDENTI IL DECLASSAMENTO OLD',2,'ODDDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',72,'TEMPERATURA (CASARSA)',2,'TEMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEICON','01',73,'CODICE CAMPIONE',2,'CODCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AEICON','01',74,'UVA DI PROVENIENZA',2,'UVAPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEICON','01',75,'TABELLA DECLASSAMENTI',2,'TABDEC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',76,'ELEMENTO DECLASSAMENTI',3,'ELEDEC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('AEICON','01',77,'UVA DECLASSATA',4,'UVADEC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AEICON','01',78,'DATA DECLASSAMENTO',4,'DTADEC',0,0,0,0,0,0,0,0,0,0,'',5,0,5,8,0,0,'D8 COMP-3','',0,'',0,0,'' )
,('AEICON','01',79,'QUINTALI DOC DECLASSATI',4,'DOCDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',80,'QUINTALI RITOCCO CONFERIMENTO',2,'QTARIT',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',81,'DENSITA'' OTTICA A 385 NM',2,'DOA385',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AEICON','01',82,'DENSITA'' OTTICA A 525 NM',2,'DOA525',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AEICON','01',83,'DENSITA'' OTTICA A 470 NM',2,'DOA470',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AEICON','01',84,'TONALITA''',2,'TONALI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,3,0,'9V999','',0,'',0,0,'' )
,('AEICON','01',85,'NUMERO BOLLETTA DI ORIGINE SUDDIVISIONE',2,'NUMORI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('AEICON','01',86,'MECCANICA S/',2,'FLAGME',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICON','01',87,'COLORE CON 1 DECIMALE (QUALITA'' FENOLICA',2,'COLDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('AEICON','01',88,'TABELLA ATTRIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',89,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',10,'',0,0,'' )
,('AEICON','01',90,'QUANTITA'' RISERVA (DI CUI DI QTATAV)',2,'QTARIS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AEICON','01',91,'BUDGET (SVITATI DI SALVATERRA)',2,'BUDGET',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('AEICON','01',92,'UVA DI SUPERO SE DIVERSA DA PREDEFINITA',2,'UVASUP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEICON','01',93,'FORZATURA DECLASSAMENTO MANUALE',2,'FLGDEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICON','01',96,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEICON','01',97,'VITIGNO DI PROVENIENZA',2,'VITPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEICON','01',98,'VIGNETO DI PROVENIENZA',2,'VIGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AEICON','01',99,'EFFICIENZA CAMPIONE',2,'EFFCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEICON','01',100,'CARICARE PRIMA A RIEMPIRE IL SUPERO (S)',2,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICON','01',101,'CODICE STABILIMENTO ORIGINE (COLLIS)',2,'STBORI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEICON','01',102,'ACIDO GLUCONICO',2,'ACGLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AEICON','01',103,'INCREMENTO INDISCRIMINATO APPLICATO',2,'INCGRI',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('AEICON','01',104,'NUMERO VIAGGIO GIORNALIERO DEL SOCIO',2,'NRVGGS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEICON','01',105,'NON RISPETTA REGOLAMENTO VENDEMMIA (S)',2,'BADREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICON','01',106,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEICON','01',107,'CODICE TRASPORTATORE (FORNITORE)',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEICON','01',108,'CODICE TERZISTA (FORNITORE)',2,'CODTER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEICON','01',109,'COMMITTENTE REGISTRO UNICO',2,'COMMIT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICON','01',110,'TIPO COMMITTENTE',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEICON','01',111,'CODICE COMMITTENTE',3,'COMCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEICON','01',112,'DISTANZA DEL FONDO IN CHILOMETRI',2,'DISTKM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEICOS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICOS','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,'' )
,('AEICOS','01',3,'NUMERO CONFERIMENTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEICOS','01',4,'CODICE SOCIO (DELLA CANTINA)',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEICOS','01',5,'RAGIONE SOCIALE SOCIO (DELLA CANTINA)',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEICOS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,246,246,0,0,'X(246)','',0,'',0,0,'' )
,('AEICOU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEICOU','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,'' )
,('AEICOU','01',3,'NUMERO CONFERIMENTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEICOU','01',4,'UVA DICHIARATA',3,'UVADIC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AEICOU','01',6,'CODICE UVA DI DESTINAZIONE',3,'UVADES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEICOU','01',7,'QUANTITA'' DESTINATA',2,'QTADES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AEICOU','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,49,49,0,0,'X(49)','',0,'',0,0,'' )
,('AELRIB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AELRIB','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AELRIB','01',3,'DATA CREAZIONE',3,'DATCRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AELRIB','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AELRIB','01',5,'GIORNO CREAZIONE',4,'AAACRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AELRIB','01',6,'MESE CREAZIONE',4,'MMMCRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AELRIB','01',7,'GIORNO CREAZIONE',4,'GGGCRE',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
('AELRIB','01',8,'ORA CREAZIONE',3,'HHHCRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AELRIB','01',9,'MINUTI CREAZIONE',3,'MNTCRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AELRIB','01',10,'PROGRESSIVO',3,'PROEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AELRIB','01',11,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AELRIB','01',12,'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,'' )
,('AELRIB','01',13,'CODICE PARTITA',2,'CODPAR',0,3,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AELRIB','01',14,'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,'' )
,('AELRIB','01',15,'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,'' )
,('AELRIB','01',16,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AELRIB','01',17,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AELRIB','01',18,'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,'' )
,('AELRIB','01',19,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AELRIB','01',20,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AELRIB','01',21,'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,'' )
,('AELRIB','01',22,'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,'' )
,('AELRIB','01',23,'DATA SCADENZA',2,'DATSCA',0,0,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AELRIB','01',24,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AELRIB','01',25,'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,'' )
,('AELRIB','01',26,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AELRIB','01',27,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AELRIB','01',28,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AELRIB','01',29,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AELRIB','01',30,'NUMERO AVVISO',2,'NUMAVV',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AELRIB','01',31,'TIPO AVVISO',2,'TIPAVV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AELRIB','01',32,'CODICE DIVISA',2,'CODDIV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AELRIB','01',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AENASA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AENASA','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,'' )
,('AENASA','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,'' )
,('AENASA','01',4,'PERIODO',3,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AENASA','01',5,'ANNO RIFERIMENTO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AENASA','01',6,'MESE',4,'MESRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AENASA','01',7,'PERCENTUALE ENASARCO AGENTE',2,'PERAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AENASA','01',8,'PERCENTUALE ENASARCO AZIENDA',2,'PERAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AENASA','01',9,'PERCENTUALE RITENUTA',2,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AENASA','01',10,'PERCENTUALE IMPONIBILE X CALC. RITENUTA',2,'PERIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AENASA','01',11,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AENASA','01',12,'MINIMALE',2,'MINIMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,2,'9(13) COMP-3','9(11)V99 COMP-3',0,'',0,0,'' )
,('AENASA','01',13,'MASSIMALE',2,'MASSIM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,2,'9(13) COMP-3','9(11)V99 COMP-3',0,'',0,0,'' )
,('AENASA','01',15,'ENASARCO AGENTE',2,'ENAAGE',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AENASA','01',16,'ENASARCO DITTA',2,'ENAAZI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AENASA','01',17,'IMPORTO RITENUTA',2,'IMPRIT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AENASA','01',18,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AENASA','01',19,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AENASA','01',20,'PROVVIGIONE',2,'IMPPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('AENASA','01',22,'PROVVIGIONI PERIODO',2,'PROPER',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AENASA','01',23,'DETRAZIONI PERIODI PRECEDENTI',2,'DETPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AENASA','01',24,'RIACCREDITI PERIODI PRECEDENTI',2,'PROPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AENASA','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AENATA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AENATA','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,'' )
,('AENATA','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,'' )
,('AENATA','01',4,'PERIODO',3,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AENATA','01',5,'ANNO RIFERIMENTO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AENATA','01',6,'MESE',4,'MESRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AENATA','01',7,'PERCENTUALE ENASARCO AGENTE',2,'PERAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AENATA','01',8,'PERCENTUALE ENASARCO AZIENDA',2,'PERAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('AENATA','01',9,'PERCENTUALE RITENUTA',2,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AENATA','01',10,'PERCENTUALE IMPONIBILE X CALC. RITENUTA',2,'PERIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AENATA','01',11,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AENATA','01',12,'MINIMALE',2,'MINIMA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AENATA','01',13,'MASSIMALE',2,'MASSIM',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AENATA','01',15,'ENASARCO AGENTE',2,'ENAAGE',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AENATA','01',16,'ENASARCO DITTA',2,'ENAAZI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AENATA','01',17,'IMPORTO RITENUTA',2,'IMPRIT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AENATA','01',18,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AENATA','01',19,'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,'' )
,('AENATA','01',20,'PROVVIGIONE',2,'IMPPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AENATA','01',22,'PROVVIGIONI PERIODO',2,'PROPER',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AENATA','01',23,'DETRAZIONI PERIODI PRECEDENTI',2,'DETPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AENATA','01',24,'RIACCREDITI PERIODI PRECEDENTI',2,'PROPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AENATA','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOANA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOANA','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,'' )
,('AEOANA','01',3,'CODICE VOCE ANALISI',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOANA','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOANA','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOANA','01',6,'DESRIZIONE BREVE',2,'DESBRE',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('AEOANA','01',7,'SIGLA UNITA'' DI MISURA',2,'SIGUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOANA','01',8,'OBBLIGATORIA DAL (ZERO -> NON OBB)',2,'OBBDAL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEOANA','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,232,232,0,0,'X(232)','',0,'',0,0,'' )
,('AEOCAU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOCAU','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,'' )
,('AEOCAU','01',3,'CODICE CAUSALE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOCAU','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOCAU','01',6,'TIPO CAUSALE',2,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOCAU','01',18,'CAUSALE MOVIMENTO ERGA OMNES',2,'CAMOEO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',19,'CAUSALE COMM. VINO SFUSO ATTO',2,'CACVSA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',20,'CAUSALE COMM. VINO CONF. ATTO',2,'CACVCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',21,'CAUSALE COMM. VINO SFUSO CERTIFICATO',2,'CACVSC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',22,'CAUSALE COMM. VINO CONF. CERTIFICATO',2,'CACVCC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',23,'CAUSALE COMM. VINO GENERICO',2,'CACVGE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',24,'CAUSALE MAG. VINO SFUSO ATTO',2,'CAMVSA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',25,'CAUSALE MAG. VINO CONF. ATTO',2,'CAMVCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',26,'CAUSALE MAG. VINO SFUSO CERTIFICATO',2,'CAMVSC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',27,'CAUSALE MAG. VINO CONF. CERTIFICATO',2,'CAMVCC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',28,'CAUSALE MAG. VINO GENERICO',2,'CAMVGE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',29,'CODICI AGG. MAG E COMM. SU MOVIMENTO',2,'FLGAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOCAU','01',30,'CAUSALE MOVIMENTO E/O SCARICO X COACERVO',2,'CASCEO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AEOCAU','01',31,'CAUSALE MOVIMENTO E/O CARICO X COACERVO',2,'CACAEO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',32,'NUMERO DOCUMENTO MOV.COMMERCIALIZZAZIONE',2,'NRDCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AEOCAU','01',33,'RICHIESTE MANIPOLAZIONI LOTTI SFUSI( /S)',2,'FLGMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOCAU','01',34,'OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOCAU','01',35,'CAUSALE COMM. COACERVO SCARICO',2,'CACCSC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',36,'CAUSALE COMM. COACERVO CARICO',2,'CACCCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',37,'CAUSALE MAG. COACERVO SCARICO',2,'CAMCSC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',38,'CAUSALE MAG. COACERVO CARICO',2,'CAMCCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',39,'CAUSALE NOTA REGISTRO FRIZZANTI',2,'NOTARF',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',40,'CAUSALE NOTA REGISTRO SPUMANTI',2,'NOTARS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCAU','01',41,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,81,81,0,0,'X(81)','',0,'',0,0,'' )
,('AEOCEO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOCEO','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,'' )
,('AEOCEO','01',3,'CODICE CAUSALE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOCEO','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOCEO','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOCEO','01',6,'CODICE COLONNA ERGA OMNES DA MOVIMENTARE',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',5,'',0,0,'' )
,('AEOCEO','01',7,'TIPO MOVIMENTAZIONE +/-',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('AEOCEO','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,81,81,0,0,'X(81)','',0,'',0,0,'' )
,('AEOCOI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOCOI','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,'' )
,('AEOCOI','01',3,'CODICE CONSORZIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOCOI','01',4,'PROGRESSIVO RIGA INTESTAZIONE IMBOTT.',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOCOI','01',5,'RIGA INTESTAZIONE IMBOTTIGLIAMENTO',2,'DESIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,132,132,0,0,'X(132)','',0,'',0,0,'' )
,('AEOCOI','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,160,160,0,0,'X(160)','',0,'',0,0,'' )
,('AEOCON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOCON','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,'' )
,('AEOCON','01',3,'CODICE CONSORZIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOCON','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOCON','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOCON','01',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOCON','01',7,'CODICE CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEOCON','01',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEOCON','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOCON','01',10,'CARATTERE ARCHIVIAZIONE PDF',2,'CHRPDF',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEOCON','01',11,'DATA INIZIO GESTIONE',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOCON','01',12,'DIRITTI CONSORZIO TUTELA PER HL',2,'DICTHL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('AEOCON','01',13,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AEOCON','01',14,'PERCENTUALE IVA PER DIRITTI CONSORZIO',2,'PIVACT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOCON','01',15,'CONTRIBUTO IMBOTT. EURO/HL',2,'PREHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('AEOCON','01',16,'VINI IGT ( /S)',2,'FLGIGT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOCON','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,104,104,0,0,'X(104)','',0,'',0,0,'' )
,('AEOIA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA1','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,'' )
,('AEOIA1','01',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIA1','01',4,'TIPO RECORD "01" PRIMA "05" SECONDA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOIA1','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA1','01',6,'DATA',3,'DATARI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOIA1','01',7,'COMPOSIZIONE PARTITA',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOIA1','01',11,'VASI VINARI',3,'VASVIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('AEOIA1','01',12,'CODICE VASO VINARIO',4,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOIA1','01',13,'QUANTITA'' IN LITRI',4,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AEOIA1','01',14,'CAPACITA'' RECIPENTI IN LITRI',3,'RECLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AEOIA1','01',15,'QUANTITA'' RECIPENTI',3,'RECNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEOIA1','01',16,'PROVENIENZA PARTITA',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOIA1','01',21,'AZINENDA PROVENIENZA UVE/VINO',3,'AZIPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOIA1','01',22,'CODICE FISCALE AZIENDA PROVENIENZA',3,'CDFPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOIA1','01',23,'DIRITTI SEGRETERIA PER PRELIEVO ( /X)',3,'DIRSEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOIA1','01',24,'DIRITTI SEGRETERIA PER ATT.IDONEITA( /X)',3,'DIRIDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOIA1','01',25,'DIRITTI CONSORZIO TUTELA ( /X)',3,'DIRCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOIA1','01',26,'VASI VINARI AGG.',3,'VASVI2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('AEOIA1','01',27,'CODICE VASO VINARIO',4,'CODVA2',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOIA1','01',28,'QUANTITA'' IN LITRI',4,'QTALT2',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AEOIA1','01',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,242,242,0,0,'X(242)','',0,'',0,0,'' )
,('AEOIA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA2','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,'' )
,('AEOIA2','01',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIA2','01',4,'TIPO RECORD "02" PRIMA "06" SECONDA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOIA2','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA2','01',6,'NUMERO VERBALE',3,'NUMVRB',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIA2','01',7,'DATA VERBALE',3,'DTAVRB',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOIA2','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,270,270,0,0,'X(270)','',0,'',0,0,'' )
,('AEOIA3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA3','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,'' )
,('AEOIA3','01',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIA3','01',4,'TIPO RECORD "03"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOIA3','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA3','01',6,'NUMERO PROTOCOLLO',3,'NRPRID',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AEOIA3','01',7,'GRADO',3,'GRADID',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOIA3','01',8,'DATA IDONEITA''',3,'DATAID',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOIA3','01',9,'CODICE FORNITORE DI PROVENIENZA',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEOIA3','01',10,'NOTE IDONEITA''',2,'NOTEID',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEOIA3','01',11,'DOSAGGIO ZUCCHERO GR/LT',2,'DOSZUC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOIA3','01',12,'DATA SCADENZA',2,'DTASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEOIA3','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,209,209,0,0,'X(209)','',0,'',0,0,'' )
,('AEOIA4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA4','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,'' )
,('AEOIA4','01',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIA4','01',4,'TIPO RECORD "04"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOIA4','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA4','01',6,'NUMERO PROTOCOLLO',3,'NRPRRI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIA4','01',7,'GRADO',3,'GRADRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOIA4','01',8,'DATA',3,'DATARI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOIA4','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,266,266,0,0,'X(266)','',0,'',0,0,'' )
,('AEOIA7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA7','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,'' )
,('AEOIA7','01',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIA7','01',4,'TIPO RECORD "07"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOIA7','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIA7','01',6,'DATA',3,'DATANI',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
('AEOIA7','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,280,280,0,0,'X(280)','',0,'',0,0,'' )
,('AEOIAA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIAA','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,'' )
,('AEOIAA','01',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIAA','01',4,'CODICE VOCE ANALISI',3,'CODANA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOIAA','01',5,'DATA SCADENZA',2,'VALANA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AEOIAA','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,176,176,0,0,'X(176)','',0,'',0,0,'' )
,('AEOIAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIAC','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,'' )
,('AEOIAC','01',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIAC','01',4,'TIPO RECORD "0C"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOIAC','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIAC','01',6,'TABELLA TAGLIO',3,'TABTAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIAC','01',7,'NUMERO IDONEITA''',4,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',10,'',0,0,'' )
,('AEOIAC','01',8,'QUANTITA'' IN LITRI',4,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,3,0,'9(9)V9(3) COMP-3','',10,'',0,0,'' )
,('AEOIAC','01',9,'PROVENIENZA COACERVO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOIAC','01',13,'EX-NUMPRO-NR.MOV.PROVENIENZA->AEOID3',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIAC','01',14,'EX RIGPRO-RIGA MOV.PROV.(BOLLA)->AEOID3',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOIAC','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,243,243,0,0,'X(243)','',0,'',0,0,'' )
,('AEOID1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID1','01',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID1','01',4,'STATO IDONEITA''',2,'FLGSTA',0,1,2,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOID1','01',13,'ERGA OMNES',2,'ERGOMN',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID1','01',14,'CODICE ERGA OMNES',3,'CODERG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOID1','01',15,'ANNATA ERGA OMNES',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOID1','01',16,'LOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AEOID1','01',17,'QTA. TOTALE IDONEITA'' (SEMPRE POSITIVA)',2,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V9(3)','',0,'',0,0,'' )
,('AEOID1','01',20,'MANIPOLAZIONI IDONEITA''',2,'IDOMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOID1','01',21,'LOTTO IDONEITA''',2,'IDOLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AEOID1','01',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,98,98,0,0,'X(98)','',0,'',0,0,'' )
,('AEOID2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','00',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','00',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID2','00',4,'TIPO RECORD "00"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOID2','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,288,288,0,0,'X(288)','',0,'',0,0,'' )
,('AEOID2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','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,'' )
,('AEOID2','01',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID2','01',4,'TIPO RECORD "01" PRIMA "05" SECONDA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOID2','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','01',6,'DATA',3,'DATARI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOID2','01',7,'COMPOSIZIONE PARTITA',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOID2','01',11,'VASI VINARI',3,'VASVIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('AEOID2','01',12,'CODICE VASO VINARIO',4,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOID2','01',13,'QUANTITA'' IN LITRI',4,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AEOID2','01',14,'CAPACITA'' RECIPENTI IN LITRI',3,'RECLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AEOID2','01',15,'QUANTITA'' RECIPENTI',3,'RECNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEOID2','01',16,'PROVENIENZA PARTITA',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOID2','01',21,'AZINENDA PROVENIENZA UVE/VINO',3,'AZIPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOID2','01',22,'CODICE FISCALE AZIENDA PROVENIENZA',3,'CDFPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOID2','01',23,'DIRITTI SEGRETERIA PER PRELIEVO ( /X)',3,'DIRSEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOID2','01',24,'DIRITTI SEGRETERIA PER ATT.IDONEITA( /X)',3,'DIRIDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOID2','01',25,'DIRITTI CONSORZIO TUTELA ( /X)',3,'DIRCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOID2','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,102,102,0,0,'X(102)','',0,'',0,0,'' )
,('AEOID2','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','02',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','02',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID2','02',4,'TIPO RECORD "02" PRIMA "06" SECONDA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOID2','02',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','02',6,'NUMERO VERBALE',3,'NUMVRB',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID2','02',7,'DATA VERBALE',3,'DTAVRB',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOID2','02',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,270,270,0,0,'X(270)','',0,'',0,0,'' )
,('AEOID2','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','03',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','03',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID2','03',4,'TIPO RECORD "03"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOID2','03',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','03',6,'NUMERO PROTOCOLLO',3,'NRPRID',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AEOID2','03',7,'GRADO',3,'GRADID',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOID2','03',8,'DATA IDONEITA''',3,'DATAID',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOID2','03',9,'CODICE FORNITORE DI PROVENIENZA',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEOID2','03',10,'NOTE IDONEITA''',2,'NOTEID',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEOID2','03',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,220,220,0,0,'X(220)','',0,'',0,0,'' )
,('AEOID2','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','04',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','04',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID2','04',4,'TIPO RECORD "04"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOID2','04',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','04',6,'NUMERO PROTOCOLLO',3,'NRPRRI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID2','04',7,'GRADO',3,'GRADRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOID2','04',8,'DATA',3,'DATARI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOID2','04',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,266,266,0,0,'X(266)','',0,'',0,0,'' )
,('AEOID2','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','07',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','07',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID2','07',4,'TIPO RECORD "07"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOID2','07',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','07',6,'DATA',3,'DATANI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOID2','07',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,280,280,0,0,'X(280)','',0,'',0,0,'' )
,('AEOID2','0C',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','0C',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','0C',3,'NUMERO INTERNO IDONEITA''',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID2','0C',4,'TIPO RECORD "0C"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOID2','0C',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','0C',6,'TABELLA TAGLIO',3,'TABTAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID2','0C',7,'NUMERO IDONEITA''',4,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',10,'',0,0,'' )
,('AEOID2','0C',8,'QUANTITA'' IN LITRI',4,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,3,0,'9(9)V9(3) COMP-3','',10,'',0,0,'' )
,('AEOID2','0C',9,'PROVENIENZA COACERVO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOID2','0C',13,'EX-NUMPRO-NR.MOV.PROVENIENZA->AEOID3',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AEOID2','0C',14,'EX RIGPRO-RIGA MOV.PROV.(BOLLA)->AEOID3',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOID2','0C',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,143,143,0,0,'X(143)','',0,'',0,0,'' )
,('AEOID3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID3','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,'' )
,('AEOID3','01',3,'NUMERO INTERNO IDONEITA''',3,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID3','01',4,'PROVENIENZA COACERVO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOID3','01',7,'NUMERO INTERNO MOV.PROVENIENZA',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID3','01',8,'NUMERO RIGA MOV.PROVENIENZA (SOLO BOLLE)',3,'RIGPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOID3','01',9,'CODICE AZIENDA PRODUZIONE SE DIVERSA',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOID3','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,123,123,0,0,'X(123)','',0,'',0,0,'' )
,('AEOID4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOID4','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,'' )
,('AEOID4','01',3,'NUMERO INTERNO IDONEITA''',3,'CODIDO',0,3,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOID4','01',4,'DATA RICH.PREVENTIVA IMBOTTIGLIAMENTO',3,'DTARIC',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEOID4','01',5,'CODICE CONSORZIO',3,'CODCON',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOID4','01',6,'QTA. RICHIESTA (LT)',2,'QTARIC',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V9(3)','',0,'',0,0,'' )
,('AEOID4','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,116,116,0,0,'X(116)','',0,'',0,0,'' )
,('AEOIDD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIDD','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,'' )
,('AEOIDD','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEOIDD','01',4,'CODICE ERGA OMNES',3,'CODERG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOIDD','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AEOIDD','01',6,'PROGRESSIVO IDONEITA''',3,'PROIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOIDD','01',7,'IDONEITA'' DEFAULT',2,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIDD','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('AEOIDP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOIDP','01',2,'NUMERO INTERNO IDONEITA''',2,'NUMERO',1,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIDP','01',3,'PARTITA REGISTRO FRIZZANTI/SPUMANTI',2,'PARRFS',2,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOIDP','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AEOMEO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMEO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMEO','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMEO','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMEO','01',5,'CODICE REGISTRO',2,'CODREG',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMEO','01',6,'DATA/ORA MOVIMENTO',2,'TEMMOV',0,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMEO','01',7,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMEO','01',8,'ORA MOVIMENTO',3,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOMEO','01',9,'ERGA OMNES',2,'ERGOMN',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMEO','01',10,'CODICE ERGA OMNES',3,'CODERG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMEO','01',11,'ANNATA ERGA OMNES',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMEO','01',12,'LOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AEOMEO','01',13,'NUMERO INTERNO IDONEITA''',3,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMEO','01',14,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOMEO','01',15,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOMEO','01',16,'ELEMENTO COLONNA',2,'ELECOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('AEOMEO','01',17,'CODICE COLONNA MOVIMENTATA',3,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOMEO','01',18,'QUANTITA'' MOVIMENTATA IN LITRI',3,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,12,14,3,0,'S9(9)V9(3)','',0,'',0,0,'' )
,('AEOMEO','01',19,'A=AUTOMATICO/M=MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMEO','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,84,84,0,0,'X(84)','',0,'',0,0,'' )
,('AEOMI1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI1','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,'' )
,('AEOMI1','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMI1','01',4,'TIPO RECORD "01" PRIMA "02" SECONDA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMI1','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI1','01',6,'DATA',3,'DATARI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMI1','01',7,'COMPOSIZIONE PARTITA',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMI1','01',11,'VASI VINARI',3,'VASVIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('AEOMI1','01',12,'CODICE VASO VINARIO',4,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOMI1','01',13,'QUANTITA'' IN LITRI',4,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AEOMI1','01',14,'CAPACITA'' RECIPIENTI IN LITRI',3,'RECLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AEOMI1','01',15,'QUANTITA'' RECIPIENTI',3,'RECNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEOMI1','01',16,'PROVENIENZA PARTITA',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMI1','01',21,'AZIENDA PROVENIENZA UVE/VINO',3,'AZIPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOMI1','01',22,'CODICI FISCALI AZIENDA/E PROVENIENZA',3,'CDFPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOMI1','01',23,'DIRITTI SEGRETERIA PER PRELIEVO ( /X)',3,'DIRSEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMI1','01',24,'DIRITTI SEGRETERIA PER ATT.IDONEITA( /X)',3,'DIRIDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMI1','01',25,'DIRITTI CONSORZIO TUTELA ( /X)',3,'DIRCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMI1','01',26,'DESCRIZIONE RESPONSABILE RICHIESTA',3,'DESRES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOMI1','01',27,'VASI VINARI AGG.',3,'VASVI2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('AEOMI1','01',28,'CODICE VASO VINARIO',4,'CODVA2',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOMI1','01',29,'QUANTITA'' IN LITRI',4,'QTALT2',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AEOMI1','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,212,212,0,0,'X(212)','',0,'',0,0,'' )
,('AEOMI2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI2','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,'' )
,('AEOMI2','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMI2','01',4,'TIPO RECORD "02" PRIMA "06" SECONDA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMI2','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI2','01',6,'NUMERO VERBALE',3,'NUMVRB',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMI2','01',7,'DATA VERBALE',3,'DTAVRB',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMI2','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,270,270,0,0,'X(270)','',0,'',0,0,'' )
,('AEOMI3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI3','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,'' )
,('AEOMI3','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMI3','01',4,'TIPO RECORD "03"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMI3','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI3','01',6,'NUMERO PROTOCOLLO',3,'NRPRID',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMI3','01',7,'GRADO',3,'GRADID',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOMI3','01',8,'DATA IDONEITA''',3,'DATAID',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMI3','01',9,'CODICE FORNITORE DI PROVENIENZA',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEOMI3','01',10,'NOTE IDONEITA''',2,'NOTEID',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEOMI3','01',11,'DOSAGGIO ZUCCHERO GR/LT',2,'DOSZUC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOMI3','01',12,'DATA SCADENZA IDONEITA''',2,'DTASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEOMI3','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,209,209,0,0,'X(209)','',0,'',0,0,'' )
,('AEOMI4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI4','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,'' )
,('AEOMI4','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMI4','01',4,'TIPO RECORD "04"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMI4','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI4','01',6,'NUMERO PROTOCOLLO',3,'NRPRRI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMI4','01',7,'GRADO',3,'GRADRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AEOMI4','01',8,'DATA',3,'DATARI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMI4','01',9,'DOSAGGIO ZUCCHERO (gr/lt)',3,'DOZURI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOMI4','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,263,263,0,0,'X(263)','',0,'',0,0,'' )
,('AEOMI7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI7','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,'' )
,('AEOMI7','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMI7','01',4,'TIPO RECORD "07"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMI7','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMI7','01',6,'DATA',3,'DATANI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMI7','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,280,280,0,0,'X(280)','',0,'',0,0,'' )
,('AEOMIA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMIA','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,'' )
,('AEOMIA','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMIA','01',4,'CODICE VOCE ANALISI',3,'CODANA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOMIA','01',5,'VALORE VOCE ANALISI',2,'VALANA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AEOMIA','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,176,176,0,0,'X(176)','',0,'',0,0,'' )
,('AEOMIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMIC','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,'' )
,('AEOMIC','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMIC','01',4,'TIPO RECORD "0C"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMIC','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMIC','01',6,'TABELLA TAGLIO',3,'TABTAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMIC','01',7,'NUMERO IDONEITA''',4,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',10,'',0,0,'' )
,('AEOMIC','01',8,'QUANTITA'' IN LITRI',4,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,3,0,'9(9)V9(3) COMP-3','',10,'',0,0,'' )
,('AEOMIC','01',9,'MANIPOLAZIONI',4,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',10,'',0,0,'' )
,('AEOMIC','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,208,208,0,0,'X(208)','',0,'',0,0,'' )
,('AEOMOA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOA','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,'' )
,('AEOMOA','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOA','01',4,'COD.ARTICOLO VINO CONF.ATTO',3,'CARVCA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOMOA','01',5,'COD.ARTICOLO VINO CONF.CERT.',3,'CARVCC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOMOA','01',6,'QUANTITA'' (PEZZI)',2,'QARPZZ',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AEOMOA','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,269,269,0,0,'X(269)','',0,'',0,0,'' )
,('AEOMOF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOF','01',2,'NUMERO MOVIMENTO ERGA OMNE',2,'NUMMEO',1,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOF','01',3,'NUMERO MOVIMENTO REG F/S',2,'NUMMFS',2,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','00',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','00',3,'NUMERO IMOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','00',4,'TIPO RECORD "00"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMOI','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,288,288,0,0,'X(288)','',0,'',0,0,'' )
,('AEOMOI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','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,'' )
,('AEOMOI','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','01',4,'TIPO RECORD "01" PRIMA "02" SECONDA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMOI','01',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','01',6,'DATA',3,'DATARI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMOI','01',7,'COMPOSIZIONE PARTITA',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMOI','01',11,'VASI VINARI',3,'VASVIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('AEOMOI','01',12,'CODICE VASO VINARIO',4,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOMOI','01',13,'QUANTITA'' IN LITRI',4,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AEOMOI','01',14,'CAPACITA'' RECIPIENTI IN LITRI',3,'RECLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AEOMOI','01',15,'QUANTITA'' RECIPIENTI',3,'RECNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEOMOI','01',16,'PROVENIENZA PARTITA',3,'TIPPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMOI','01',21,'AZIENDA PROVENIENZA UVE/VINO',3,'AZIPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOMOI','01',22,'CODICI FISCALI AZIENDA/E PROVENIENZA',3,'CDFPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOMOI','01',23,'DIRITTI SEGRETERIA PER PRELIEVO ( /X)',3,'DIRSEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMOI','01',24,'DIRITTI SEGRETERIA PER ATT.IDONEITA( /X)',3,'DIRIDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMOI','01',25,'DIRITTI CONSORZIO TUTELA ( /X)',3,'DIRCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMOI','01',26,'DESCRIZIONE RESPONSABILE RICHIESTA',3,'DESRES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOMOI','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('AEOMOI','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','02',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','02',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','02',4,'TIPO RECORD "02" PRIMA "06" SECONDA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMOI','02',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','02',6,'NUMERO VERBALE',3,'NUMVRB',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','02',7,'DATA VERBALE',3,'DTAVRB',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMOI','02',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,270,270,0,0,'X(270)','',0,'',0,0,'' )
,('AEOMOI','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','03',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','03',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','03',4,'TIPO RECORD "03"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMOI','03',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','03',6,'NUMERO PROTOCOLLO',3,'NRPRID',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','03',7,'GRADO',3,'GRADID',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOMOI','03',8,'DATA IDONEITA''',3,'DATAID',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMOI','03',9,'CODICE FORNITORE DI PROVENIENZA',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEOMOI','03',10,'NOTE IDONEITA''',2,'NOTEID',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEOMOI','03',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,220,220,0,0,'X(220)','',0,'',0,0,'' )
,('AEOMOI','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','04',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','04',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','04',4,'TIPO RECORD "04"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMOI','04',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','04',6,'NUMERO PROTOCOLLO',3,'NRPRRI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','04',7,'GRADO',3,'GRADRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOMOI','04',8,'DATA',3,'DATARI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMOI','04',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,266,266,0,0,'X(266)','',0,'',0,0,'' )
,('AEOMOI','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','07',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','07',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','07',4,'TIPO RECORD "07"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOMOI','07',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','07',6,'DATA',3,'DATANI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMOI','07',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,280,280,0,0,'X(280)','',0,'',0,0,'' )
,('AEOMOI','0C',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','0C',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','0C',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOI','0C',4,'TIPO RECORD "03"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AEOMOI','0C',5,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','0C',6,'TABELLA TAGLIO',3,'TABTAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOI','0C',7,'NUMERO IDONEITA''',4,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',10,'',0,0,'' )
,('AEOMOI','0C',8,'QUANTITA'' IN LITRI',4,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,3,0,'9(9)V9(3) COMP-3','',10,'',0,0,'' )
,('AEOMOI','0C',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,158,158,0,0,'X(158)','',0,'',0,0,'' )
,('AEOMOV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOV','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOV','01',4,'CODICE MAGAZZINO',2,'CODMAG',0,1,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEOMOV','01',5,'DATA/ORA MOVIMENTO',2,'TEMMOV',0,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOV','01',6,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEOMOV','01',7,'ORA MOVIMENTO',3,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOMOV','01',8,'ERGA OMNES',2,'ERGOMN',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOV','01',9,'CODICE ERGA OMNES',3,'CODERG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMOV','01',10,'ANNATA ERGA OMNES',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMOV','01',11,'LOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AEOMOV','01',12,'NUMERO INTERNO IDONEITA''',3,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOV','01',13,'CODICE PRODOTTO (SOLO MOV. SEMPLICI)',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOMOV','01',15,'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,'' )
,('AEOMOV','01',16,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMOV','01',17,'LOTTO ARTICOLO',3,'LOTART',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AEOMOV','01',18,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOMOV','01',19,'STATO IDONEITA'' PRIMA DEL MOVIMEMTO',2,'STEOID',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMOV','01',20,'STATO IDONEITA'' GENERATO DAL MOVIMENTO',2,'STEPID',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOMOV','01',21,'QUANTITA'' MOVIMENTATA IN LITRI',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V9(3)','',0,'',0,0,'' )
,('AEOMOV','01',22,'NUMERO MOVIMENTO ERGA OMNES GENERATO',2,'NUMMEO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOV','01',23,'NUMERO MOVIMENTO COMM. GENERATO',2,'NUMMCO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOV','01',24,'NUMERO MOVIMENTO MAGAZZINO GENERATO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOMOV','01',25,'CODICE COMM. VINO SFUSO ATTO',2,'CCMVSA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMOV','01',26,'CODICE COMM. VINO CONF. ATTO',2,'CCMVCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMOV','01',27,'CODICE COMM. VINO SFUSO CERTIFICATO',2,'CCMVSC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMOV','01',28,'CODICE COMM. VINO CONF. CERTIFICATO',2,'CCMVCC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMOV','01',29,'CODICE ARTICOLO VINO SFUSO ATTO',2,'CARVSA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOMOV','01',30,'CODICE ARTICOLO VINO CONF. ATTO',2,'CARVCA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOMOV','01',31,'CODICE ARTICOLO VINO SFUSO CERTIFICATO',2,'CARVSC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOMOV','01',32,'CODICE ARTICOLO VINO CONF. CERTIFICATO',2,'CARVCC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOMOV','01',33,'CODICE MANIP. COMM. VINO SFUSO ATTO',2,'MCMVSA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOMOV','01',34,'CODICE MANIP. COMM. VINO SFUSO CERTIFIC.',2,'MCMVSC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOMOV','01',35,'MANIPOLAZIONI IDONEITA''',2,'IDOMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOMOV','01',36,'CODICE COMMERCIALIZZAIZONE VINO GENERICO',2,'CCMVGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOMOV','01',37,'CODICE MANIP. COMM. VINO GENERICO',2,'MCMVGE',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AEOMOV','01',38,'LOTTO IDONEITA''',2,'IDOLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AEOMOV','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('AEOPAR','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPAR','00',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPAR','00',3,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOPAR','00',4,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOPAR','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,388,388,0,0,'X(388)','',0,'',0,0,'' )
,('AEOPAR','GE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPAR','GE',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPAR','GE',3,'TIPO RECORD = "GE"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOPAR','GE',4,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOPAR','GE',5,'DATI PER RICHIESTA IDONEITA',2,'DATIDO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPAR','GE',7,'RAGIONE SOCIALE',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEOPAR','GE',8,'INDIRIZZO',3,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOPAR','GE',9,'CAP',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEOPAR','GE',10,'LOCALITA''',3,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEOPAR','GE',11,'PROVINCIA',3,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOPAR','GE',12,'NUMERO DI TELEFONO',3,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AEOPAR','GE',13,'CODICE FISCALE / P.IVA',3,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AEOPAR','GE',15,'DIRITTI SEGRETERIA PER PRELIEVO FISSI',3,'DISPFI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AEOPAR','GE',16,'DIRITTI SEGRETERIA PER PRELIEVO PER HL',3,'DISPHL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('AEOPAR','GE',17,'DIRITTI SEGRETERIA ATT. IDONEITA FISSI',3,'DISIFI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AEOPAR','GE',18,'DIRITTI CONSORZIO TUTELA PER HL',3,'DICTHL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('AEOPAR','GE',19,'GIORNI PER SEGNALAZIONE IDONEITA'' DOCG',2,'GGDOCG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOPAR','GE',20,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AEOPAR','GE',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,187,187,0,0,'X(187)','',0,'',0,0,'' )
,('AEOPAR','MA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPAR','MA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPAR','MA',3,'TIPO RECORD = "MQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOPAR','MA',4,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEOPAR','MA',5,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEOPAR','MA',6,'DATI PER RICHIESTA IDONEITA''',2,'DATIDO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPAR','MA',7,'DESCRIZIONE RESPONSABILE',3,'DESRES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOPAR','MA',8,'INDIRIZZO MAGAZZINO',3,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOPAR','MA',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,328,328,0,0,'X(328)','',0,'',0,0,'' )
,('AEOPGE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPGE','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,'' )
,('AEOPGE','01',3,'TIPO RECORD = "GE"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOPGE','01',4,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOPGE','01',5,'DATI PER RICHIESTA IDONEITA',2,'DATIDO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPGE','01',7,'RAGIONE SOCIALE',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEOPGE','01',8,'INDIRIZZO',3,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOPGE','01',9,'CAP',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEOPGE','01',10,'LOCALITA''',3,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AEOPGE','01',11,'PROVINCIA',3,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOPGE','01',12,'NUMERO DI TELEFONO',3,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AEOPGE','01',13,'CODICE FISCALE / P.IVA',3,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AEOPGE','01',15,'DIRITTI SEGRETERIA PER PRELIEVO FISSI',3,'DISPFI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AEOPGE','01',16,'DIRITTI SEGRETERIA PER PRELIEVO PER HL',3,'DISPHL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('AEOPGE','01',17,'DIRITTI SEGRETERIA ATT. IDONEITA FISSI',3,'DISIFI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AEOPGE','01',18,'DIRITTI CONSORZIO TUTELA PER HL',3,'DICTHL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('AEOPGE','01',19,'GIORNI PER SEGNALAZIONE IDONEITA'' DOCG',2,'GGDOCG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOPGE','01',20,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AEOPGE','01',21,'PERCENTUALE IVA PER DIRITTI CONSORZIO',2,'PIVACT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AEOPGE','01',22,'CAUSALE E/O USATA PER IMBOTTIGLIAMENTO',2,'CAUIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOPGE','01',23,'CAUSALE E/O USATA PER CREAZIONE COACERVO',2,'CAUCOA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEOPGE','01',24,'GIORNI PER SEGNALAZIONE IDONEITA''NO DOCG',2,'GGSIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AEOPGE','01',25,'DATA INIZIO OBBLIGO SCADENZA IDONEITA''',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEOPGE','01',26,'IMPEDIRE DI USARE ID.CHE SCADONO DOPO GG',2,'NOIDSG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AEOPGE','01',27,'SEGNALA ID.CHE SCADONO DOPO GG',2,'SEIDSG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEOPGE','01',28,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,157,157,0,0,'X(157)','',0,'',0,0,'' )
,('AEOPMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPMA','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,'' )
,('AEOPMA','01',3,'TIPO RECORD = "MQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOPMA','01',4,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEOPMA','01',5,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEOPMA','01',6,'DATI PER RICHIESTA IDONEITA''',2,'DATIDO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPMA','01',7,'DESCRIZIONE RESPONSABILE',3,'DESRES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOPMA','01',8,'INDIRIZZO MAGAZZINO',3,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AEOPMA','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,308,308,0,0,'X(308)','',0,'',0,0,'' )
,('AEOPRO','NR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPRO','NR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOPRO','NR',3,'TIPO RECORD = "NR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AEOPRO','NR',4,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOPRO','NR',5,'ULTIMO NUMERO INTERNO MOVIMENTO IDONEITA',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOPRO','NR',6,'ULTIMO NUMERO INTERNO MOVIMENTO E/O',2,'ULTNEO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOPRO','NR',7,'ULTIMO NUMERO INTERNO IDONEITA''',2,'ULTNID',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOPRO','NR',8,'ULTIMO NUMERO COACERVO CREATO IN',2,'ULTNIC',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AEOPRO','NR',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,88,88,0,0,'X(88)','',0,'',0,0,'' )
,('AEOREG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOREG','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,'' )
,('AEOREG','01',3,'CODICE CAUSALE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOREG','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOREG','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOREG','01',6,'CARATTERE ARCHIVIAZIONE PDF',2,'CHRPDF',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEOREG','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('AEOTEO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOTEO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEOTEO','01',3,'CODICE ERGA OMNES',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOTEO','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOTEO','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOTEO','01',6,'DESCRIZIONE PER RICHIESTA IDONEITA''',2,'DESIDO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOTEO','01',7,'MENZIONE AGGIUNTIVA',2,'MENAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AEOTEO','01',8,'FLAG GESTITA AD ANNATE (S/N)',2,'FLGANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOTEO','01',9,'CODICE COMM. VINO SFUSO ATTO',2,'CCMVSA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOTEO','01',10,'CODICE COMM. VINO CONF. ATTO',2,'CCMVCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOTEO','01',11,'CODICE COMM. VINO SFUSO CERTIFICATO',2,'CCMVSC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOTEO','01',12,'CODICE COMM. VINO CONF. CERTIFICATO',2,'CCMVCC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOTEO','01',13,'CODICE ARTICOLO VINO SFUSO ATTO',2,'CARVSA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOTEO','01',14,'CODICE ARTICOLO VINO CONF. ATTO',2,'CARVCA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOTEO','01',15,'CODICE ARTICOLO VINO SFUSO CERTIFICATO',2,'CARVSC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOTEO','01',16,'CODICE ARTICOLO VINO CONF. CERTIFICATO',2,'CARVCC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AEOTEO','01',17,'CODICE CONSORZIO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEOTEO','01',18,'DOCG (S/ )',2,'FLDOCG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOTEO','01',19,'FLAG GESTITA A LOTTI (S/N)',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEOTEO','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,88,88,0,0,'X(88)','',0,'',0,0,'' )
,('AEQC52','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEQC52','01',2,'CODICE CONFERENTE',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEQC52','01',3,'ANNO VENDEMMIA 1',2,'ANNVE1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEQC52','01',4,'ANNO VENDEMMIA 2',2,'ANNVE2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEQC52','01',5,'NUMERO ANNI VERSAMENTO',2,'NUMANN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEQC52','01',6,'ANNO INIZIO VERSAMENTO',2,'ANNINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEQC52','01',7,'CONFERITO VENDEMMIA 1',2,'QTAVE1',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('AEQC52','01',8,'CONFERITO VENDEMMIA 2',2,'QTAVE2',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('AEQC52','01',9,'CONFERITO TOTALE (1+2)',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('AEQC52','01',10,'CONFERITO MEDIO',2,'QTAMED',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('AEQC52','01',11,'SALDO CAPITALE SOCIALE',2,'SALCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AEQC52','01',12,'NUMERO QUOTE DA CAPITALE SOCIALE',2,'QUOCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('AEQC52','01',13,'QTA CONFERITA DA CAPITALE SOCIALE',2,'QTACAP',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('AEQC52','01',14,'QUANTITA'' ECCEDENZA',2,'QTAECC',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('AEQC52','01',15,'NUMERO QUOTE IN ECCEDENZA',2,'QUOECC',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('AEQC52','01',16,'IMPORTO INCREMENTO CAPITALE',2,'INCCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AEQC52','01',17,'IMPORTO INCREMENTO RISERVA',2,'INCRIS',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AEQC52','01',18,'DATA REGISTRAZIONE CONTABILE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEQC52','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,'' )
,('AEQC52','01',20,'ANNO REGISTRAZIONE CONTABILE',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEQC52','01',21,'MESE REGISTRAZIONE CONTABILE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEQC52','01',22,'GIORNO REGISTRAZIONE CONTABILE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEQC52','01',23,'DATA AGGIORNAMENTO LIBRO SOCI',2,'DATLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AEQC52','01',24,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEQC52','01',25,'ANNO AGGIORNAMENTO LIBRO SOCI',3,'AAALIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEQC52','01',26,'MESE AGGIORNAMENTO LIBRO SOCI',3,'MMMLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEQC52','01',27,'GIORNO AGGIORNAMENTO LIBRO SOCI',3,'GGGLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEQC52','01',28,'AGGIORNATA CONTABILITA'' /S',2,'AGGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEQC52','01',29,'AGGIORNATO LIBRO SOCI /S',2,'AGGLIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEQC52','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('AERRIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AERRIC','01',2,'PROGRESSIVO',2,'PROGRE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AERRIC','01',3,'ERRORE',2,'DESEVE',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AERRIC','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AESCRE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AESCRE','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,'' )
,('AESCRE','01',3,'CODICE',3,'CODSCE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AESCRE','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AESGNI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AESGNI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AESGNI','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AESGNI','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AESGNI','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AESP01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AESP01','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,'' )
,('AESP01','01',3,'TIPO TABELLA',3,'TIPTAB',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AESP01','01',4,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AESP01','01',5,'CODICE RAGRUPPAMENTO UVE',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AESP01','01',6,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AESP01','01',7,'GRADO',3,'GRACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AESP01','01',8,'PREZZO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,3,0,'S9(4)V999','',0,'',0,0,'' )
,('AESP01','01',9,'PREZZO A GRADO',2,'IMPGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,3,0,'S9(4)V999','',0,'',0,0,'' )
,('AESP01','01',10,'PREZZO PER CATEGORIA',2,'IMPCAT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,3,0,'S9(4)V999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AESP01','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AESP79','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AESP79','01',2,'CODICE CLIENTE',2,'CODCLI',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AESP79','01',3,'IMPORTO FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AESP79','01',4,'ESPOSIZIONE TOTALE',2,'ESPOSI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AESP79','01',5,'NUMERO INSOLUTI',2,'NUMINS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AESP79','01',6,'IMPORTO INSOLUTI',2,'IMPINS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AESP79','01',7,'SCADUTO OLTRE GG',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AESP79','01',8,'GIORNI SCADUTO OLTRE',2,'GIOSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AESP79','01',9,'PERCENTUALE TOLLERANZA FUORI FIDO',2,'PERTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AESP79','01',10,'NR INSULUTI MAX',2,'MAXINS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AESP79','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,189,189,0,0,'X(189)','',0,'',0,0,'' )
,('AEST11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEST11','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEST11','01',3,'CODICE UVA',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AEST11','01',4,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AEST11','01',5,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('AEST11','01',6,'IMPORTO LIQUIDAZIONE',2,'IMPLIQ',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AEST11','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AETBQU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AETBQU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AETBQU','01',3,'CODICE CLIENTE',3,'CODCLI',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AETBQU','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AETBQU','01',5,'DESCRIZIONE SPEDIZIONIERE',2,'DESSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AETBQU','01',6,'ORA INIZIO CONSEGNA',2,'CONINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AETBQU','01',7,'ORA TERMINE CONSEGNA',2,'CONFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AETBQU','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,234,234,0,0,'X(234)','',0,'',0,0,'' )
,('AETICP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AETICP','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AETICP','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AETICP','01',4,'CAUSALI BOLLE CLIENTI DA ELABORARE',2,'CAUCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',20,'',0,0,'' )
,('AETICP','01',5,'CAUSALI BOLLE FORNITORI DA ELABORARE',2,'CAUFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',20,'',0,0,'' )
,('AETICP','01',6,'DATA INIZIO ETICHETTATURA BOLLE',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AETICP','01',7,'CODICE ARTICOLO INIZIALE',2,'ARTINI',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AETICP','01',8,'CODICE ARTICOLO FINALE',2,'ARTFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AETICP','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,184,184,0,0,'X(184)','',0,'',0,0,'' )
,('AETVRU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AETVRU','01',2,'ID PRODOTTO',2,'IDPROD',0,3,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('AETVRU','01',3,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AETVRU','01',4,'CODICE REGISTRO',3,'CODREG',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AETVRU','01',5,'NUMERO PROGRESSIVO LANCIO ELABORAZIONE',3,'NUMPRO',0,2,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AETVRU','01',6,'CODICE VASCA',3,'CODVAS',0,4,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AETVRU','01',7,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AETVRU','01',8,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AETVRU','01',9,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AETVRU','01',10,'QUANTITA'' GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('AETVRU','01',11,'DATA DI RIFERIMENTO GIACENZA',2,'DTAGIA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AETVRU','01',12,'GRADO GIACENZA',2,'GRAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AEX102','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEX102','01',2,'CHIAVE PER DETTAGLIO',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEX102','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEX102','01',4,'IMPORTO 1',2,'IMP001',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',5,'IMPORTO 2',2,'IMP002',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',6,'IMPORTO 3',2,'IMP003',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',7,'IMPORTO 4',2,'IMP004',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',8,'IMPORTO 5',2,'IMP005',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',9,'IMPORTO 6',2,'IMP006',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',10,'IMPORTO 7',2,'IMP007',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',11,'IMPORTO 8',2,'IMP008',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',12,'IMPORTO 9',2,'IMP009',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',13,'IMPORTO 10',2,'IMP010',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',14,'IMPORTO 11',2,'IMP011',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEX102','01',15,'IMPORTO 12',2,'IMP012',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AEXACC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXACC','01',2,'CAMPO UNICO',2,'CAMREC',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(1024)','',0,'',0,0,'' )
,('AEXALI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXALI','01',2,'CAMPO UNICO',2,'CAMREC',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(1024)','',0,'',0,0,'' )
,('AEXAMM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXAMM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXAMM','01',3,'PERIODO DI COMPETENZA',3,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXAMM','01',4,'ANNO',4,'PERAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AEXAMM','01',5,'MESE',4,'PERMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AEXAMM','01',6,'CODICE CESPITE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXAMM','01',7,'PRIMA PARTE',4,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEXAMM','01',8,'SECONDA PARTE',4,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEXAMM','01',9,'CENTRO DI COSTO',2,'CENCOS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AEXAMM','01',10,'GRUPPO CONTO SOTTOCONTO AMMORTAMENTO',2,'GRCOSO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXAMM','01',11,'GRUPPO',3,'GRUAMM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AEXAMM','01',12,'CONTO',3,'CONAMM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AEXAMM','01',13,'SOTTOCONTO',3,'SOTAMM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEXAMM','01',14,'IMPORTO AMMORTAMENTO',2,'IMPAMM',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AEXCAA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXCAA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXCAA','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AEXCAA','01',4,'DATA INIZIALE',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEXCAA','01',5,'DATA FINALE',2,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEXCAA','01',6,'DATA LANCIO EXPORT',2,'DTAEXP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEXDAA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXDAA','01',2,'CAMPO UNICO',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(2048)','',0,'',0,0,'' )
,('AEXDIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXDIC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXDIC','01',3,'CODICE DICHIARANTE',3,'CODDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AEXDIC','01',4,'NOME ARCHIVIO',3,'NOMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEXDIC','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AEXDIC','01',6,'AREA RECORD',2,'AREARE',0,0,0,0,0,0,0,0,0,0,'',4,0,300,300,0,0,'X(300)','',0,'',0,0,'' )
,('AEXFAD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXFAD','01',2,'CAMPO UNICO',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(14000)','',0,'',0,0,'' )
,('AEXMLI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXMLI','01',2,'CAMPO UNICO',2,'CAMREC',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(1024)','',0,'',0,0,'' )
,('AEXSTB','00',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
('AEXSTB','00',2,'TIPO RECORD = SPAZI',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEXSTB','00',3,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AEXSTB','00',4,'FLAG CATASTO COMPLETO S/N',2,'FLGCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEXSTB','00',5,'FLAG ARCHIVIO PESATE S/N',2,'FLGPES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AEXSTB','00',6,'DATA PARTENZA CATASTI VARIATI',2,'DTACAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEXSTB','00',7,'DATA EXPORT',2,'DTAEXP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AEXSTB','00',8,'AREA RECORD',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,479,479,0,0,'X(479)','',0,'',0,0,'' )
,('AEXSTB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AEXSTB','01',2,'TIPO RECORD = NOME ARCHIVIO',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AEXSTB','01',3,'AREA RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,500,500,0,0,'X(500)','',0,'',0,0,'' )
,('AFAMBU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFAMBU','01',2,'CODICE FAMIGLIA',2,'CODFAM',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFAMBU','01',3,'CODICE BUDGET',2,'CODBUD',2,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFAMBU','01',4,'DESCRIZIONE FAMIGLIA',2,'DESFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFAMBU','01',5,'DESCRIZIONE SUCCINTA FAMIGLIA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFAMBU','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFASMV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASMV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASMV','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASMV','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFASMV','01',5,'DATA MOVIMENTO',2,'DTAMOV',0,2,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFASMV','01',6,'C=CARICO S=SCARICO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFASMV','01',7,'NUMERO INTERNO SERIE',2,'NSERIE',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASMV','01',8,'DAL NUMERO',2,'NUMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASMV','01',9,'AL NUMERO',2,'NUMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASMV','01',10,'RIFERIMENTO (DI SOLITO CHIAMATO NUMDOC)',2,'RIFERI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFASMV','01',11,'A=AUTOMATICO/M=MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFASMV','01',12,'REG.IMBOTTIGLIAMENTO (SOLO CARICO)',2,'REGIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFASMV','01',13,'MOVIMENTO DI IMBOTTIGLIAMENTO GENERATO',2,'MOVIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASMV','01',14,'SECONDA RIGA RIFERIMENTO',2,'RIFER2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFASMV','01',15,'TERZA RIGA RIFERIMENTO',2,'RIFER3',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFASMV','01',16,'NUMERO DOCUMENTO (REG IMB.)',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFASMV','01',17,'DATA DOCUMENTO (REG.IMB)',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFASMV','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,114,114,0,0,'X(114)','',0,'',0,0,'' )
,('AFASOF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASOF','01',2,'TIPO CODICE',2,'TIPCOD',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFASOF','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO C F S',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASOF','01',5,'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,'' )
,('AFASOF','01',6,'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,'' )
,('AFASOF','01',7,'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,'' )
,('AFASOF','01',8,'CODICE PARTITA',2,'CODPAR',3,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASOF','01',9,'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,'' )
,('AFASOF','01',10,'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,'' )
,('AFASOF','01',11,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASOF','01',12,'DEFINIZIONE NUM PARTITA PER CODICE SOCIO',4,'PARZZZ',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'Z(10)','',0,'',0,0,'' )
,('AFASOF','01',13,'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,'' )
,('AFASPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASPA','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,'' )
,('AFASPA','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASPA','01',4,'INIZIO RICHIESTA FASCETTE IN PRODUZIONE',2,'DTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFASPA','01',5,'PERCENTUALE SFRIDI AMMESSI IN PRODUZIONE',2,'PERSFR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFASPA','01',6,'DATA INIZIO NOTE IMB. DA CARICO FASCETTE',2,'DTAIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFASPA','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,270,270,0,0,'X(270)','',0,'',0,0,'' )
,('AFASPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASPR','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,'' )
,('AFASPR','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASPR','01',4,'ULTIMO NUMERO INTERNO MOVIMENTO',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASPR','01',5,'ULTIMO NUMERO SERIE',2,'ULTSER',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASPR','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,129,129,0,0,'X(129)','',0,'',0,0,'' )
,('AFASSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASSC','01',2,'NUMERO INTERNO SERIE',2,'NSERIE',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASSC','01',3,'CODICE COMMERCIALIZZAZIONE COLLEGATO',2,'CODCOM',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFASSC','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('AFASSE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASSE','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,'' )
,('AFASSE','01',3,'NUMERO INTERNO SERIE',3,'NSERIE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASSE','01',4,'PREFISSO DELLA SERIE',2,'PREFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFASSE','01',5,'CAPACITA'' RECIPIENTI DI RIFERIMENTO',2,'CAPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,3,0,'9(4)V999','',0,'',0,0,'' )
,('AFASSE','01',6,'A=ADESIVO C=COLLA',2,'TIPFAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFASSE','01',7,'CODICE IDONEITA''',2,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASSE','01',8,'PARTITA REGISTRO FRIZZANTI/SPUMANTI',2,'PARTFS',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASSE','01',9,'PREZZO FASCETTE',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
,('AFASSE','01',10,'id prodotto ru',2,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AFASSE','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,182,182,0,0,'X(182)','',0,'',0,0,'' )
,('AFASSF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFASSF','01',2,'NUMERO INTERNO SERIE',2,'NSERIE',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFASSF','01',3,'ID FAMIGLIA RU COLLEGATO',2,'IDFAMI',2,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AFAT34','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFAT34','01',2,'CODICE DITTA',2,'CODDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFAT34','01',3,'TIPO DOCUMENTO 1=FATT. 2=N.C.',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AFAT34','01',4,'DATA FATTURA',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AFAT34','01',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFAT34','01',6,'ANNO FATTURA',3,'AAAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFAT34','01',7,'MESE FATTURA',3,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFAT34','01',8,'GIORNO FATTURA',3,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFAT34','01',9,'NUMERO REGISTRO IVA',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFAT34','01',10,'NUMERO FATTURA',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFAT34','01',11,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFAT34','01',12,'RAGIONE SOCIALE CLIENTE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AFAT34','01',13,'INDIRIZZO CLIENTE',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('AFAT34','01',14,'CAP CLIENTE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFAT34','01',15,'LOCALITA'' CLIENTE',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('AFAT34','01',16,'PROVINCIA CLIENTE',2,'PROVVI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFAT34','01',17,'P. IVA CLIENTE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('AFAT34','01',18,'C. FISCALE CLIENTE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFAT34','01',19,'IMPONIBILE FATTURA (DA ADITARE 9(9)V99-)',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',8,'',0,0,'' )
,('AFAT34','01',20,'ALIQUOTA IVA (RICODIFICA)',2,'ALIIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('AFAT34','01',21,'IMPORTO IVA (DA EDITARE 9(8)V99-)',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',8,'',0,0,'' )
,('AFAT34','01',22,'TIPO IVA 0=NORM. 999=IVA SOSP.',2,'TIPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFAT34','01',23,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AFAT34','01',24,'TOT. COSTO (DA ADITARE 9(9)V99-)',2,'TOTCOS',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AFAT34','01',25,'ACCONTI (DA EDITARE 9(7)V99-)',2,'TOTACC',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFAT34','01',26,'IMP. SCONTO (DA EDITARE 9(9)V99-)',2,'SCOPIE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AFAT34','01',27,'N. PARTITA (SOLO PER NC)',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFAT34','01',28,'ANNO PARTITA (SOLO PER NC)',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFAT34','01',29,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFAT34','01',30,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFAT34','01',31,'DESCRIZIONE AGENZIA (NON USATO)',2,'DESAGE',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFAT34','01',32,'SPESE INCASSO (DA EDITARE 9(7)V99-)',2,'SPEINC',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFAT34','01',33,'IMP. BOLLO (DA EDITARE 9(7)V99-)',2,'IMPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFAT34','01',34,'IMP. ABBUONI (DA EDITARE 9(7)V99-)',2,'IMPABB',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFAT34','01',35,'IMPONIB. PROVV. (DA EDITARE 9(7)V99-)',2,'IMPPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFAT34','01',36,'IMPORT. PROVV. (DA EDITARE 9(7)V99-)',2,'PROPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFAT34','01',37,'PROVVIGIONE MEDIA',2,'PROMED',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AFAT34','01',38,'TIPO EFFETTO',2,'TIPEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',12,'',0,0,'' )
,('AFAT34','01',39,'DATA SCADENZA AAAAMMGG',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',12,'',0,0,'' )
,('AFAT34','01',40,'IMPORTO SCADENZA (DA EDITARE 9(9)V99-)',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',12,'',0,0,'' )
,('AFAT34','01',41,'IMP. BOLLO (DA EDITARE 9(5)V99-)',2,'ELEBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',12,'',0,0,'' )
,('AFAT34','01',42,'CODICE CONTO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',20,'',0,0,'' )
,('AFAT34','01',43,'CONTO 1',3,'CODCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFAT34','01',44,'CONTO 2',3,'CODCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFAT34','01',45,'CONTO 3',3,'CODCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFAT34','01',46,'IMP. CONTROP. (DA EDITARE 9(9)V99-)',2,'IMPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',20,'',0,0,'' )
,('AFAT34','01',47,'TOTALE FATTURA (DA EDITARE 9(9)V99-)',2,'TOTFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AFAT34','01',48,'TIPO FATTURA SEMPRE = 3',2,'TIPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AFAT34','01',49,'CODICE VALUTA SEMPRE 0',2,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFAT34','01',50,'VALUTA SEMPRE 0',2,'VALCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AFAT34','01',51,'IMPONIBILE OMAGGI SEMPRE ZERO',2,'IMPOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AFAT34','01',52,'IVA OMAGGI SEMPRE ZERO',2,'IVAOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFAT34','01',53,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('AFAT34','01',54,'EVENTUALE CARATTERE PER UNIX',2,'CARTER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATAC','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATAC','01',3,'TIPO DOCUMENTO',2,'TIPDOC',4,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATAC','01',6,'TIPO PAGAMENTO',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATAC','01',9,'PROGRESSIVO',2,'PROGRE',5,5,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATAC','01',10,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFATAC','01',11,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFATAC','01',12,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFATAC','01',13,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFATAC','01',14,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATAC','01',15,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFATAC','01',16,'DATA REGISTRAZIONE DOCUMENTO',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATAC','01',17,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATAC','01',18,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATAC','01',19,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATAC','01',20,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATAC','01',21,'NUMERO DOCUMENTO',2,'NUMDOC',3,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFATAC','01',22,'DATA STAMPA DOCUMENTO',2,'DATSTA',2,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATAC','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,'' )
,('AFATAC','01',24,'ANNO STAMPA DOCUMENTO',3,'AAASTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATAC','01',25,'MESE STAMPA DOCUMENTO',3,'MMMSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATAC','01',26,'GIORNO STAMPA DOCUMENTO',3,'GGGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATAC','01',27,'NUMERO ASSEGNO',2,'NUMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('AFATAC','01',28,'NUMERO REGISTRAZIONE PRIMANOTA',2,'NUMPRN',0,0,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATAC','01',29,'EURO A GRADO',2,'IMPGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATAC','01',30,'MONTEGRADI',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V999','',0,'',0,0,'' )
,('AFATAC','01',31,'IMPORTO CAPITALE DETRATTO',2,'IMPCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFATAC','01',32,'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,'' )
,('AFATAC','01',33,'IMPORTO DETRAZIONE',2,'IMPDET',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFATAC','01',34,'NUMERO DOCUMENTO PER STAMPA',2,'STADOC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFATAC','01',35,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('AFATAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATAG','01',2,'CODICE AGENTE',2,'CODAGE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AFATAG','01',3,'ANNO ULTIMA FATTURA',2,'ANNFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATAG','01',4,'MESE ULTIMA FATTURA',2,'MESFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATAG','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFATDE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATDE','01',2,'CODICE CONTRATTO',2,'CODCON',1,1,3,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATDE','01',3,'CODICE CLIENTE',2,'CODCLI',2,2,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATDE','01',4,'NUMERO FATTURA',2,'NUMFAT',3,4,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATDE','01',5,'DATA DENUNCIA',2,'DATDEN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATDE','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,'' )
,('AFATDE','01',7,'ANNO',3,'AA-DEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATDE','01',8,'MESE',3,'MM-DEN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATDE','01',9,'GIORNO',3,'GG-DEN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATDE','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFATF1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF1','01',3,'NUMERO FATTURA',3,'NUMFAT',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATF1','01',4,'HUB ID AGYO',2,'HUB-ID',0,0,0,1,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AFATF1','01',5,'SOGGETTO SOCIO/FORNITORE',2,'CODSOG',0,1,0,2,2,3,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF1','01',6,'F=FORNITORE S=SOCIO',3,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATF1','01',7,'CODICE FORNITORE',3,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('AFATF1','01',8,'PARTITA IVA FORNITORE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFATF1','01',9,'RIFERIMENTI IVA',2,'RIFIVA',0,2,1,3,3,2,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF1','01',10,'DATA IVA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATF1','01',11,'REDEFINES',3,'AMGIVA',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF1','01',12,'PERIODO STATISTICO',4,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF1','01',13,'ANNO',5,'AA-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATF1','01',14,'MESE',5,'MM-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF1','01',15,'GIORNO',4,'GG-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF1','01',16,'NUMERO IVA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATF1','01',17,'TIPO DOCUMENTO (TD01,.....)',2,'TDSPES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFATF1','01',18,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,1,1,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATF1','01',22,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATF1','01',23,'CODICE VALUTA ESTERA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAVA',1,1,'' )
,('AFATF1','01',24,'CAMBIO DEL GIORNO (*CAMBIO)',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,3,0,'9(6)V999 COMP-3','',0,'',0,0,'' )
,('AFATF1','01',25,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF1','01',26,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AFATF1','01',27,'SCONTO LITRO',2,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATF1','01',28,'TOTALE IMPONIBILE',2,'TOTIPN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATF1','01',29,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATF1','01',30,'CAUZIONI',2,'CAUZIO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF1','01',31,'IMPORTO CAUZIONI',3,'IMPCAU',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AFATF1','01',32,'IMPORTO BOLLO CAUZIONI',3,'IMPBCZ',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATF1','01',33,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATF1','01',34,'DIVISA',2,'DIVISA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATF1','01',35,'CAMBIO IN EURO (/CAMBIO)',2,'CAMEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AFATF1','01',36,'COSTO TRASPORTO',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATF1','01',37,'CODICE PAGAMENTO AG. ENTRATE',2,'PAGB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFATF1','01',38,'NUMERO REGISTRAZIONE CONTABILE',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATF1','01',40,'TIPO RITENUTA',2,'TIPOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFATF1','01',41,'IMPORTO RITENUTA',2,'IMPOLD',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('AFATF1','01',42,'PERCENTUALE RITENUTA',2,'PEROLD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATF1','01',43,'CAUSALE PAGAMENTO',2,'CAUOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATF1','01',44,'FLAG EFFETTUATO DOWNLOAD',2,'FLGDOW',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATF1','01',45,'FOGLIO DI STILE',2,'NOMPDF',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AFATF1','01',47,'ELEMENTO DATI RITENUTA ACCONTO',2,'AREARI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('AFATF1','01',48,'TIPO RITENUTA',3,'TIPRIT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFATF1','01',49,'IMPORTO RITENUTA',3,'IMPRIT',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('AFATF1','01',50,'PERCENTUALE RITENUTA',3,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATF1','01',51,'CAUSALE PAGAMENTO',3,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATF2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF2','01',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATF2','01',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATF2','01',5,'ALIQUOTA',2,'ALIIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATF2','01',6,'NATURA',2,'NATURA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATF2','01',7,'ESIGIBILITA''',2,'ESIGIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATF2','01',8,'RIFERIMENTO NORMATIVO',2,'RIFNOR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF2','01',9,'PER BROWSER',3,'RIFNO1',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AFATF2','01',10,'PER BROWSER',3,'RIFNO2',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AFATF2','01',11,'CODICE IVA',2,'ELECOD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATF2','01',12,'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,'' )
,('AFATF2','01',13,'IMPOSTA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AFATF2','01',14,'SPESE ACCESSORIE',2,'SPEACC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AFATF2','01',15,'ARROTONDAMENTO',2,'ARROTO',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,8,0,'S9(7)V9(8)','',0,'',0,0,'' )
,('AFATF3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF3','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF3','01',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATF3','01',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATF3','01',5,'TIPO PAGAMENTO',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFATF3','01',6,'BENEFICIARIO',2,'BENEFI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF3','01',7,'BENEFICIARIO 1',3,'BENEF1',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFATF3','01',8,'BENEFICIARIO 2',3,'BENEF2',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFATF3','01',9,'MODALITA'' PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFATF3','01',10,'DATA DECORRENZA PAGAMENTO',2,'DATDEC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATF3','01',11,'REDEFINES',2,'AMGDEC',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF3','01',12,'ANNO',3,'AAADEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATF3','01',13,'MESE',3,'MMMDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF3','01',14,'GIORNO',3,'GGGDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF3','01',15,'DECORRENZA ESPRESSA IN GIORNI',2,'GIODEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFATF3','01',16,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATF3','01',17,'REDEFINES',2,'AMGSCA',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF3','01',18,'ANNO',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATF3','01',19,'MESE',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF3','01',20,'GIORNO',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF3','01',21,'IMPORTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AFATF3','01',22,'UFFICIO POSTALE',2,'UFFPOS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFATF3','01',23,'COGNOME QUIETANZAANTE',2,'COGQUI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AFATF3','01',24,'NOME QUIETANZAANTE',2,'NOMQUI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AFATF3','01',25,'CODICE FISCALE QUIETANZANTE',2,'CFIQUI',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFATF3','01',26,'TITOLO QUIETANZANTE',2,'TITQUI',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFATF3','01',27,'ISTITUTO FINANZIARIO',2,'ISTFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AFATF3','01',28,'CODICE IBAN',2,'CODIBA',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',0,'',0,0,'' )
,('AFATF3','01',29,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFATF3','01',30,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFATF3','01',31,'CODICE BIC',2,'CODBIC',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AFATF3','01',32,'AMMONTARE SCONTO PAGAMENTO ANTICIPATO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AFATF3','01',33,'DATA LIMITE PAGAMENTO ANTICIPATO',2,'DATLIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATF3','01',34,'REDEFINES',2,'AMGLIM',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF3','01',35,'ANNO',3,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATF3','01',36,'MESE',3,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF3','01',37,'GIORNO',3,'GGGLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF3','01',38,'PENALITA'' RITARDATI PAGAMENTI',2,'PENRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AFATF3','01',39,'DATA DECORRENZA PENALE',2,'DATPEN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATF3','01',40,'REDEFINES',2,'AMGPEN',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATF3','01',41,'ANNO',3,'AAAPEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATF3','01',42,'MESE',3,'MMMPEN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF3','01',43,'GIORNO',3,'GGGPEN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATF3','01',44,'CODICE PAGAMENTO CESSIONARIO',2,'CODCES',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AFATFA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFA','01',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATFA','01',4,'NUMERO ALLEGATO',3,'PROALL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATFA','01',5,'NOME FILE ALLEGATO',2,'NOMALL',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AFATFA','01',6,'TIPO ALLEGATO',2,'TIPALL',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATFA','01',7,'NO ESTENSIONE /S',2,'NOESTE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATFC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFC','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,'' )
,('AFATFC','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AFATT1',1,1,'' )
,('AFATFC','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATFC','01',5,'PROGRESSIVO COMMENTO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATFC','01',6,'TIPO COMMENTO',2,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFATFC','01',7,'TESTO COMMENTO',2,'TESCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AFATFC','01',8,'NUMERO ?!?!?!?!?!',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AFATFC','01',9,'DATA COMMENTO',2,'DATCOM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATFC','01',10,'REDEFINES',2,'AMGCOM',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFC','01',11,'ANNO',3,'AAACOM',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
('AFATFC','01',12,'MESE',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATFC','01',13,'GIORNO',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATFP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFP','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,'' )
,('AFATFP','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATFP','01',4,'PROGRESSIVO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATFR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFR','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,'' )
,('AFATFR','01',3,'NUMERO FATTURA',3,'NUMFAT',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATFR','01',4,'NUMERO REGISTRAZIONE CONTABILE',3,'NUMREG',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATFZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFZ','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,'' )
,('AFATFZ','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AFATT1',1,1,'' )
,('AFATFZ','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATFZ','01',5,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFZ','01',6,'TIPO ARTICOLO',3,'TIPART',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'AARTI1',1,1,'' )
,('AFATFZ','01',7,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'AARTI1',1,1,'' )
,('AFATFZ','01',8,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATFZ','01',9,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFZ','01',10,'DESCRIZIONE ARTICOLO',3,'DESAR1',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFATFZ','01',11,'DESCRIZIONE ARTICOLO',3,'DESAR2',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFATFZ','01',12,'UNITA'' DI MISURA',2,'UNIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFATFZ','01',13,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFZ','01',14,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('AFATFZ','01',15,'ALIQUOTA IVA',3,'ALIRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATFZ','01',16,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'ATBACZ',1,1,'' )
,('AFATFZ','01',17,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AFATFZ','01',18,'GRADO CONCORDATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('AFATFZ','01',19,'TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATFZ','01',23,'IMPORTO',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATFZ','01',24,'QUANTITA'' PER CALCOLO IMPORTO',3,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AFATFZ','01',25,'PREZZO PER CALCOLO IMPORTO',3,'PREIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AFATFZ','01',26,'CAUSALE SCONTO MERCE',3,'FLGCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATFZ','01',27,'QUANTITA TOTALE RIGA (VENDITA + OMAGGI)',3,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATFZ','01',28,'QUANTITA ACQUISTO',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATFZ','01',29,'QUANTITA OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATFZ','01',30,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATFZ','01',42,'SCONTI COMMERCIALI',3,'ELESCO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('AFATFZ','01',43,'TIPO SCONTO',4,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATFZ','01',44,'PERCENTUALE SCONTO',4,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AFATFZ','01',45,'IMPORTO SCONTO',4,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('AFATFZ','01',46,'ESCLUSO DA CONTEGGIO SCONTO PAGAMENTO',3,'FLGSCP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATFZ','01',47,'NUMERO DDT',3,'NUMDDT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFATFZ','01',48,'DATA DDT',3,'DATDDT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATFZ','01',49,'REDEFINES',3,'AMGDDT',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATFZ','01',50,'ANNO',4,'AAADDT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATFZ','01',51,'MESE',4,'MMMDDT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATFZ','01',52,'GIORNO',4,'GGGDDT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATNO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATNO','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,'' )
,('AFATNO','01',3,'TIPO RECORD = "01"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATNO','01',4,'TESTO NOTE (PER ORA GESTINI 3 X 66)',2,'TTNOTE',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',5,'',0,0,'' )
,('AFATNO','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AFATPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATPA','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,'' )
,('AFATPA','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATPA','01',4,'TRASMITTENTE - CODICE ISO',2,'TRAIDP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATPA','01',5,'TRASMITTENTE - IDENTIFICATIVO FISCALE',2,'TRACOD',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AFATPA','01',6,'TRASMITTENTE - TELEFONO',2,'TRATEL',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AFATPA','01',7,'TRASMITTENTE - E-MAIL',2,'TRAEMA',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AFATPA','01',8,'CEDENTE - CODICE ISO',2,'CEDIDP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATPA','01',9,'CEDENTE - IDENTIFICATIVO FISCALE',2,'CEDCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('AFATPA','01',10,'CEDENTE - CODICE FISCALE',2,'CEDCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFATPA','01',11,'CEDENTE - DENOMINAZIONE',2,'CEDDEN',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AFATPA','01',12,'CEDENTE - REGIME FISCALE',2,'CEDREF',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFATPA','01',13,'CEDENTE -SEDE- INDIRIZZO',2,'CEDIND',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AFATPA','01',14,'CEDENTE -SEDE- CAP',2,'CEDCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATPA','01',15,'CEDENTE -SEDE- DESCRIZIONE COMUNE',2,'CEDCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AFATPA','01',16,'CEDENTE -SEDE- PROVINCIA',2,'CEDPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATPA','01',17,'CEDENTE -SEDE- NAZIONE',2,'CEDNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATPA','01',18,'CEDENTE -ISC.REA- PROVINCIA UFFICIO',2,'CEDUFF',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATPA','01',19,'CEDENTE -ISC.REA- NUMERO',2,'CEDNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFATPA','01',20,'CEDENTE -ISC.REA- CAPITALE SOCIALE',2,'CEDCPS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFATPA','01',21,'CEDENTE -ISC.REA- SOCIO UNICO',2,'CEDSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATPA','01',24,'CEDENTE - ISCR.REA- STAO LIQUIDAZIONE',2,'CEDSTL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATPA','01',27,'EXPORT COMMENTI IN XML SDI',2,'EXPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATS1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS1','01',2,'NUMERO FATTURA',2,'NUMFAT',1,3,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATS1','01',3,'CODICE CLIENTE',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATS1','01',4,'RIFERIMENTI IVA',2,'RIFIVA',0,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS1','01',5,'DATA IVA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATS1','01',6,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS1','01',7,'ANNO',4,'AA-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATS1','01',8,'MESE',4,'MM-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATS1','01',9,'GIORNO',4,'GG-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATS1','01',10,'NUMERO IVA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AFATS1','01',11,'CODICE DESTINATRIO',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATS1','01',12,'CAUSALE FATTURA',2,'CAUFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AFATS1','01',13,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATS1','01',14,'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,'' )
,('AFATS1','01',15,'CODICE CAPO AREA',2,'CODACA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AFATS1','01',16,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AFATS1','01',17,'CODICE VALUTA ESTERA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFATS1','01',18,'CAMBIO',2,'CAMEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('AFATS1','01',19,'SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATS1','01',20,'SCONTO LITRO',2,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATS1','01',21,'TOTALE IMPONIBILE',2,'TOTIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATS1','01',22,'TOTALE IVA',2,'TOTIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATS1','01',23,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATS1','01',24,'FILLER',2,'FILLER',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
('AFATS2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','00',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','00',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATS2','00',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATS2','00',5,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATS2','00',9,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','00',10,'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,'' )
,('AFATS2','00',11,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATS2','00',12,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATS2','00',13,'FILLER',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('AFATS2','DD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','DD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','DD',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATS2','DD',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATS2','DD',5,'TIPO RIGA (D)',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATS2','DD',6,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','DD',7,'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,'' )
,('AFATS2','DD',8,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATS2','DD',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATS2','DD',10,'DATI RIGA',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','DD',11,'QUANTITA'' VENDUTA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATS2','DD',12,'GRADO CONCORDATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('AFATS2','DD',13,'TIPO PREZZO N=QTA H=MONTEGRADI',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATS2','DD',14,'PREZZO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATS2','DD',15,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','DD',16,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AFATS2','DD',17,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATS2','DD',18,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATS2','DD',19,'PROVVIGIONE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATS2','DD',20,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('AFATS2','II',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','II',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','II',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATS2','II',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATS2','II',5,'TIPO RIGA (I)',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATS2','II',6,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','II',7,'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,'' )
,('AFATS2','II',8,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATS2','II',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATS2','II',10,'DATI RIGA',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','II',11,'IMPORTO',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATS2','II',12,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATS2','II',13,'PROVVIGIONE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATS2','II',14,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,84,84,0,0,'X(84)','',0,'',0,0,'' )
,('AFATS2','MM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','MM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','MM',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATS2','MM',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATS2','MM',5,'TIPO RIGA (M)',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATS2','MM',6,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','MM',7,'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,'' )
,('AFATS2','MM',8,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATS2','MM',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATS2','MM',10,'DATI RIGA',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','MM',11,'QUANTITA'' VENDUTA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATS2','MM',12,'QUANTITA'' OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATS2','MM',13,'PREZZO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATS2','MM',14,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','MM',15,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AFATS2','MM',16,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATS2','MM',17,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATS2','MM',18,'PROVVIGIONE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATS2','MM',19,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('AFATS2','VV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','VV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','VV',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATS2','VV',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATS2','VV',5,'TIPO RIGA (V)',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATS2','VV',6,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','VV',7,'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,'' )
,('AFATS2','VV',8,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATS2','VV',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATS2','VV',10,'DATI RIGA',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATS2','VV',11,'QUANTITA'' CONSEGNATA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AFATS2','VV',12,'QUANTITA'' RESA',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AFATS2','VV',13,'CAUZIONE UNITARIA',3,'CAUUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATS2','VV',14,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,82,82,0,0,'X(82)','',0,'',0,0,'' )
,('AFATSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATSC','01',2,'NUMERO REGISTRAZIONE CONTABILE',2,'NUMREG',0,1,0,0,2,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATSC','01',3,'CHIAVE',2,'KEY001',1,2,2,2,3,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATSC','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,'' )
,('AFATSC','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,'' )
,('AFATSC','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,'' )
,('AFATSC','01',7,'DATA FATTURA',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATSC','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,'' )
,('AFATSC','01',9,'ANNO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATSC','01',10,'MESE',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATSC','01',11,'GIORNO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATSC','01',12,'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,'' )
,('AFATSC','01',13,'DATA SCADENZA',3,'DATSCA',0,0,0,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATSC','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,'' )
,('AFATSC','01',15,'ANNO',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATSC','01',16,'MESE',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATSC','01',17,'GIORNO',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATSC','01',18,'DATA SCONTO',2,'DATSCO',0,0,1,0,1,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATSC','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,'' )
,('AFATSC','01',20,'ANNO',3,'AAASCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATSC','01',21,'MESE',3,'MMMSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATSC','01',22,'GIORNO',3,'GGGSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATSC','01',23,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AFATSC','01',24,'IMPORTO SCONTATO',2,'IMPSCO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AFATSC','01',25,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('AFATSC','01',26,'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,'' )
,('AFATSC','01',27,'FLAG DIFFERENZA CAMBIO /S',2,'FLGCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATSC','01',28,'CODICE BANCA INTERNA',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFATSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATSO','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,'' )
,('AFATSO','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATSO','01',4,'ANNO DOCUMENTO',3,'ANNIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATSO','01',5,'NUMERO FATTURA',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFATSO','01',6,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATSO','01',7,'REDEFINES',3,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATSO','01',8,'ANNO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATSO','01',9,'MESE',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATSO','01',10,'GIORNO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATSO','01',11,'CODICE VENDEMMIA',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATSO','01',12,'HUBID AGYO (ATTIVO E PASSIVO)',2,'IDAGYO',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',2,'',0,0,'' )
,('AFATSZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATSZ','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,'' )
,('AFATSZ','01',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATSZ','01',4,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATSZ','01',5,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATSZ','01',10,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATSZ','01',11,'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,'' )
,('AFATSZ','01',12,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATSZ','01',13,'DATI RIGA',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATSZ','01',14,'QUANTITA'' VENDUTA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATSZ','01',15,'GRADO CONCORDATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('AFATSZ','01',16,'TIPO PREZZO N=QTA H=MONTEGRADI',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATSZ','01',17,'PREZZO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATSZ','01',18,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATSZ','01',19,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AFATSZ','01',20,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATSZ','01',21,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATSZ','01',22,'PROVVIGIONE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATSZ','01',23,'IMPORTO',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATSZ','01',24,'QUANTITA'' OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATSZ','01',25,'QUANTITA'' CONSEGNATA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AFATSZ','01',26,'QUANTITA'' RESA',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('AFATSZ','01',27,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('AFATT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',3,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT1','01',4,'CODICE CLIENTE',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('AFATT1','01',5,'RIFERIMENTI IVA',2,'RIFIVA',0,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',6,'DATA IVA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATT1','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,'' )
,('AFATT1','01',8,'PERIODO STATISTICO',4,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',9,'ANNO',5,'AA-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT1','01',10,'MESE',5,'MM-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',11,'GIORNO',4,'GG-IVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',12,'NUMERO IVA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFATT1','01',13,'CAUSALE FATTURA',2,'CAUFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'ATBACF',1,1,'' )
,('AFATT1','01',14,'RIFERIMENTO NOTE CREDITO/DEBITO INTRA',2,'RIFNOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',15,'ANNO RIFERIMENTO NOTE',3,'AARNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT1','01',16,'MESE RIFERIMENTO NOTE',3,'MMRNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',17,'NUMERO INTERNO FATTURA DI RIFERIMENTO',2,'RIFFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AFATT1','01',18,'DATA CREAZIONE FATTURA',2,'DTACRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATT1','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,'' )
,('AFATT1','01',20,'ANNO',3,'AA-CRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT1','01',21,'MESE',3,'MM-CRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',22,'GIORNO',3,'GG-CRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',23,'CODICE MAGAZZINO (SE GESTITO IN TESTATA)',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',24,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATT1','01',25,'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,'ATBAAG',1,1,'' )
,('AFATT1','01',26,'CODICE AGENTE CAPO AREA',2,'CODACA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AFATT1','01',27,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('AFATT1','01',28,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'ATMABA',1,1,'' )
,('AFATT1','01',29,'CODICE ABI',3,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFATT1','01',30,'CODICE CAB',3,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFATT1','01',31,'CODICE VALUTA ESTERA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAVA',1,1,'' )
,('AFATT1','01',32,'CAMBIO DEL GIORNO (*CAMBIO)',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,3,0,'9(6)V999 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',33,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBALI',1,1,'' )
,('AFATT1','01',34,'FLAG LISTINO (V/N)',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT1','01',35,'SCONTO QUANTITA S/N',2,'FLGSCQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT1','01',36,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAPO',1,1,'' )
,('AFATT1','01',37,'DESTINATARIO',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATT1','01',38,'PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATT1','01',39,'PROVVIGIONE AGENTE CAPO AREA',2,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATT1','01',40,'SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATT1','01',41,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',42,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AFATT1','01',43,'SCONTO LITRO',2,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',44,'NUMERO CONTRATTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT1','01',45,'RIEPILOGO IVA',2,'TABIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',46,'ALIQUOTA IVA',3,'ELEIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('AFATT1','01',47,'CODICE IVA',4,'ELECOD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATT1','01',48,'IMPONIBILE',4,'ELEIPN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',49,'IMPOSTA',4,'ELEIPS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',50,'TOTALE IMPONIBILE',2,'TOTIPN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',51,'TOTALE IMPOSTA',2,'TOTIPS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',52,'CAUZIONI',2,'CAUZIO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',53,'IMPORTO CAUZIONI',3,'IMPCAU',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',54,'IMPORTO BOLLO CAUZIONI',3,'IMPBCZ',0,0,0,0,0,0,0,0,0,0,'',1,1,4,9,2,0,'S9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',55,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',56,'DATA PARTENZA CALCOLO SCADENZE',2,'DTAPCS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATT1','01',57,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',58,'ANNO',3,'AA-PCS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT1','01',59,'MESE',3,'MM-PCS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',60,'GIORNO',3,'GG-PCS',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
('AFATT1','01',61,'PROVVIGIONI AGENTI ESTRATTE (S)',2,'EXTPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT1','01',62,'STATISTICHE ESTRATTE (S)',2,'EXTSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT1','01',63,'CONTABILITA'' ESTRATTA (S)',2,'EXTCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT1','01',64,'DATA VALUTA',2,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATT1','01',65,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',66,'ANNO',3,'AA-VAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT1','01',67,'MESE',3,'MM-VAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',68,'GIORNO',3,'GG-VAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',69,'MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',70,'NR. BOLLA PER FATTURA ACCOMPAGNATORIA',2,'BOLFAC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AFATT1','01',72,'NUMERO INTERNO MOVIMENTO VUOTI',2,'MOVVUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AFATT1','01',73,'CAMBIO IN EURO (/CAMBIO)',2,'CAMEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AFATT1','01',74,'COSTO TRASPORTO',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATT1','01',75,'VALUTA ESPOSIZIONE IVA',2,'VALIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFATT1','01',76,'DATA VALUTA ESPOSIZIONE IVA',2,'DTVIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATT1','01',77,'CAMBIO ESPOSIZIONE IVA IN VALUTA',2,'CAMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,5,0,'9(5)V9(5)','',0,'',0,0,'' )
,('AFATT1','01',78,'NUMERO DICHIARAZIONE INTENTO ASSOCIATA',2,'NUMDII',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AFATT1','01',79,'STATO INVIO FATTURAZIONE ELETTRONICA',2,'STAB2B',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',80,'I.D. ASSEGNATO DA AGYO',2,'IDAGYO',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AFATT1','01',81,'TIME STAMP AGYO',2,'TSTB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('AFATT1','01',82,'MESSAGGIO B2B',2,'MESB2B',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',83,'PRIMA PARTE',3,'MESB21',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AFATT1','01',84,'SECONDA PARTE',3,'MESB22',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AFATT1','01',85,'DATA INVIO B2B',2,'DATINV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATT1','01',86,'REDEFINES',2,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT1','01',87,'ANNO',3,'AAAINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATT1','01',88,'MESE',3,'MMMINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',89,'GIORNO',3,'GGGINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT1','01',90,'CAUSALE LIBERA B2B (2.1.1.11)',2,'CAUB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATT2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT2','00',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT2','00',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT2','00',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT2','00',5,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT2','00',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('AFATT2','FL',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT2','FL',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT2','FL',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT2','FL',4,'TIPO RECORD = "FL"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT2','FL',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT2','FL',6,'PROVVIGIONI CAPI AREA ESTRATTE (S)',2,'EXTPRC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT2','FL',7,'EFFETTUATO INVIO EDI /S',2,'EXTEDI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT2','FL',8,'PROVVIGIONI SUPER CAPI AREA ESTRATTE (S)',2,'EXTPRS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT2','FL',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('AFATT2','RO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT2','RO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT2','RO',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT2','RO',4,'TIPO RECORD = "RO"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT2','RO',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT2','RO',6,'RIFERIMENTO ORDINE CLIENTE',2,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATT2','RO',7,'RIFERIMENTO VUOTI',2,'RIFVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFATT2','RO',8,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFATT2','RO',9,'CODICE BANCA INTERNA AZIENDALE',2,'BANAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFATT2','RO',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFATT3','DS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT3','DS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT3','DS',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT3','DS',4,'TIPO RECORD = "DS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT3','DS',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AFATT3','DS',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AFATT3','DS',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AFATT3','DS',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AFATT3','DS',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT3','DS',10,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT3','DS',11,'VECCHIO CODICE ACCISA -> AFATT3-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AFATT3','DS',12,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFATT3','DS',13,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('AFATT3','DS',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFATT4','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','00',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','00',3,'NUMERO INTERNO BOLLA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT4','00',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATT4','00',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT4','00',6,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','00',11,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','00',12,'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,'' )
,('AFATT4','00',13,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATT4','00',14,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','00',15,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATT4','00',16,'NUMERO INTERNO BOLLA DI PROVENIENZA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AFATT4','00',17,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,112,112,0,0,'X(112)','',0,'',0,0,'' )
,('AFATT4','DD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','DD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','DD',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT4','DD',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATT4','DD',5,'ZERI',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT4','DD',6,'TIPO RIGA = "D"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','DD',7,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','DD',8,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFATT4','DD',9,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT4','DD',10,'RECORD UGUALE A QUELLO DI LFATT4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','DD',11,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATT4','DD',12,'NUMERO INTERNO BOLLA DI PROVENIENZA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AFATT4','DD',13,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATT4','DD',14,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATT4','DD',15,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT4','DD',16,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AFATT4','DD',17,'QUANTITA VENDITA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','DD',18,'GRADO CONCORDATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('AFATT4','DD',19,'TIPO PREZZO',3,'TIPPRE',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
('AFATT4','DD',23,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATT4','DD',24,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','DD',25,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AFATT4','DD',26,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','DD',27,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATT4','DD',28,'PROVVIGIONE AGENTE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATT4','DD',29,'PESO LORDO DA BOLLA',3,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AFATT4','DD',30,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFATT4','II',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','II',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','II',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT4','II',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATT4','II',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT4','II',6,'TIPO RIGA = "I"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','II',7,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','II',8,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFATT4','II',9,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT4','II',10,'RECORD UGUALE A QUELLO DI LFATT4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','II',11,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATT4','II',12,'NUMERO INTERNO BOLLA DI PROVENIENZA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AFATT4','II',13,'FLAG PROVENIENZA MOVIMENTO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','II',14,'TIPO IMPORTO',3,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','II',17,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATT4','II',18,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATT4','II',19,'IMPORTO',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','II',20,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATT4','II',21,'PROVVIGIONE AGENTE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATT4','II',22,'QUANTITA'' PER CALCOLO IMPORTO',3,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AFATT4','II',23,'PREZZO PER CALCOLO IMPORTO',3,'PREIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AFATT4','II',24,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AFATT4','MM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','MM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','MM',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT4','MM',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATT4','MM',5,'NUMERO COMPONENTE RIGA (CONF. MISTE)',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT4','MM',6,'TIPO RIGA = "M"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','MM',7,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','MM',8,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFATT4','MM',9,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT4','MM',10,'RECORD UGUALE A LFATT4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','MM',11,'CAUSALE SCONTO MERCE',3,'FLGCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATT4','MM',12,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT4','MM',13,'NUMERO INTERNO BOLLA DI PROVENIENZA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AFATT4','MM',14,'FLAG CONFEZIONE MISTA ( /1/2)',3,'FLGCFM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','MM',19,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATT4','MM',20,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATT4','MM',21,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT4','MM',22,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AFATT4','MM',23,'QUANTITA TOTALE RIGA (VENDITA + OMAGGI)',3,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','MM',24,'QUANTITA VENDITA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','MM',25,'QUANTITA OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','MM',26,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATT4','MM',38,'PREZZO UNITARIO CONFEZIONE MISTA',3,'PRZCFM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATT4','MM',46,'PREZZO COMPONENTE CONFEZIONE MISTA',3,'PRZCMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATT4','MM',49,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','MM',50,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AFATT4','MM',51,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','MM',52,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATT4','MM',53,'PROVVIGIONE AGENTE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATT4','MM',54,'GRADO',3,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,5,2,0,'99V99 COMP','',0,'',0,0,'' )
,('AFATT4','MM',55,'TIPO CONFEZIONE MISTA (C/X)',3,'TIPCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','MM',56,'TIPO BOLLA PROVENIENZA 0=ABOLL1/1=APVEN1',3,'TIPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','MM',57,'RIGA BOLLA',3,'RIGBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9999 COMP-3','',0,'',0,0,'' )
,('AFATT4','VV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','VV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','VV',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT4','VV',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATT4','VV',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT4','VV',6,'TIPO RIGA = "V"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','VV',7,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','VV',8,'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,'' )
,('AFATT4','VV',9,'ANNATA ARTICOLO (ZERI)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATT4','VV',10,'RECORD UGUALE A QUELLO DI LFATT4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT4','VV',11,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFATT4','VV',12,'NUMERO INTERNO BOLLA DI PROVENIENZA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AFATT4','VV',13,'PROVENIENZA MOVIMENTO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATT4','VV',16,'QUANTITA'' CONSEGNATA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','VV',17,'QUANTITA'' CONSEGNATA FRANCO ARRIVO',3,'QTACFA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','VV',18,'QUANTITA'' RESA',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','VV',19,'CAUZIONE UNITARIA',3,'CAUUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATT4','VV',20,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,89,89,0,0,'X(89)','',0,'',0,0,'' )
,('AFATT5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT5','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,'' )
,('AFATT5','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT5','01',4,'RIGA FATTURA DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT5','01',6,'TIPO COMMENTO',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT5','01',11,'RIGA COMMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT5','01',12,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATT5','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT6','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,'' )
,('AFATT6','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT6','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,'' )
,('AFATT6','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,'' )
,('AFATT6','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,'' )
,('AFATT6','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,'' )
,('AFATT6','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,'' )
,('AFATT6','01',9,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFATT6','01',10,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AFATT6','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AFATT7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT7','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,'' )
,('AFATT7','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT7','01',4,'RIGA FATTURA DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATT7','01',6,'TIPO COMMENTO',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFATT7','01',11,'RIGA COMMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATT7','01',12,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('AFATT7','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFATT8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT8','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATT8','01',3,'NUMERO FATTURA',3,'NUMFAT',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATT8','01',4,'CODICE IVA',3,'ELECOD',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATT8','01',5,'IMPONIBILE',2,'ELEIPN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATT8','01',6,'IMPOSTA',2,'ELEIPS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATT8','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,73,73,0,0,'X(73)','',0,'',0,0,'' )
,('AFATTB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATTB','01',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFATTE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATTE','01',2,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFATTT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATTT','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,'' )
,('AFATTT','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATTT','01',4,'DATA TIMBRO',2,'DATTIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFATTT','01',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATTT','01',6,'ANNO TIMBRO',3,'AAATIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATTT','01',7,'MESE TIMBRO',3,'MMMTIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATTT','01',8,'GIORNO TIMBRO',3,'GGGTIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATTT','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFATTU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATTU','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,'' )
,('AFATTU','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AFATT1',1,1,'' )
,('AFATTU','01',4,'PROVVIGIONI CAPI AREA ESTRATTE (S)',2,'EXTPRC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTU','01',5,'EFFETTUATO INVIO EDI /S',2,'EXTEDI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTU','01',6,'PROVVIGIONI SUPER CAPI AREA ESTRATTE (S)',2,'EXTPRS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTU','01',7,'RIFERIMENTO ORDINE CLIENTE',2,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATTU','01',8,'RIFERIMENTO VUOTI',2,'RIFVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFATTU','01',9,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AFATTU','01',10,'CODICE BANCA INTERNA AZIENDALE',2,'BANAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ABANAZ',1,1,'' )
,('AFATTU','01',11,'PESO LORDO',2,'PESLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFATTU','01',12,'CODICE A BARRE PER DOCUMENTALE',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AFATTU','01',13,'TIPO BOLLA PER FATTURE ACCOMPAGNATORIE',2,'TIPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTU','01',16,'CODICE LUOGO DI CONSEGNA PER IND.SPED.F.',2,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFATTU','01',17,'DATA INVIO FATTURA VIA MAIL',2,'DTMAIL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFATTU','01',18,'RIFERIMENTO - SECONDO CAMPO',2,'RIFOR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATTU','01',19,'SOGGETTO ADDEBITO SPESE INCASSO (S/N)',2,'SPEINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTU','01',20,'SOGGETTO ADDEBITO CAUZIONI VUOTI (S/N)',2,'SOGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTU','01',21,'SOGGETTO ADDEBITO BOLLO CAUZIONI (S/N)',2,'BOLCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTU','01',22,'DATA ULTIMA CREAZIONE FILE PER P.A.',2,'DATAPA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFATTU','01',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AFATTZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATTZ','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,'' )
,('AFATTZ','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AFATT1',1,1,'' )
,('AFATTZ','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATTZ','01',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFATTZ','01',6,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTZ','01',11,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATTZ','01',12,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('AFATTZ','01',13,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFATTZ','01',14,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATTZ','01',15,'NUMERO INTERNO BOLLA DI PROVENIENZA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFATTZ','01',16,'RIGA BOLLA DI ORIGINE',3,'RIGBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFATTZ','01',17,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFATTZ','01',18,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('AFATTZ','01',19,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'ATBACZ',1,1,'' )
,('AFATTZ','01',20,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',21,'GRADO CONCORDATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',22,'TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTZ','01',26,'PESO LORDO DA BOLLA',3,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('AFATTZ','01',27,'TIPO IMPORTO',3,'TIPIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTZ','01',30,'IMPORTO',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',31,'QUANTITA'' PER CALCOLO IMPORTO',3,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AFATTZ','01',32,'PREZZO PER CALCOLO IMPORTO',3,'PREIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AFATTZ','01',33,'CAUSALE SCONTO MERCE',3,'FLGCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFATTZ','01',34,'FLAG CONFEZIONE MISTA ( /1/2)',3,'FLGCFM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTZ','01',39,'QUANTITA TOTALE RIGA (VENDITA + OMAGGI)',3,'QTAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',40,'QUANTITA VENDITA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',41,'QUANTITA OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',42,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',54,'PREZZO UNITARIO CONFEZIONE MISTA',3,'PRZCFM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',62,'PREZZO COMPONENTE CONFEZIONE MISTA',3,'PRZCMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',65,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFATTZ','01',66,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AFATTZ','01',67,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',68,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATTZ','01',69,'PROVVIGIONE AGENTE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFATTZ','01',70,'GRADO',3,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,5,2,0,'99V99 COMP','',0,'',0,0,'' )
,('AFATTZ','01',71,'TIPO CONFEZIONE MISTA (C/X)',3,'TIPCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTZ','01',72,'TIPO BOLLA PROVENIENZA 0=ABOLL1/1=APVEN1',3,'TIPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTZ','01',73,'PROVENIENZA MOVIMENTO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTZ','01',76,'QUANTITA'' CONSEGNATA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',77,'QUANTITA'' CONSEGNATA FRANCO ARRIVO',3,'QTACFA',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',78,'QUANTITA'' RESA',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFATTZ','01',79,'CODICE MAGAZZINO (SE GESTITO SU RIGHE)',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMA',1,1,'' )
,('AFATTZ','01',81,'ESCLUSO DA CONTEGGIO SCONTO PAGAMENTO',3,'FLGSCP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFATTZ','01',82,'PROVVIGIONI A PEZZO AGENTE',3,'PPPAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AFATTZ','01',83,'PROVVIGIONI A PEZZO CAPO AREA',3,'PPPACA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('AFATTZ','01',84,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,67,67,0,0,'X(67)','',0,'',0,0,'' )
,('AFCA09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFCA09','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,'' )
,('AFCA09','01',3,'CODICE CAPO AREA',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AFCA09','01',4,'DATA LIMITE VALIDITA''',3,'DATLIM',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('AFCA09','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,'' )
,('AFCA09','01',6,'ANNO LIMITE VALIDITA''',4,'AAALIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFCA09','01',7,'MESE LIMITE VALIDITA''',4,'MMMLIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFCA09','01',8,'IMPORTO FISSO MENSILE',2,'IMPFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AFCA09','01',9,'FILLER',2,'FILELR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFCPV0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFCPV0','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFCPV0','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFCPV0','01',4,'TIPO FIDELITY CARD',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFCPV0','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,154,154,0,0,'X(154)','',0,'',0,0,'' )
,('AFCPV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFCPV1','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFCPV1','01',3,'NUMERO (BARCODE FORMULARIO)',3,'NUMERO',1,2,3,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AFCPV1','01',4,'TIPO FIDELITY CARD',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFCPV1','01',5,'CODICE FIDELITY CARD',2,'COD-FC',0,1,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFCPV1','01',6,'TIPO ANAGRAFICA (N/C)',2,'FLAGSN',0,0,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFCPV1','01',7,'CODICE CLIENTE/NOMINATIVO',2,'CODICE',0,0,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFCPV1','01',8,'MAGAZZINO DI REGISTRAZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFCPV1','01',9,'FLAG CARD DISATTIVATA/OBSOLETA',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFCPV1','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,114,114,0,0,'X(114)','',0,'',0,0,'' )
,('AFERR0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFERR0','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,'' )
,('AFERR0','01',3,'ZERI (RECORD UNICO)',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFERR0','01',4,'CODICE MAGAZZINO STOCCAGGIO ESTERNO',2,'MGSTOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFERR0','01',5,'CODICE MAGAZZINO A TERRA ESTERNO',2,'MGTERC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFERR0','01',6,'CODICE MAGAZZINO STOCCAGGIO FERRETTO',2,'MGSTOF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFERR0','01',7,'CAUSALE CARICO MAGAZZINO',2,'CAMCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AFERR0','01',8,'CAUSALE SCARICO MAGAZZINO',2,'CAMSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('AFERR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFERR2','01',2,'CHIAVE MOVIMENTO MAGAZZINO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFERR2','01',3,'STATO RECORD (0=INSERITO, 1=ELABORATO)',3,'STATUS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AFERR2','01',4,'DATETIME MOVIMENTO',3,'DTATIM',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('AFERR2','01',5,'CHIAVE PRINCIPALE ID DB FERRETTO',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFERR2','01',6,'ID RECORD DB FERRETTO',4,'ID-REC',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('AFERR2','01',7,'OPERATION TYPE DB FERRETTO',2,'OPTYPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFERR2','01',10,'CODICE SSCC DB FERRETTO',2,'CODUDC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFERR2','01',11,'CODICE ENTRATA-USCITA DB FERRETTO',2,'COD-EU',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFERR2','01',12,'NUMERO MOVIMENTO DI MAGAZZINO GENERATO',2,'MOVMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('AFESOP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFESOP','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,'' )
,('AFESOP','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFESOP','01',4,'PROGRESSIVO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFESOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFESOR','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,'' )
,('AFESOR','01',3,'NUMERO DOCUMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFESOR','01',4,'PROGRESSIVO RIGA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFESOR','01',5,'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,'' )
,('AFESOR','01',6,'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,'' )
,('AFESOR','01',7,'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,'' )
,('AFESOR','01',8,'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,'' )
,('AFESOR','01',9,'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,'' )
,('AFESOR','01',10,'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,'' )
,('AFESOT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFESOT','01',2,'PROGRESSIVO UNIVOCO',2,'KEY005',0,0,0,0,1,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFESOT','01',3,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFESOT','01',4,'CODICE LANCIO (0 = ANTICIPI...)',3,'CODICE',0,1,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFESOT','01',5,'CODICE SOCIO',3,'CODSOC',0,3,2,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFESOT','01',6,'ANNO DOCUMENTO',3,'ANNIVA',0,4,3,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFESOT','01',7,'TIPO DOCUMENTO FATTURA/AUTOFATTURA',3,'TIPDOC',0,0,0,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFESOT','01',8,'NUMERO DOCUMENTO',3,'NUMDOC',0,5,4,4,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFESOT','01',9,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFESOT','01',10,'REDEFINES',3,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFESOT','01',11,'ANNO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFESOT','01',12,'MESE',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFESOT','01',13,'GIORNO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFESOT','01',14,'ANNO VENDEMMIA',2,'ANNVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFESOT','01',15,'HUBID AGYO ATTIVO',2,'IDAGYO',0,2,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('AFESOT','01',16,'STATO INVIO FATTURAZIONE ELETTRONICA',2,'STAB2B',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFESOT','01',17,'TIME STAMP AGYO',2,'TSTB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('AFESOT','01',18,'MESSAGGIO B2B',2,'MESB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFESOT','01',19,'CODICE PAGAMENTO (MP02 O MP05)',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFESOT','01',20,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFESOT','01',21,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AFESOT','01',22,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AFESOT','01',23,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AFESOT','01',24,'TIPO DOCUMENTO (TD01....)',2,'TDSPES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFESOT','01',25,'REGISTRO IVA',2,'REGIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFESOT','01',26,'TIPO REGISTRO',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFESOT','01',27,'NUMERO REGISTRO',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFESOT','01',28,'DATA CREAZIONE XML',2,'DATXML',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFESOT','01',29,'REDEFINES',2,'AMGXML',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFESOT','01',30,'ANNO',3,'AAAXML',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFESOT','01',31,'MESE',3,'MMMXML',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFESOT','01',32,'GIORNO',3,'GGGXML',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFESOT','01',33,'CODICE VENDEMMIA X LETTURA ANAG. SOCIO',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFESOT','01',34,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('AFICAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAN','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAN','01',3,'ANNO FINANZIAMENTO',3,'ANNFIN',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAN','01',4,'TIPO CODICE SEMPRE = "S" SOCIO',3,'TIPCOD',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAN','01',5,'CODICE SOCIO/PRODUTTORE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFICAN','01',6,'CODICE FISCALE',3,'CODFIS',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFICAN','01',7,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAN','01',8,'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,'' )
,('AFICAN','01',9,'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,'' )
,('AFICAN','01',10,'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,'' )
,('AFICAN','01',11,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAN','01',12,'ANNO',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAN','01',13,'MESE',4,'MMMFIN',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
('AFICAN','01',14,'GIORNO',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAN','01',15,'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,'' )
,('AFICAN','01',16,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAN','01',17,'ANNO',4,'AAACAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAN','01',18,'MESE',4,'MMMCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAN','01',19,'GIORNO',4,'GGGCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAN','01',20,'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,'' )
,('AFICAN','01',21,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAN','01',22,'ANNO',4,'AAAPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAN','01',23,'MESE',4,'MMMPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAN','01',24,'GIORNO',4,'GGGPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAN','01',25,'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,'' )
,('AFICAN','01',26,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAN','01',27,'ANNO',4,'AAAPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAN','01',28,'MESE',4,'MMMPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAN','01',29,'GIORNO',4,'GGGPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAN','01',30,'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,'' )
,('AFICAN','01',32,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('AFICAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAT','01',2,'TIPO RECORD = A',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','01',3,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('AFICAT','01',4,'CODICE IDENTIFICATIVO VALE SEMPRE BIG00',2,'CODIID',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFICAT','01',5,'TIPO FORNITORE 01=SOGG 10=INTERMEDIARIO',2,'TIPFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFICAT','01',6,'CODICE FISCALE S.OBB O INTERMEDIARIO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFICAT','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,483,483,0,0,'X(483)','',0,'',0,0,'' )
,('AFICAT','01',8,'PROGRESSIVO INVIO',2,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAT','01',9,'NUMERO TOTALE INVII',2,'TOTINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAT','01',10,'SPAZIO A DISPOSIZIONE DELL''UTENTE',2,'SPAUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFICAT','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,68,68,0,0,'X(1068)','',0,'',0,0,'' )
,('AFICAT','01',12,'SPAZIO RISERVATO AL SERV. TELEMATICO',2,'SPASER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('AFICAT','01',13,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','01',14,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAT','02',2,'TIPO RECORD = C',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','02',3,'CODICE FISCALE SOGGETTO OBBLIGATO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFICAT','02',4,'PROGRESSIVO MODULO (SEMPRE 1)',2,'PROMOD',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFICAT','02',5,'SPAZIO A DISPOSIZIONE DEL''UTENTE',2,'SPAUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFICAT','02',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('AFICAT','02',7,'SPAZIO A DISPOSIZIONE DELL''UTENTE',2,'SPAUT1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFICAT','02',8,'CODICE FISCALE CIDIEMME',2,'CODFPR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFICAT','02',9,'AREA ELEMENTI',2,'AREAEL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAT','02',10,'ELEMENTO',3,'ELEMEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',75,'',0,0,'' )
,('AFICAT','02',11,'CHIAVE ELEMENTO',4,'ELEKEY',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAT','02',12,'QUADRO',5,'ELEK01',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFICAT','02',13,'NUMERO RIGO DEL QUADRO',5,'ELEK02',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFICAT','02',14,'COLONNA ALL''INTERNO DEL RIGO',5,'ELEK03',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFICAT','02',15,'DATI ELEMENTO',4,'ELEDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFICAT','02',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AFICAT','02',17,'CARATTERE A',2,'CHRAAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','02',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,'' )
,('AFICAT','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAT','05',2,'TIPO RECORD = Z',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','05',3,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('AFICAT','05',4,'NUMERO RECORDS TIPO B',2,'NRRECB',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AFICAT','05',5,'NUMERO RECORDS TIPO C',2,'NRRECC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AFICAT','05',6,'NUMERO RECORDS TIPO D',2,'NRRECD',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AFICAT','05',7,'NUMERO RECORDS TIPO E',2,'NRRECE',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AFICAT','05',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,846,846,0,0,'X(1846)','',0,'',0,0,'' )
,('AFICAT','05',9,'CARATTERE DI CONTROLLO (SEMPRE A)',2,'CTRCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','05',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,'' )
,('AFICAT','10',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAT','10',2,'TIPO RECORD = B',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','10',3,'CODICE FISCALE SOGGETTO OBBLIGATO',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFICAT','10',4,'PROGRESSIVO MODULO (SEMPRE 1)',2,'PROMOD',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFICAT','10',5,'SPAZIO A DISPOSIZIONE DEL''UTENTE',2,'SPAUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFICAT','10',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('AFICAT','10',7,'SPAZIO A DISPOSIZIONE DELL''UTENTE',2,'SPAUT1',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFICAT','10',8,'CODICE FISCALE CIDIEMME',2,'CODFPR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFICAT','10',9,'INVIO ORDINARIO',2,'INVORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','10',10,'INVIO SOSTITUTIVO',2,'INVSOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','10',11,'COMUNICAZIONE ANNULLAMENTO',2,'INVANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','10',12,'PROTOCOLLO DA SOSTITUIRE O ANNULLARE',2,'PROANN',0,0,0,0,0,0,0,0,0,0,'',1,0,17,17,0,0,'9(17)','',0,'',0,0,'' )
,('AFICAT','10',13,'DOCUMENTO DA SOSTITUIRE O ANNULLARE',2,'DOCANN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFICAT','10',14,'QUALIFICA SOGGETTO OBBLIGATO',2,'QUALIF',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AFICAT','10',15,'TIPO SEGGETTO OBBLIGATO (X NOI SEMPRE H)',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','10',17,'COGNOME',2,'COGNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('AFICAT','10',18,'NOME',2,'NOMEFI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFICAT','10',19,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','10',20,'DATA DI NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFICAT','10',21,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAT','10',22,'GIORNO',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAT','10',23,'MESE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAT','10',24,'ANNO',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAT','10',25,'COMUNE O STATO ESTERO DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AFICAT','10',26,'PROVINCIA DI NASCITA ESTERO=EE',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFICAT','10',28,'DESCRIZIONE',2,'DESGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('AFICAT','10',29,'COMUNE DOMICILIO FISCALE',2,'COMGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AFICAT','10',30,'PROVINCIA DEL COMUNE DOM. FISCALE',2,'PROGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFICAT','10',31,'CODICE STATO ESTERO',2,'STAEST',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFICAT','10',32,'FIRMA ???!!!???',2,'FIRGIU',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AFICAT','10',33,'ANNO RIFERIMENTO DICHIARAZIONE',2,'ANNRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAT','10',34,'AREA DATI INTERMEDIARIO',2,'AREAIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAT','10',35,'C.F. INTERMEDIARIO CHE TRASMETTE',3,'CODCFI',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFICAT','10',36,'N. ISCRIZIONE ALL''ALBO DEL C.A.F.',3,'NUMCAF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFICAT','10',37,'IMPEGNO A TRASMETTERE 1=CONT. 2=INTERM.',3,'OBBTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AFICAT','10',38,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','10',39,'DATA IMPEGNO',3,'DATIMP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFICAT','10',40,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAT','10',41,'GIORNO IMPEGNO',4,'GGGIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAT','10',42,'MESE IMPEGNO',4,'MMMIMP',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
('AFICAT','10',43,'ANNO IMPEGNO',4,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAT','10',44,'FIRMA ???!!!???',3,'FIRINT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AFICAT','10',45,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,294,294,0,0,'X(1294)','',0,'',0,0,'' )
,('AFICAT','10',46,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFICAT','10',47,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,229,229,0,0,'X(229)','',0,'',0,0,'' )
,('AFICAT','10',48,'CARATTERE DI CONTROLLO VALE SEMPRE A',2,'CARCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAT','10',49,'CARATTERE FINE RECORD UNIX/DOS',2,'CHARCR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAV','01',3,'ANNO FINANZIAMENTO',3,'ANNFIN',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAV','01',4,'TIPO CODICE SEMPRE = "S" SOCIO',3,'TIPCOD',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFICAV','01',5,'CODICE SOCIO',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFICAV','01',6,'CODICE FISCALE',3,'CODFIS',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AFICAV','01',7,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAV','01',8,'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,'' )
,('AFICAV','01',9,'IMPORTO CAPITALE',3,'IMPCAP',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('AFICAV','01',10,'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,'' )
,('AFICAV','01',11,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAV','01',12,'ANNO',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAV','01',13,'MESE',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAV','01',14,'GIORNO',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAV','01',15,'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,'' )
,('AFICAV','01',16,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAV','01',17,'ANNO',4,'AAACAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAV','01',18,'MESE',4,'MMMCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAV','01',19,'GIORNO',4,'GGGCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAV','01',20,'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,'' )
,('AFICAV','01',21,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAV','01',22,'ANNO',4,'AAAPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAV','01',23,'MESE',4,'MMMPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAV','01',24,'GIORNO',4,'GGGPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAV','01',25,'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,'' )
,('AFICAV','01',26,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFICAV','01',27,'ANNO',4,'AAAPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFICAV','01',28,'MESE',4,'MMMPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAV','01',29,'GIORNO',4,'GGGPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFICAV','01',30,'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,'' )
,('AFICAV','01',32,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('AFIDAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIDAG','01',2,'CHIAVE PRIMARIA',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIDAG','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,'' )
,('AFIDAG','01',4,'IMPORTO FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIDAG','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AFIM01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM01','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIM01','01',3,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFIM01','01',4,'QUANTITA'' ECCEDENTE',2,'QTAECC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFIM01','01',5,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIM01','01',6,'IMPORTO FINANZIAMENTO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,3,'9(5)','99V999',0,'',0,0,'' )
,('AFIM01','01',7,'CODICE 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,'' )
,('AFIM01','01',8,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM01','01',9,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM01','01',10,'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,'' )
,('AFIM01','01',11,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM01','01',12,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM01','01',13,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM01','01',14,'CONTO DARE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM01','01',15,'ANNO PARTITA DARE',2,'ANNDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM01','01',16,'DESCRIZIONE AGGIUNTIVA DARE',2,'DESD01',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM01','01',17,'DESCRIZIONE AGGIUNTIVA DARE',2,'DESD02',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM01','01',18,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM01','01',19,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM01','01',20,'ANNO PARTITA AVERE',2,'ANNAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM01','01',21,'DESCRIZIONE AGGIUNTIVA AVERE',2,'DESA01',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM01','01',22,'DESCRIZIONE AGGIUNTIVA AVERE',2,'DESA02',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM01','01',23,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM01','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFIM02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM02','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIM02','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIM02','01',4,'CODICE 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,'' )
,('AFIM02','01',5,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM02','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,'' )
,('AFIM02','01',7,'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,'' )
,('AFIM02','01',8,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM02','01',9,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM02','01',10,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM02','01',11,'CONTO DARE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM02','01',12,'ANNO PARTITA DARE',2,'ANNDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM02','01',13,'DESCRIZIONE AGGIUNTIVA DARE',2,'DESD01',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM02','01',14,'DESCRIZIONE AGGIUNTIVA DARE',2,'DESD02',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM02','01',15,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM02','01',16,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM02','01',17,'ANNO PARTITA AVERE',2,'ANNAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM02','01',18,'DESCRIZIONE AGGIUNTIVA AVERE',2,'DESA01',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM02','01',19,'DESCRIZIONE AGGIUNTIVA AVERE',2,'DESA02',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM02','01',20,'QUANTITA'' PUNTA MASSIMA',2,'QTAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFIM02','01',21,'ANNO PUNTA MASSIMA',2,'ANNMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM02','01',22,'CONTABILIZZAZIONE  /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM02','01',23,'SCRITTA PUNTA MASSIMA  /S',2,'FLGPMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM02','01',24,'SCRITTO FINANZIAMENTO  /S',2,'FLGFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM02','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('AFIM15','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM15','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIM15','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIM15','01',4,'CODICE 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,'' )
,('AFIM15','01',5,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM15','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,'' )
,('AFIM15','01',7,'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,'' )
,('AFIM15','01',8,'MESE REGISTRAZIONE',3,'MMMREG',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
('AFIM15','01',9,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM15','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,'' )
,('AFIM15','01',11,'IMPORTO RESTITUZIONE',2,'IMPRES',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIM15','01',12,'CAUSALE RESTITUZIONE',2,'CAURES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM15','01',13,'DATA REGISTRAZIONE RESTITUZIONE',2,'DATRES',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM15','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,'' )
,('AFIM15','01',15,'ANNO RESTITUZIONE',3,'AAARES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM15','01',16,'MESE RESTITUZIONE',3,'MMMRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM15','01',17,'GIORNO RESTITUZIONE',3,'GGGRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM15','01',18,'ANNO PARTITA RESTITUZIONE',2,'PARRES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM15','01',19,'GRUPPO UVE',2,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM15','01',20,'CONTO UVE',2,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM15','01',21,'GRUPPO FINANZIAMENTO',2,'GRUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM15','01',22,'CONTO FINANZIAMENTO',2,'CONFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM15','01',23,'CONTABILIZZAZIONE  /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM15','01',24,'CONTABILIZZAZIONE RESTITUZIONE /S',2,'FLGRES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM15','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,114,114,0,0,'X(114)','',0,'',0,0,'' )
,('AFIM32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM32','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIM32','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIM32','01',4,'CODICE 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,'' )
,('AFIM32','01',5,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM32','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,'' )
,('AFIM32','01',7,'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,'' )
,('AFIM32','01',8,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM32','01',9,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM32','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,'' )
,('AFIM32','01',11,'IMPORTO RESTITUZIONE',2,'IMPRES',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIM32','01',12,'CAUSALE RESTITUZIONE',2,'CAURES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM32','01',13,'DATA REGISTRAZIONE RESTITUZIONE',2,'DATRES',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM32','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,'' )
,('AFIM32','01',15,'ANNO RESTITUZIONE',3,'AAARES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM32','01',16,'MESE RESTITUZIONE',3,'MMMRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM32','01',17,'GIORNO RESTITUZIONE',3,'GGGRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM32','01',18,'ANNO PARTITA RESTITUZIONE',2,'PARRES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM32','01',19,'GRUPPO UVE',2,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM32','01',20,'CONTO UVE',2,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM32','01',21,'GRUPPO FINANZIAMENTO',2,'GRUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM32','01',22,'CONTO FINANZIAMENTO',2,'CONFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM32','01',23,'CONTABILIZZAZIONE  /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM32','01',24,'CONTABILIZZAZIONE RESTITUZIONE /S',2,'FLGRES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM32','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,114,114,0,0,'X(114)','',0,'',0,0,'' )
,('AFIM52','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM52','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIM52','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFIM52','01',4,'CODICE 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,'' )
,('AFIM52','01',5,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM52','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,'' )
,('AFIM52','01',7,'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,'' )
,('AFIM52','01',8,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM52','01',9,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM52','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,'' )
,('AFIM52','01',11,'IMPORTO RESTITUZIONE',2,'IMPRES',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFIM52','01',12,'CAUSALE RESTITUZIONE',2,'CAURES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM52','01',13,'DATA REGISTRAZIONE RESTITUZIONE',2,'DATRES',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM52','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,'' )
,('AFIM52','01',15,'ANNO RESTITUZIONE',3,'AAARES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM52','01',16,'MESE RESTITUZIONE',3,'MMMRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM52','01',17,'GIORNO RESTITUZIONE',3,'GGGRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM52','01',18,'ANNO PARTITA RESTITUZIONE',2,'PARRES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM52','01',19,'GRUPPO UVE',2,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM52','01',20,'CONTO UVE',2,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM52','01',21,'GRUPPO FINANZIAMENTO',2,'GRUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM52','01',22,'CONTO FINANZIAMENTO',2,'CONFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM52','01',23,'CONTABILIZZAZIONE  /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM52','01',24,'CONTABILIZZAZIONE RESTITUZIONE /S',2,'FLGRES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM52','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFIM56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM56','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIM56','01',3,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFIM56','01',4,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFIM56','01',5,'IMPORTO FINANZIAMENTO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('AFIM56','01',6,'CODICE 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,'' )
,('AFIM56','01',7,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM56','01',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM56','01',9,'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,'' )
,('AFIM56','01',10,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM56','01',11,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM56','01',12,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM56','01',13,'CONTO DARE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM56','01',14,'ANNO PARTITA DARE',2,'ANNDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM56','01',15,'DESCRIZIONE AGGIUNTIVA DARE',2,'DESD01',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM56','01',16,'DESCRIZIONE AGGIUNTIVA DARE',2,'DESD02',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM56','01',17,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM56','01',18,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM56','01',19,'ANNO PARTITA AVERE',2,'ANNAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM56','01',20,'DESCRIZIONE AGGIUNTIVA AVERE',2,'DESA01',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM56','01',21,'DESCRIZIONE AGGIUNTIVA AVERE',2,'DESA02',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM56','01',22,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM56','01',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFIM60','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM60','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIM60','01',3,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AFIM60','01',4,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIM60','01',5,'IMPORTO FINANZIAMENTO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,3,'9(5)','99V999',0,'',0,0,'' )
,('AFIM60','01',6,'CODICE 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,'' )
,('AFIM60','01',7,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM60','01',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIM60','01',9,'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,'' )
,('AFIM60','01',10,'MESE REGISTRAZIONE',3,'MMMREG',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
('AFIM60','01',11,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIM60','01',12,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM60','01',13,'CONTO DARE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM60','01',14,'ANNO PARTITA DARE',2,'ANNDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM60','01',15,'DESCRIZIONE AGGIUNTIVA DARE',2,'DESD01',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM60','01',16,'DESCRIZIONE AGGIUNTIVA DARE',2,'DESD02',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM60','01',17,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM60','01',18,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM60','01',19,'ANNO PARTITA AVERE',2,'ANNAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIM60','01',20,'DESCRIZIONE AGGIUNTIVA AVERE',2,'DESA01',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM60','01',21,'DESCRIZIONE AGGIUNTIVA AVERE',2,'DESA02',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIM60','01',22,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIM60','01',23,'CAUSALE LIBRO SOCI',2,'CAULIB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFIM60','01',24,'DATA LIBRO SOCI',2,'DATLIB',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIM60','01',25,'NOTE LIBRO SOCI',2,'NOTLIB',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AFIM60','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIN13','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIN13','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,'' )
,('AFIN13','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AFIN13','01',4,'IMPORTO MINIMO FINANZIAMENTI',2,'MINFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AFIN13','01',5,'CONTO FINANZIAMENTO',2,'ELEFIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('AFIN13','01',6,'GRUPPO FINANZIAMENTO',3,'GRUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN13','01',7,'CONTO FINANZIAMENTO',3,'CONFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN13','01',8,'CAUSALI CONTABILI FINANZIAMENTO',2,'CAUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',20,'',0,0,'' )
,('AFIN13','01',9,'IMPORTO MINIMO CAPITALIZZAZIONE',2,'MINCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AFIN13','01',10,'CONTO CAPITALIZZAZIONE',2,'ELECAP',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('AFIN13','01',11,'GRUPPO CAPITALIZZAZIONE',3,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN13','01',12,'CONTO CAPITALIZZAZIONE',3,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN13','01',13,'CAUSALI CONTABILI FINANZIAMENTO',2,'CAUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',20,'',0,0,'' )
,('AFIN13','01',14,'ELABORARE DA CONTO UVE',2,'ELAUVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIN13','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,249,249,0,0,'X(249)','',0,'',0,0,'' )
,('AFIN29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIN29','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIN29','01',3,'VALORE QUOTA',2,'VALQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('AFIN29','01',4,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFIN29','01',5,'IMPORTO CALCOLATO',2,'IMPCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIN29','01',6,'IMPORTO ARROTONDATO',2,'IMPARR',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIN29','01',7,'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,'' )
,('AFIN29','01',8,'CODICE 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,'' )
,('AFIN29','01',9,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIN29','01',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIN29','01',11,'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,'' )
,('AFIN29','01',12,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIN29','01',13,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIN29','01',14,'GRUPPO UVE',2,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN29','01',15,'CONTO UVE',2,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN29','01',16,'GRUPPO CAPITALE SOCIALE',2,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN29','01',17,'CONTO CAPITALE SOCIALE',2,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN29','01',18,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIN29','01',19,'CAUSALE LIBRO SOCI',2,'CAULIB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFIN29','01',20,'DATA LIBRO SOCI',2,'DATLIB',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIN29','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,'' )
,('AFIN29','01',22,'ANNO LIBRO SOCI',3,'AAALIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN29','01',23,'MESE LIBRO SOCI',3,'MMMLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIN29','01',24,'GIORNO LIBRO SOCI',3,'GGGLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIN29','01',25,'ANNOTAZIONE LIBRO SOCI',2,'ANNLIB',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AFIN29','01',26,'DESCRIZIONE AGGIUNTIVA DARE',2,'AGGDAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIN29','01',27,'DESCRIZIONE AGGIUNTIVA AVERE',2,'AGGAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFIN29','01',29,'VALORE CAUZIONE',2,'VALCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('AFIN29','01',30,'VALORE AZIONE',2,'VALAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('AFIN29','01',31,'RAPPORTO CAUZIONI/AZIONI',2,'RAPCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFIN29','01',32,'ANNO VENDEMMIA 1',2,'ANN001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN29','01',33,'ANNO VENDEMMIA 2',2,'ANN002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN29','01',34,'ANNO VENDEMMIA 3',2,'ANN003',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN29','01',35,'CONFERITO 1',2,'CON001',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AFIN29','01',36,'CONFERITO 2',2,'CON002',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AFIN29','01',37,'CONFERITO 3',2,'CON003',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AFIN29','01',38,'CONFERITO TOTALE',2,'CONTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AFIN29','01',39,'CONFERITO MEDIO',2,'CONMED',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('AFIN29','01',40,'IMPORTO CAUZIONI',2,'VAL001',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIN29','01',41,'IMPORTO AZIONI',2,'VAL002',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIN29','01',42,'CAPITALE SOCIALE',2,'VAL003',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIN29','01',43,'DA VERSARE',2,'VAL004',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIN29','01',44,'DA VERSARE ARROTONDATO',2,'VAL005',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIN29','01',45,'NUMERO RATE',2,'NUMRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('AFIN29','01',46,'CONFERITO 4',2,'CON004',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AFIN29','01',47,'ANNO VENDEMMIA 4',2,'ANN004',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN29','01',48,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('AFIN35','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIN35','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIN35','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIN35','01',4,'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,'' )
,('AFIN35','01',5,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIN35','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,'' )
,('AFIN35','01',7,'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,'' )
,('AFIN35','01',8,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIN35','01',9,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIN35','01',10,'CONTO DARE',2,'GCODAR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFIN35','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,'' )
,('AFIN35','01',12,'GRUPPO DARE',3,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN35','01',13,'CONTO DARE',3,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN35','01',14,'ANNO PARTITA DARE',2,'PARDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN35','01',15,'CONTO AVERE',2,'GCOAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFIN35','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,'' )
,('AFIN35','01',17,'GRUPPO AVERE',3,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN35','01',18,'CONTO AVERE',3,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIN35','01',19,'CONTABILIZZATO  /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIN35','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AFIP23','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIP23','01',2,'CHIAVE PRINCIPALE',2,'KEY001',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
('AFIP23','01',3,'CODICE CONFERENTE',3,'CODSOC',1,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIP23','01',4,'CODICE ALTRO CONFERENTE',3,'CODALT',2,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIP23','01',6,'NUMERO AZIONI',2,'NUMAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AFIP23','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('AFIR01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIR01','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIR01','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIR01','01',4,'CODICE 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,'' )
,('AFIR01','01',5,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIR01','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,'' )
,('AFIR01','01',7,'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,'' )
,('AFIR01','01',8,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR01','01',9,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR01','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,'' )
,('AFIR01','01',11,'IMPORTO RESTITUZIONE',2,'IMPRES',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFIR01','01',12,'CAUSALE RESTITUZIONE',2,'CAURES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIR01','01',13,'DATA REGISTRAZIONE RESTITUZIONE',2,'DATRES',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIR01','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,'' )
,('AFIR01','01',15,'ANNO RESTITUZIONE',3,'AAARES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIR01','01',16,'MESE RESTITUZIONE',3,'MMMRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR01','01',17,'GIORNO RESTITUZIONE',3,'GGGRES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR01','01',18,'ANNO PARTITA RESTITUZIONE',2,'PARRES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIR01','01',19,'GRUPPO UVE',2,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIR01','01',20,'CONTO UVE',2,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIR01','01',21,'GRUPPO FINANZIAMENTO',2,'GRUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIR01','01',22,'CONTO FINANZIAMENTO',2,'CONFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFIR01','01',23,'CONTABILIZZAZIONE  /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIR01','01',24,'CONTABILIZZAZIONE RESTITUZIONE /S',2,'FLGRES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIR01','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,114,114,0,0,'X(114)','',0,'',0,0,'' )
,('AFIR02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIR02','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIR02','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIR02','01',4,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFIR02','01',5,'CODICE 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,'' )
,('AFIR02','01',6,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIR02','01',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIR02','01',8,'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,'' )
,('AFIR02','01',9,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR02','01',10,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR02','01',11,'FLAG CONTABILIZZAZIONE',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIR02','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIR09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIR09','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIR09','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIR09','01',4,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFIR09','01',5,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFIR09','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFIR16','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIR16','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIR16','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIR16','01',4,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFIR16','01',5,'CODICE 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,'' )
,('AFIR16','01',6,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIR16','01',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIR16','01',8,'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,'' )
,('AFIR16','01',9,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR16','01',10,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR16','01',11,'FLAG CONTABILIZZAZIONE',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIR16','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIR23','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIR23','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIR23','01',3,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AFIR23','01',4,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFIR23','01',5,'CODICE 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,'' )
,('AFIR23','01',6,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFIR23','01',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIR23','01',8,'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,'' )
,('AFIR23','01',9,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR23','01',10,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFIR23','01',11,'FLAG CONTABILIZZAZIONE',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIR23','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFIRPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFIRPC','01',2,'CODICE SOCIO',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFIRPC','01',3,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AFIRPC','01',4,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('AFLD23','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFLD23','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFLD23','01',3,'GESTITO DOC (SOLO PER UVE DOC)',2,'GESDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFLD23','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFLGBS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFLGBS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFLGBS','01',3,'GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFLGBS','01',4,'CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFLGBS','01',5,'SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFLGBS','01',6,'BENE/SERVIZIO B/S',2,'BENSER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFLGBS','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AFLL23','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFLL23','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFLL23','01',3,'GESTITO DOC (SOLO PER UVE DOC)',2,'GESDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFLL23','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFMCO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFMCO1','01',2,'CODICE FAMIGLIA',2,'CODFAM',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFMCO1','01',3,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFMCO1','01',4,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFMCO1','01',5,'COD.ART.SFUSO USATO X MASSA COMMERCIALE',2,'ARTMAS',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFMCO1','01',6,'TIPO FAMIGLIA C=CONFEZIONATO S=SFUSO',2,'TIPFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFMCO1','01',7,'CODICE VASCA ARTICOLO MASSA',2,'CODVMA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFMCO1','01',8,'STABILIMENTO VASCA ARTICOLO MASSA',3,'STAVMA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFMCO1','01',9,'SETTORE VASCA ARTICOLO MASSA',3,'SETVMA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFMCO1','01',10,'NUMERO VASCA ARTICOLO MASSA',3,'NUMVMA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AFMCO1','01',11,'TAGLIO FISSO (S/N)',2,'TAGFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFMCO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFMCO2','01',2,'CODICE FAMIGLIA',2,'CODFAM',1,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFMCO2','01',3,'ARTICOLO DI TAGLIO PER CREAZIONE MASSA',2,'ARTTAG',2,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFMCO2','01',4,'PERCENTUALE DI TAGLIO',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('AFMCO2','01',5,'CODICE VASCA ARTICOLO TAGLIO',2,'CODVTA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFMCO2','01',6,'STABILIMENTO VASCA ARTICOLO TAGLIO',3,'STAVTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFMCO2','01',7,'SETTORE VASCA ARTICOLO TAGLIO',3,'SETVTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFMCO2','01',8,'NUMERO VASCA ARTICOLO TAGLIO',3,'NUMVTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFMCO3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFMCO3','01',2,'CODICE FAMIGLIA',3,'CODFAM',1,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFMCO3','01',3,'ARTICOLO USATO PER VENDITE',3,'ARTVEN',2,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFMCOP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFMCOP','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFMCOP','01',3,'CAUSALE MAG. SCARICO X TAGLIO MASSA',2,'CMSTAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',4,'CAUSALE COMM. SCARICO X TAGLIO MASSA',2,'CCSTAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',5,'CAUSALE MAG. CARICO X TAGLIO MASSA',2,'CMCTAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',6,'CAUSALE COMM. CARICO X TAGLIO MASSA',2,'CCCTAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',7,'CAUSALE MAG. SCARICO X CONFEZIONAMENTO',2,'CMSCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',8,'CAUSALE COMM. SCARICO X CONFEZIONAMENTO',2,'CCSCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',9,'CAUSALE MAG. CARICO X CONFEZIONAMENTO',2,'CMCCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',10,'CAUSALE COMM. CARICO X CONFEZIONAMENTO',2,'CCCCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',11,'CAUSALE REG.UNICO TAGLIO',2,'CRUTAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',12,'CAUSALE REG.UNICO CONFEZIONAMENTO',2,'CRUCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFMCOP','01',13,'CAUSALE REG.UNICO RICLASSIFICAZIONE',2,'CRURIC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFOND1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFOND1','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,'' )
,('AFOND1','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFOND1','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFOND1','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFOND1','01',6,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFOND1','01',7,'NOME VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFOND1','01',8,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AFOND1','01',9,'SUPERFICE CERTIFICATA DOC',2,'SUPCER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AFOND1','01',10,'QUANTITA'' CERTIFICATA DOC',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',11,'QUANTITA'' CONFERITA TOTALE',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',12,'QUANTITA'' DOC ACCETTATA',2,'QTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',13,'QUANTITA'' TAVOLA ACCETTATA',2,'QTATAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',14,'QUANTITA'' TAVOLA OLTRE TOLLERANZA',2,'QTAOLT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',15,'QUANTITA'' TOLLERATA',2,'QTATOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',16,'QUANTITA'' MAX TAVOLA AMMESSA (DA RTRMAX)',2,'QTAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',17,'QUANTITA'' CERTIFICATA RECIOTO',2,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',18,'QUANTITA'' CERTIFICATA STOCCAGGIO (ENTRO)',2,'QTASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',19,'QUANTITA'' RISERVA (DOPPIO SUPERO)',2,'QTARIS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND1','01',20,'VITATA IN PRODUZIONE DOC/IGT (RTRESF)',2,'VITPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,4,0,'9(4)V9(4) COMP-3','',0,'',0,0,'' )
,('AFOND2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFOND2','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,'' )
,('AFOND2','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFOND2','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFOND2','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFOND2','01',6,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFOND2','01',7,'NOME VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFOND2','01',8,'QUANTITA'' CERTIFICATA DA TENTATIVI',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFOND2','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('AFONDZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFONDZ','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,'' )
,('AFONDZ','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFONDZ','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFONDZ','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFONDZ','01',6,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFONDZ','01',7,'NOME VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFONDZ','01',8,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',9,'SUPERFICE CERTIFICATA DOC',2,'SUPCER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',10,'QUANTITA'' CERTIFICATA DOC',2,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',11,'QUANTITA'' CONFERITA TOTALE',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',12,'QUANTITA'' DOC ACCETTATA',2,'QTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',13,'QUANTITA'' TAVOLA ACCETTATA',2,'QTATAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',14,'QUANTITA'' TAVOLA OLTRE TOLLERANZA',2,'QTAOLT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',15,'QUANTITA'' TOLLERATA',2,'QTATOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',16,'QUANTITA'' MAX TAVOLA AMMESSA (DA RTRMAX)',2,'QTAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',17,'QUANTITA'' CERTIFICATA RECIOTO',2,'QTAREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',18,'QUANTITA'' CERTIFICATA STOCCAGGIO (ENTRO)',2,'QTASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',19,'QUANTITA'' RISERVA (DOPPIO SUPERO)',2,'QTARIS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONDZ','01',20,'VITATA IN PRODUZIONE DOC/IGT (RTRESF)',2,'VITPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,4,0,'9(4)V9(4) COMP-3','',0,'',0,0,'' )
,('AFONE1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFONE1','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,'' )
,('AFONE1','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFONE1','01',4,'CODICE PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFONE1','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFONE1','01',6,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFONE1','01',7,'NOME CAMPO',3,'NCAMPO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFONE1','01',8,'SUPERFICE ARATIVA',2,'SUPARA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('AFONE1','01',9,'QUANTITA'' CONFERITA TOTALE',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AFONE1','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('AFONPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFONPR','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFONPR','01',3,'FORNITORE',3,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFONPR','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFORAF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFORAF','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFORAF','01',3,'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,'' )
,('AFORAF','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFORMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFORMP','01',2,'CODICE MATERIA PRIMA',2,'CODMAT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFORMP','01',3,'CODICE FORNITORE',2,'CODFOR',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFORMP','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AFOS01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFOS01','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,'' )
,('AFOS01','01',3,'TIPO TABELLA',3,'TIPTAB',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AFOS01','01',4,'ATTRIBUTO CONFERIMENTI USATO PER FOSS',3,'CODFOS',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
('AFOS01','01',5,'VARIAZIONE IN % SUL PREZZO BOLLETTA',2,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('AFOS01','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AFOS38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFOS38','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFOS38','01',3,'CODICE GRUPPO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFOS38','01',4,'VOCE FOSS',3,'VOCFOS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFOS38','01',5,'VALORE INIZIALE',3,'VALINI',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('AFOS38','01',6,'VALORE FINALE',3,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('AFOS38','01',7,'PERCENTUALE DETRAZIONE',2,'PERDET',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFPRUT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFPRUT','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,'' )
,('AFPRUT','01',3,'UTENTE',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFPRUT','01',4,'PASSWORD UTENTE',2,'PASSWD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFPRUT','01',5,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRBAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRBAN','01',2,'NUMERO BANCALE',2,'NUMERO',1,2,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRBAN','01',3,'NUMERO CONFERIMENTO',2,'NUMCON',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRBAN','01',4,'NUMERO PESATA',2,'NUMPES',0,0,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRBAN','01',5,'PROGRESSIVO CONTENITORE (apvdcv)',2,'PROCON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFRBAN','01',6,'QUINTALI CONFERITI',2,'QLICON',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('AFRBAN','01',7,'FORZA RISTAMPA ETICHETTA TARA (S)',2,'FLGRIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRBAN','01',8,'CODICE CLIENTE C/LAVORO',2,'CODCCL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFRBAN','01',9,'NOTE CONTO LAVORO',2,'NOTECL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFRBAN','01',10,'CODICE UVA BANCALI IN C/L',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFRBAN','01',11,'CODICE SCELTA BANCALI IN C/L',2,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRCAU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRCAU','01',2,'CODICE CAUSALE',2,'CODCAU',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRCAU','01',3,'DESCRIZIONE CAUSALE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFRCAU','01',4,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFRCAU','01',5,'CARICO/SCARICO (C/S)',2,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRCAU','01',6,'RICHIESTA DATI DOCUMENTO VENDITA (S/N)',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRCAU','01',7,'TIPO CARICO(V=VENDEMMIA C=C/L G=GENRICO)',2,'TIPCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRMO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRMO1','01',2,'NUMERO MOVIMENTO',2,'NUMMOV',1,2,3,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRMO1','01',3,'DATA MOVIMENTO',2,'DTAMOV',0,1,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFRMO1','01',4,'CODICE CAUSALE',2,'CODCAU',0,0,1,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRMO1','01',5,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFRMO1','01',6,'DATA DOCUMENTO',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFRMO1','01',7,'CODICE CLIENTE (SOLO SCARICO)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFRMO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRMO2','01',2,'NUMERO MOVIMENTO',2,'NUMMOV',1,3,4,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRMO2','01',3,'NUMEOR RIGA',2,'NUMRIG',2,4,5,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFRMO2','01',4,'DATA MOVIMENTO',2,'DTAMOV',0,2,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFRMO2','01',5,'TIPO MOVIMENTO (CARICO/SCARICO C/S)',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRMO2','01',6,'RIFERIMENTO FILA',2,'RIFFIL',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRMO2','01',7,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRMO2','01',8,'CODICE CAPANNONE',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRMO2','01',9,'CODICE FILA',3,'CODFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFRMO2','01',10,'NUMERO BANCALE',2,'NUMBAN',0,1,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRMON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRMON','01',2,'NUMERO MOVIMENTO',2,'NUMMOV',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRMON','01',3,'NUMERO PROGRESSIVO NOTA',2,'NUMNOT',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFRMON','01',4,'NOTA',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFRP00','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRP00','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,'' )
,('AFRP00','01',3,'ID SESSIONE',3,'ID-SES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRP00','01',4,'STRINGA ID SESSIONE',3,'STRSES',0,0,0,0,0,0,0,0,0,0,'S',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFRP00','01',5,'DATI RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRP00','01',6,'ENTRY POINT ENTRANTE',3,'ENTRYP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFRP00','01',7,'CODICE AZIENDA',3,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFRP00','01',8,'DESCRIZIONE AZIENDA',3,'DESAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFRP00','01',9,'CODICE VENDEMMIA',3,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFRP00','01',10,'DESCRIZIONE VENDEMMIA',3,'DESVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFRP00','01',11,'UTENTE',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFRP00','01',12,'CODICE STABILIMENTO ABILITATO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRP00','01',13,'DESCRIZIONE STABILIMENTO',3,'DESSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFRP00','01',14,'FUNZIONE OCRRENTE',3,'CURFUN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRP00','01',15,'TEST PER VALORE C=CARICO BANCALI',88,'ISCARB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'"C"','',0,'',0,0,'' )
,('AFRP00','01',16,'TEST PER VALORE S=SCARICO BANCALI',88,'ISSCAB',0,0,0,0,0,0,0,0,0,0,'',0,1,0,1,0,0,'"S"','',0,'',0,0,'' )
,('AFRP00','01',17,'TEST PER VALORE I=INVENTARIO BANCALI',88,'ISINVB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'"I"','',0,'',0,0,'' )
,('AFRP00','01',18,'DESCRIZIONE FUNZIONE',3,'DESFUN',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('AFRP00','01',19,'MESSAGGIO INFORMATIVO',3,'MESSAG',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFRP00','01',20,'ERRORE APPLICAZIONE NON RECUPERABILE',3,'SEVERE',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AFRP00','01',21,'ERRORE GESTIBILE',3,'ERRORE',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('AFRP01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRP01','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,'' )
,('AFRP01','01',3,'CODICE AZIENDA',3,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFRP01','01',4,'CODICE VENDEMMIA',3,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFRP01','01',5,'UTENTE',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFRP01','01',6,'FUNZIONE OCRRENTE',3,'CURFUN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRP01','01',7,'TEST PER VALORE C=CARICO BANCALI',88,'ISCARB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'"C"','',0,'',0,0,'' )
,('AFRP01','01',8,'TEST PER VALORE S=SCARICO BANCALI',88,'ISSCAB',0,0,0,0,0,0,0,0,0,0,'',0,1,0,1,0,0,'"S"','',0,'',0,0,'' )
,('AFRP01','01',9,'TEST PER VALORE I=INVENTARIO',88,'ISINVB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'"I"','',0,'',0,0,'' )
,('AFRP01','01',10,'CAUSALE MOVIMENTO',2,'CAUMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRP01','01',11,'DATI MOVIMENTO',2,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRP01','01',12,'CODICE A BARRE FILA LETTO (carico)',3,'CBRFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFRP01','01',13,'CODICE STABILIMENTO LETTO (carico)',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRP01','01',14,'CODICE CAPANNONE LETTO (carico)',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRP01','01',15,'CODICE FILA LETTO (carico)',3,'CODFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFRP01','01',16,'CODCIE CLIENTE VENDITA (scarico)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFRP01','01',17,'ULTIMO CODICE A BARRE BANCALE LETTO',3,'CBRBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFRP01','01',18,'ULTIMO BANCALE LETTO',3,'NUMBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRP02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRP02','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,'' )
,('AFRP02','01',3,'CHIAVE RECORD AFRP01',3,'KKREC1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRP02','01',4,'CODICE AZIENDA',4,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFRP02','01',5,'CODICE VENDEMMIA',4,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFRP02','01',6,'UTENTE',4,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFRP02','01',7,'FUNZIONE OCRRENTE',4,'CURFUN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRP02','01',8,'TEST PER VALORE C=CARICO BANCALI',88,'ISCARB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'"C"','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AFRP02','01',9,'TEST PER VALORE S=SCARICO BANCALI',88,'ISSCAB',0,0,0,0,0,0,0,0,0,0,'',0,1,0,1,0,0,'"S"','',0,'',0,0,'' )
,('AFRP02','01',10,'TEST PER VALORE I=INVENTARIO',88,'ISINVB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'"I"','',0,'',0,0,'' )
,('AFRP02','01',11,'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,'' )
,('AFRP02','01',12,'CODICE STABILIMENTO (scarico)',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRP02','01',13,'CODICE CAPANNONE (scarico)',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRP02','01',14,'CODICE FILA (scarico)',2,'CODFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFRPID','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRPID','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,'' )
,('AFRPID','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRPID','01',4,'ID SESSIONE',2,'ID-SES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRPID','01',5,'STRINGA ID SESSIONE',2,'STRSES',0,0,0,0,0,0,0,0,0,0,'S',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFRPRB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRPRB','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRPRB','01',3,'ULTIMO NUMERO BANCALE',2,'ULTBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRPRB','01',4,'ULTIMO NUMERO MOVIMENTO',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRPRG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRPRG','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRPRG','01',3,'NR.ATT.CLI VENDITA FRUTTAIO',2,'NRACLI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFRPRG','01',4,'COD.ATT.CLI VENDITA FRUTTAIO',2,'CDACLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRPRK','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRPRK','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFRPRK','01',3,'AZIENDA PICKING',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFRPRK','01',4,'VENDEMMIA PICKING',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AFRPRP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRPRP','01',2,'STABILIMENTO',2,'CODSTB',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRPRP','01',3,'NUMERO STAMPANTE ETICHETTE',2,'STPETI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFRPRP','01',4,'NUMERO CAPANNONI',2,'NUMCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFRPRP','01',5,'NUMERO FILE PER CAPANNONE',2,'NUMFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AFRPRP','01',6,'SCELTA OBBLIGATORIA ALLA PESA (S)',2,'FLGSCE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRPRP','01',7,'SOLO SCELTE CARTELLINI FRUTTAIO PESA (S)',2,'SOLSCC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFRPUT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRPUT','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,'' )
,('AFRPUT','01',3,'UTENTE',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AFRPUT','01',4,'PASSWORD',2,'PASSWD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFRPUT','01',5,'STABILIMENTO ABILITATO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRSCE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRSCE','01',2,'CODICE UVA',2,'CODUVA',1,2,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFRSCE','01',3,'CODICE SCELTA',2,'CODSCE',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AFRSCE','01',4,'COLORE CARTELLINO',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AFRSCE','01',5,'COLORE CARTELLINO HTML',2,'COLHTM',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AFRUBU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRUBU','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,'' )
,('AFRUBU','01',3,'ID FAMIGLIA R.U.',3,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('AFRUBU','01',4,'CODICE GRUPPO BUDGET',2,'CODBUD',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFRUPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFRUPR','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,'' )
,('AFRUPR','01',3,'CODICE COMMERCIALIZZAZIONE',3,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('AFRUPR','01',4,'PREZZO A LITRO',2,'PRELIT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,5,0,'9(8)V9(5)','',0,'',0,0,'' )
,('AFRUPR','01',5,'GRADO MEDIO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFSAGG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSAGG','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,'' )
,('AFSAGG','01',3,'CODICE TIPO AGGIUNTA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSAGG','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFSAGG','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFSAGG','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,151,151,0,0,'X(151)','',0,'',0,0,'' )
,('AFSCAU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSCAU','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,'' )
,('AFSCAU','01',3,'CODICE CAUSALE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSCAU','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFSCAU','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFSCAU','01',6,'TIPO CAUSALE',2,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFSCAU','01',13,'FLAG REGISTRO FRIZZANTI/SPUMANTI (F/S)',2,'FLAGFS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFSCAU','01',14,'CAUSALE MAGAZZINO SCARICO',2,'CMGSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSCAU','01',15,'CAUSALE MAGAZZINO CARICO',2,'CMGCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSCAU','01',16,'CAUSALE COMMERCIALIZZAZIONE SCARICO',2,'CCMSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSCAU','01',17,'CAUSALE COMMERCIALIZZAZIONE CARICO',2,'CCMCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSCAU','01',18,'VISUA GRADO CONTEGGIO SPEC.ZUCCHERI (S)',2,'FLGZUC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFSCAU','01',19,'ARTICOLO AGGIUNTA DA PROPORRE',2,'ARTAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFSCAU','01',20,'ANNATA AGGIUNTA DA PROPORRE',2,'ANNAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFSCAU','01',21,'LOTTO AGGIUNTA DA PROPORRE',2,'LOTAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AFSCAU','01',22,'VASCA AGGIUNTA DA PROPORRE',2,'VASAGG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSCAU','01',23,'STABILIMENTO',3,'STAAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFSCAU','01',24,'SETTORE',3,'SETAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFSCAU','01',25,'NUMERO',3,'NUMAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFSCAU','01',26,'GRADO EFF. AGGIUNTA DA PROPORRE',2,'EFFAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFSCAU','01',27,'GRADO POT. AGGIUNTA DA PROPORRE',2,'POTAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFSCAU','01',28,'MASSA VOL. AGGIUNTA DA PROPORRE',2,'MASAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
,('AFSCAU','01',29,'CAUSALE ERGA OMNES SCARICO',2,'CEOSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSCAU','01',30,'CAUSALE ERGA OMNES CARICO',2,'CEOCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSCAU','01',31,'CALCOLA GRADO CONTEGGIO SPEC.ZUCCHERI(S)',2,'GRAZUC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFSCAU','01',32,'TIPO POERDITA OBBLIGATORIO (N)',2,'TIPOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFSCAU','01',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,112,112,0,0,'X(112)','',0,'',0,0,'' )
,('AFSMO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSMO1','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,'' )
,('AFSMO1','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSMO1','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFSMO1','01',5,'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,'' )
,('AFSMO1','01',6,'ANNATA ARTICOLO',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFSMO1','01',7,'LOTTO',2,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AFSMO1','01',8,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFSMO1','01',9,'ANNATA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFSMO1','01',10,'VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AFSMO1','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,'' )
,('AFSMO1','01',12,'STABILIMENTO',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFSMO1','01',13,'SETTORE',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFSMO1','01',14,'NUMERO',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFSMO1','01',15,'QUANTITA'' MOVIMENTATA IN LITRI',2,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V9(3)','',0,'',0,0,'' )
,('AFSMO1','01',16,'GRADO EFFETTIVO',2,'GRAEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFSMO1','01',17,'GRADO POTENZIALE',2,'GRAPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFSMO1','01',18,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AFSMO1','01',19,'CODICE MANIPOLAZIONI COMMERCIALIZZAZIONE',2,'MANCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFSMO1','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,141,141,0,0,'X(141)','',0,'',0,0,'' )
,('AFSMO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSMO2','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,'' )
,('AFSMO2','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSMO2','01',4,'NUMERO RIGA',3,'NUMRGA',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFSMO2','01',5,'"1"=SCARICO(SOLO VASCHE) "2"=CARICO',2,'TIPAGG',0,2,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFSMO2','01',6,'VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AFSMO2','01',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSMO2','01',8,'STABILIMENTO',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFSMO2','01',9,'SETTORE',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AFSMO2','01',10,'NUMERO',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFSMO2','01',11,'NR BOTTIGLIE IN ALTERNATIVA ALLE VASCHE',2,'NUMBOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('AFSMO2','01',12,'CAPACITA'' BOTTIGLIE',2,'CAPBOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,3,0,'9(5)V9(3)','',0,'',0,0,'' )
,('AFSMO2','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,160,160,0,0,'X(160)','',0,'',0,0,'' )
,('AFSMON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSMON','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,'' )
,('AFSMON','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSMON','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFSMON','01',5,'RIGA NOTE (USATI SOLO 30 CARATTERI)',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AFSMON','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,56,56,0,0,'X(56)','',0,'',0,0,'' )
,('AFSMOV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSMOV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSMOV','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSMOV','01',4,'CODICE REGISTRO',2,'CODREG',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFSMOV','01',5,'DATA/ORA MOVIMENTO',2,'TEMMOV',0,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSMOV','01',6,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFSMOV','01',7,'ORA MOVIMENTO',3,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AFSMOV','01',8,'PARTITA DI RIFERIMENTO',2,'CODPAR',0,0,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSMOV','01',9,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFSMOV','01',10,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSMOV','01',11,'SEGNO ( /+/-)',2,'TIPSEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFSMOV','01',12,'QTA. AGGIORNAMENTO PARTITA IN LITRI',2,'QTALTR',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V9(3)','',0,'',0,0,'' )
,('AFSMOV','01',13,'TIPO AGGIUNTA',2,'TIPAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSMOV','01',14,'TIPO PERDITA',2,'TIPPER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSMOV','01',15,'NUMERO RECIPIENTI MOV. IMBOTT.',2,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AFSMOV','01',16,'CAPACITA'' RECIPIENTI MOV. IMBOTT.',2,'CAPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,3,0,'9(5)V9(3)','',0,'',0,0,'' )
,('AFSMOV','01',17,'NUMERO MOVIMENTO DI MAGAZINO GENERATO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSMOV','01',18,'NUMERO MOVIMENTO DI COMM. GENERATO',2,'NUMMCO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSMOV','01',19,'RIGA STAMPA DEFINITIVA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AFSMOV','01',20,'A=AUTOMATICO/M=MANUALE',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AFSMOV','01',21,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFSMOV','01',22,'DESCRIZIONE PRODOTTO OTTENUTO (IMB)',2,'DESIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFSMOV','01',23,'TOTALE LITRI SPOSTATI (SOLO SPOSTAMENTO)',2,'QTASPO',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V9(3)','',0,'',0,0,'' )
,('AFSMOV','01',24,'NUMERO MOVIMENTO ERGA OMNES GENERATO',2,'NUMMEO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSMOV','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,237,237,0,0,'X(237)','',0,'',0,0,'' )
,('AFSNAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSNAT','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,'' )
,('AFSNAT','01',3,'CODICE NATURA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSNAT','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFSNAT','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFSNAT','01',6,'DESCRIZIONE PER STAMPA REGISTRO',2,'DESSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AFSNAT','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,143,143,0,0,'X(143)','',0,'',0,0,'' )
,('AFSPAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPAN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,4,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPAN','01',3,'CODICE PARTITA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSPAN','01',4,'NUMERO PROGRESSIVO NOTE',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFSPAN','01',5,'RIGA NOTE, GESTITI SOLO 30 CARATTERI',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AFSPAN','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('AFSPAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPAR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,4,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPAR','01',3,'CODICE PARTITA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSPAR','01',4,'CODICE ARTICOLO',2,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFSPAR','01',5,'ANNATA',2,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AFSPAR','01',6,'LOTTO',2,'LOTTOS',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AFSPAR','01',7,'CODICE DI COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFSPAR','01',8,'ANNATA DI COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFSPAR','01',9,'CODICE NATURA',2,'CODNAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSPAR','01',10,'CODICE TIPO ZUCCHERO',2,'CODTIZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSPAR','01',11,'CODICE MANIPOLAZIONI COMMERCIALIZZAZIONE',2,'MANCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AFSPAR','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,142,142,0,0,'X(142)','',0,'',0,0,'' )
,('AFSPER','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPER','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,'' )
,('AFSPER','01',3,'CODICE TIPO PERDITA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AFSPER','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AFSPER','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AFSPER','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,151,151,0,0,'X(151)','',0,'',0,0,'' )
,('AFSPRM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPRM','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,'' )
,('AFSPRM','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSPRM','01',4,'TABELLA ARTICOLI ZUCCHERO',2,'TABZUC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPRM','01',5,'CODICI ARTICOLI ZUCCHERO',3,'ARTZUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',5,'',0,0,'' )
,('AFSPRM','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,215,215,0,0,'X(215)','',0,'',0,0,'' )
,('AFSPRO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPRO','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,'' )
,('AFSPRO','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSPRO','01',4,'ULTIMO NUMERO INTERNO MOVIMENTO',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSPRO','01',5,'ULTIMO NUMERO PARTITA FRIZZANTI',2,'ULTPAF',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSPRO','01',6,'ULTIMO NR PARTITA SPUMANTI (SE DIVERSO)',2,'ULTPAS',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSPRO','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,119,119,0,0,'X(119)','',0,'',0,0,'' )
,('AFSPRS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPRS','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,'' )
,('AFSPRS','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFSPRS','01',4,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AFSPRS','01',5,'ULTIMA STAMPA REGISTRO',2,'DTASTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AFSPRS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AFSPRS','01',7,'ANNO',3,'AA-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AFSPRS','01',8,'MESE',3,'MM-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFSPRS','01',9,'GIORNO',3,'GG-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AFSPRS','01',10,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
go
