INSERT INTO dbo.ZFILE3_01 VALUES
('ACAU01','01',2,'NUMERO RIGA',2,'NUMRIG',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACAU01','01',3,'TESTO RIGA',2,'TESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ACAU12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACAU12','01',2,'NUMERO RIGA',2,'NUMRIG',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACAU12','01',3,'TESTO RIGA',2,'TESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ACAU38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACAU38','01',2,'NUMERO RIGA',2,'NUMRIG',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACAU38','01',3,'TESTO RIGA',2,'TESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ACAUAS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACAUAS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACAUAS','01',3,'CHIAVE = SPAZI',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACAUAS','01',4,'CAUSALI PRELIEVO VINO',2,'CAUPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',5,'',0,0,'' )
,('ACAUAS','01',5,'CAUSALI ANTICIPI AI SOCI',2,'CAUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',5,'',0,0,'' )
,('ACAUAS','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,'' )
,('ACAUFO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACAUFO','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,'' )
,('ACAUFO','01',3,'CODICE CAUSALE DA BYPASSARE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACAULI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACAULI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACAULI','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,'' )
,('ACAULI','01',4,'ELEMENTO TABELLA',2,'ELECAU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',26,'',0,0,'' )
,('ACAULI','01',5,'CODICE CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACAULI','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,'' )
,('ACAURV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACAURV','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,'' )
,('ACAURV','01',3,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACAURV','01',4,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACAURV','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,'' )
,('ACAURV','01',6,'RAGRUPPAMENTO OBBLIGATORIO S/N',2,'RAGOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACAURV','01',7,'GRADO OBBLIGATORIO S/N',2,'GRAOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACAURV','01',8,'MASSA VOLUMICA OBBLIGATORIA S/N',2,'MASOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACAURV','01',9,'CODICE COLONNA INCREMENTATA',2,'INCCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACAURV','01',10,'CODICE COLONNA DECREMENTATA',2,'DECCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACAURV','01',11,'FORMULA',2,'FORMUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACAURV','01',15,'STAMPA GRADO SU REGISTRO',2,'STAGRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACAURV','01',16,'STAMPA MASSA VOLUMICA SU REGISTRO',2,'STAMAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACAURV','01',17,'TIPO ARROTONDAMENTO',2,'TIPARR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACAURV','01',21,'TIPO CALCOLO TOTALI X=INVERSO',2,'TIPCTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACAURV','01',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ACAUSV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACAUSV','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,'' )
,('ACAUSV','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACAUSV','01',4,'CODICE DDT',2,'CODDDT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ACAUSV','01',5,'CODICE DOCO',2,'CODDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ACAUSV','01',6,'CREA FATTURA',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACAUSV','01',7,'COPIE FATTURA',2,'COPIEF',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ACAUSV','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,98,98,0,0,'X(98)','',0,'',0,0,'' )
,('ACC008','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC008','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,'' )
,('ACC008','01',3,'PROGRESSIVO',2,'PROGRE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC008','01',4,'DESCRIZIONE',2,'DESNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACC008','01',5,'IMPORTO',2,'IMPNEW',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ACC008','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,'' )
,('ACC023','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC023','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,2,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC023','01',3,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC023','01',6,'TIPO PAGAMENTO',2,'TIPPAG',0,0,1,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC023','01',9,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACC023','01',10,'CODICE STABILIMENTO',2,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACC023','01',11,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC023','01',12,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC023','01',13,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC023','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,'' )
,('ACC023','01',15,'IMPORTO ANTICIPI',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC023','01',16,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC023','01',17,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',18,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC023','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,'' )
,('ACC023','01',20,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',21,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',22,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',23,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC023','01',24,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',25,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',26,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC023','01',27,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',28,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC023','01',29,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC023','01',30,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',31,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',32,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',33,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC023','01',34,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',35,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',36,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC023','01',37,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC023','01',38,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC023','01',39,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC023','01',40,'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,'' )
,('ACC023','01',41,'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,'' )
,('ACC023','01',42,'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,'' )
,('ACC023','01',43,'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,'' )
,('ACC023','01',44,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC023','01',45,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC023','01',46,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',47,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',48,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',49,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC023','01',50,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC023','01',51,'CODICE CAUSALE CONTABILE STORNO ANTICIPI',2,'CAUSTO',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
('ACC023','01',52,'DATA REGISTRAZIONE STORNO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC023','01',53,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC023','01',54,'ANNO REGISTRAZIONE STORNO',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',55,'MESE REGISTRAZIONE STORNO',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',56,'GIORNO REGISTRAZIONE STORNO',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',57,'GRUPPO CONTO ANTICIPI',2,'GCANTI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC023','01',58,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC023','01',59,'GRUPPO ANTICIPI',3,'GRUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',60,'CONTO ANTICIPI',3,'CONANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',61,'CONTABILIZZAZIONE STORNO ANTICIPO /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC023','01',62,'IMPORTO DA STORNARE DAL CONTO ANTICIPI',2,'IMPSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC023','01',63,'IMPORTO FINANZIAMENTO REGIONE',2,'IMPREG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC023','01',64,'CODICE BANCA PAGAMENTO FIN. REGIONE',2,'BANREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACC023','01',65,'CAUSALE CONTABILE FIN. REGIONE',2,'CAUREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',66,'DATA REGISTRAZIONE FIN. REGIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC023','01',67,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC023','01',68,'ANNO REGISTRAZIONE FIN. REGIONE',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC023','01',69,'MESE REGISTRAZIONE FIN. REGIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',70,'GIORNO REGISTRAZIONE FIN. REGIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC023','01',71,'CONTABILIZZATO FIN. REGIONE /S',2,'FLGREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC023','01',72,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('ACC032','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC032','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,2,3,2,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC032','01',3,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC032','01',6,'TIPO PAGAMENTO',2,'TIPPAG',0,0,1,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC032','01',9,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,2,1,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACC032','01',10,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC032','01',11,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC032','01',12,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC032','01',13,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACC032','01',14,'IMPORTO ANTICIPI',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC032','01',15,'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,'' )
,('ACC032','01',16,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ACC032','01',17,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',18,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC032','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,'' )
,('ACC032','01',20,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',21,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',22,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',23,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC032','01',24,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',25,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',26,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC032','01',27,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',28,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC032','01',29,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC032','01',30,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',31,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',32,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',33,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC032','01',34,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',35,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',36,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC032','01',37,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC032','01',38,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC032','01',39,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC032','01',40,'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,'' )
,('ACC032','01',41,'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,'' )
,('ACC032','01',42,'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,'' )
,('ACC032','01',43,'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,'' )
,('ACC032','01',44,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC032','01',45,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC032','01',46,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',47,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',48,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',49,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC032','01',50,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC032','01',51,'CODICE CAUSALE CONTABILE STORNO ANTICIPI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',52,'DATA REGISTRAZIONE STORNO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC032','01',53,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC032','01',54,'ANNO REGISTRAZIONE STORNO',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',55,'MESE REGISTRAZIONE STORNO',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',56,'GIORNO REGISTRAZIONE STORNO',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',57,'GRUPPO CONTO ANTICIPI',2,'GCANTI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC032','01',58,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC032','01',59,'GRUPPO ANTICIPI',3,'GRUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',60,'CONTO ANTICIPI',3,'CONANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',61,'CONTABILIZZAZIONE STORNO ANTICIPO /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC032','01',62,'IMPORTO DA STORNARE DAL CONTO ANTICIPI',2,'IMPSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC032','01',63,'CODICE CAUSALE FINANZIAMENTO REM.',2,'CAUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',64,'DATA FINANZIAMENTO REMUNERATO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC032','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,'' )
,('ACC032','01',66,'ANNO FINANZIAMENTO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC032','01',67,'MESE FINANZIAMENTO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',68,'GIORNO FINANZIAMENTO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC032','01',69,'G/C/S FINANZIAMENTO',2,'GCSFIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC032','01',70,'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,'' )
,('ACC032','01',71,'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,'' )
,('ACC032','01',72,'SEMPRE A ZERO !!!!!!!!!!!!!!!!',3,'SOTFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC032','01',73,'CONTABILIZZAZIONE FINANZIAMENTO /S',2,'FLGFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC032','01',74,'ELEMENTO TRATTENUTA',2,'ELETRA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('ACC032','01',75,'IMPORTO TRATTENUTA',3,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACC032','01',76,'TIPO VINCOLO',3,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACC032','01',77,'DATA VALUTA',3,'VALLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC032','01',78,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC032','01',79,'DESCRIZIONE AGGIUNTIVA TRATTENUTA 1',2,'DESTR1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACC032','01',80,'DESCRIZIONE AGGIUNTIVA TRATTENUTA 2',2,'DESTR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACC032','01',81,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ACC102','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC102','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACC102','01',3,'CODICE UVAGGIO',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACC102','01',4,'TIPO RIGA 1/2',2,'TIPRIG',3,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ACC102','01',5,'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,'' )
,('ACC102','01',6,'IMPORTO RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC102','01',7,'PREZZO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('ACC102','01',8,'SUPERFICE',2,'SUPERF',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('ACC109','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,2,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC109','01',3,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC109','01',6,'TIPO PAGAMENTO',2,'TIPPAG',0,0,1,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC109','01',9,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACC109','01',10,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC109','01',11,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC109','01',12,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC109','01',13,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACC109','01',14,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC109','01',15,'IMPORTO TRATTENUTA FUSIONE',2,'IMPFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC109','01',17,'IMPORTO TRATTENUTA SOTTOSCRIZIONE',2,'IMPSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC109','01',19,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',20,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC109','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,'' )
,('ACC109','01',22,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',23,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',24,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',25,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',26,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',27,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',28,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC109','01',29,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',30,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC109','01',31,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',32,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',33,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',34,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',35,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',36,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',37,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',38,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC109','01',39,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC109','01',40,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC109','01',41,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',42,'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,'' )
,('ACC109','01',43,'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,'' )
,('ACC109','01',44,'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,'' )
,('ACC109','01',45,'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,'' )
,('ACC109','01',46,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC109','01',47,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',48,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',49,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',50,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',51,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC109','01',52,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC109','01',54,'CAUSALE CONTABILE TRATTENUTA FUSIONE',2,'CAUFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',55,'DATA REGISTRAZIONE TRATTENUTA FUSIONE',2,'DATFUS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC109','01',56,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',57,'ANNO REGISTRAZIONE TRATTENUTA FUSIONE',3,'AAAFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',58,'MESE REGISTRAZIONE TRATTENUTA FUSIONE',3,'MMMFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',59,'GIORNO REGISTRAZIONE TRATTENUTA FUSIONE',3,'GGGFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',60,'GRUPPO CONTO TRATTENUTA FUSIONE',2,'GCOFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC109','01',61,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',62,'GRUPPO TRATTENUTA FUSIONE',3,'GRUFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',63,'CONTO TRATTENUTA FUSIONE',3,'CONFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',64,'CONTABILIZZAZIONE TRATTENUTA FUSIONE /S',2,'FLGFUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC109','01',66,'CAUSALE CONTABILE TRATT. SOTTOSCRIZIONE',2,'CAUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',67,'DATA REGISTRAZIONE TRATT. SOTTOSCRIZIONE',2,'DATSOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC109','01',68,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',69,'ANNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'AAASOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',70,'MESE REG. TRATTENUTA SOTTOSCRIZIONE',3,'MMMSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',71,'GIORNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'GGGSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC109','01',72,'GRUPPO CONTO TRATENUTA SOTTOSCRIZIONE',2,'GCOSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC109','01',73,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC109','01',74,'GRUPPO TRATTENUTA SOTTOSCRIZIONE',3,'GRUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',75,'CONTO TRATTENUTA SOTTOSCRIZIONE',3,'CONSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC109','01',76,'FLAG CONTABILIZZAZIONE TRATT. SOTTOS.',2,'FLGSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC109','01',77,'IMPORTO SALDO CONTABILE (TRATTENUTE)',2,'IMPSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,0,2,'9(11) COMP-3','9(9)V99 COMP-3',0,'',0,0,'' )
,('ACC109','01',78,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ACC117','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC117','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,'' )
,('ACC117','01',3,'DATA BOLLETTA',2,'DATBOL',2,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC117','01',4,'NUMERO BOLLETTA',2,'NUMBOL',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC117','01',5,'PROGRESSIVO (PER BOLLETTE IN SUPERO)',2,'PROGRE',4,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC117','01',6,'CODICE UVA',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACC117','01',7,'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,'' )
,('ACC117','01',8,'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,'' )
,('ACC117','01',9,'QUANTITA'' PAGATA',2,'QTAPER',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACC117','01',10,'MONTEGRADI PAGATO',2,'MONPER',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('ACC117','01',11,'GRADO BOLLETTA',2,'GRABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACC117','01',12,'IMPORTO PER GRADO',2,'IMPGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ACC117','01',13,'IMPORTO PER QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('ACC117','01',14,'VARIAZIONE PREZZO UVE DOC',2,'VARDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,4,0,'S9(4)V9(4)','',0,'',0,0,'' )
,('ACC117','01',15,'VARIAZIONE PREZZO SCELTA',2,'VARSCE',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,4,0,'S9(4)V9(4)','',0,'',0,0,'' )
,('ACC117','01',16,'PREZZO FINALE CON VARIAZIONI',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,4,0,'S9(4)V9(4)','',0,'',0,0,'' )
,('ACC117','01',17,'VALORE RIGA LORDO',2,'VALLOR',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ACC117','01',18,'VALORE SCOSTAMENTO IN PERCENTUALE',2,'VARFIN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ACC117','01',19,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ACC117','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACC209','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC209','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC209','01',3,'TIPO PAGAMENTO',2,'TIPPAG',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC209','01',6,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACC209','01',7,'IMPORTO SALDO',2,'IMPSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ACC209','01',8,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC209','01',9,'IMPORTO TRATTENUTA FUSIONE',2,'IMPFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC209','01',10,'IMPORTO TRATTENUTA SOTTOSCRIZIONE',2,'IMPSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC209','01',11,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',12,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC209','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC209','01',14,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',15,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC209','01',16,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC209','01',17,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC209','01',18,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',19,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',20,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC209','01',21,'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,'' )
,('ACC209','01',22,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC209','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,'' )
,('ACC209','01',24,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',25,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC209','01',26,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC209','01',27,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC209','01',28,'CAUSALE CONTABILE TRATTENUTA FUSIONE',2,'CAUFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',29,'DATA REGISTRAZIONE TRATTENUTA FUSIONE',2,'DATFUS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC209','01',30,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC209','01',31,'ANNO REGISTRAZIONE TRATTENUTA FUSIONE',3,'AAAFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',32,'MESE REGISTRAZIONE TRATTENUTA FUSIONE',3,'MMMFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC209','01',33,'GIORNO REGISTRAZIONE TRATTENUTA FUSIONE',3,'GGGFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC209','01',34,'GRUPPO CONTO TRATTENUTA FUSIONE',2,'GCOFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC209','01',35,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC209','01',36,'GRUPPO TRATTENUTA FUSIONE',3,'GRUFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',37,'CONTO TRATTENUTA FUSIONE',3,'CONFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',38,'CONTABILIZZAZIONE TRATTENUTA FUSIONE /S',2,'FLGFUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC209','01',39,'CAUSALE CONTABILE TRATT. SOTTOSCRIZIONE',2,'CAUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',40,'DATA REGISTRAZIONE TRATT. SOTTOSCRIZIONE',2,'DATSOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC209','01',41,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC209','01',42,'ANNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'AAASOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',43,'MESE REG. TRATTENUTA SOTTOSCRIZIONE',3,'MMMSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC209','01',44,'GIORNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'GGGSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC209','01',45,'GRUPPO CONTO TRATENUTA SOTTOSCRIZIONE',2,'GCOSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC209','01',46,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC209','01',47,'GRUPPO TRATTENUTA SOTTOSCRIZIONE',3,'GRUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',48,'CONTO TRATTENUTA SOTTOSCRIZIONE',3,'CONSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC209','01',49,'FLAG CONTABILIZZAZIONE TRATT. SOTTOS.',2,'FLGSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC209','01',50,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ACC256','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC256','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC256','01',3,'CODICE CONFERENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC256','01',4,'CODICE FAMIGLIA',3,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACC256','01',5,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ACC256','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,'' )
,('ACC2CA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC2CA','01',2,'NOME ARCHIVIO',2,'NOMFIL',1,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACC2CA','01',3,'PROGRESSIVO',2,'PROGRE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,12,0,0,'X(4) COMP-X','',0,'',0,0,'' )
,('ACC2CA','01',4,'TIPO RECORD (PER MULTITRACCIATO)',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACC2CA','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,'' )
,('ACC2CA','01',10,'SPAZIO PER CAMPI AGGIUNTIVI EXTRA RECORD',2,'EXTRAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC2CA','01',11,'CODICE ISO NAZIONE CLIENTI',3,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACC2CA','01',12,'BUFFER RECORD',2,'BUFFER',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(1000)','',0,'',0,0,'' )
,('ACC309','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,2,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC309','01',3,'CODICE EREDE',2,'CODERE',2,3,3,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC309','01',4,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC309','01',7,'TIPO PAGAMENTO',2,'TIPPAG',0,0,1,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC309','01',10,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACC309','01',11,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC309','01',12,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC309','01',13,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC309','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,'' )
,('ACC309','01',15,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC309','01',16,'IMPORTO TRATTENUTA',2,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACC309','01',17,'CAMPO A DISPOSIZIONE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ACC309','01',18,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',19,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC309','01',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',21,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',22,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',23,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',24,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',25,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',26,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',27,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC309','01',28,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',29,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC309','01',30,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',31,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',32,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',33,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',34,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',35,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',36,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',37,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC309','01',38,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC309','01',39,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC309','01',40,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',41,'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,'' )
,('ACC309','01',42,'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,'' )
,('ACC309','01',43,'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,'' )
,('ACC309','01',44,'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,'' )
,('ACC309','01',45,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC309','01',46,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACC309','01',47,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',48,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',49,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',50,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC309','01',51,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC309','01',52,'CAUSALE CONTABILE TRATTENUTA',2,'CAUTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',53,'DATA REGISTRAZIONE TRATTENUTA',2,'DATTRA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC309','01',54,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',55,'ANNO REGISTRAZIONE TRATTENUTA',3,'AAATRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',56,'MESE REGISTRAZIONE TRATTENUTA',3,'MMMTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',57,'GIORNO REGISTRAZIONE TRATTENUTA',3,'GGGTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',58,'GRUPPO CONTO TRATTENUTA',2,'GCOTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC309','01',59,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',60,'GRUPPO TRATTENUTA',3,'GRUTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',61,'CONTO TRATTENUTA',3,'CONTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',62,'CONTABILIZZAZIONE TRATTENUTA /S',2,'FLGTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC309','01',64,'CAUSALE CONTABILE TRATT. SOTTOSCRIZIONE',2,'CAUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',65,'DATA REGISTRAZIONE TRATT. SOTTOSCRIZIONE',2,'DATSOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC309','01',66,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',67,'ANNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'AAASOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',68,'MESE REG. TRATTENUTA SOTTOSCRIZIONE',3,'MMMSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',69,'GIORNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'GGGSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC309','01',70,'GRUPPO CONTO TRATENUTA SOTTOSCRIZIONE',2,'GCOSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC309','01',71,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC309','01',72,'GRUPPO TRATTENUTA SOTTOSCRIZIONE',3,'GRUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',73,'CONTO TRATTENUTA SOTTOSCRIZIONE',3,'CONSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC309','01',74,'FLAG CONTABILIZZAZIONE TRATT. SOTTOS.',2,'FLGSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC309','01',75,'IMPORTO SALDO CONTABILE (TRATTENUTE)',2,'IMPSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,0,2,'9(11) COMP-3','9(9)V99 COMP-3',0,'',0,0,'' )
,('ACC309','01',76,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ACC380','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC380','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,'' )
,('ACC380','01',3,'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,'' )
,('ACC380','01',4,'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,'' )
,('ACC380','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,'' )
,('ACC380','01',6,'IMPORTO PER GRADO',2,'IMPGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,3,'9(11)','9(8)V999',0,'',0,0,'' )
,('ACC380','01',7,'IMPORTO PER QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,3,'9(11)','9(8)V999',0,'',0,0,'' )
,('ACC380','01',8,'VARIAZIONE PER CLASSIFICA',2,'VARCLA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ACC380','01',9,'IMPORTO ACCONTO',2,'IMPTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC380','01',10,'IMPORTO ACCONTO ARROTONDATO',2,'IMPARR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC380','01',11,'SOCIO BLOCCATO S/N',2,'SOCBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC380','01',12,'INSERIMENTO AUTOMATICO/MANUALE A/M',2,'MODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC380','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ACC409','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC409','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC409','01',3,'CODICE EREDE',2,'CODERE',2,3,4,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC409','01',4,'TIPO PAGAMENTO',2,'TIPPAG',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC409','01',7,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACC409','01',8,'IMPORTO SALDO',2,'IMPSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ACC409','01',9,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC409','01',10,'IMPORTO TRATTENUTA FUSIONE',2,'IMPFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC409','01',11,'IMPORTO TRATTENUTA SOTTOSCRIZIONE',2,'IMPSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACC409','01',12,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',13,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC409','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,'' )
,('ACC409','01',15,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',16,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC409','01',17,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC409','01',18,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC409','01',19,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',20,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',21,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACC409','01',22,'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,'' )
,('ACC409','01',23,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC409','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,'' )
,('ACC409','01',25,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',26,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC409','01',27,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC409','01',28,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC409','01',29,'CAUSALE CONTABILE TRATTENUTA FUSIONE',2,'CAUFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',30,'DATA REGISTRAZIONE TRATTENUTA FUSIONE',2,'DATFUS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC409','01',31,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC409','01',32,'ANNO REGISTRAZIONE TRATTENUTA FUSIONE',3,'AAAFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',33,'MESE REGISTRAZIONE TRATTENUTA FUSIONE',3,'MMMFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC409','01',34,'GIORNO REGISTRAZIONE TRATTENUTA FUSIONE',3,'GGGFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC409','01',35,'GRUPPO CONTO TRATTENUTA FUSIONE',2,'GCOFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC409','01',36,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC409','01',37,'GRUPPO TRATTENUTA FUSIONE',3,'GRUFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',38,'CONTO TRATTENUTA FUSIONE',3,'CONFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',39,'CONTABILIZZAZIONE TRATTENUTA FUSIONE /S',2,'FLGFUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC409','01',40,'CAUSALE CONTABILE TRATT. SOTTOSCRIZIONE',2,'CAUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',41,'DATA REGISTRAZIONE TRATT. SOTTOSCRIZIONE',2,'DATSOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACC409','01',42,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC409','01',43,'ANNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'AAASOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',44,'MESE REG. TRATTENUTA SOTTOSCRIZIONE',3,'MMMSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC409','01',45,'GIORNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'GGGSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACC409','01',46,'GRUPPO CONTO TRATENUTA SOTTOSCRIZIONE',2,'GCOSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACC409','01',47,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACC409','01',48,'GRUPPO TRATTENUTA SOTTOSCRIZIONE',3,'GRUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',49,'CONTO TRATTENUTA SOTTOSCRIZIONE',3,'CONSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACC409','01',50,'FLAG CONTABILIZZAZIONE TRATT. SOTTOS.',2,'FLGSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACC409','01',51,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ACCD29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCD29','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCD29','01',3,'CODICE CONFERENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCD29','01',4,'DATA BOLLA',3,'DTACON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCD29','01',5,'NUMERO BOLLA',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCD29','01',6,'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,'' )
,('ACCD29','01',7,'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,'' )
,('ACCD29','01',8,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCD29','01',9,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACCD29','01',10,'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,'' )
,('ACCD29','01',11,'GRADO BOLLETTA',2,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACCD29','01',12,'PREZZO A GRADO',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,4,'9(7)','999V9(4)',0,'',0,0,'' )
,('ACCD29','01',13,'IMPORTO VARIAZIONE SCELTA',2,'VARSCE',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ACCD29','01',14,'IMPORTO RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCDCC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCDCC','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,'' )
,('ACCDCC','01',3,'CODICE CENTRO DI COSTO CONTABILE',3,'CODCEC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACCDCC','01',4,'CODICE CATEGORIA',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCDCC','01',5,'COEFFICENTE ORDINARIO',2,'CFFORD',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('ACCDCC','01',6,'COEFFICENTE ANTICIPATO',2,'CFFANT',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('ACCDOC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCDOC','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,'' )
,('ACCDOC','01',3,'BARCODE 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,'' )
,('ACCDOC','01',4,'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,'' )
,('ACCDOC','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,174,174,0,0,'X(174)','',0,'',0,0,'' )
,('ACCF02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCF02','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,'' )
,('ACCF02','01',3,'PROGRESSIVO',2,'PROGRE',2,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ACCF02','01',4,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ACCF02','01',5,'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,'' )
,('ACCF02','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,'' )
,('ACCF02','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,'' )
,('ACCF02','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,'' )
,('ACCF02','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,'' )
,('ACCF02','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,'' )
,('ACCF02','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,'' )
,('ACCF02','01',12,'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,'' )
,('ACCF02','01',13,'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,'' )
,('ACCF02','01',14,'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,'' )
,('ACCF02','01',15,'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,'' )
,('ACCF02','01',16,'CONTABILIZZAZIONE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCF02','01',17,'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,'' )
,('ACCF02','01',18,'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,'' )
,('ACCF02','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,'' )
,('ACCF02','01',20,'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,'' )
,('ACCF02','01',21,'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,'' )
,('ACCF02','01',22,'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,'' )
,('ACCF02','01',23,'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,'' )
,('ACCINC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCINC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCINC','01',3,'NUMERO INTERNO DAA (ZERO PER RETTIFICHE)',3,'NUMDAA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('ACCINC','01',4,'TIPO RIGA (1/2/9)',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCINC','01',8,'PRODOTTO ACCISA (RIGHE TIPO 1 E 2)',3,'PROACC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCINC','01',9,'CODICE NOMENCLATURA COMBINATA',3,'NOMCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ACCINC','01',10,'PROGRESSIVO RETTIFICA (RIGHE 9)',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'S',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCINC','01',11,'DIRITTO D''ACCISA AL LITRO SOLO 1 E 2',3,'DIRACC',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,4,0,'9(6)V9(4)','',0,'',0,0,'' )
,('ACCINC','01',12,'CODICE REGISTRO COMMERCIALIZZAZIONE',2,'CODREG',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACCINC','01',13,'DATA MOVIMENTO',2,'DTAMOV',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCINC','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,'' )
,('ACCINC','01',15,'ANNO',3,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACCINC','01',16,'MESE',3,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCINC','01',17,'GIORNO',3,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCINC','01',18,'DATA DOCUMENTO',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCINC','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,'' )
,('ACCINC','01',20,'ANNO',3,'AA-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACCINC','01',21,'MESE',3,'MM-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCINC','01',22,'GIORNO',3,'GG-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCINC','01',23,'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,'' )
,('ACCINC','01',24,'DESCRIZIONE DESTINATARIO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACCINC','01',25,'NAZIONE (CODICE ISO)',2,'NAZION',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCINC','01',26,'QUANTITA'' MOVIMENTO (LITRI)',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('ACCINC','01',27,'ACCISA GRAVANTE GARANZIA',2,'ACCGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('ACCINC','01',28,'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,'' )
,('ACCINC','01',29,'RIGA STAMPA DEFINITIVA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('ACCINC','01',30,'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,'' )
,('ACCINC','01',34,'ACCISA GRAVANTE AL 100%',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('ACCINC','01',35,'CODICE ACCISA',2,'CODACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ACCINC','01',36,'EX 19-20 CARATTERE CODACC',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCINC','01',37,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACCINC','01',38,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACCINC','01',39,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('ACCINC','01',40,'INVIO TELEMATICO S/N',2,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCINC','01',41,'NUMERO ARC (SE TELEMATICO)',2,'NUMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ACCINC','01',42,'NUMERO DI 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,'' )
,('ACCINC','01',43,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ACCINR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCINR','01',2,'CHIAVE PER NUMERO BOLLA',2,'KEY002',0,1,4,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCINR','01',3,'NUMERO INTERNO DAA (ZERO PER ALTRO)',3,'NUMDAA',0,0,0,1,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ACCINR','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCINR','01',5,'NUMERO INTERNO MOVIMENTO',4,'NUMERO',0,0,0,5,4,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ACCINR','01',6,'CODICE REGISTRO',2,'CODREG',0,0,1,0,1,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCINR','01',7,'DATA MOVIMENTO',2,'DTAMOV',0,0,2,0,2,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCINR','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,'' )
,('ACCINR','01',9,'AA-MOV',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCINR','01',10,'MM-MOV',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCINR','01',11,'GG-MOV',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCINR','01',12,'PRODOTTO ACCISA',2,'PROACC',0,0,3,3,3,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ACCINR','01',13,'TIPO RIGA (1/2/3/4/5/9)',2,'TIPRIG',0,0,0,2,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCINR','01',21,'NR.INT.MOVIMENTO DELLA RIGA DAA DI RIF.',2,'NUMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ACCINR','01',23,'PRODOTTO',2,'CODPRO',0,0,0,4,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCINR','01',24,'CODICE CPA',3,'CODCPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCINR','01',25,'CODICE NOMENCLATURA COMBINATA',3,'NOMCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('ACCINR','01',26,'CODICE TARIC',3,'CODTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCINR','01',27,'CODICE CADD',3,'CODCAD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCINR','01',28,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACCINR','01',35,'DATA DOCUMENTO',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCINR','01',36,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCINR','01',37,'ANNO',3,'AA-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACCINR','01',38,'MESE',3,'MM-DOC',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
('ACCINR','01',39,'GIORNO',3,'GG-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCINR','01',40,'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,'' )
,('ACCINR','01',41,'TIPO STOCCAGGIO (S/N)',2,'TIPSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCINR','01',44,'VOLUME NOMINALE (SOLO PER CONFEZIONATO)',2,'VOLNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ACCINR','01',45,'NUMERO CONFEZIONI (SOLO CONFEZIONATO)',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ACCINR','01',46,'GRADO',2,'GRAACC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACCINR','01',47,'QUANTITA'' MOVIMENTO (LITRI)',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('ACCINR','01',48,'DIRITTO D''ACCISA AL LITRO (SOLO 1 E 2)',2,'DIARCC',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,4,0,'9(6)V9(4)','',0,'',0,0,'' )
,('ACCINR','01',49,'ACCISA GRAVANTE AL 100 %',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('ACCINR','01',50,'ACCISA GRAVANTE GARANZIA',2,'ACCGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('ACCINR','01',51,'NAZIONE (CODICE ISO)',2,'NAZION',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCINR','01',52,'CODICE ACCISA',2,'CODACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ACCINR','01',53,'EX 19-20 CARATTERE CODICE ACCISA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCINR','01',54,'CARICO/SCARICO (C/S)',2,'FLAGCS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCINR','01',55,'CAUSALE MOVIMENTAZIONE',2,'CAUMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCINR','01',57,'AUTOMATICO/MANUALE (A/M)',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCINR','01',58,'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,'' )
,('ACCINR','01',59,'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,'' )
,('ACCINR','01',65,'IMPORTO IMPEGNATO SPEDIZIONI',2,'IMPSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,2,0,'9(12)V99','',0,'',0,0,'' )
,('ACCINR','01',66,'IMPORTO IMPEGNATO APPURAMENTI',2,'IMPAPP',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,2,0,'9(12)V99','',0,'',0,0,'' )
,('ACCINR','01',67,'IMPORTO PROVVEDIMENTI ACCETTATI',2,'IMPACC',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,2,0,'9(12)V99','',0,'',0,0,'' )
,('ACCINR','01',68,'IMPORTO PROVVEDIMENTI SCADUTI',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,2,0,'9(12)V99','',0,'',0,0,'' )
,('ACCINR','01',70,'DESCRIZIONE CLIENTE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACCINR','01',71,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACCINR','01',72,'C.A.P.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACCINR','01',73,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('ACCINR','01',74,'DOCUMENTO TELEMATICO S/N',2,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCINR','01',75,'NUMERO ARC (SE DOCUMENTO TELEMATICO)',2,'NUMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ACCINR','01',76,'NUMERO DI 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,'' )
,('ACCINR','01',77,'PROGRE.DAA X ARC RIFERIMENTO (SEQ.NR.)',2,'SEQNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCINR','01',78,'PROGRESSIVO DETTAGLIO E-AD (NR.RIGA)',2,'RIGDAA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCINR','01',79,'RIFERIMENTO CAMBIO DESTINAZIONE',2,'RIFCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCINR','01',84,'NR.MOV.FLUSSO ATELMA (SERVE X CANCELLAZ)',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ACCINR','01',85,'DATA APPURAMENTO EFFETTIVA (PER TELEM.)',2,'DTAAPP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCINR','01',86,'ANNO PROTOCOLLO REGISTRO',2,'ANNPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCINR','01',87,'NUMERO PROTOCOLLO REGISTRO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACCINR','01',88,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ACCISA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCISA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCISA','01',3,'NUMERO INTERNO DAA (ZERO PER RETTIFICHE)',3,'NUMDAA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('ACCISA','01',4,'TIPO RIGA (1/2/9)',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCISA','01',8,'PRODOTTO ACCISA (RIGHE TIPO 1 E 2)',3,'PROACC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCISA','01',9,'PROGRESSIVO RETTIFICA (RIGHE 9)',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'S',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCISA','01',10,'DIRITTO D''ACCISA AL LITRO SOLO 1 E 2',3,'DIRACC',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,4,0,'9(6)V9(4)','',0,'',0,0,'' )
,('ACCISA','01',11,'CODICE REGISTRO COMMERCIALIZZAZIONE',2,'CODREG',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACCISA','01',12,'DATA MOVIMENTO',2,'DTAMOV',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCISA','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCISA','01',14,'ANNO',3,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACCISA','01',15,'MESE',3,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCISA','01',16,'GIORNO',3,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCISA','01',17,'DATA DOCUMENTO',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCISA','01',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCISA','01',19,'ANNO',3,'AA-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACCISA','01',20,'MESE',3,'MM-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCISA','01',21,'GIORNO',3,'GG-DOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCISA','01',22,'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,'' )
,('ACCISA','01',23,'DESCRIZIONE DESTINATARIO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACCISA','01',24,'NAZIONE (CODICE ISO)',2,'NAZION',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCISA','01',25,'QUANTITA'' MOVIMENTO (LITRI)',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('ACCISA','01',26,'ACCISA GRAVANTE GARANZIA',2,'ACCGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('ACCISA','01',27,'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,'' )
,('ACCISA','01',28,'RIGA STAMPA DEFINITIVA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('ACCISA','01',29,'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,'' )
,('ACCISA','01',33,'ACCISA GRAVANTE AL 100%',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('ACCISA','01',34,'CODICE ACCISA',2,'CODACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ACCISA','01',35,'EX 19-20 CARATTERE CODICE ACCISA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCISA','01',36,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACCISA','01',37,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACCISA','01',38,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('ACCISA','01',39,'INVIO TELEMATICO S/N',2,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCISA','01',40,'NUMERO ARC (SE TELEMATICO)',2,'NUMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('ACCISA','01',41,'NUMERO DI 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,'' )
,('ACCISA','01',42,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ACCME1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCME1','01',2,'NUMERO ACCONTO',2,'NUMACC',1,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ACCME1','01',3,'CODICE CONFERENTE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCME1','01',4,'ELEMENTO TRATTENUTA',2,'ELETRA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('ACCME1','01',5,'IMPORTO TRATTENUTA',3,'IMPTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACCME1','01',6,'TIPO VINCOLO',3,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCME1','01',7,'DATA VALUTA',3,'VALLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCME1','01',8,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCME1','01',9,'DESCRIZIONE AGGIUNTIVA TRATTENUTA 1',2,'DESTR1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACCME1','01',10,'DESCRIZIONE AGGIUNTIVA TRATTENUTA 2',2,'DESTR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACCME1','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ACCMEL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',2,'PRIMA PARTE CHIAVE',2,'ACCCOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',3,'NUMERO ACCONTO',3,'NUMACC',1,1,1,1,1,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ACCMEL','01',4,'CODICE CONFERENTE',3,'CODICE',2,3,3,4,3,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCMEL','01',5,'TIPO DOCUMENTO',2,'TIPDOC',0,2,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCMEL','01',8,'TIPO PAGAMENTO',2,'TIPPAG',0,0,2,2,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCMEL','01',11,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,3,2,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCMEL','01',12,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCMEL','01',13,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCMEL','01',14,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCMEL','01',15,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACCMEL','01',16,'IMPORTO ANTICIPI',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCMEL','01',17,'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,'' )
,('ACCMEL','01',18,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ACCMEL','01',19,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',20,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',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
('ACCMEL','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,'' )
,('ACCMEL','01',22,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',23,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',24,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',25,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',26,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',27,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',28,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCMEL','01',29,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',30,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCMEL','01',31,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',32,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',33,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',34,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',35,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',36,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',37,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',38,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCMEL','01',39,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCMEL','01',40,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCMEL','01',41,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',42,'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,'' )
,('ACCMEL','01',43,'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,'' )
,('ACCMEL','01',44,'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,'' )
,('ACCMEL','01',45,'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,'' )
,('ACCMEL','01',46,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCMEL','01',47,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',48,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',49,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',50,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',51,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCMEL','01',52,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCMEL','01',53,'CODICE CAUSALE CONTABILE STORNO ANTICIPI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',54,'DATA REGISTRAZIONE STORNO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCMEL','01',55,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',56,'ANNO REGISTRAZIONE STORNO',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',57,'MESE REGISTRAZIONE STORNO',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',58,'GIORNO REGISTRAZIONE STORNO',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',59,'GRUPPO CONTO ANTICIPI',2,'GCANTI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCMEL','01',60,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',61,'GRUPPO ANTICIPI',3,'GRUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',62,'CONTO ANTICIPI',3,'CONANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',63,'CONTABILIZZAZIONE STORNO ANTICIPO /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCMEL','01',64,'IMPORTO DA STORNARE DAL CONTO ANTICIPI',2,'IMPSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCMEL','01',65,'CODICE CAUSALE FINANZIAMENTO REM.',2,'CAUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',66,'DATA FINANZIAMENTO REMUNERATO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCMEL','01',67,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',68,'ANNO FINANZIAMENTO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCMEL','01',69,'MESE FINANZIAMENTO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',70,'GIORNO FINANZIAMENTO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCMEL','01',71,'G/C/S FINANZIAMENTO',2,'GCSFIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCMEL','01',72,'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,'' )
,('ACCMEL','01',73,'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,'' )
,('ACCMEL','01',74,'SEMPRE A ZERO !!!!!!!!!!!!!!!!',3,'SOTFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCMEL','01',75,'CONTABILIZZAZIONE FINANZIAMENTO /S',2,'FLGFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCMEL','01',76,'DETTAGLIO IMPONIBILI',2,'DETIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',10,'',0,0,'' )
,('ACCMEL','01',77,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACCNEW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNEW','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,2,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCNEW','01',3,'CODICE EREDE',2,'CODERE',2,3,3,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCNEW','01',4,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCNEW','01',7,'TIPO PAGAMENTO',2,'TIPPAG',0,0,1,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCNEW','01',10,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCNEW','01',11,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCNEW','01',12,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCNEW','01',13,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCNEW','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,'' )
,('ACCNEW','01',15,'IMPORTO ANTICIPI',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCNEW','01',16,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCNEW','01',17,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',18,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCNEW','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,'' )
,('ACCNEW','01',20,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',21,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCNEW','01',22,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCNEW','01',23,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNEW','01',24,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',25,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',26,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCNEW','01',27,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',28,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCNEW','01',29,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNEW','01',30,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',31,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCNEW','01',32,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCNEW','01',33,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNEW','01',34,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',35,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',36,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCNEW','01',37,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCNEW','01',38,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCNEW','01',39,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNEW','01',40,'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,'' )
,('ACCNEW','01',41,'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,'' )
,('ACCNEW','01',42,'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,'' )
,('ACCNEW','01',43,'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,'' )
,('ACCNEW','01',44,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCNEW','01',45,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNEW','01',46,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',47,'MESE VALUTA ACCREDITO',3,'MMMVAL',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
('ACCNEW','01',48,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCNEW','01',49,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCNEW','01',50,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCNEW','01',51,'CODICE CAUSALE CONTABILE STORNO ANTICIPI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',52,'DATA REGISTRAZIONE STORNO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCNEW','01',53,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNEW','01',54,'ANNO REGISTRAZIONE STORNO',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',55,'MESE REGISTRAZIONE STORNO',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCNEW','01',56,'GIORNO REGISTRAZIONE STORNO',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCNEW','01',57,'GRUPPO CONTO ANTICIPI',2,'GCANTI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCNEW','01',58,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNEW','01',59,'GRUPPO ANTICIPI',3,'GRUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',60,'CONTO ANTICIPI',3,'CONANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',61,'CONTABILIZZAZIONE STORNO ANTICIPO /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCNEW','01',62,'IMPORTO DA STORNARE DAL CONTO ANTICIPI',2,'IMPSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCNEW','01',63,'DATA RITIRO QUIETANZA (SOLO C. EUGANEI)',2,'DATRIT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCNEW','01',64,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNEW','01',65,'ANNO',3,'AAARIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCNEW','01',66,'MESE',3,'MMMRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCNEW','01',67,'GIORNO',3,'GGGRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCNEW','01',68,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ACCNPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNPA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNPA','01',3,'CODICE CONFERENTE',3,'CODICE',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCNPA','01',4,'CODICE EREDE',3,'CODERE',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCNPA','01',5,'NUMERO ACCONTO',3,'NUMACC',0,3,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ACCNPA','01',6,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ACCNST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNST','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,'' )
,('ACCNST','01',3,'CODICE = 0',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCNST','01',4,'AREA CAUSALI',2,'CAUNST',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCNST','01',5,'CODICE CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',30,'',0,0,'' )
,('ACCNST','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,'' )
,('ACCO01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO01','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,'' )
,('ACCO01','01',3,'CODICE SOCIETA'' 0 = CONF. PROPRI',2,'CODSCT',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO01','01',4,'CODICE SCELTA',2,'CODSCE',3,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCO01','01',5,'CODICE UVA CONFERIMENTO',2,'CODUVA',4,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCO01','01',6,'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,'' )
,('ACCO01','01',7,'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,'' )
,('ACCO01','01',8,'PERCENTUALE PARTECIPAZIONE 0 = PROPRI',2,'PERPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ACCO01','01',9,'QUANTITA'' PARTECIPAZIONE',2,'QTAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACCO01','01',10,'MONTEGRADI PARTECIPAZIONE',2,'MONPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('ACCO01','01',11,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ACCO01','01',12,'TIPO SCELTA',2,'TIPSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ACCO01','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ACCO02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO02','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,'' )
,('ACCO02','01',3,'CODICE UVA CONFERIMENTO',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCO02','01',4,'TIPO RIGA 1/2',2,'TIPRIG',3,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ACCO02','01',5,'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,'' )
,('ACCO02','01',6,'IMPORTO RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO02','01',7,'PREZZO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('ACCO02','01',8,'SUPERFICE',2,'SUPERF',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('ACCO05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO05','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,'' )
,('ACCO05','01',3,'CODICE SOCIETA'' 0 = CONF. PROPRI',2,'CODSCT',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO05','01',4,'CODICE ATTRIBUTO',2,'CODATT',3,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCO05','01',5,'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,'' )
,('ACCO05','01',6,'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,'' )
,('ACCO05','01',7,'PERCENTUALE PARTECIPAZIONE 0 = PROPRI',2,'PERPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ACCO05','01',8,'QUANTITA'' PARTECIPAZIONE',2,'QTAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACCO05','01',9,'MONTEGRADI PARTECIPAZIONE',2,'MONPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('ACCO05','01',10,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO05','01',11,'VALORE PARTECIPAZIONE',2,'VALPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO05','01',12,'GRADO MEDIO RIGA',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('ACCO05','01',13,'PREZZO AL QUINTALE',2,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',0,'',0,0,'' )
,('ACCO05','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ACCO09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO09','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,'' )
,('ACCO09','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,'' )
,('ACCO09','01',4,'CODICE ZONA CONFERIMENTO',2,'CODZON',3,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCO09','01',5,'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,'' )
,('ACCO09','01',6,'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,'' )
,('ACCO09','01',7,'PREZZO A GRADO',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',0,'',0,0,'' )
,('ACCO09','01',8,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO09','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCO15','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO15','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,'' )
,('ACCO15','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,'' )
,('ACCO15','01',4,'NUMERO BOLLETTA',2,'NUMCON',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCO15','01',5,'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,'' )
,('ACCO15','01',6,'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,'' )
,('ACCO15','01',7,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO15','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCO17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO17','01',2,'CODICE SOCIO',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO17','01',3,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACCO17','01',4,'MONTEGRADI CONFERITO',2,'MTGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V999','',0,'',0,0,'' )
,('ACCO17','01',5,'PREZZO A GRADO',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',0,'',0,0,'' )
,('ACCO17','01',6,'IMPORTO TOTALE INDENNITA'' ZONA',2,'IMPIND',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,2,'9(9)','9(7)V99',0,'',0,0,'' )
,('ACCO17','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCO29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO29','01',4,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO29','01',5,'CODICE CONFERENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO29','01',6,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCO29','01',7,'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,'' )
,('ACCO29','01',8,'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,'' )
,('ACCO29','01',9,'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,'' )
,('ACCO29','01',10,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACCO29','01',11,'PREZZO A GRADO',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,4,'9(7)','999V9(4)',0,'',0,0,'' )
,('ACCO29','01',12,'IMPORTO VARIAZIONE SCELTA',2,'VARSCE',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ACCO29','01',13,'IMPORTO RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO32','01',3,'CODICE CONFERENTE',3,'CODICE',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO32','01',4,'CODICE SOCIETA'' 0 = CONF. PROPRI',3,'CODSCT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO32','01',5,'CODICE VITIGNO',3,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCO32','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,'' )
,('ACCO32','01',7,'COMPLEMENTO GRADO BOLLETTA',3,'CONGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACCO32','01',8,'DATA BOLLETTA',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCO32','01',9,'NUMERO CONFERIMENTO',3,'NUMCON',0,2,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCO32','01',10,'CODICE UVA CONFERIMENTO',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCO32','01',11,'GRADO BOLLETTA',2,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACCO32','01',12,'CODICE SCELTA',2,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCO32','01',13,'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,'' )
,('ACCO32','01',14,'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,'' )
,('ACCO32','01',15,'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,'' )
,('ACCO32','01',16,'PERCENTUALE PARTECIPAZIONE 0 = PROPRI',2,'PERPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ACCO32','01',17,'QUANTITA'' PARTECIPAZIONE',2,'QTAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACCO32','01',18,'MONTEGRADI PARTECIPAZIONE',2,'MONPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('ACCO32','01',19,'PREZZO A GRADO DA TABELLA',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',0,'',0,0,'' )
,('ACCO32','01',20,'DIFFERENZA PER GRADO',2,'DIFGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,3,'S9(6)','S999V999',0,'',0,0,'' )
,('ACCO32','01',21,'PREZZO FINALE A GRADO',2,'PRE001',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',0,'',0,0,'' )
,('ACCO32','01',22,'PREZZO A QUINTALE',2,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,3,'S9(7)','S9(4)V999',0,'',0,0,'' )
,('ACCO32','01',23,'PERCENTUALE VARIAZIONE ZONA',2,'PERZON',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ACCO32','01',24,'IMPORTO VARIAZIONE ZONA',2,'IMPZON',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,3,'S9(6)','S999V999',0,'',0,0,'' )
,('ACCO32','01',25,'PREZZO FINALE AL QUINTALE',2,'PREFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('ACCO32','01',26,'FLAG PREZZO MINIMO O A QLE VARIATO X GR',2,'FLGMIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACCO32','01',27,'PERCENTUALE VARIAZIONE SCELTA',2,'SCEPER',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('ACCO32','01',28,'VARIAZIONE SCELTA AL QUINTALE',2,'SCEIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,6,7,0,3,'S9(6)','S999V999',0,'',0,0,'' )
,('ACCO32','01',29,'VARIAZIONE SCELTA TOTALE RIGA',2,'SCEVAR',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ACCO32','01',30,'IMPORTO VARIAZIONE SCELTA PARTECIPAZIONE',2,'SCEPAR',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('ACCO32','01',31,'VALORE RIGA LORDO',2,'VALLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO32','01',32,'VALORE RIGA LORDO PARTECIPAZIONE',2,'LORPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO32','01',33,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO32','01',34,'VALORE PARTECIPAZIONE',2,'VALPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO32','01',35,'NUMERO RIGHE SOCIO',2,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO32','01',36,'NUMERO PARTECIPAZIONI',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO32','01',37,'ASTERISCO SE BOLLETTA DOPPIA',2,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCO38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO38','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,2,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO38','01',3,'CODICE EREDE',2,'CODERE',2,3,3,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO38','01',4,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCO38','01',7,'TIPO PAGAMENTO',2,'TIPPAG',0,0,1,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCO38','01',11,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCO38','01',12,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO38','01',13,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO38','01',14,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO38','01',15,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACCO38','01',16,'IMPORTO ANTICIPI',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO38','01',17,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO38','01',18,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',19,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCO38','01',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO38','01',21,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',22,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO38','01',23,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO38','01',24,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO38','01',25,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',26,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',27,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO38','01',28,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',29,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCO38','01',30,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO38','01',31,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',32,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO38','01',33,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO38','01',34,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO38','01',35,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',36,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',37,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO38','01',38,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCO38','01',39,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCO38','01',40,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO38','01',41,'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,'' )
,('ACCO38','01',42,'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,'' )
,('ACCO38','01',43,'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,'' )
,('ACCO38','01',44,'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,'' )
,('ACCO38','01',45,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCO38','01',46,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO38','01',47,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',48,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO38','01',49,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO38','01',50,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCO38','01',51,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCO38','01',52,'CODICE CAUSALE CONTABILE STORNO ANTICIPI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',53,'DATA REGISTRAZIONE STORNO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCO38','01',54,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO38','01',55,'ANNO REGISTRAZIONE STORNO',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',56,'MESE REGISTRAZIONE STORNO',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO38','01',57,'GIORNO REGISTRAZIONE STORNO',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCO38','01',58,'GRUPPO CONTO ANTICIPI',2,'GCANTI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCO38','01',59,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO38','01',60,'GRUPPO ANTICIPI',3,'GRUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',61,'CONTO ANTICIPI',3,'CONANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCO38','01',62,'CONTABILIZZAZIONE STORNO ANTICIPO /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCO38','01',63,'IMPORTO DA STORNARE DAL CONTO ANTICIPI',2,'IMPSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCO38','01',64,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACCO52','01',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
('ACCO52','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO52','01',3,'CODICE CONFERENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO52','01',4,'EVENTUALE EREDE',3,'CODERE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO52','01',5,'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,'' )
,('ACCO52','01',6,'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,'' )
,('ACCO52','01',7,'MONTEGRADI',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('ACCO52','01',8,'GRADO',2,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACCO52','01',9,'PREZZO AL QUINTALE',2,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('ACCO52','01',10,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ACCO52','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACCO56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO56','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO56','01',3,'CODICE CONFERENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO56','01',4,'CODICE FAMIGLIA',3,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCO56','01',5,'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,'' )
,('ACCO56','01',6,'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,'' )
,('ACCO56','01',7,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACCO56','01',8,'PREMIO SOCIO',2,'VALPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ACCO56','01',9,'TIPO TIGA N/P',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCO56','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ACCO58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO58','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,'' )
,('ACCO58','01',3,'CODICE EREDE',2,'CODERE',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO58','01',4,'CODICE UVA',2,'CODUVA',3,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCO58','01',5,'NUMERO BOLLETTA',2,'NUMCON',4,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCO58','01',6,'DATA BOLLETTA',2,'DATCON',5,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCO58','01',7,'QUANTITA'' CONFERITA IN Kg',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ACCO58','01',8,'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,'' )
,('ACCO58','01',9,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACCO58','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACCO60','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO60','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,'' )
,('ACCO60','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,'' )
,('ACCO60','01',4,'NUMERO BOLLETTA',2,'NUMCON',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCO60','01',5,'DATA BOLLETTA',2,'DATCON',4,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCO60','01',6,'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,'' )
,('ACCO60','01',7,'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,'' )
,('ACCO60','01',8,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACCO60','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,'' )
,('ACCO61','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO61','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,'' )
,('ACCO61','01',3,'TIPO RIGA',2,'TIPCON',2,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('ACCO61','01',6,'CODICE UVA',2,'CODUVA',3,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCO61','01',7,'NUMERO BOLLETTA',2,'NUMCON',4,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCO61','01',8,'DATA BOLLETTA',2,'DATCON',5,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCO61','01',9,'QUANTITA'' CONFERITA IN KG',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ACCO61','01',10,'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,'' )
,('ACCO61','01',11,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ACCO61','01',12,'CODICE FAMIGLIA',2,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCO61','01',13,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACCO61','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACCO63','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO63','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,'' )
,('ACCO63','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,'' )
,('ACCO63','01',4,'QUANTITA'' CONFERITA IN KG',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ACCO63','01',5,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,16,17,3,0,'9(13)V999','',0,'',0,0,'' )
,('ACCO63','01',6,'PREZZO AL KG',2,'PREUVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('ACCO63','01',7,'IMPORTO RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACCO63','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACCO76','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO76','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,'' )
,('ACCO76','01',3,'EVENTUALE EREDE',2,'CODERE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO76','01',4,'QUANTITA'' CONFERITA IN KG',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ACCO76','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACCO78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO78','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO78','01',3,'CODICE CONFERENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO78','01',4,'EVENTUALE EREDE',3,'CODERE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO78','01',5,'CODICE VITIGNO',3,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCO78','01',6,'DATA CONFERIMENTO',3,'DATCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCO78','01',7,'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,'' )
,('ACCO78','01',8,'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,'' )
,('ACCO78','01',9,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCO78','01',10,'QUANTITA'' CONFERITA IN KG',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ACCO78','01',11,'MONTEGRADI',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,17,18,4,0,'9(13)V9(4)','',0,'',0,0,'' )
,('ACCO78','01',12,'GRADO',2,'GRDCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACCO78','01',13,'TABELLA ATTRIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCO78','01',14,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',10,'',0,0,'' )
,('ACCO78','01',15,'ACIDITA''',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('ACCO78','01',16,'DETRAZIONE RESA',2,'DETRES',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ACCO78','01',17,'DETRAZIONE GRADO',2,'DETGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ACCO78','01',18,'MOLTIPLICATORE SE DOC',2,'VARDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACCO78','01',19,'VARIAZIONE ATTR. IN PERC.',2,'VARATT',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ACCO78','01',20,'VAR. ATTR. 1',2,'VARA01',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ACCO78','01',21,'VAR. ATTR. 2',2,'VARA02',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ACCO78','01',22,'VAR. ATTR. 3',2,'VARA03',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('ACCO78','01',23,'VARIAZIONI IN VALORE ASSOLUTO',2,'VARASS',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,5,0,'S9(4)V9(5)','',0,'',0,0,'' )
,('ACCO78','01',24,'IMPORTO FISSO AL KG',2,'IMPFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('ACCO78','01',25,'RISULTANTE VARIAZIONI INDICI',2,'TOTIND',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,5,0,'S9(8)V9(5)','',0,'',0,0,'' )
,('ACCO78','01',26,'PREZZO AL KG',2,'PREKGT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('ACCO78','01',27,'PREZZO A GRADO',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('ACCO78','01',28,'PREZZO A GRADO FINALE',2,'PREFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('ACCO78','01',29,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('ACCO78','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACCOE1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOE1','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,'' )
,('ACCOE1','01',3,'ANNO PRIMA PARTITA',2,'ANNPA1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOE1','01',4,'SALDO PRIMA PARTITA',2,'IMPPA1',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACCOE1','01',5,'ANNO SECONDA PARTITA',2,'ANNPA2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOE1','01',6,'SALDO SECONDA PARTITA',2,'IMPPA2',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACCOE1','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,218,218,0,0,'X(218)','',0,'',0,0,'' )
,('ACCOES','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOES','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,2,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCOES','01',3,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCOES','01',6,'TIPO PAGAMENTO',2,'TIPPAG',0,0,1,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCOES','01',9,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCOES','01',10,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCOES','01',11,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCOES','01',12,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCOES','01',13,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACCOES','01',14,'IMPORTO ANTICIPI',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCOES','01',15,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCOES','01',16,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',17,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCOES','01',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOES','01',19,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',20,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCOES','01',21,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCOES','01',22,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOES','01',23,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',24,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',25,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCOES','01',26,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',27,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCOES','01',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOES','01',29,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',30,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCOES','01',31,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCOES','01',32,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOES','01',33,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',34,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',35,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCOES','01',36,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCOES','01',37,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCOES','01',38,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOES','01',39,'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,'' )
,('ACCOES','01',40,'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,'' )
,('ACCOES','01',41,'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,'' )
,('ACCOES','01',42,'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,'' )
,('ACCOES','01',43,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCOES','01',44,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOES','01',45,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',46,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCOES','01',47,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCOES','01',48,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCOES','01',49,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCOES','01',50,'CODICE CAUSALE CONTABILE STORNO ANTICIPI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',51,'DATA REGISTRAZIONE STORNO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCOES','01',52,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOES','01',53,'ANNO REGISTRAZIONE STORNO',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',54,'MESE REGISTRAZIONE STORNO',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCOES','01',55,'GIORNO REGISTRAZIONE STORNO',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCOES','01',56,'GRUPPO CONTO ANTICIPI',2,'GCANTI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCOES','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,'' )
,('ACCOES','01',58,'GRUPPO ANTICIPI',3,'GRUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',59,'CONTO ANTICIPI',3,'CONANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOES','01',60,'CONTABILIZZAZIONE STORNO ANTICIPO /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCOES','01',61,'IMPORTO DA STORNARE DAL CONTO ANTICIPI',2,'IMPSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCOES','01',62,'CODICE PRODOTTO',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCOES','01',63,'DATA INIZIO CALCOLO ACCONTO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCOES','01',64,'DATA FINE CALCOLO ACCONTO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCOES','01',65,'IMPORTO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('ACCOES','01',66,'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,'' )
,('ACCOES','01',67,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACCONT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCONT','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,2,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCONT','01',3,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCONT','01',6,'TIPO PAGAMENTO',2,'TIPPAG',0,0,1,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCONT','01',9,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCONT','01',10,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCONT','01',11,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCONT','01',12,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCONT','01',13,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACCONT','01',14,'IMPORTO ANTICIPI',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCONT','01',15,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCONT','01',16,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',17,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCONT','01',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCONT','01',19,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',20,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCONT','01',21,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCONT','01',22,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCONT','01',23,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',24,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',25,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCONT','01',26,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',27,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCONT','01',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCONT','01',29,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',30,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCONT','01',31,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCONT','01',32,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCONT','01',33,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',34,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',35,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCONT','01',36,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCONT','01',37,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCONT','01',38,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCONT','01',39,'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,'' )
,('ACCONT','01',40,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACCONT','01',41,'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,'' )
,('ACCONT','01',42,'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,'' )
,('ACCONT','01',43,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCONT','01',44,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCONT','01',45,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',46,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCONT','01',47,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCONT','01',48,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCONT','01',49,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCONT','01',50,'CODICE CAUSALE CONTABILE STORNO ANTICIPI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',51,'DATA REGISTRAZIONE STORNO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCONT','01',52,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCONT','01',53,'ANNO REGISTRAZIONE STORNO',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',54,'MESE REGISTRAZIONE STORNO',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCONT','01',55,'GIORNO REGISTRAZIONE STORNO',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCONT','01',56,'GRUPPO CONTO ANTICIPI',2,'GCANTI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCONT','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,'' )
,('ACCONT','01',58,'GRUPPO ANTICIPI',3,'GRUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',59,'CONTO ANTICIPI',3,'CONANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCONT','01',60,'CONTABILIZZAZIONE STORNO ANTICIPO /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCONT','01',61,'IMPORTO DA STORNARE DAL CONTO ANTICIPI',2,'IMPSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCONT','01',62,'SOCIO BLOCCATO (COLOGNOLA/LONIGO)',2,'SOCBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCONT','01',63,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCOPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOPV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOPV','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,'' )
,('ACCOPV','01',8,'TIPO CONTO (I=CONTO IVA/P=CONTO PAG.)',3,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCOPV','01',9,'GRUPPO/CONTO/SOTTOCONTO',3,'CODGCS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCOPV','01',10,'GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOPV','01',11,'CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOPV','01',12,'SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCOPV','01',13,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCOPV','01',14,'DESCRIZIONE AGGIUNTIVA (CONTI PAGAMENTO)',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACCOPV','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACCRA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCRA1','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,'' )
,('ACCRA1','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACCRA1','01',4,'NUOVO CODICE',2,'CODNEW',0,1,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACCS38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS38','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS38','01',3,'CODICE EREDE',2,'CODERE',2,3,4,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS38','01',4,'TIPO PAGAMENTO',2,'TIPPAG',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS38','01',8,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCS38','01',9,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCS38','01',10,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS38','01',11,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCS38','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS38','01',13,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS38','01',14,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS38','01',15,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS38','01',16,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS38','01',17,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS38','01',18,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS38','01',19,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS38','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,'' )
,('ACCS38','01',21,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCS38','01',22,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS38','01',23,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS38','01',24,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS38','01',25,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS38','01',26,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS38','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS56','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS56','01',3,'TIPO PAGAMENTO',2,'TIPPAG',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS56','01',6,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCS56','01',7,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCS56','01',8,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS56','01',9,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCS56','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,'' )
,('ACCS56','01',11,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS56','01',12,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS56','01',13,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS56','01',14,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS56','01',15,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS56','01',16,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS56','01',17,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS56','01',18,'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,'' )
,('ACCS56','01',19,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCS56','01',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS56','01',21,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS56','01',22,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS56','01',23,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS56','01',24,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS56','01',25,'FATTURARE A SOCIO DIVERSO',2,'FATDIF',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS56','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACCS58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS58','01',2,'CHIAVE 1',2,'KEY001',1,2,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS58','01',3,'CODICE CONFERENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS58','01',4,'CODICE EREDE',3,'CODERE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS58','01',5,'TIPO PAGAMENTO',2,'TIPPAG',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS58','01',8,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCS58','01',9,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCS58','01',10,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS58','01',11,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCS58','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS58','01',13,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS58','01',14,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS58','01',15,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS58','01',16,'CONTO PAGAMENTO',2,'GCSPAG',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
('ACCS58','01',17,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS58','01',18,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS58','01',19,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS58','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,'' )
,('ACCS58','01',21,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCS58','01',22,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS58','01',23,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS58','01',24,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS58','01',25,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS58','01',26,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS58','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS78','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS78','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS78','01',3,'CODICE EREDE',2,'CODERE',2,3,4,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS78','01',4,'TIPO PAGAMENTO',2,'TIPPAG',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS78','01',8,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCS78','01',9,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCS78','01',10,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS78','01',11,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCS78','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS78','01',13,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS78','01',14,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS78','01',15,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS78','01',16,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS78','01',17,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS78','01',18,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS78','01',19,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCS78','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,'' )
,('ACCS78','01',21,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCS78','01',22,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCS78','01',23,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCS78','01',24,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS78','01',25,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCS78','01',26,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCS78','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACCSAD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAD','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCSAD','01',3,'CODICE EREDE',2,'CODERE',2,3,4,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCSAD','01',4,'TIPO PAGAMENTO',2,'TIPPAG',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSAD','01',7,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCSAD','01',8,'IMPORTO SALDO',2,'IMPSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('ACCSAD','01',9,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ACCSAD','01',10,'IMPORTO TRATTENUTA FUSIONE',2,'IMPFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ACCSAD','01',11,'IMPORTO TRATTENUTA SOTTOSCRIZIONE',2,'IMPSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ACCSAD','01',12,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',13,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCSAD','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,'' )
,('ACCSAD','01',15,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',16,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAD','01',17,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAD','01',18,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAD','01',19,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',20,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',21,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCSAD','01',22,'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,'' )
,('ACCSAD','01',23,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCSAD','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,'' )
,('ACCSAD','01',25,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',26,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAD','01',27,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAD','01',28,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSAD','01',29,'CAUSALE CONTABILE TRATTENUTA FUSIONE',2,'CAUFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',30,'DATA REGISTRAZIONE TRATTENUTA FUSIONE',2,'DATFUS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCSAD','01',31,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAD','01',32,'ANNO REGISTRAZIONE TRATTENUTA FUSIONE',3,'AAAFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',33,'MESE REGISTRAZIONE TRATTENUTA FUSIONE',3,'MMMFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAD','01',34,'GIORNO REGISTRAZIONE TRATTENUTA FUSIONE',3,'GGGFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAD','01',35,'GRUPPO CONTO TRATTENUTA FUSIONE',2,'GCOFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCSAD','01',36,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAD','01',37,'GRUPPO TRATTENUTA FUSIONE',3,'GRUFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',38,'CONTO TRATTENUTA FUSIONE',3,'CONFUS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',39,'CONTABILIZZAZIONE TRATTENUTA FUSIONE /S',2,'FLGFUS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSAD','01',40,'CAUSALE CONTABILE TRATT. SOTTOSCRIZIONE',2,'CAUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',41,'DATA REGISTRAZIONE TRATT. SOTTOSCRIZIONE',2,'DATSOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCSAD','01',42,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAD','01',43,'ANNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'AAASOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',44,'MESE REG. TRATTENUTA SOTTOSCRIZIONE',3,'MMMSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAD','01',45,'GIORNO REG. TRATTENUTA SOTTOSCRIZIONE',3,'GGGSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAD','01',46,'GRUPPO CONTO TRATENUTA SOTTOSCRIZIONE',2,'GCOSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACCSAD','01',47,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAD','01',48,'GRUPPO TRATTENUTA SOTTOSCRIZIONE',3,'GRUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',49,'CONTO TRATTENUTA SOTTOSCRIZIONE',3,'CONSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAD','01',50,'FLAG CONTABILIZZAZIONE TRATT. SOTTOS.',2,'FLGSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSAD','01',51,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACCSAE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAE','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCSAE','01',3,'TIPO PAGAMENTO',2,'TIPPAG',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSAE','01',6,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCSAE','01',7,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCSAE','01',8,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAE','01',9,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCSAE','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,'' )
,('ACCSAE','01',11,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAE','01',12,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAE','01',13,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAE','01',14,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAE','01',15,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAE','01',16,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAE','01',17,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCSAE','01',18,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACCSAE','01',19,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCSAE','01',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAE','01',21,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAE','01',22,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAE','01',23,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAE','01',24,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSAE','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSAL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAL','01',2,'CODICE CONFERENTE',2,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCSAL','01',3,'TIPO PAGAMENTO',2,'TIPPAG',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSAL','01',6,'CODICE BANCA AZIENDALE',2,'CODBAN',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACCSAL','01',7,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACCSAL','01',8,'CODICE CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAL','01',9,'DATA CONTABILIZZAZIONE PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCSAL','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,'' )
,('ACCSAL','01',11,'ANNO CONTABILIZZAZIONE PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAL','01',12,'MESE CONTABILIZZAZIONE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAL','01',13,'GIORNO CONTABILIZZAZIONE PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAL','01',14,'CONTO PAGAMENTO',2,'GCSPAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAL','01',15,'GRUPPO PAGAMENTO',3,'GRUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAL','01',16,'CONTO PAGAMENTO',3,'CONPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAL','01',17,'SOTTOCONTO PAGAMENTO',3,'SOTPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACCSAL','01',18,'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,'' )
,('ACCSAL','01',19,'DATA VALUTA ACCREDITO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACCSAL','01',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSAL','01',21,'ANNO VALUTA ACCREDITO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSAL','01',22,'MESE VALUTA ACCREDITO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAL','01',23,'GIORNO VALUTA ACCREDITO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACCSAL','01',24,'CONTABILIZZATO PAGAMENTO  /S',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSAL','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACCSLI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSLI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCSLI','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,'' )
,('ACCSLI','01',4,'ELEMENTO TABELLA',2,'ELECAU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',14,'',0,0,'' )
,('ACCSLI','01',5,'CODICE CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACCSLI','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,118,118,0,0,'X(118)','',0,'',0,0,'' )
,('ACCUV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACCUV1','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,'' )
,('ACCUV1','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACCUV1','01',4,'NUOVO CODICE',2,'CODNEW',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACDALA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDALA','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,'' )
,('ACDALA','01',3,'CODICE FORNITORE',3,'CODFOR',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDALA','01',4,'DATA FINALE',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDALA','01',5,'DATA INIZIALE',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDALA','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDALA','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDALA','01',8,'ANNATA (PER ADESSO SEMPRE ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDALA','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDALA','01',10,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDALA','01',11,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDALA','01',12,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDALA','01',13,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDALA','01',14,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDALA','01',15,'PREZZO RITORNO DA CONTO LAVORAZIONE',2,'PRERCL',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('ACDALA','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('ACDALB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDALB','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,'' )
,('ACDALB','01',3,'CODICE FORNITORE',3,'CODFOR',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDALB','01',4,'DATA FINALE',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDALB','01',5,'DATA INIZIALE',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDALB','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDALB','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDALB','01',8,'ANNATA (PER ADESSO SEMPRE ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDALB','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDALB','01',10,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDALB','01',11,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDALB','01',12,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDALB','01',13,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDALB','01',14,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDALB','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('ACDCBO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDCBO','01',2,'NUMERO PROGRESSIVO (APAGBO)',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ACDCBO','01',3,'CENTRO DI COSTO',2,'CENCOS',3,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACDCBO','01',4,'PERCENTUALE SUDDIVISIONE (OBSOLETO)',2,'PERDIV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDCBO','01',5,'NUMERO MESI',2,'NRMESI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDCBO','01',6,'MESE INIZIO',2,'MESINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDCBO','01',7,'DATA INIZIO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDCBO','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,'' )
,('ACDCBO','01',9,'ANNO INIZIO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDCBO','01',10,'MESE INIZIO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDCBO','01',11,'GIORNO INIZIO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDCBO','01',12,'DATA FINE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDCBO','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDCBO','01',14,'ANNO FINALE',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDCBO','01',15,'MESE FINALE',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDCBO','01',16,'GIORNO FINALE',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDCBO','01',17,'PERDENTUALE SUDDIVISIONE',2,'PERDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDCBO','01',18,'IMPORTO SUDDIVISO',2,'IMPDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('ACDCBO','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('ACDV12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDV12','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,'' )
,('ACDV12','01',3,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ACDV12','01',4,'NUMERO ATT. ARTICOLO USATO PER LINEA',2,'ATTLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDV12','01',5,'1 ATT.DA MOSTRARE IN PANNELLO CLIENTE',2,'NRATP1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDV12','01',6,'2 ATT.DA MOSTRARE IN PANNELLO CLIENTE',2,'NRATP2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDV12','01',7,'ANNATE ART.PRECEDENTI IN PANNELLO CTRCLI',2,'ANNPCC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDV12','01',8,'3 ATT.DA MOSTRARE IN PANNELLO CLIENTE',2,'NRATP3',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDV12','01',9,'NR.ATT. ARTICOLI NO PANNELLO CONTROLLO',2,'NRAANP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDV12','01',10,'COD.ATT. ARTICOLI NO PANNELLO CONTROLLO',2,'CDAANP',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
('ACDV12','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,123,123,0,0,'X(123)','',0,'',0,0,'' )
,('ACDV56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDV56','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,'' )
,('ACDV56','01',3,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ACDV56','01',4,'NR.ATT.ARTICOLO USATO PER SCONTI CLIENTE',2,'ATTSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDV56','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,136,136,0,0,'X(136)','',0,'',0,0,'' )
,('ACDVA0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVA0','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,'' )
,('ACDVA0','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVA0','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVA0','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVA0','01',6,'DATA LIMITE VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVA0','01',7,'PREZZO LISTINO FRANCO ARRIVO',2,'PREZFA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVA0','01',8,'PREZZO LISTINO FRANCO PARTENZA',2,'PREZFP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVA0','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,'' )
,('ACDVA9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVA9','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,'' )
,('ACDVA9','01',3,'CODICE ZONA CONSEGNA MERCE',3,'ZONACO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVA9','01',4,'PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVA9','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVA9','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVA9','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVAR','01',2,'NUMERO PROGRESSIVO (APGVAR)',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ACDVAR','01',3,'CENTRO DI COSTO',2,'CENCOS',3,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACDVAR','01',4,'PERCENTUALE SUDDIVISIONE',2,'PERDIV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVAR','01',5,'NUMERO MESI',2,'NRMESI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVAR','01',6,'MESE INIZIO',2,'MESINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVAR','01',7,'DATA INIZIO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVAR','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,'' )
,('ACDVAR','01',9,'ANNO INIZIO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVAR','01',10,'MESE INIZIO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVAR','01',11,'GIORNO INIZIO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVAR','01',12,'DATA FINE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVAR','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVAR','01',14,'ANNO FINALE',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVAR','01',15,'MESE FINALE',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVAR','01',16,'GIORNO FINALE',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVAR','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,150,150,0,0,'X(150)','',0,'',0,0,'' )
,('ACDVB0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVB0','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,'' )
,('ACDVB0','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,'' )
,('ACDVB0','01',4,'CODICE CATEGORIA PROVVIGIONI ARTICOLI',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVB0','01',5,'DATA FINE VALIDITA''',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVB0','01',6,'DATA INIZIO VALIDITA''',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVB0','01',7,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVB0','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVC1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVC1','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,'' )
,('ACDVC1','01',3,'TIPO CLIENTE',3,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVC1','01',4,'CODICE ARTICOLO VUOTO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVC1','01',5,'CAUZIONE UNITARIA',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVC2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVC2','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,'' )
,('ACDVC2','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVC2','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVC2','01',5,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVC2','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('ACDVC3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVC3','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,'' )
,('ACDVC3','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVC3','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVC3','01',5,'CAUZIONE UNITARIA',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVC3','01',6,'LIMITE FRANCHIGIA SOPRA LA QUALE CAUZ=0',2,'QTAFRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVC3','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVK1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVK1','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,'' )
,('ACDVK1','01',3,'EVENTUALE DATA LIMITE (ADESSO = 0)',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVK1','01',4,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVK1','01',5,'CODICE DESTINATARI (ZERO = TUTTI)',3,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVK1','01',6,'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,'' )
,('ACDVK1','01',7,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVK1','01',8,'EVENTUALE DATA LIMITE (ADESSO = 0)',3,'DATLIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVK1','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('ACDVK1','01',10,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVK1','01',11,'SCONTO',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVK1','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('ACDVK2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVK2','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,'' )
,('ACDVK2','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVK2','01',4,'MAGAZZINO PARTENZA',3,'CODMAG',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVK2','01',5,'DATA FINALE',3,'DTAFIN',0,5,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVK2','01',6,'DATA INIZIALE',3,'DTAINI',0,6,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVK2','01',7,'CODICE ARTICOLO',3,'CODART',0,3,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVK2','01',8,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVK2','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('ACDVK2','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACDVK3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVK3','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,'' )
,('ACDVK3','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVK3','01',4,'CODICE ARTICOLO',3,'CODART',0,3,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVK3','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVK3','01',6,'DATA INIZIO VALIDITA''',3,'DTAINI',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVK3','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVK3','01',8,'COMMENTO ARTICOLO',2,'COMMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVK3','01',9,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVK3','01',10,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVK3','01',11,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVK3','01',12,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVK3','01',13,'SCONTO 4',3,'SCONT4',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
('ACDVK3','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVK4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVK4','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,'' )
,('ACDVK4','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVK4','01',4,'CODICE DESTINATARIO (ZERO = TUTTI)',3,'CODDES',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVK4','01',5,'CODICE ARTICOLO',3,'CODART',0,4,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVK4','01',6,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,5,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVK4','01',7,'DATA INIZIO VALIDITA''',3,'DTAINI',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVK4','01',8,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVK4','01',9,'COMMENTO ARTICOLO',2,'COMMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVK4','01',10,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVK4','01',11,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVK4','01',12,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVK4','01',13,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVK4','01',14,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVK4','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ACDVL0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL0','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,'' )
,('ACDVL0','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVL0','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVL0','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL0','01',6,'DATA LIMITE VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVL0','01',7,'PREZZO LISTINO FRANCO ARRIVO',2,'PREZFA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL0','01',8,'PREZZO LISTINO FRANCO PARTENZA',2,'PREZFP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL1','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,'' )
,('ACDVL1','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVL1','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL1','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVL1','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL1','01',7,'PREZZO NUOVO',2,'PREZNU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL1','01',8,'PREZZO VECCHIO',2,'PREZVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL1','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ACDVL2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL2','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,'' )
,('ACDVL2','01',3,'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,'' )
,('ACDVL2','01',4,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL2','01',5,'PREZZO LISTINO FRANCO ARRIVO',2,'PREZFA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL2','01',6,'PREZZO LISTINO FRANCO PARTENZA',2,'PREZFP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL3','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,'' )
,('ACDVL3','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVL3','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVL3','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL3','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL3','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVL4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL4','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,'' )
,('ACDVL4','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVL4','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVL4','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL4','01',6,'DATA INIZIO VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVL4','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL5','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,'' )
,('ACDVL5','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVL5','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL5','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVL5','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL5','01',7,'PREZZO FRANCO CANTINA',2,'PRZFRC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL5','01',8,'PREZZO FRANCO ARRIVO TRASPORTATORE',2,'PRZFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL5','01',9,'PREZZO FRANCO ARRIVO NS MEZZO',2,'PRZFAC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL5','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVL6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL6','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,'' )
,('ACDVL6','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVL6','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL6','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVL6','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL6','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVL6','01',8,'PRIMO SCONTO',2,'SCO001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVL6','01',9,'SECONDO SCONTO',2,'SCO002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVL6','01',10,'TERZO SCONTO',2,'SCO003',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVL6','01',11,'PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVL6','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('ACDVL7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL7','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,'' )
,('ACDVL7','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,'' )
,('ACDVL7','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVL7','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL7','01',6,'DATA LIMITE VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVL7','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL8','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,'' )
,('ACDVL8','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVL8','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVL8','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL8','01',6,'DATA LIMITE VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVL8','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVL8','01',8,'COMMENTO ARTICOLO',2,'COMMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVL9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL9','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,'' )
,('ACDVL9','01',3,'CODICE ZONA CONSEGNA MERCE',3,'ZONACO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVL9','01',4,'PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVL9','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVL9','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVL9','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLA','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,'' )
,('ACDVLA','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVLA','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLA','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLA','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLA','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ACDVLB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLB','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,'' )
,('ACDVLB','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,'' )
,('ACDVLB','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLB','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLB','01',6,'DATA LIMITE VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVLB','01',7,'PREZZO PARTENZA',2,'PREZPA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLB','01',8,'EX PREZAR PREZZO ARRIVO MEZZO CANTINA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLB','01',9,'EX PREZTR PREZZO ARRIVO MEZZO TRASPORT.',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLB','01',10,'SPESE DI TRASPORTO S/N',2,'FLAGST',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVLB','01',11,'MODALITA DI PAGAMENTO COLLEGATA',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACDVLB','01',14,'SCONTO CARICO (S/N)',2,'FLAGSC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVLB','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACDVLC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLC','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,'' )
,('ACDVLC','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLC','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLC','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLC','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLC','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ACDVLD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLD','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,'' )
,('ACDVLD','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,'' )
,('ACDVLD','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLD','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLD','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLD','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLD','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ACDVLE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLE','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,'' )
,('ACDVLE','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLE','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLE','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLE','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLE','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ACDVLF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLF','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,'' )
,('ACDVLF','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLF','01',4,'CODICE CLINTE TRIANGOLARE',3,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLF','01',5,'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,'' )
,('ACDVLF','01',6,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLF','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLF','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('ACDVLG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLG','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,'' )
,('ACDVLG','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLG','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLG','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLG','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLG','01',7,'SCONTO 1',2,'SCO001',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLG','01',8,'SCONTO 2',2,'SCO002',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLG','01',9,'SCONTO 3',2,'SCO003',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLH','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,'' )
,('ACDVLH','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLH','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLH','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLH','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLH','01',7,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('ACDVLI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLI','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,'' )
,('ACDVLI','01',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,'' )
,('ACDVLI','01',6,'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,'' )
,('ACDVLI','01',7,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLI','01',8,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLI','01',9,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ACDVLJ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLJ','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,'' )
,('ACDVLJ','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLJ','01',4,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLJ','01',5,'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,'' )
,('ACDVLJ','01',6,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLJ','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLJ','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLL','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,'' )
,('ACDVLL','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLL','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLL','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLL','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLL','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ACDVLM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLM','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,'' )
,('ACDVLM','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLM','01',4,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLM','01',5,'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,'' )
,('ACDVLM','01',6,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLM','01',7,'DATA LIMITE VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVLM','01',8,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVLM','01',9,'COMMENTO ARTICOLO',2,'COMMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVLN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLN','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,'' )
,('ACDVLN','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLN','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVLN','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLN','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLN','01',7,'SCONTO LISTINO (ESCLUSO LISTINO BASE)',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLN','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ACDVLO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLO','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,'' )
,('ACDVLO','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLO','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLO','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLO','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLO','01',7,'PREZZO NUOVO',2,'PREZNU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLO','01',8,'PREZZO VECCHIO',2,'PREZVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ACDVLP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLP','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,'' )
,('ACDVLP','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLP','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLP','01',5,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLP','01',6,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLP','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACDVLQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLQ','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,'' )
,('ACDVLQ','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLQ','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLQ','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLQ','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLQ','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLR','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,'' )
,('ACDVLR','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLR','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLR','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLR','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLR','01',7,'PREZZO NUOVO',2,'PREZNU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLR','01',8,'PREZZO VECCHIO',2,'PREZVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLR','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ACDVLS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLS','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,'' )
,('ACDVLS','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLS','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLS','01',5,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLS','01',6,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLS','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACDVLT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLT','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,'' )
,('ACDVLT','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLT','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLT','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLT','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVLT','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ACDVLU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLU','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,'' )
,('ACDVLU','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLU','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLU','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLU','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLU','01',7,'PREZZO NUOVO',2,'PREZNU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLU','01',8,'PREZZO VECCHIO',2,'PREZVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLU','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ACDVLV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLV','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,'' )
,('ACDVLV','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLV','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLV','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLV','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLV','01',7,'PREZZO NUOVO',2,'PREZNU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLV','01',8,'PREZZO VECCHIO',2,'PREZVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLV','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('ACDVLW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLW','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,'' )
,('ACDVLW','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVLW','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLW','01',5,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLW','01',6,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVLW','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACDVLX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLX','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,'' )
,('ACDVLX','01',3,'NUMERO LISTINO',3,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLX','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLX','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLX','01',6,'DATA LIMITE VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVLX','01',7,'PREZZO PARTENZA',2,'PREZPA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLX','01',8,'EX PREAZR PREZZO ARRIVO MEZZO CANTINA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLX','01',9,'EX PREZTR PREZZO ARRIVO MEZZO TRASPORT.',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLX','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ACDVLY','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLY','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,'' )
,('ACDVLY','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLY','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLY','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLY','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLY','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLY','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVLZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLZ','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,'' )
,('ACDVLZ','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVLZ','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVLZ','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVLZ','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVLZ','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVLZ','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVM1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM1','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,'' )
,('ACDVM1','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVM1','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVM1','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVM1','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('ACDVM1','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ACDVM2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM2','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,'' )
,('ACDVM2','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVM2','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM2','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVM2','01',6,'CONFEZIONE (ZERO=TUTTE)',4,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVM2','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVM2','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVM3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM3','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,'' )
,('ACDVM3','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVM3','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVM3','01',5,'CONFEZIONE (ZERO=TUTTE)',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVM3','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVM3','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ACDVM4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM4','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,'' )
,('ACDVM4','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVM4','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM4','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVM4','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVM4','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVM4','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVM5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM5','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,'' )
,('ACDVM5','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,'' )
,('ACDVM5','01',4,'PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM5','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVM5','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVM5','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVM5','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ACDVM6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM6','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,'' )
,('ACDVM6','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVM6','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM6','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVM6','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVM6','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVM6','01',8,'SCONTO (PRIMO DEI 4 SCONTI COMMERCIALI)',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVM6','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ACDVM7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM7','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,'' )
,('ACDVM7','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,'' )
,('ACDVM7','01',4,'PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM7','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVM7','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVM7','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVM7','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ACDVM8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM8','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,'' )
,('ACDVM8','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,'' )
,('ACDVM8','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVM8','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVM8','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('ACDVM8','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('ACDVM9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVM9','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,'' )
,('ACDVM9','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVM9','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVM9','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVM9','01',6,'DATA INIZIO VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVM9','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('ACDVM9','01',8,'TIPO PREZZO',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVM9','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ACDVMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMA','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,'' )
,('ACDVMA','01',3,'CODICE ATTRIBUTO CANALE (APARAZ-MV)',3,'CODCAN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVMA','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMA','01',5,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMA','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ACDVMB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMB','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,'' )
,('ACDVMB','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,'' )
,('ACDVMB','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMB','01',5,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMB','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('ACDVMC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMC','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,'' )
,('ACDVMC','01',3,'DATA FINE VALIDITA'' (0 = SEMPRE VALIDO)',3,'DTAFIN',0,3,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMC','01',4,'CODICE CLIENTE',3,'CODCLI',0,1,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVMC','01',5,'CODICE ARTICOLO',3,'CODART',0,2,3,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMC','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMC','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,'' )
,('ACDVMD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMD','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,'' )
,('ACDVMD','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,'' )
,('ACDVMD','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMD','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMD','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMD','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('ACDVME','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVME','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVME','01',3,'CODICE ZONA CONSEGNA MERCE',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVME','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVME','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVME','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVME','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('ACDVMF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMF','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,'' )
,('ACDVMF','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMF','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMF','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMF','01',6,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMF','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMF','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ACDVMG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMG','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,'' )
,('ACDVMG','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,'' )
,('ACDVMG','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMG','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMG','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMG','01',7,'SCONTO 1',2,'SCO001',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVMG','01',8,'SCONTO 2',2,'SCO002',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVMG','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ACDVMH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMH','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,'' )
,('ACDVMH','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,'' )
,('ACDVMH','01',4,'CODICE DESTINATARIO (ZERO = TUTTI)',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVMH','01',5,'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,'' )
,('ACDVMH','01',6,'FINO A QUANTITA''',3,'FINQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACDVMH','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMH','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,38,38,0,0,'X(38)','',0,'',0,0,'' )
,('ACDVMI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMI','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,'' )
,('ACDVMI','01',3,'DATA INIZIO VALIDITA''',3,'DATINI',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMI','01',4,'CODICE ARTICOLO',3,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMI','01',5,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMI','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,38,38,0,0,'X(38)','',0,'',0,0,'' )
,('ACDVMJ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMJ','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,'' )
,('ACDVMJ','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,4,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('ACDVMJ','01',4,'PRODOTTO',3,'CODPRO',0,1,4,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMJ','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMJ','01',6,'ANNATA SE ZERO = TUTTE',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMJ','01',7,'DATA INIZIO VALIDITA''',3,'DTALIM',0,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMJ','01',8,'DATA INIZIO VALIDITA''',3,'DTAFIN',0,3,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMJ','01',9,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMJ','01',10,'TIPO CONTROLLO DATE',2,'FLGDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVMJ','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('ACDVML','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVML','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,'' )
,('ACDVML','01',3,'DATA INIZIO VALIDITA''',3,'DATINI',0,3,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVML','01',4,'CODICE CLIENTE',3,'CODCLI',0,1,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVML','01',5,'CODICE ARTICOLO',3,'CODART',0,2,3,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVML','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVML','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,38,38,0,0,'X(38)','',0,'',0,0,'' )
,('ACDVMM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMM','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,'' )
,('ACDVMM','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,'' )
,('ACDVMM','01',4,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVMM','01',5,'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,'' )
,('ACDVMM','01',6,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMM','01',7,'DATA LIMITE VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMM','01',8,'PREZZO PARTENZA',2,'PREZPA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMM','01',9,'EX PREAZR PREZZO ARRIVO MEZZO CANTINA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMM','01',10,'EX PREZTR PREZZO ARRIVO MEZZO TRASPORT.',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMM','01',11,'SPESE DI TRASPORTO S/N',2,'FLAGST',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVMM','01',12,'MODALITA DI PAGAMENTO COLLEGATA',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACDVMM','01',15,'SCONTO CARICO (S/N)',2,'FLAGSC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVMM','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACDVMN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMN','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,'' )
,('ACDVMN','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMN','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMN','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMN','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMN','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMN','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVMO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMO','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,'' )
,('ACDVMO','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,'' )
,('ACDVMO','01',4,'CODICE DESTINATARIO (ZERO = TUTTI)',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVMO','01',5,'CODICE TRIANGOLARE (ZERO = TUTTI)',3,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVMO','01',6,'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,'' )
,('ACDVMO','01',7,'FINO A QUANTITA''',3,'FINQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACDVMO','01',8,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('ACDVMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMP','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,'' )
,('ACDVMP','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMP','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMP','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMP','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMP','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMP','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVMQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMQ','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,'' )
,('ACDVMQ','01',3,'CODICE CLIENTE',3,'CODCLI',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVMQ','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMQ','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMQ','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMQ','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVMQ','01',8,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVMQ','01',9,'PROVVIGIONE',2,'PROVVI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMQ','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ACDVMR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMR','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,'' )
,('ACDVMR','01',3,'CODICE LISTINO',3,'CODLIS',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMR','01',4,'DATA FINALE',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMR','01',5,'DATA INIZIALE',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMR','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMR','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMR','01',8,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMR','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMR','01',10,'SCONTI',2,'SCOTNI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMR','01',11,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMR','01',12,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMR','01',13,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMR','01',14,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMR','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ACDVMS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMS','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,'' )
,('ACDVMS','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVMS','01',4,'DATA FINALE',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMS','01',5,'DATA INIZIALE',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMS','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMS','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMS','01',8,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMS','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMS','01',10,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMS','01',11,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMS','01',12,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMS','01',13,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMS','01',14,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMS','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,77,77,0,0,'X(77)','',0,'',0,0,'' )
,('ACDVMT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMT','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,'' )
,('ACDVMT','01',3,'DATA INIZIO VALIDITA''',3,'DATINI',0,3,3,2,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMT','01',4,'CODICE LISTINO',3,'CODLIS',0,2,1,1,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMT','01',5,'PRODOTTO',3,'CODPRO',0,1,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMT','01',6,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMT','01',7,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMT','01',8,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMT','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVMU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMU','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,'' )
,('ACDVMU','01',3,'DATA INIZIO VALIDITA''',3,'DATINI',0,3,3,2,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMU','01',4,'CODICE CLIENTE',3,'CODCLI',0,2,1,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVMU','01',5,'PRODOTTO',3,'CODPRO',0,1,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMU','01',6,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMU','01',7,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMU','01',8,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMU','01',9,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVMU','01',10,'PROVVIGIONE',2,'PROVVI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMU','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ACDVMV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMV','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,'' )
,('ACDVMV','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVMV','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMV','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMV','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVMV','01',7,'SCONTO 1',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMV','01',8,'SCONTO 2',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMV','01',9,'SCONTO 3',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMV','01',10,'SCONTO 4',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMV','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ACDVMW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMW','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,'' )
,('ACDVMW','01',3,'CODICE LISTINO',3,'CODLIS',0,3,1,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMW','01',4,'PRODOTTO',3,'CODPRO',0,1,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMW','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMW','01',6,'ANNATA SE ZERO = TUTTE',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMW','01',7,'VALIDO DAL',3,'DTAVAL',0,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVMW','01',8,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMW','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('ACDVMX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMX','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,'' )
,('ACDVMX','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMX','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMX','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMX','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMX','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMX','01',8,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMX','01',9,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMX','01',10,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMX','01',11,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMX','01',12,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVMX','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ACDVMY','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMY','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,'' )
,('ACDVMY','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMY','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMY','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMY','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVMY','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMY','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVMZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMZ','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,'' )
,('ACDVMZ','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMZ','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVMZ','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVMZ','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',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
('ACDVMZ','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVMZ','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVNA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNA','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,'' )
,('ACDVNA','01',3,'CODICE NOMINATIVO',3,'CODNOM',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNA','01',4,'CODICE ARTICOLO',3,'CODART',0,3,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNA','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNA','01',6,'VALIDO VINO ALLA DATA',3,'DTALIM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNA','01',7,'SCONTO (TERZO)',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVNA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,31,31,0,0,'X(31)','',0,'',0,0,'' )
,('ACDVNB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNB','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,'' )
,('ACDVNB','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNB','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNB','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNB','01',6,'ANNATA (SE = 0 VALE PER TUTTE LE ANNATE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNB','01',7,'DATA FINE VALIDITA'' (ZERO NO SCADENZA)',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNB','01',8,'DATA INIZIO VALIDITA'' (ZERO NO INIZIO)',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNB','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNB','01',16,'PRIMO SCONTO',2,'SCO001',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACDVNB','01',17,'SCONTO NUMERICO DA USARE SE NO SPAZI',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNB','01',18,'SECONDO SCONTO',2,'SCO002',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACDVNB','01',19,'SCONTO NUMERICO DA USARE SE NO SPAZI',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNB','01',20,'TERZO SCONTO',2,'SCO003',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACDVNB','01',21,'SCONTO NUMERICO DA USARE SE NO SPAZI',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNB','01',22,'QUARTO SCONTO',2,'SCO004',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACDVNB','01',23,'SCONTO NUMERICO DA USARE SE NO SPAZI',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'S',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNB','01',24,'CONDIZIONE RISERVATA A FIDELIZZATI (S)',2,'FLGFID',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVNB','01',25,'ESCLUSO DALL''ACCUMULO PUNTI FIDELITY (S)',2,'FLGPUN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVNB','01',26,'SCONTO MASSIMO CONSENTITO',2,'SCOMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNB','01',27,'SCONTO MASSIMO ZERO (X/ )',2,'SCZERO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVNB','01',28,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,53,53,0,0,'X(53)','',0,'',0,0,'' )
,('ACDVNC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNC','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,'' )
,('ACDVNC','01',3,'CODICE LISTINO',3,'CODLIS',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNC','01',4,'DATA FINALE',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNC','01',5,'DATA INIZIALE',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNC','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNC','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNC','01',8,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNC','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNC','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,81,81,0,0,'X(81)','',0,'',0,0,'' )
,('ACDVND','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVND','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,'' )
,('ACDVND','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVND','01',4,'DATA FINALE',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVND','01',5,'DATA INIZIALE',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVND','01',6,'PRODOTTO (NESSUNO = RECORD SCONTO CLI)',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVND','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVND','01',8,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVND','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVND','01',10,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVND','01',11,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVND','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,89,89,0,0,'X(89)','',0,'',0,0,'' )
,('ACDVNE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNE','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,'' )
,('ACDVNE','01',3,'CODICE LISTINO',3,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNE','01',4,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNE','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNE','01',6,'FINO A QTA',3,'FINQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACDVNE','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNE','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,'' )
,('ACDVNF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNF','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,'' )
,('ACDVNF','01',3,'CODICE LISTINO',3,'CODLIS',0,1,4,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNF','01',4,'DATA FINALE',3,'DTAFIN',0,3,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNF','01',5,'DATA INIZIALE',3,'DTAINI',0,4,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNF','01',6,'PRODOTTO (NESSUNO = RECORD SCONTO LIS)',3,'CODPRO',0,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNF','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNF','01',8,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNF','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNF','01',10,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNF','01',11,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNF','01',12,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNF','01',13,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNF','01',14,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNF','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('ACDVNG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNG','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,'' )
,('ACDVNG','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNG','01',4,'DATA FINALE',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNG','01',5,'DATA INIZIALE',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNG','01',6,'ELEMENTO',3,'ELEMEN',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNG','01',9,'PRODOTTO',4,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNG','01',10,'CODICE ARTICOLO',5,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNG','01',11,'ANNATA (ZERO = TUTTE)',5,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNG','01',12,'CODICE ATTRIBUTO (PER NR VEDI ACDV56)',4,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVNG','01',13,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ACDVNG','01',14,'PREZZO (SOLO PER ARTICOLO)',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNG','01',15,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNG','01',16,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNG','01',17,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNG','01',18,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNG','01',19,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNG','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('ACDVNH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNH','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,'' )
,('ACDVNH','01',3,'CODICE LISTINO',3,'CODLIS',0,1,4,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNH','01',4,'DATA FINALE',3,'DTAFIN',0,3,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNH','01',5,'DATA INIZIALE',3,'DTAINI',0,4,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVNH','01',6,'PRODOTTO',3,'CODPRO',0,2,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNH','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNH','01',8,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNH','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNH','01',10,'SCONTO 1',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNH','01',11,'SCONTO 2',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNH','01',12,'SCONTO 3',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNH','01',13,'SCONTO 4',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNH','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('ACDVNI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNI','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,'' )
,('ACDVNI','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNI','01',4,'DATA FINALE',3,'DTAFIN',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNI','01',5,'DATA INIZIALE',3,'DTAINI',0,5,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNI','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNI','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNI','01',8,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNI','01',9,'CATEGORIA SCONTISTICA',3,'CATSCO',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNI','01',10,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNI','01',11,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNI','01',12,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNI','01',13,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNI','01',14,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNI','01',15,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNI','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ACDVNL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNL','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,'' )
,('ACDVNL','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNL','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNL','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNL','01',6,'DATA INIZIO VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNL','01',7,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVNL','01',8,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNL','01',9,'SCONTO %',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVNL','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('ACDVNM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNM','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,'' )
,('ACDVNM','01',3,'CODICE LISTINO',3,'CODLIS',0,1,4,1,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNM','01',4,'DATA FINALE',3,'DTAFIN',0,3,2,3,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNM','01',5,'DATA INIZIALE',3,'DTAINI',0,4,3,4,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNM','01',6,'PRODOTTO (NESSUNO = SCONTO LIST O COLLI)',3,'CODPRO',0,2,1,5,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNM','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNM','01',8,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNM','01',9,'DA COLLI (NESSUNO = SC.LIST O ARTICOLO)',3,'QTCINI',0,5,5,2,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNM','01',10,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNM','01',11,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNM','01',12,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNM','01',13,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNM','01',14,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNM','01',15,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNM','01',16,'SCONTO PER SCAGLIONE COLLI',2,'SCOCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNM','01',21,'SCONTO TOT.COLLI ( /N) PER ARTICOLO',2,'FLGNSC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVNM','01',22,'DA ATTIVARE LINEE A LIVELLO CLIENTE(S/N)',2,'FLGATL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVNM','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,78,78,0,0,'X(78)','',0,'',0,0,'' )
,('ACDVNN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNN','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,'' )
,('ACDVNN','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNN','01',4,'CODICE DESTINATARIO (ZERO = TUTTI)',3,'CODDES',0,2,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNN','01',5,'DATA FINALE',3,'DTAFIN',0,4,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNN','01',6,'DATA INIZIALE',3,'DTAINI',0,5,5,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNN','01',7,'PRODOTTO (NESSUNO=RECORD LINEA/DATE LIS)',3,'CODPRO',0,3,6,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNN','01',8,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNN','01',9,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNN','01',10,'COD.LINEA (0 = RECORD ART./DATE LIS)',3,'CODLIN',0,6,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVNN','01',11,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNN','01',12,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNN','01',13,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNN','01',14,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNN','01',15,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNN','01',16,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNN','01',17,'COMMENTO',2,'COMMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVNN','01',18,'DATA LISTINO INIZALE',2,'DTLINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVNN','01',19,'DATA LISTINO FINALE',2,'DTLFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVNN','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('ACDVNO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNO','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,'' )
,('ACDVNO','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNO','01',4,'CODICE DESTINATARIO (ZERO = TUTTI)',3,'CODDES',0,2,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNO','01',5,'DATA FINALE',3,'DTAFIN',0,4,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNO','01',6,'DATA INIZIALE',3,'DTAINI',0,5,5,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNO','01',7,'PRODOTTO (NESSUNO = RECORD LINEA)',3,'CODPRO',0,3,6,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNO','01',8,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNO','01',9,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNO','01',10,'CODICE LINEA (ZERO = RECORD ART.)',3,'CODLIN',0,6,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVNO','01',11,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNO','01',12,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNO','01',13,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNO','01',14,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNO','01',15,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNO','01',16,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNO','01',17,'COMMENTO',2,'COMMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVNO','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,57,57,0,0,'X(57)','',0,'',0,0,'' )
,('ACDVNP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNP','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,'' )
,('ACDVNP','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,'' )
,('ACDVNP','01',5,'MODALITA'' DI PAGAMENTO VINO',2,'PAGVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACDVNP','01',6,'MODALITA'' DI PAGAMENTO SUCCHI',2,'PAGSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACDVNP','01',7,'NR.ATTRIBUTO USATO PER IDENTIFICARE VINO',2,'ATTVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVNP','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,139,139,0,0,'X(139)','',0,'',0,0,'' )
,('ACDVNQ','01',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
('ACDVNQ','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,'' )
,('ACDVNQ','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVNQ','01',4,'DATA FINALE',3,'DTAFIN',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNQ','01',5,'DATA INIZIALE',3,'DTAINI',0,5,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVNQ','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNQ','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVNQ','01',8,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNQ','01',9,'CATEGORIA SCONTISTICA',3,'CATSCO',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVNQ','01',10,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('ACDVNQ','01',11,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVNQ','01',12,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNQ','01',13,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNQ','01',14,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNQ','01',15,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVNQ','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ACDVO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVO1','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,'' )
,('ACDVO1','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,'' )
,('ACDVO1','01',4,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVO1','01',5,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVO2','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,'' )
,('ACDVO2','01',3,'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,'' )
,('ACDVO2','01',4,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVO2','01',5,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVO3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVO3','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,'' )
,('ACDVO3','01',3,'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,'' )
,('ACDVO3','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVO3','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO3','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO3','01',7,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVO3','01',8,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVO3','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ACDVO4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVO4','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,'' )
,('ACDVO4','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,'' )
,('ACDVO4','01',4,'CODICE CATEGORIA SCONTO',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVO4','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO4','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO4','01',7,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVO4','01',8,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVO4','01',9,'PERCENTUALE DECREMENTO PROVVIGIONE',2,'DECPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVO4','01',10,'SCONTO IN PERCENTUALE',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVO4','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('ACDVO5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVO5','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,'' )
,('ACDVO5','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,'' )
,('ACDVO5','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVO5','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO5','01',6,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO5','01',7,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVO5','01',8,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVO6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVO6','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,'' )
,('ACDVO6','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,'' )
,('ACDVO6','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVO6','01',5,'ANNATA (PER ADESSO SEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVO6','01',6,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVO6','01',7,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVO6','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ACDVO7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVO7','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,'' )
,('ACDVO7','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,'' )
,('ACDVO7','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVO7','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO7','01',6,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO7','01',7,'QUANTITA'' OGNI',3,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVO7','01',8,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVO7','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ACDVO8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVO8','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,'' )
,('ACDVO8','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,'' )
,('ACDVO8','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVO8','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO8','01',6,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO8','01',7,'QUARTO SCONTO COMMERCIALE',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVO8','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVO9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVO9','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,'' )
,('ACDVO9','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,'' )
,('ACDVO9','01',4,'CODICE CATEGORIA ARTICOLO',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVO9','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO9','01',6,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVO9','01',7,'QUARTO SCONTO COMMERCIALE',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVO9','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVOA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOA','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,'' )
,('ACDVOA','01',3,'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,'' )
,('ACDVOA','01',4,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOA','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOA','01',6,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVOA','01',7,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVOA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('ACDVOB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOB','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,'' )
,('ACDVOB','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,'' )
,('ACDVOB','01',4,'CODICE CLIENTE TRIANGOLARE (ZERO=TUTTI)',3,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVOB','01',5,'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,'' )
,('ACDVOB','01',6,'DATA INIZIALE',3,'DTAINI',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
('ACDVOB','01',7,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOB','01',8,'QUANTITA'' OGNI',3,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOB','01',9,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVOB','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVOC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOC','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,'' )
,('ACDVOC','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,'' )
,('ACDVOC','01',4,'CATEGORIA SCONTO',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOC','01',5,'TIPO SCONTO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVOC','01',8,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOC','01',9,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOC','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACDVOD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOD','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,'' )
,('ACDVOD','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,'' )
,('ACDVOD','01',4,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOD','01',5,'TIPO SCONTO',2,'TIPSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVOD','01',8,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOD','01',9,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOD','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACDVOE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOE','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,'' )
,('ACDVOE','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVOE','01',4,'DATA FINALE',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOE','01',5,'DATA INIZIALE',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOE','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOE','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOE','01',8,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVOE','01',9,'FINO A QUANTITA''',3,'FINQTA',0,5,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('ACDVOE','01',10,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOE','01',11,'QUANTITA'' OGNIIO',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOE','01',12,'EVENTUALE ARTICOLO OMAGGIO SE DIVERSO',2,'ARTOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOE','01',13,'ANNATA DELL''EVENTUALE ARTICOLO OMAGGIO',2,'ANNOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVOE','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,77,77,0,0,'X(77)','',0,'',0,0,'' )
,('ACDVOF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOF','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,'' )
,('ACDVOF','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,'' )
,('ACDVOF','01',4,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOF','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOF','01',6,'FINO A QUANTITA''',3,'FINQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOF','01',7,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOF','01',8,'QUANTITA'' OGNIIO',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOF','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('ACDVOG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOG','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,'' )
,('ACDVOG','01',3,'CODICE ARTICOLO',3,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOG','01',4,'ANNATA (PER ADESSO SEMPRE = ZERO)',3,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVOG','01',5,'DATA FINALE',3,'DTAFIN',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOG','01',6,'DATA INIZIALE',3,'DTAINI',0,5,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOG','01',7,'TABELLA LISTINI',3,'TABLIS',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOG','01',8,'CODICE LISTINO',4,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',10,'',0,0,'' )
,('ACDVOG','01',9,'FINO A QUANTITA''',3,'FINQTA',0,6,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOG','01',10,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOG','01',11,'QUANTITA'' OGNIIO',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOG','01',12,'EVENTUALE ARTICOLO OMAGGIO SE DIVERSO',2,'ARTOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOG','01',13,'ANNATA DELL''EVENTUALE ARTICOLO OMAGGIO',2,'ANNOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVOG','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,73,73,0,0,'X(73)','',0,'',0,0,'' )
,('ACDVOH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOH','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,'' )
,('ACDVOH','01',3,'CODICE CLIENTE (0=TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVOH','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOH','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOH','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOH','01',7,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVOH','01',8,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVOH','01',9,'PERCENTUALE DECREMENTO PROVVIGIONE',2,'DECPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOH','01',10,'SCONTO IN PERCENTUALE',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVOH','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('ACDVOI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOI','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,'' )
,('ACDVOI','01',3,'CODICE LISTINO',3,'CODLIS',0,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVOI','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOI','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOI','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVOI','01',7,'QUANTITA'' OGNI',3,'QTAOGN',0,2,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOI','01',8,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ACDVOI','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVOL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOL','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,'' )
,('ACDVOL','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,'' )
,('ACDVOL','01',4,'CODICE CLIENTE TRIANGOLARE (ZERO=TUTTI)',3,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVOL','01',5,'CATEGORIA SCONTO ARTICOLO',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOL','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOL','01',7,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOL','01',8,'QUANTITA'' OGNI',3,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOL','01',9,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVOL','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('ACDVOM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOM','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,'' )
,('ACDVOM','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,'' )
,('ACDVOM','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOM','01',5,'ANNATA (PER ADESSO SEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVOM','01',6,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVOM','01',7,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVOM','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ACDVON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVON','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,'' )
,('ACDVON','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('ACDVON','01',4,'PRODOTTO',3,'CODPRO',0,4,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVON','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVON','01',6,'ANNATA SE ZERO = TUTTE',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVON','01',7,'DATA INIZIO VALIDITA''',3,'DTALIM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVON','01',8,'DATA FINE VALIDITA''',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVON','01',9,'QUANTITA'' OGNI',3,'QTAOGN',0,5,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVON','01',10,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVON','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('ACDVOO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOO','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,'' )
,('ACDVOO','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('ACDVOO','01',4,'CODICE ATTRIBUTO ARTICOLO (PARAMETRI)',3,'CODATT',0,4,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOO','01',5,'DATA INIZIO VALIDITA''',3,'DTALIM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOO','01',6,'DATA FINE VALIDITA''',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOO','01',7,'QUANTITA'' OGNI',3,'QTAOGN',0,5,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVOO','01',8,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVOO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('ACDVOP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOP','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,'' )
,('ACDVOP','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVOP','01',4,'DATA FINALE',3,'DTAFIN',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOP','01',5,'DATA INIZIALE',3,'DTAINI',0,5,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOP','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOP','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOP','01',8,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVOP','01',9,'CATEGORIA SCOTNISTICA',3,'CATSCO',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVOP','01',10,'FINO A QUANTITA''',3,'FINQTA',0,6,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('ACDVOP','01',11,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVOP','01',12,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVOP','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ACDVOQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOQ','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,'' )
,('ACDVOQ','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVOQ','01',4,'TRIANGOLARE (OPZIONALE)',3,'CODTRI',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVOQ','01',5,'DATA FINALE',3,'DTAFIN',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOQ','01',6,'DATA INIZIALE',3,'DTAINI',0,5,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVOQ','01',7,'PRODOTTO',3,'CODPRO',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOQ','01',8,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVOQ','01',9,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVOQ','01',10,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVOQ','01',11,'SCONTO',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVOQ','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('ACDVP0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP0','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,'' )
,('ACDVP0','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,'' )
,('ACDVP0','01',4,'CATEGORIA CLIENTE',3,'CATCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVP0','01',5,'CATEGORIA PROVV. ARTICOLO',3,'CATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVP0','01',6,'VALIDO DAL',3,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVP0','01',7,'PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP0','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVP1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP1','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,'' )
,('ACDVP1','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,'' )
,('ACDVP1','01',4,'TIPO CLIENTE',3,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVP1','01',5,'CATEGORIA PROVVIGIONI ARTICOLO',3,'CATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVP1','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP1','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVP2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP2','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,'' )
,('ACDVP2','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,'' )
,('ACDVP2','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,'' )
,('ACDVP2','01',5,'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,'' )
,('ACDVP2','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP3','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,'' )
,('ACDVP3','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,'' )
,('ACDVP3','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,'' )
,('ACDVP3','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP4','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,'' )
,('ACDVP4','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,'' )
,('ACDVP4','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVP4','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP5','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,'' )
,('ACDVP5','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,'' )
,('ACDVP5','01',4,'CODICE CATEGORIA PROVVIGIONI ARTICOLI',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVP5','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP6','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,'' )
,('ACDVP6','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,'' )
,('ACDVP6','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVP6','01',5,'PERCENTUALE PROVVIGIONE AGENTE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP6','01',6,'PERCENTUALE PROVVIGIONE CAPO AREA',2,'PPROCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP7','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,'' )
,('ACDVP7','01',3,'CODICE CATEGORIA AGENTE',3,'CATAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVP7','01',4,'CODICE CATEGORIA PROVVIGIONI ARTICOLI',3,'CATART',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVP7','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP8','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,'' )
,('ACDVP8','01',3,'CODICE ATTRIBUTO CLIENTE',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVP8','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVP8','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP8','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ACDVP9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVP9','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,'' )
,('ACDVP9','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,'' )
,('ACDVP9','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,'' )
,('ACDVP9','01',5,'CATEGORIA PROVVIGIONI ARTICOLO',3,'CATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVP9','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVP9','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPA','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,'' )
,('ACDVPA','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,'' )
,('ACDVPA','01',4,'CODICE CATEGORIA PROVVIGIONI ARTICOLI',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVPA','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVPA','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVPA','01',7,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVPB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPB','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,'' )
,('ACDVPB','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,'' )
,('ACDVPB','01',4,'CODICE CATEGORIA PROVVIGIONI ARTICOLI',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVPB','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPC','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,'' )
,('ACDVPC','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,'' )
,('ACDVPC','01',4,'CATEGORIA PROVVIGIONE ARTICOLO',3,'CATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVPC','01',5,'CATEGORIA CLIENTE (1 ATTRIBUTO)',3,'CATCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVPC','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPC','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVPD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPD','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,'' )
,('ACDVPD','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,'' )
,('ACDVPD','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,'' )
,('ACDVPD','01',5,'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,'' )
,('ACDVPD','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPE','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,'' )
,('ACDVPE','01',3,'CATEGORIA PROVVIGIONI ARTICOLI',3,'CATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVPE','01',4,'FINO A QUANTITA',3,'FINQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACDVPE','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPE','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ACDVPF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPF','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,'' )
,('ACDVPF','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,'' )
,('ACDVPF','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVPF','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPF','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVPG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPG','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,'' )
,('ACDVPG','01',3,'CODICE AGENTE 0 = GENERICO',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,'' )
,('ACDVPG','01',4,'LISTINO 0 = GENERICO',3,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVPG','01',5,'FINO A CAPACITA'' RECIPIENTE',3,'CAPREP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ACDVPG','01',6,'PERCENTUALE PROVVIGIONE AGENTE',2,'PROAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPG','01',7,'PERCENTUALE PROVVIGIONE CAPO AREA',2,'PROCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPG','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVPH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPH','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,'' )
,('ACDVPH','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,'' )
,('ACDVPH','01',4,'CODICE CATEGORIA PROVVIGIONI ARTICOLI',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVPH','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPH','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACDVPI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPI','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,'' )
,('ACDVPI','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,'' )
,('ACDVPI','01',4,'CODICE CATEGORIA PROVVIGIONI ARTICOLI',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVPI','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPI','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACDVPJ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPJ','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,'' )
,('ACDVPJ','01',3,'CODICE AGENTE',3,'CODAGE',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVPJ','01',4,'DATA FINALE',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPJ','01',5,'DATA INIZIALE',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPJ','01',6,'PRODOTTO (NESSUNO = RECORD PROVV. AGE)',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPJ','01',7,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVPJ','01',8,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVPJ','01',9,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPJ','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,93,93,0,0,'X(93)','',0,'',0,0,'' )
,('ACDVPL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPL','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,'' )
,('ACDVPL','01',3,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVPL','01',4,'TETTO MASSIMO PROVVIGIONI',2,'MAXPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPL','01',5,'CAUSALE SC.MERCE PER SC.MERCE ALTRI ART.',2,'CAUSCM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACDVPL','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,137,137,0,0,'X(137)','',0,'',0,0,'' )
,('ACDVPM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPM','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,'' )
,('ACDVPM','01',3,'CODICE AGENTE',3,'CODAGE',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVPM','01',4,'CODICE CLIENTE',3,'CODCLI',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVPM','01',5,'DATA FINALE',3,'DTAFIN',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPM','01',6,'DATA INIZIALE',3,'DTAINI',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPM','01',7,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPM','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('ACDVPN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPN','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,'' )
,('ACDVPN','01',3,'DATA FINALE',3,'DTAFIN',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPN','01',4,'DATA FINALE',3,'DTAINI',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPN','01',5,'TABELLA LISTINI',3,'TABLIS',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPN','01',6,'LISTINI',4,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',10,'',0,0,'' )
,('ACDVPN','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,114,114,0,0,'X(114)','',0,'',0,0,'' )
,('ACDVPO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPO','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,'' )
,('ACDVPO','01',3,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPO','01',4,'DATA FINALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPO','01',5,'TABELLA LISTINI',3,'TABLIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPO','01',6,'LISTINI',4,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',10,'',0,0,'' )
,('ACDVPO','01',7,'GRUPPO ARTICOLI/PROVVIGIONI',3,'GRUPPO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVPO','01',8,'CODICE PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPO','01',9,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVPO','01',10,'ANNATA ARTICOLO (PER ADESSO SEMPRE ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVPO','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVPP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPP','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,'' )
,('ACDVPP','01',3,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPP','01',4,'DATA FINALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPP','01',5,'TABELLA LISTINI',3,'TABLIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPP','01',6,'LISTINI',4,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',10,'',0,0,'' )
,('ACDVPP','01',7,'GRUPPO ARTICOLI/PROVVIGIONI',3,'GRUPPO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVPP','01',8,'FINO A SCONTO',3,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ACDVPP','01',9,'% PROVVIGIONE AGENTE DA APPLICARE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPP','01',10,'OPPURE FATTORE DI MOLTIPLICAZIONE',2,'FATPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPP','01',11,'% PROVVIGIONEC.AREA DA APPLICARE',2,'PPROVC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPP','01',12,'OPPURE FATTORE DI MOLTIPLICAZIONE',2,'FATPEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPP','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,89,89,0,0,'X(89)','',0,'',0,0,'' )
,('ACDVPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPR','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,'' )
,('ACDVPR','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,'' )
,('ACDVPR','01',4,'DESTINATARIO (0=TUTTI I CLIENTI)',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVPR','01',5,'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,'' )
,('ACDVPR','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPR','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,'' )
,('ACDVPS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPS','01',2,'CHIAVE = PS',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVPS','01',3,'NUMERO ATTRIBUTO LITRI/BOTTIGLIE',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVPS','01',4,'CODICE ATTRIBUTO LITRI',2,'ATTLIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVPS','01',5,'CODICE ATTRIBUTO BOTTIGLIE',2,'ATTBOT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVPS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACDVPT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPT','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,'' )
,('ACDVPT','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,'' )
,('ACDVPT','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVPT','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVPT','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPT','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,'' )
,('ACDVPU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPU','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,'' )
,('ACDVPU','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,'' )
,('ACDVPU','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVPU','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVPU','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPU','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,'' )
,('ACDVPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPV','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,'' )
,('ACDVPV','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,'' )
,('ACDVPV','01',4,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVPV','01',5,'DATA FINE VALIDITA''',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPV','01',6,'DATA INIZIO LIDITA''',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPV','01',7,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPV','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVPW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPW','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,'' )
,('ACDVPW','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,'' )
,('ACDVPW','01',4,'CODICE CATEGORIA PROVVIGIONI ARTICOLI',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVPW','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPW','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACDVPX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPX','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,'' )
,('ACDVPX','01',3,'CODICE AGENTE 0 = GENERICO',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,'' )
,('ACDVPX','01',4,'LISTINO 0 = GENERICO',3,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVPX','01',5,'FINO A CAPACITA'' RECIPIENTE',3,'CAPREP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ACDVPX','01',6,'PERCENTUALE PROVVIGIONE AGENTE',2,'PROAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPX','01',7,'PERCENTUALE PROVVIGIONE CAPO AREA',2,'PROCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPX','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVPY','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPY','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,'' )
,('ACDVPY','01',3,'CODICE CAPO AREA',3,'CODACA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVPY','01',4,'CATEGORIA CLIENTE',3,'CATCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVPY','01',5,'CATEGORIA PROVV. ARTICOLO',3,'CATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVPY','01',6,'VALIDO DAL',3,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVPY','01',7,'PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPY','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVPZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVPZ','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,'' )
,('ACDVPZ','01',3,'CODICE AGENTE 0 = GENERICO',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,'' )
,('ACDVPZ','01',4,'LISTINO 0 = GENERICO',3,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVPZ','01',5,'FINO A CAPACITA'' RECIPIENTE',3,'CAPREP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ACDVPZ','01',6,'PERCENTUALE PROVVIGIONE AGENTE',2,'PROAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPZ','01',7,'PERCENTUALE PROVVIGIONE CAPO AREA',2,'PROCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVPZ','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVQ0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ0','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,'' )
,('ACDVQ0','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,'' )
,('ACDVQ0','01',4,'CATEGORIA PROVV. ARTICOLO',3,'CATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVQ0','01',5,'FINO A SCONTO',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQ0','01',6,'PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQ0','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVQ1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ1','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,'' )
,('ACDVQ1','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,'' )
,('ACDVQ1','01',4,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQ1','01',5,'CATEGORIA PROVVIGIONI (0 = TUTTE)',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQ1','01',6,'DATA FINE VALIDITA''',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ1','01',7,'DATA INIZIO LIDITA''',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ1','01',8,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQ1','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACDVQ2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ2','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,'' )
,('ACDVQ2','01',3,'CODICE AGENTE',3,'CODAGE',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQ2','01',4,'LISTINO 0 = TUTTI',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQ2','01',5,'CATEGORIA PROVV.ARTICOLO 000=TUTTE',3,'CATPRO',0,4,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQ2','01',6,'FINO A CAPACITA'' RECIPIENTE',3,'CAPREP',0,3,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVQ2','01',7,'PERCENTUALE PROVVIGIONE AGENTE',2,'PROAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQ2','01',8,'PERCENTUALE PROVVIGIONE CAPO AREA',2,'PROCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQ2','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('ACDVQ3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ3','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,'' )
,('ACDVQ3','01',3,'NUMERO ATTRIBUTO ARTICOLO',3,'NUMATT',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVQ3','01',4,'CODICE AGENTE',3,'CODAGE',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQ3','01',5,'CODICE ATTRIBUTO',3,'CODATT',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQ3','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQ3','01',7,'ABILITATO ALLA VENDITA S/N',2,'FLGABI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVQ3','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('ACDVQ4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ4','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,'' )
,('ACDVQ4','01',3,'CODICE AGENTE',3,'CODAGE',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQ4','01',4,'CODICE CANALE CLIENTE',3,'CANALE',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQ4','01',5,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQ4','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,'' )
,('ACDVQ5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ5','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,'' )
,('ACDVQ5','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,'' )
,('ACDVQ5','01',4,'CODICE CATEGORIA SCONTISTICA ARTICOLI',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVQ5','01',5,'FINO A % SCONTO',3,'FINSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('ACDVQ5','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQ5','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,'' )
,('ACDVQ6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ6','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,'' )
,('ACDVQ6','01',3,'CODICE AGENTE',3,'CODAGE',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQ6','01',4,'PERIODO',3,'PERIOD',0,6,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ6','01',5,'DATA FINALE',4,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ6','01',6,'DATA INIZIALE',4,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ6','01',7,'CODICE CLIENTE',3,'CODCLI',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQ6','01',8,'CATEGORIA PROVVIGIONE ARTICOLO',3,'CATPRO',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ACDVQ6','01',9,'FINO A TOT COLLI DOCUMENTO',3,'FINCOL',0,4,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVQ6','01',10,'FINO A SCONTO TOT DOCUMENTO',3,'FINSCO',0,5,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQ6','01',11,'PERCENTUALE PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQ6','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('ACDVQ7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ7','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,'' )
,('ACDVQ7','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,'' )
,('ACDVQ7','01',4,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ7','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ7','01',6,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQ7','01',7,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQ7','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACDVQ8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ8','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,'' )
,('ACDVQ8','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,'' )
,('ACDVQ8','01',4,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ8','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ8','01',6,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQ8','01',7,'CATEGORIA PROVVIGIONI ARTICOLO',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQ8','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACDVQ9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQ9','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,'' )
,('ACDVQ9','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,'' )
,('ACDVQ9','01',4,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ9','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQ9','01',6,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQ9','01',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,'' )
,('ACDVQ9','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACDVQA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQA','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,'' )
,('ACDVQA','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,'' )
,('ACDVQA','01',4,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQA','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQA','01',6,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQA','01',7,'CODICE AGENTE DA RAGRUPPARE',3,'AGEAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQA','01',8,'PERCENTUALE PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQA','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACDVQB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQB','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,'' )
,('ACDVQB','01',3,'CODICE AGENTE',3,'AGCAPO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQB','01',4,'CODICE CATEGORIA SCONTISTICA ARTICOLI',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQB','01',5,'FINO A % SCONTO',3,'FINSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('ACDVQB','01',6,'PERCENTUALE PROVVIGIONE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQB','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,'' )
,('ACDVQC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQC','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,'' )
,('ACDVQC','01',3,'CODICE AGENTE',3,'CODAGE',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQC','01',4,'TIPO CLIENTE',3,'TIPCLI',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQC','01',5,'CODICE CLIENTE',3,'CODCLI',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQC','01',6,'DATA FINALE',3,'DTAFIN',0,5,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQC','01',7,'DATA INIZIALE',3,'DTAINI',0,6,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQC','01',8,'PRODOTTO',3,'CODPRO',0,4,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQC','01',9,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVQC','01',10,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVQC','01',11,'IMPORTO PROVVIGIONE A PEZZO',2,'IMPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ACDVQC','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACDVQD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQD','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,'' )
,('ACDVQD','01',3,'CODICE CAPO AREA',3,'CODCAP',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQD','01',4,'CODICE AGENTE',3,'CODAGE',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQD','01',5,'TIPO CLIENTE',3,'TIPCLI',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQD','01',6,'CODICE CLIENTE',3,'CODCLI',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQD','01',7,'DATE VALIDITA''',3,'DATEVA',0,6,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQD','01',8,'DATA FINALE',4,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQD','01',9,'DATA INIZIALE',4,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQD','01',10,'PRODOTTO',3,'CODPRO',0,5,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQD','01',11,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVQD','01',12,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',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
('ACDVQD','01',13,'IMPORTO PROVVIGIONE A PEZZO',2,'IMPPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ACDVQD','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACDVQE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQE','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,'' )
,('ACDVQE','01',3,'CODICE AGENTE',3,'CODAGE',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQE','01',4,'TIPO CLIENTE',3,'TIPCLI',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQE','01',5,'CODICE CLIENTE',3,'CODCLI',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQE','01',6,'DATA FINALE',3,'DTAFIN',0,5,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQE','01',7,'DATA INIZIALE',3,'DTAINI',0,6,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQE','01',8,'CATEGORA PROVVIGIONI',3,'CATPRO',0,4,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQE','01',9,'PERCENTUALE PROVVIGIONE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQE','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,'' )
,('ACDVQF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQF','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,'' )
,('ACDVQF','01',3,'CODICE CAPO AREA',3,'CODCAP',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQF','01',4,'CODICE AGENTE',3,'CODAGE',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVQF','01',5,'TIPO CLIENTE',3,'TIPCLI',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQF','01',6,'CODICE CLIENTE',3,'CODCLI',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQF','01',7,'DATE VALIDITA''',3,'DATEVA',0,6,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQF','01',8,'DATA FINALE',4,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQF','01',9,'DATA INIZIALE',4,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVQF','01',10,'CATEGORIA PROVVIGIONI',3,'CATPRO',0,5,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQF','01',11,'PERCENTUALE PROVVIGIONI',2,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQF','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACDVQG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQG','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,'' )
,('ACDVQG','01',3,'CODICE CAPO AREA',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVQG','01',4,'ATTRIBUTO CLIENTE',3,'ATTCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQG','01',5,'CODICE NAZIONE',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQH','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,'' )
,('ACDVQH','01',3,'CODICE CAPO AREA',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVQH','01',4,'ATTRIBUTO CLIENTE',3,'ATTCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQH','01',5,'CODICE LINEA (ATTRIBUTO ARTICOLO)',3,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQH','01',6,'PERCENTUALE PROVVIGIONE CAPO AREA',2,'PPROCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQI','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,'' )
,('ACDVQI','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVQI','01',4,'CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQI','01',5,'ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQI','01',6,'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,'' )
,('ACDVQI','01',7,'FINO A SCONTO',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQI','01',8,'PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVQL','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,'' )
,('ACDVQL','01',3,'CODICE CAPO AREA',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVQL','01',4,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACDVQL','01',5,'CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVQL','01',6,'ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVQL','01',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,'' )
,('ACDVQL','01',8,'FINO A SCONTO',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVQL','01',9,'PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVR1','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,'' )
,('ACDVR1','01',3,'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,'' )
,('ACDVR1','01',4,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVR1','01',5,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVR1','01',6,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVR1','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVR2','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,'' )
,('ACDVR2','01',3,'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,'' )
,('ACDVR2','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,'' )
,('ACDVR2','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVR2','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVR2','01',7,'QUANTITA'' OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVR2','01',8,'IMPORTO MINIMO BOLLA',2,'IMPMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('ACDVS1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS1','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,'' )
,('ACDVS1','01',3,'TIPO CLIENTE',3,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVS1','01',4,'LIMITE QUANTITA'' TOTALE COLLI FINALE',3,'QTCFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVS1','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS1','01',6,'LIMITE QUANTITA'' TOTALE COLLI INIZIALE',3,'QTCINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVS1','01',7,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS1','01',8,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS1','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVS2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS2','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,'' )
,('ACDVS2','01',3,'CATEGORIA SCONTO ARTICOLO',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVS2','01',4,'LIMITE QUANTITA'' FINALE',3,'QTCFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVS2','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS2','01',6,'LIMITE QUANTITA'' INIZIALE',3,'QTCINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVS2','01',7,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS2','01',8,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS3','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,'' )
,('ACDVS3','01',3,'LIMITE QUANTITA'' FINALE',3,'QTCFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVS3','01',4,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS3','01',5,'LIMITE QUANTITA'' INIZIALE',3,'QTCINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVS3','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS3','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS4','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,'' )
,('ACDVS4','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,'' )
,('ACDVS4','01',4,'CATEGORIA SCONTO ARTICOLO',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVS4','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS4','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS4','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS5','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVS5','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,'' )
,('ACDVS5','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVS5','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS5','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS5','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS6','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,'' )
,('ACDVS6','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,'' )
,('ACDVS6','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVS6','01',5,'SECONDO SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS6','01',6,'PRIMO SCONTO',2,'SCOUNO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS6','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,'' )
,('ACDVS7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS7','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,'' )
,('ACDVS7','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,'' )
,('ACDVS7','01',4,'LIMITE QUANTITA'' TOTALE PALLET FINALE',3,'QTCFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVS7','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS7','01',6,'LIMITE QUANTITA'' TOTALE PALLET INIZIALE',3,'QTCINI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACDVS7','01',7,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS7','01',8,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS7','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVS8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS8','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,'' )
,('ACDVS8','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,'' )
,('ACDVS8','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVS8','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS8','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS8','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS9','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,'' )
,('ACDVS9','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,'' )
,('ACDVS9','01',4,'CODICE CLIENTE TRIANGOLARE',3,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVS9','01',5,'CATEGORIA SCONTO ARTICOLO',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVS9','01',6,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS9','01',7,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVS9','01',8,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVS9','01',9,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS9','01',10,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS9','01',11,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS9','01',12,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVS9','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('ACDVSA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSA','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,'' )
,('ACDVSA','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,'' )
,('ACDVSA','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSA','01',5,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSA','01',6,'PRIMO SCONTO',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSA','01',7,'SECONDO SCONTO',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSA','01',8,'TERZO SCONTO',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSA','01',9,'QUARTO SCONTO',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSA','01',10,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ACDVSB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSB','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,'' )
,('ACDVSB','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,'' )
,('ACDVSB','01',4,'CATEGORIA SCONTO ARTICOLO',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVSB','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSB','01',6,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSB','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSB','01',8,'SCONTO LITRO',3,'SCOLIT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ACDVSB','01',9,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSB','01',10,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSB','01',11,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSB','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACDVSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSC','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,'' )
,('ACDVSC','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,'' )
,('ACDVSC','01',4,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSC','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('ACDVSD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSD','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,'' )
,('ACDVSD','01',3,'CATEGORIA SCONTI ARTICOLI',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSD','01',4,'FINO A QUANTITA',3,'FINQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACDVSD','01',5,'SECONDO SCONTO',2,'SCOMER',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACDVSD','01',6,'PRIMO SCONTO PERCENTUALE',2,'SCOPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSD','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ACDVSE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSE','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,'' )
,('ACDVSE','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,'' )
,('ACDVSE','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSE','01',5,'PRIMO SCONTO',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSE','01',6,'SECONDO SCONTO',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSE','01',7,'TERZO SCONTO',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSE','01',8,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ACDVSF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSF','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,'' )
,('ACDVSF','01',3,'CODICE CLIENTE (zero=tutti)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVSF','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSF','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSF','01',6,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSF','01',7,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSF','01',8,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSF','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,'' )
,('ACDVSG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSG','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,'' )
,('ACDVSG','01',3,'DATA INIZIO VALIDITA''',3,'DATINI',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSG','01',4,'CODICE CANALE CLIENTE',3,'CODCAN',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVSG','01',5,'SCONTO 1',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSG','01',6,'SCONTO 2',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSG','01',7,'SCONTO 3',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSG','01',8,'PERCENTUALE PROVVIGIONE',2,'PERPRO',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
('ACDVSG','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,'' )
,('ACDVSH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSH','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,'' )
,('ACDVSH','01',3,'DATA INIZIO VALIDITA''',3,'DATINI',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSH','01',4,'CODICE CATEGORIA SCONTISTICA',3,'CODCAT',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSH','01',5,'SCONTO 4',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSH','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACDVSI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSI','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,'' )
,('ACDVSI','01',3,'DATA INIZIO VALIDITA''',3,'DATINI',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSI','01',4,'CODICE CANALE CLIENTE',3,'CODCAN',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVSI','01',5,'SCONTO 1',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSI','01',6,'SCONTO 2 NON USATO AL MOMENTO',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSI','01',7,'SCONTO 3 NON USATO AL MOMENTO',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSI','01',8,'IMPORTO MINIMO BOLLETTA',2,'IMPMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ACDVSI','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,'' )
,('ACDVSJ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSJ','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,'' )
,('ACDVSJ','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,4,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('ACDVSJ','01',4,'PRODOTTO',3,'CODPRO',0,1,4,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSJ','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSJ','01',6,'ANNATA SE ZERO = TUTTE',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSJ','01',7,'DATA INIZIO VALIDITA''',3,'DTALIM',0,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSJ','01',8,'DATA INIZIO VALIDITA''',3,'DTAFIN',0,3,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSJ','01',9,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSJ','01',10,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSJ','01',11,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSJ','01',12,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSJ','01',13,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSJ','01',14,'TIPO CONTROLLO DATE',2,'FLGDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVSJ','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('ACDVSL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSL','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,'' )
,('ACDVSL','01',3,'CATEGORIA CLIENTE (CANALE',3,'CANALE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVSL','01',4,'CATEGORIA SCONTO ARTICOLO',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVSL','01',5,'DATA FINALE (NON USATA)',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSL','01',6,'DATA INIZIALE (NON USATA)',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSL','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVSL','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACDVSM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSM','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,'' )
,('ACDVSM','01',3,'CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVSM','01',4,'CATEGORIA SCONTO ARTICOLO',3,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVSM','01',6,'DATA FINALE (NON USATA)',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSM','01',7,'DATA INIZIALE (NON USATA)',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSM','01',8,'SCONTO (DAL SECONDO IN POI)',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVSM','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,'' )
,('ACDVSN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSN','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,'' )
,('ACDVSN','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVSN','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSN','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSN','01',6,'DATA LIMITE VALIDITA''',3,'DTALIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSN','01',7,'SCONTO (TERZO)',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSN','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSO','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,'' )
,('ACDVSO','01',3,'CODICE CLIENTE',3,'CODCLI',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVSO','01',4,'CODICE CATEGORIA SCONTO',3,'CODCAT',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVSO','01',5,'PRIMO SCONTO',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSO','01',6,'SECONDO SCONTO',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSO','01',7,'TERZO SCONTO',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSO','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVSP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSP','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,'' )
,('ACDVSP','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,'' )
,('ACDVSP','01',4,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSP','01',5,'SCONTI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVSP','01',6,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ACDVSQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSQ','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,'' )
,('ACDVSQ','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,'' )
,('ACDVSQ','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSQ','01',5,'PRIMO SCONTO',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSQ','01',6,'SECONDO SCONTO',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSQ','01',7,'TERZO SCONTO',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSQ','01',8,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ACDVSR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSR','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,'' )
,('ACDVSR','01',3,'CODICE CLIENTE',3,'CODCLI',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVSR','01',4,'CODICE CATEGORIA SCONTO',3,'CODCAT',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVSR','01',5,'PRIMO SCONTO',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSR','01',6,'SECONDO SCONTO',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSR','01',7,'TERZO SCONTO',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSR','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVSS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSS','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,'' )
,('ACDVSS','01',3,'CODICE LISTINO',3,'CODLIS',0,2,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVSS','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSS','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSS','01',6,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSS','01',7,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSS','01',8,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSS','01',9,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSS','01',10,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSS','01',11,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSS','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVST','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,'' )
,('ACDVST','01',3,'CODICE CLIENTE',3,'CODCLI',0,2,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
('ACDVST','01',4,'CODICE CATEGORIA SCONTO',3,'CODCAT',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVST','01',5,'PRIMO SCONTO',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVST','01',6,'SECONDO SCONTO',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVST','01',7,'TERZO SCONTO',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVST','01',8,'QUARTO SCONTO',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVST','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACDVSU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSU','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,'' )
,('ACDVSU','01',3,'CODICE CLIENTE',3,'CODCLI',0,4,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('ACDVSU','01',4,'CODICE ATTRIBUTO ARTICOLO (PARAMETRI)',3,'CODATT',0,1,4,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVSU','01',5,'DATA INIZIO VALIDITA''',3,'DTALIM',0,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSU','01',6,'DATA FINE VALIDITA''',3,'DTAFIN',0,3,3,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSU','01',7,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSU','01',8,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSU','01',9,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSU','01',10,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSU','01',11,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSU','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,59,59,0,0,'X(59)','',0,'',0,0,'' )
,('ACDVSV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSV','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,'' )
,('ACDVSV','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVSV','01',4,'CODICE ARTICOLO',3,'CODART',0,3,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSV','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSV','01',6,'VALIDO VINO ALLA DATA',3,'DTALIM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSV','01',7,'SCONTO (TERZO)',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('ACDVSV','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,31,31,0,0,'X(31)','',0,'',0,0,'' )
,('ACDVSW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSW','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,'' )
,('ACDVSW','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVSW','01',4,'CODICE DESTINATARIO (NESSUNO = TUTTI)',3,'CODDES',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVSW','01',5,'DATA FINALE',3,'DTAFIN',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSW','01',6,'DATA INIZIALE',3,'DTAINI',0,5,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSW','01',7,'PRODOTTO',3,'CODPRO',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSW','01',8,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSW','01',9,'ANNATA (PER ADESSO SEMPRE = ZERO)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSW','01',10,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSW','01',11,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSW','01',12,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSW','01',13,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSW','01',14,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSW','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,77,77,0,0,'X(77)','',0,'',0,0,'' )
,('ACDVSY','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSY','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,'' )
,('ACDVSY','01',3,'CODICE CLIENTE',3,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVSY','01',4,'CODICE ARTICOLO',3,'CODART',0,3,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSY','01',5,'ANNATA (PER ADESSO SEMPRE ZERO)',3,'ANNATA',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSY','01',6,'DATA INIZIO VALIDITA''',3,'DATINI',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSY','01',7,'SCONTO 1',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSY','01',8,'SCONTO 2',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSY','01',9,'SCONTO 3',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSY','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ACDVSZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVSZ','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,'' )
,('ACDVSZ','01',3,'CODICE LISTINO',3,'CODLIS',0,4,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('ACDVSZ','01',4,'CODICE ARTICOLO',3,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVSZ','01',5,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACDVSZ','01',6,'VALIDO VINO ALLA DATA',3,'DTALIM',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVSZ','01',7,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSZ','01',8,'SCONTO MASSIMO',2,'SCOMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVSZ','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('ACDVT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVT1','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,'' )
,('ACDVT1','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,'' )
,('ACDVT1','01',4,'CODICE CLIENTE TRIANGOLARE',3,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVT1','01',5,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVT1','01',6,'LIMITE FINALE NUMERO PALLETS',3,'SCAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ACDVT1','01',7,'LIMITE ININALE NUMERO PALLETS',3,'SCAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ACDVT1','01',8,'IMPORTO SPESE DI TRASPORTO DA ADDEBITARE',2,'IMPSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVT1','01',9,'COSTO EFFETTIVO TRASPORTO',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVT1','01',10,'NUMERO PALLETS DI RIFERIMENTO',2,'NUMPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVT1','01',11,'TIPO GESTIONE PALLETS MANCANTI',2,'FLGMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT1','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACDVT2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVT2','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,'' )
,('ACDVT2','01',3,'LIMITE FINALE NUMERO PALLETS',3,'SCAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ACDVT2','01',4,'LIMITE ININALE NUMERO PALLETS',3,'SCAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ACDVT2','01',5,'IMPORTO AGGIUNTIVO SPESE TRASPORTO',2,'IMPSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVT2','01',6,'COSTO AGGIUNTIVO EFFETTIVO',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('ACDVT2','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVT3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVT3','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,'' )
,('ACDVT3','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,'' )
,('ACDVT3','01',4,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVT3','01',5,'CONSEGNA DISAGIATA (S/ )',2,'FLGDIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT3','01',6,'CONSEGNA PIANI ALTI O CANTINA (S/ )',2,'FLGCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT3','01',7,'INOLTRO IN PROVINCIA (S/ )',2,'FLGINO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT3','01',8,'TELEFONATA PREVENTIVA (S/ )',2,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT3','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ACDVT4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVT4','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,'' )
,('ACDVT4','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,'' )
,('ACDVT4','01',4,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVT4','01',5,'CONSEGNA DISAGIATA (S/ )',2,'FLGDIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT4','01',6,'CONSEGNA PIANI ALTI O CANTINA (S/ )',2,'FLGCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT4','01',7,'INOLTRO IN PROVINCIA (S/ )',2,'FLGINO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT4','01',8,'TELEFONATA PREVENTIVA (S/ )',2,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT4','01',9,'SPONDA IDRAULICA (S/ )',2,'FLGSPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT4','01',10,'APPLICA AUMENTO % PER GDO (S/ )',2,'FLGGDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACDVT4','01',11,'.RES 038: MODALITA'' DI TRASPORTO BOLLE',2,'MODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACDVT4','01',12,'FILLER',2,'FILLER',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
('ACDVU0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVU0','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,'' )
,('ACDVU0','01',3,'CODICE APPARTENENZA CLIENTE',3,'CODAPP',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVU0','01',4,'DATA LIMITE VALIDITA'' (adesso = 0)',3,'DATLIM',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVU0','01',5,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ACDVU0','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACDVX2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','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,'' )
,('ACDVX2','00',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,'' )
,('ACDVX2','00',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVX2','00',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVX2','00',6,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVX2','00',7,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVX2','00',8,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','00',9,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','00',10,'DATI RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,31,31,0,0,'X(31)','',0,'',0,0,'' )
,('ACDVX2','AA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','AA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','AA',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,'' )
,('ACDVX2','AA',4,'SPAZI',3,'SPACES',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVX2','AA',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVX2','AA',6,'TIPO RECORD = "AA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVX2','AA',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVX2','AA',8,'DATA INIZIALE',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','AA',9,'DATA FINALE',2,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','AA',10,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','AA',11,'SCONTo COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',3,'',0,0,'' )
,('ACDVX2','AA',12,'SCONTO COMMERCIALE FRANCO PARTENZA (4)',2,'SCONFP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVX2','AA',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('ACDVX2','LA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','LA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','LA',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,'' )
,('ACDVX2','LA',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVX2','LA',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVX2','LA',6,'TIPO RECORD = "LA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVX2','LA',7,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVX2','LA',8,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','LA',9,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','LA',10,'PREZZO FRANCO ARRIVO',2,'PREZFA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVX2','LA',11,'PREZZO FRANCO PARTENZA',2,'PREZFP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVX2','LA',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('ACDVX2','LC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','LC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','LC',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,'' )
,('ACDVX2','LC',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVX2','LC',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVX2','LC',6,'TIPO RECORD = "LC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVX2','LC',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVX2','LC',8,'PREZZO FRANCO ARRIVO',2,'PREZFA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVX2','LC',9,'PREZZO FRANCO PARTENZA',2,'PREZFP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVX2','LC',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('ACDVX2','SA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','SA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','SA',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,'' )
,('ACDVX2','SA',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVX2','SA',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVX2','SA',6,'TIPO RECORD = "SA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVX2','SA',7,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVX2','SA',8,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','SA',9,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','SA',10,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','SA',11,'SCONTI PROMOZIONALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',3,'',0,0,'' )
,('ACDVX2','SA',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('ACDVX2','SQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','SQ',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX2','SQ',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,'' )
,('ACDVX2','SQ',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVX2','SQ',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVX2','SQ',6,'TIPO RECORD = "SQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVX2','SQ',7,'CODICE DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVX2','SQ',8,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','SQ',9,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX2','SQ',10,'OGNI QTAOGN PEZZI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ACDVX2','SQ',11,'QTASCO PEZZI IN OMAGGIO',2,'QTASCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ACDVX2','SQ',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('ACDVX4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX4','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,'' )
,('ACDVX4','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,'' )
,('ACDVX4','01',4,'CHIAVE DI SPAZI',3,'SPACES',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVX4','01',5,'REDEFINESCHIAVE DI SPAZI',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX4','01',6,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACDVX4','01',7,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACDVX4','01',8,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ACDVX4','01',15,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('ACDVX4','01',16,'REDEFINES CHIAVE DI ZERI',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX4','01',17,'CODICE DESTINATARIO',4,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACDVX4','01',18,'DATA FINALE IN CHIAVE',4,'DTKFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX4','01',19,'DATA INIZIALE',4,'DTKINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX4','01',20,'DATA INIZIALE',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX4','01',21,'DATA FINALE',2,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACDVX4','01',22,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVX4','01',23,'SCONTo COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',3,'',0,0,'' )
,('ACDVX4','01',24,'SCONTO COMMERCIALE FRANCO PARTENZA (4)',2,'SCONFP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('ACDVX4','01',25,'PREZZO FRANCO ARRIVO',2,'PREZFA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVX4','01',26,'PREZZO FRANCO PARTENZA',2,'PREZFP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,5,'9(9)V99 COMP-3','9(6)V9(5) COMP-3',0,'',0,0,'' )
,('ACDVX4','01',27,'OGNI QTAOGN PEZZI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ACDVX4','01',28,'QTASCO PEZZI IN OMAGGIO',2,'QTASCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('ACDVX4','01',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,105,105,0,0,'X(105)','',0,'',0,0,'' )
,('ACDVZC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACDVZC','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ACDVZC','01',3,'CODCIE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACDVZC','01',4,'SPESE PER LITRO',2,'IMPLIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('ACDVZC','01',5,'SPESE PER BOTTIGLIA',2,'IMPBOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('ACDVZC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('ACESVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACESVA','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,'' )
,('ACESVA','01',3,'CODICE CLIENTE',3,'CODCLI',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACESVA','01',4,'DATA ESTENSIONE',2,'DATEST',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACESVA','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,'' )
,('ACESVA','01',6,'ANNO ESTENSIONE',3,'AAAEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACESVA','01',7,'MESE ESTENSIONE',3,'MMMEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACESVA','01',8,'GIORNO ESTENSIONE',3,'GGGEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACESVA','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACF000','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACF000','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,'' )
,('ACF000','01',3,'TIPO DOCUMENTO',2,'TIPDOC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACF000','01',6,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACF000','01',7,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACF000','01',8,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACF000','01',9,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACF000','01',10,'IMPORTO LIQUIDAZIONE',2,'IMPLIQ',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACF000','01',11,'ACCONTI PRECEDENTI',2,'ACCPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACF000','01',12,'IMPORTO ANTICIPI',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACF000','01',13,'CODICE CAUSALE CONTABILE DOCUMENTO',2,'CAUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF000','01',14,'DATA REGISTRAZIONE DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACF000','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACF000','01',16,'ANNO REGISTRAZIONE DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF000','01',17,'MESE REGISTRAZIONE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACF000','01',18,'GIORNO REGISTRAZIONE DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACF000','01',19,'CONTO DOCUMENTO',2,'GCSDOC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACF000','01',20,'GRUPPO DOCUMENTO',3,'GRUDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF000','01',21,'CONTO DOCUMENTO',3,'CONDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF000','01',22,'SOTTOCONTO DOCUMENTO',3,'SOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACF000','01',23,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACF000','01',24,'DATA STAMPA DOCUMENTO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACF000','01',25,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACF000','01',26,'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,'' )
,('ACF000','01',27,'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,'' )
,('ACF000','01',28,'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,'' )
,('ACF000','01',29,'CONTABILIZZATO DOCUMENTO  /S',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACF000','01',30,'CODICE CAUSALE CONTABILE STORNO ANTICIPI',2,'CAUSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF000','01',31,'DATA REGISTRAZIONE STORNO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACF000','01',32,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACF000','01',33,'ANNO REGISTRAZIONE STORNO',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF000','01',34,'MESE REGISTRAZIONE STORNO',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACF000','01',35,'GIORNO REGISTRAZIONE STORNO',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACF000','01',36,'GRUPPO CONTO ANTICIPI',2,'GCANTI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACF000','01',37,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACF000','01',38,'GRUPPO ANTICIPI',3,'GRUANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF000','01',39,'CONTO ANTICIPI',3,'CONANT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF000','01',40,'CONTABILIZZAZIONE STORNO ANTICIPO /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACF000','01',41,'IMPORTO DA STORNARE DAL CONTO ANTICIPI',2,'IMPSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('ACF000','01',42,'NUMERO DOCUMENTO LIQUIDAZIONE',2,'NUMDLI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ACF000','01',43,'DATA DOCUMENTO LIQUIDAZIONE',2,'DATDLI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ACF000','01',44,'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,'' )
,('ACF000','01',45,'IMPORTO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',0,'',0,0,'' )
,('ACF076','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACF076','01',2,'CODICE CONFERENTE',2,'CODSOC',1,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACF076','01',3,'ANNO ELABORAZIONE',2,'ANNELA',2,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF076','01',4,'ANNO PAGAMENTO',2,'ANNPAG',3,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACF076','01',5,'QUANTITA'' ECCEDENZA',2,'QTAECC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACF076','01',6,'PREZZO A QUINTALE',2,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ACF076','01',7,'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,'' )
,('ACF076','01',8,'NUMERO ANNI',2,'NUMANN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACF076','01',9,'AGGIORNAMENTO CONTABILITA/L.SOCI /S',2,'AGGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACF076','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ACFARP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFARP','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,'' )
,('ACFARP','01',3,'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,'' )
,('ACFARP','01',4,'USI FUTURI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('ACFARP','01',5,'CONFEZIONE',2,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACFARP','01',6,'CODICE COMMENTO FISSO COLLEGATO',2,'CFISSO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACFARP','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,59,59,0,0,'X(59)','',0,'',0,0,'' )
,('ACFFCC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFFCC','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,'' )
,('ACFFCC','01',3,'CODICE CENTRO DI COSTO',3,'CODCEC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACFFCC','01',4,'CODICE CATEGORIA',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ACFFCC','01',5,'COEFFICENTE ORDINARIO',2,'CFFORD',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('ACFFCC','01',6,'COEFFICENTE ANTICIPATO',2,'CFFANT',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('ACFFCC','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ACFI02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFI02','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,'' )
,('ACFI02','01',3,'ANNO VENDEMMIA',2,'ANNVEN',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACFI02','01',4,'ANNO CONTABILE',2,'ANNCON',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ACFI02','01',5,'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,'' )
,('ACFI02','01',6,'QUANTITA'' ECCEDENZA',2,'QTAECC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('ACFI02','01',7,'PREZZO A QUINTALE',2,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,3,'9(5)','99V999',0,'',0,0,'' )
,('ACFI02','01',8,'IMPORTO FINANZIAMENTO',2,'IMPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,2,'9(9)','9(7)V99',0,'',0,0,'' )
,('ACFI02','01',9,'NUMERO ANNI',2,'NUMANN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACFI02','01',10,'AGGIORNATA CRONISTORIA  /S',2,'FLGCRF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACFI02','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACFIRV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFIRV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFIRV','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,'' )
,('ACFIRV','01',4,'VENDITA UVE INTERE',2,'VENINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',5,'VENDITA UVE DIRASPATE',2,'VENDIR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',6,'CONFERIMENTO UVE',2,'CONFER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',7,'DETERMINAZIONE ROD',2,'DETROD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',8,'DETERMINAZIONE VINACCE (SC. IMMEDIATO)',2,'VINIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',9,'DETERMINAZIONE VINACCE (DA SCARICARE)',2,'VINDIF',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
('ACFIRV','01',10,'DETERMINAZIONE MOSTI',2,'DETMOS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',11,'TRASFORMAZIONE MOSTO IN VNF',2,'MOSVNF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',12,'DET. ROD DA VENDITA UVE DIRASPATE',2,'RODDIR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',13,'SCARICO AUTOMATICO VINACCE DA REGISTRO',2,'SCAVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',14,'CARICO AUTOMATICO VINACCE SU SOTTOPROD',2,'CARVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',15,'SCARICO AUTOMATICO FECCIA DA REGISTRO',2,'SCAFEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',16,'CARICO AUTOMATICO FECCIA SU SOTTOPROD',2,'CARFEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',18,'SCARICO VINACCE DA MOSTO',2,'SCAVDM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',19,'PASSAGGIO DA MOSTO IN LITRI A VNF',2,'MLTVNF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',22,'ROD DA MECCANICA',2,'RODMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACFIRV','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,191,191,0,0,'X(191)','',0,'',0,0,'' )
,('ACFM00','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFM00','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,'' )
,('ACFM00','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('ACFM00','01',4,'ULTIMO NUMERO CAMPIONE MATURAZIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ACFM00','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('ACFM01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFM01','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFM01','01',3,'NUMERO CAMPIONE',3,'NUMCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ACFM01','01',4,'CHIAVE PER FONDO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFM01','01',5,'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,'' )
,('ACFM01','01',6,'UVA BASE',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACFM01','01',7,'ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ACFM01','01',8,'LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACFM01','01',9,'ID INTERNO TAG',2,'ID-TAG',0,0,1,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACFM01','01',10,'DATA CAMPIONE',2,'DATCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ACFM01','01',11,'STATO CAMPIONE',2,'FLGSTA',0,0,0,2,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACFM01','01',14,'CODICE STB DOVE E'' STATO INIZIALIZZATO',2,'CODSTB',0,0,0,1,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('ACFM01','01',15,'IDENTIFICATIVO FOSS',2,'ID-FOS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ACFM01','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,129,129,0,0,'X(129)','',0,'',0,0,'' )
,('ACFM02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFM02','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,'' )
,('ACFM02','01',3,'NUMERO CAMPIONE',3,'NUMCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ACFM02','01',4,'DESCRIZIONE VOCE FOSS',3,'DESVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACFM02','01',5,'VALORE VOCE FOSS',2,'VALVOC',0,0,0,0,0,0,0,0,0,0,'',1,1,18,20,5,0,'S9(13)V9(5)','',0,'',0,0,'' )
,('ACFM02','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('ACFOF1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFOF1','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,'' )
,('ACFOF1','01',3,'MAGAZZINO (00=TUTTI)',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACFOF1','01',4,'TIPO FOGLIO',3,'TIPFOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACFOF1','01',7,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACFOF1','01',8,'LEGENDA',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ACFOF1','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('ACFOF2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFOF2','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,'' )
,('ACFOF2','01',3,'TIPO RIGA',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACFOF2','01',7,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACFOF2','01',8,'TESTO RIGA',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ACFOF2','01',9,'NUMERO RIFERIMENTO',2,'NUMRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ACFOF2','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ACFOF3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACFOF3','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,'' )
,('ACFOF3','01',3,'TIPO RIGA',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACFOF3','01',5,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ACFOF3','01',6,'TESTO RIGA',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,126,126,0,0,'X(126)','',0,'',0,0,'' )
,('ACFOF3','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('ACGINS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACGINS','01',2,'TIPO MOVIMENTO GIACENZA (VEDI AGIBOM-01)',2,'TIPMOG',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACGINS','01',3,'CODICE NOTA SCADENZA COLLEGATO',2,'CODNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACGINS','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('ACGRIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACGRIC','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,'' )
,('ACGRIC','01',3,'CODICE RICLASSIFICAZIONE',3,'CODRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACGRIC','01',4,'DESCRIZIONE RICLASSIFICAZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACGRIC','01',5,'INTERVALLO TRA UNA VOCE E L''ALTRA',2,'VOCINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACGRIC','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,300,300,0,0,'X(300)','',0,'',0,0,'' )
,('ACGSTR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACGSTR','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,'' )
,('ACGSTR','01',3,'CODICE RICLASSIFICAZIONE',3,'CODRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ACGSTR','01',4,'CODICE VOCE',3,'CODVOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ACGSTR','01',5,'TIPO VOCE',2,'TIPVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACGSTR','01',8,'DESCRIZIONE (SOLO VOCI DI TIPO 1)',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACGSTR','01',9,'DESCRIZIONE (SOLO VOCI DI TIPO 1)',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ACGSTR','01',10,'SIGLA',2,'SIGVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ACGSTR','01',11,'RIGA FORMULA',2,'RIGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,75,75,0,0,'X(75)','',2,'',0,0,'' )
,('ACGSTR','01',12,'DESCRIZIONE FORMULA',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('ACGSTR','01',13,'CENTRO DI COSTO (SOLO RIGHE TIPO 2)',2,'CENCOS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACGSTR','01',14,'CENTRO DI RICAVO (SOLO RIGHE TIPO 2)',2,'CENRIC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ACGSTR','01',15,'STAMPA S/N (NON USATO)',2,'SNSTAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACGSTR','01',16,'STAMPA SE ZERO S/N (NON USATO)',2,'SNSTZE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACGSTR','01',17,'GRASSETTO S/N',2,'SNEVID',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACGSTR','01',18,'NUMERO CARATTERI INDENTAZIONE',2,'INDENT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,1,0,'9V9','',0,'',0,0,'' )
,('ACGSTR','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ACIQ05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACIQ05','01',2,'NUMERO RIGA',2,'NUMRIG',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACIQ05','01',3,'TESTO RIGA',2,'TESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACIQ05','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACIQ09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACIQ09','01',2,'NUMERO RIGA',2,'NUMRIG',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ACIQ09','01',3,'TESTO RIGA',2,'TESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('ACIQ09','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ACLEDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ACLEDI','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,'' )
,('ACLEDI','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,'' )
,('ACLEDI','01',4,'CODICE UNB',2,'CODUNB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACLEDI','01',5,'DIRECTORY INPUT ORDINI',2,'INPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACLEDI','01',6,'DIRECTORY BACKUP INPUT ORDINI',2,'BCKORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACLEDI','01',7,'MODULO ELABORAZIONE',2,'MODORD',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ACLEDI','01',8,'DIRECTORY OUTPUT CONFERME ORDINE',2,'OUTCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ACLEDI','01',9,'DIRECTORY BACKUP OUTPUT CONFERME ORDINE',2,'BCKCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
go
