INSERT INTO dbo.ZFILE3_01 VALUES
('NBOLLU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLU','01',3,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NBOLLU','01',4,'ASPETTO ESTERIORE DEI BENI',2,'ASPETT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLU','01',5,'NOME AUTISTA',2,'AUTIST',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('NBOLLU','01',6,'NUMERO IMBALLI',2,'IMBALL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NBOLLU','01',7,'FIRMATARIO BOLLA',2,'FIRMAT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLU','01',8,'NUMERO PESATA DI RIFERIMENTO',2,'PESRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NBOLLU','01',9,'TARGA MOTRICE',2,'TARGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NBOLLU','01',10,'TARGA RIMORCHIO',2,'TARGAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NBOLLU','01',11,'LUOGO DI PARTENZA BOLLA',2,'LUOPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLU','01',12,'LUOGO DI ARRIVO BOLLA',2,'LUOARR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLU','01',13,'NUMERO FATTURA',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NBOLLU','01',14,'DATA FATTURA',2,'DTAFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NBOLLU','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLU','01',16,'ANNO',3,'AA-FAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NBOLLU','01',17,'MESE',3,'MM-FAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NBOLLU','01',18,'GIORNO',3,'GG-FAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NBOLLU','01',19,'DURATA DEL TRASPORTO',2,'DURATA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLU','01',20,'NUMERO DDT IN ALTERNATIVA AL NR.FATTURA',2,'NUMDDT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NBOLLU','01',21,'DATI RELATIVI AL TRASPORTO DAA (1)',2,'DATTR1',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('NBOLLU','01',22,'DATI RELATIVI AL TRASPORTO DAA (2)',2,'DATTR2',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('NBOLLU','01',23,'DATI RELATIVI AL TRASPORTO DAA (3)',2,'DATTR3',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('NBOLLU','01',24,'DATI RELATIVI AL TRASPORTO DAA (4)',2,'DATTR4',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('NBOLLU','01',25,'CERTIFICATI DAA (1)',2,'CERTI1',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('NBOLLU','01',26,'CERTIFICATI DAA (2)',2,'CERTI2',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('NBOLLU','01',27,'BLOCCO DICHIARAZIONE PULIZIA CISTERNE',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NBOLLU','01',28,'NUMERO DICHIRAZIONE PULIZIA CISTERNE',2,'NUMDIC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLU','01',29,'PREFISSO',3,'PREDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NBOLLU','01',30,'NUMERO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NBOLLU','01',31,'POSTFISSO',3,'POSDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NBOLLU','01',32,'QUARTA RIGA DESTINATARIO',2,'RIGDES',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('NBOLLU','01',33,'RIFERIMENTO ORDINE CLIENTE',2,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLU','01',34,'DOCUMENTO RIFERIMENTO VUOTI RESI REVINI',2,'RIFVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NBOLLU','01',35,'PESO LORDO',2,'PESLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('NBOLLU','01',36,'PALLET TOTALI BOLLA',2,'PALLET',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NBOLLU','01',37,'BARCODE DOCUMENTALE - ASSEGNATO DA AV2K',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('NBOLLU','01',39,'EFFETTUATO INVIO EDI /S',2,'EXTEDI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',40,'DAA TELEMATICO',2,'DAATEL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLU','01',41,'DAA TELEMATICO (S/N)',3,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',42,'NOME FILE CREATO (PERCORSO COMPLETO)',3,'FILNAM',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('NBOLLU','01',43,'NUMERO GIORNI DURATA VIAGGIO',3,'GG-TRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NBOLLU','01',44,'RESPONSABILE TRASPORTO (T016 AG. DOGANE)',3,'CDT016',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',45,'DAA DIFFERITO (S/ ) TELEMATIZZATO DOPO',3,'FLDIFF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',46,'NUMERO ARC ASSEGNATO DA AG.DOGANE',3,'NUMARC',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('NBOLLU','01',47,'NOME FLUSSO',3,'NOMFLU',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('NBOLLU','01',48,'DATA TRASMISSIONE FLUSSO',3,'DTATRA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NBOLLU','01',50,'NUMERO DI RIFERIMENTO LOCALE',3,'RIFLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('NBOLLU','01',51,'UFFICIO DOGANA DI ESPORTAZIONE',3,'UFFDOG',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NBOLLU','01',52,'OLD FILE ASSEGNATO DA SITO DOGANE*******',3,'OLDFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NBOLLU','01',53,'RIFERIMENTO - SECONDO CAMPO',2,'RIFOR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLU','01',54,'PALLETT TOTALI BOLLA DI TIPO FULL',2,'PALLFF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('NBOLLU','01',55,'PALLETT TOTALI BOLLA DI TIPO FULL LIGHT',2,'PALLFL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('NBOLLU','01',56,'PALLETT TOTALI BOLLA DI TIPO HALF',2,'PALLHH',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('NBOLLU','01',57,'PALLETT TOTALI BOLLA DI TIPO QUARTER',2,'PALLQQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('NBOLLU','01',58,'PALLETT TOTALI BOLLA DI TIPO MINIQUARTER',2,'PALLMQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('NBOLLU','01',59,'SOGGETTO ADDEBITO SPESE INCASSO (S/N)',2,'SPEINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',60,'SOGGETTO ADDEBITO CAUZIONI VUOTI (S/N)',2,'SOGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',61,'SOGGETTO ADDEBITO BOLLO CAUZIONI (S/N)',2,'BOLCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',62,'TIPO MSG E-AD T014 (SOLO ESPORTAZIONE)',2,'CDT014',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('NBOLLU','01',63,'DATA RICEZIONE ARC',2,'DTAARC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NBOLLU','01',64,'DATA STAMPA PROCEDURA DI RISERVA',2,'DTARIS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NBOLLU','01',65,'TOTALE LITRI',2,'TOTLIT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,3,0,'9(7)V9(3)','',0,'',0,0,'' )
,('NBOLLU','01',66,'BARCOCDE DOCUMENTALE - LETTO IN AV2K',2,'BARLET',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('NBOLLU','01',68,'NOME FILE CREATO PER VALDO (058)',2,'FILVDO',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('NBOLLU','01',69,'FLAG INVIO MVV',2,'INVMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',73,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NBOLLU','01',74,'NUMERO ORDINE (B-MALERA)',2,'NOR072',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NBOLLU','01',75,'DATA ORDINE (B-MALERA)',2,'DOR072',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NBOLLU','01',76,'OGGETTO MAIL CONVALIDA MVV',2,'OGGMVV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLU','01',77,'RIGA OGGETTO MAIL CONVALIDA MVV 128 CHAR',3,'RGOMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',4,'',0,0,'' )
,('NBOLLU','01',78,'REDEFINES PER UTILIZZO CON BROWSER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLU','01',79,'ELEMENTI OGGETTO MVV DA 64 CARATTERI',3,'ROGMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,64,64,0,0,'X(64)','',8,'',0,0,'' )
,('NBOLLU','01',80,'INDIRIZZO DI INVIO MAIL DI CONVALIDA',2,'DESMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('NBOLLU','01',81,'DATA INVIO PEC MVV',2,'DATPEC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NBOLLU','01',82,'NUOVO CODICE FILE DOGANE DAL 13-6-2016',2,'CODFIL',0,0,0,0,0,0,0,0,0,0,'',1,0,18,18,0,0,'9(18)','',0,'',0,0,'' )
,('NBOLLU','01',83,'CODICE AUTISTA',2,'CODAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NBOLLU','01',84,'DATA ARRIVO CORRIERE',2,'DTAACO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NBOLLU','01',85,'DATA ARRIVO CORRIERE',2,'ORAACO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NBOLLU','01',86,'DATA PARTENZA CORRIERE',2,'DTAPCO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NBOLLU','01',87,'ORA PARTENZA CORRIERE',2,'ORAPCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NBOLLU','01',88,'COGNOME AUTISTA',2,'COGAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLU','01',89,'FLAG ARTICOLO 33 MVV-E (X)',2,'FART33',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',90,'FLAG ARTICOLO 29 MVV-E (X)',2,'FART29',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLU','01',91,'EMAIL AUTISTA',2,'MAILAU',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('NBOLLU','01',92,'CELLULARE AUTISTA',2,'CELLAU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLU','01',93,'PREFISSO',3,'PRECAU',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NBOLLU','01',94,'NUMERO',3,'NUMCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('NBOLLU','01',95,'NOME PDF ARCHIVIATO DA RTHTTP',2,'DOCNAM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLV','01',3,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NBOLLV','01',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NBOLLV','01',9,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NBOLLV','01',10,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NBOLLV','01',11,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NBOLLV','01',12,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NBOLLV','01',13,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NBOLLV','01',14,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NBOLLV','01',15,'VECCHIO CODICE ACCISA -> ABOLLV-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NBOLLV','01',16,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NBOLLV','01',17,'ISCRIZIONE ALBO',2,'ISCALB',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NBOLLV','01',18,'TIPO DESTINAZIONE (T015 AG. DOGANE)',2,'CDT015',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLV','01',19,'EX UFFDES (DOGANA USCITA CEE)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NBOLLV','01',20,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('NBOLLV','01',21,'CODICE ICQRF',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NBOLLV','01',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('NBOLLZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLZ','01',3,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'ABOLL1',1,1,'' )
,('NBOLLZ','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NBOLLZ','01',5,'NUMERO COMPONENTE RIGA (CONF. MISTE)',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NBOLLZ','01',6,'TIPO RIGA (M/D/I/V)',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',7,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLZ','01',8,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('NBOLLZ','01',9,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NBOLLZ','01',10,'RIGA CONTRATTO',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NBOLLZ','01',11,'RIGA ORDINE',2,'RIGORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NBOLLZ','01',12,'RECORD UGUALE A QUELLO DI LBOLL4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLZ','01',13,'FLAG CONFEZIONE MISTA ( /1/2)',3,'FLGCFM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',18,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLZ','01',19,'DESCRIZIONE CAMPIONE PER DOCO',3,'CAMPIO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLZ','01',20,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('NBOLLZ','01',21,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'ATBACZ',1,1,'' )
,('NBOLLZ','01',22,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',23,'QUANTITA RIGA (VENDITA + OMAGGI)',3,'QTABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',24,'QUANTITA VENDITA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',25,'QUANTITA OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',26,'QUANTITA'' PERDITE DI TRASPORTO',3,'QTAPRT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',27,'QUANTITA'' KG PER DOCO',3,'QTAKGR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',28,'TIPO PREZZO PER DOCO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',31,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',43,'PREZZO UNITARIO CONFEZIONE MISTA',3,'PRZCFM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',51,'PREZZO COMPONENTE CONFEZIONE MISTA',3,'PRZCMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',54,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLZ','01',55,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('NBOLLZ','01',56,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',57,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NBOLLZ','01',58,'PROVVIGIONE AGENTE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NBOLLZ','01',59,'PESO LORDO KG',3,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',60,'PESO TARA KG',3,'PTARAA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',61,'PESO NETTO KG',3,'PNETTO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',62,'NUMERO PALLETS',3,'PALLET',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',63,'FLAG CREAZIONE VUOTI ( /N)',3,'FLGVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',64,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'ATBACC',1,1,'' )
,('NBOLLZ','01',65,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NBOLLZ','01',66,'PROVENIENZA',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',69,'GRADO XAB',3,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NBOLLZ','01',70,'TAB.MANIPOLAZIONI O COMBINAZIONE MANIP.',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'ATBAMI',1,1,'' )
,('NBOLLZ','01',71,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLZ','01',72,'MANIPOLAZIONI',4,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('NBOLLZ','01',73,'GRADO EFFETTIVO DOCO',3,'GRAEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,5,0,'99V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',74,'GRADO TOTALE DOCO',3,'GRATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,5,0,'99V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',75,'MASSA VOLUMICA DOCO',3,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,5,0,'99V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',76,'GRADO NOSTRO DOCO',3,'GRADON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,5,0,'99V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',77,'GRADO LORO DOCO',3,'GRADOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,5,0,'99V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',78,'GRADO CONCORDATO DOCO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,5,0,'99V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',79,'ZONA VITICOLA DOCO',3,'ZONVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NBOLLZ','01',80,'TIPO CONFEZIONE MISTA (C/X)',3,'TIPCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',81,'CAUSALE SCONTO MERCE (ENTRO CANVASS S/N)',3,'FLGCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NBOLLZ','01',82,'TIPO AGGIORNAMENTO COMMERC/VINIF',3,'TIPAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',85,'RAGRUPPAMENTO VINIFICAZIONE',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NBOLLZ','01',86,'CODICE REGISTRO DI VINIFICAZIONE',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NBOLLZ','01',87,'NUMERO MOVIMENTO VINIFICAZIONE',3,'NUMVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NBOLLZ','01',88,'QTA TAGLIO SFUSI',3,'QTATAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('NBOLLZ','01',89,'NUMERO INTERNO IDONEITA'' USATA',3,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',90,'CAMPI RIGA SOLO IMPORTO',3,'RIGAII',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLZ','01',91,'IMPORTO',4,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',92,'QUANTITA'' PER CALCOLO IMPORTO',4,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,5,0,'S9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',93,'PREZZO PER CALCOLO IMPORTO',4,'PREIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,5,0,'S9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',94,'CAMPI RIGA VUOTI',3,'RIFAVV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NBOLLZ','01',95,'VUOTI CONSEGNATI',4,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',96,'VUOTI CONSEGNATI FRANCO ARRIVO',4,'QTACFA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',97,'VUOTI RESI',4,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NBOLLZ','01',98,'RAGRUPPAMENTO VINIFICAZIONE ALFANUMERICO',3,'CODRAX',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NBOLLZ','01',99,'N. MOVIMENTO VINIFICAZIONE CARICO',3,'NUMVI2',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NBOLLZ','01',100,'CONTRASSEGNO FISCALE (E-AD) PRIMA PARTE',3,'CONFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLZ','01',101,'ESCLUSO DA CONTEGGIO SCONTO PAGAMENTO',3,'FLGSCP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',102,'CODICE MANIPOLAZIONI COMMERCIALIZZAZIONE',3,'MANCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'ATBAMI',2,1,'' )
,('NBOLLZ','01',103,'NUMERO PESATA (DOCO)',3,'NUMPES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NBOLLZ','01',104,'NOME AUTISTA PER STAMPA BUONI PALETTE',3,'BPTAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NBOLLZ','01',105,'NUMERO RIMORCHIO PER ST. BUONI PALETTE',3,'BPTRIM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NBOLLZ','01',106,'NUMERO PROTOCOLLO IDONEITA''',3,'NRPIDO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NBOLLZ','01',107,'DATA PROTOCOLLO IDONEITA''',3,'DTAIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NBOLLZ','01',108,'PROGRESSIVO DETTAGLIO E-AD (Nr.RIGA)',3,'RIGDAA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NBOLLZ','01',109,'SECONDA RIGA CONTRASSEGNI FISCALI EAD',3,'CONFI2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NBOLLZ','01',110,'NUMERO MOVIMENTO VINIFIC. SCARICO RASPI',3,'NUMVRA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NBOLLZ','01',111,'NUMERO MOVIMENTO VINIFIC. CARICO RASPI',3,'NUMVR2',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NBOLLZ','01',112,'PROVVIGIONE A PEZZO AGENTE',3,'PPPAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('NBOLLZ','01',113,'PROVVIGIONE A PEZZO CAPO AREA',3,'PPPACA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('NBOLLZ','01',114,'SECONDA ZONA VITICOLA (SOAVE)',3,'ZONVI2',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NBOLLZ','01',115,'PRODOTTO IMPOSTATO IN AUTO (S) BELCORVO',3,'PRDAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',116,'NON AGGIORNA REGISTRO UNICO (X)',3,'NOAGRU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',117,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NBOLLZ','01',118,'CODICE CARTONE DA CARTONARE',3,'CARCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NBOLLZ','01',119,'ID PRODOTTO REG.VIT. ARTICOLI NO LOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('NBOLLZ','01',120,'ID PRODOTTO REG.VIT.MOV.IMBOTTIGLIAMENTO',3,'IDPROI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('NBOLLZ','01',121,'GRADO BABO UVE',3,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NBOLLZ','01',122,'QUANTITA'' RASPI UVE DIRASPATE',3,'QTARAS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NCDVA0','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
('NCDVA0','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVA0','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,'' )
,('NCDVA0','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,'' )
,('NCDVA0','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,'' )
,('NCDVA0','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,'' )
,('NCDVA0','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,'' )
,('NCDVA0','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,'' )
,('NCDVA0','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,'' )
,('NCDVA9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVA9','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVA9','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,'' )
,('NCDVA9','01',4,'PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVA9','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,'' )
,('NCDVA9','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,'' )
,('NCDVA9','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,'' )
,('NCDVC1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVC1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVC1','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,'' )
,('NCDVC1','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,'' )
,('NCDVC1','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,'' )
,('NCDVL0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVL0','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVL0','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,'' )
,('NCDVL0','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,'' )
,('NCDVL0','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,'' )
,('NCDVL0','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,'' )
,('NCDVL0','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,'' )
,('NCDVL0','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,'' )
,('NCDVL9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVL9','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVL9','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,'' )
,('NCDVL9','01',4,'PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVL9','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,'' )
,('NCDVL9','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,'' )
,('NCDVL9','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,'' )
,('NCDVM4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVM4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVM4','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,'' )
,('NCDVM4','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVM4','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,'' )
,('NCDVM4','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,'' )
,('NCDVM4','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,'' )
,('NCDVM4','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,'' )
,('NCDVM5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVM5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVM5','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,'' )
,('NCDVM5','01',4,'PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVM5','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,'' )
,('NCDVM5','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,'' )
,('NCDVM5','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,'' )
,('NCDVM5','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,'' )
,('NCDVMW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVMW','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVMW','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,'' )
,('NCDVMW','01',4,'PRODOTTO',3,'CODPRO',0,1,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVMW','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,'' )
,('NCDVMW','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,'' )
,('NCDVMW','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,'' )
,('NCDVMW','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,'' )
,('NCDVMW','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,'' )
,('NCDVNA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVNA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVNA','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,'' )
,('NCDVNA','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,'' )
,('NCDVNA','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,'' )
,('NCDVNA','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,'' )
,('NCDVNA','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,'' )
,('NCDVNA','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,'' )
,('NCDVNB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVNB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVNB','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,'' )
,('NCDVNB','01',4,'PRODOTTO',3,'CODPRO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVNB','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,'' )
,('NCDVP4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVP4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVP4','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,'' )
,('NCDVP4','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,'' )
,('NCDVP4','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,'' )
,('NCDVP6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVP6','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVP6','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,'' )
,('NCDVP6','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,'' )
,('NCDVP6','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NCDVP6','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,'' )
,('NCDVP7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVP7','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVP7','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,'' )
,('NCDVP7','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,'' )
,('NCDVP7','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,'' )
,('NCDVPT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVPT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVPT','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,'' )
,('NCDVPT','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,'' )
,('NCDVPT','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,'' )
,('NCDVPT','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,'' )
,('NCDVPT','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,'' )
,('NCDVPU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVPU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVPU','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,'' )
,('NCDVPU','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,'' )
,('NCDVPU','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,'' )
,('NCDVPU','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,'' )
,('NCDVPU','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,'' )
,('NCDVR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVR2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVR2','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,'' )
,('NCDVR2','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,'' )
,('NCDVR2','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,'' )
,('NCDVR2','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,'' )
,('NCDVR2','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,'' )
,('NCDVR2','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,'' )
,('NCDVS5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVS5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVS5','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,'' )
,('NCDVS5','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,'' )
,('NCDVS5','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,'' )
,('NCDVS5','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,'' )
,('NCDVS5','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,'' )
,('NCDVSF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVSF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVSF','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,'' )
,('NCDVSF','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,'' )
,('NCDVSF','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,'' )
,('NCDVSF','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,'' )
,('NCDVSF','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,'' )
,('NCDVSF','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,'' )
,('NCDVSF','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,'' )
,('NCDVSV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVSV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVSV','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,'' )
,('NCDVSV','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,'' )
,('NCDVSV','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,'' )
,('NCDVSV','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,'' )
,('NCDVSV','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,'' )
,('NCDVSV','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,'' )
,('NCDVSZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVSZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCDVSZ','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,'' )
,('NCDVSZ','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,'' )
,('NCDVSZ','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,'' )
,('NCDVSZ','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,'' )
,('NCDVSZ','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,'' )
,('NCDVSZ','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,'' )
,('NCDVSZ','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,'' )
,('NCONS1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONS1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONS1','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NCONS1','01',4,'DESCRIZIONE ARTICOLO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NCONS1','01',5,'GESTITO AD ANNATE',2,'FLGANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONS1','01',6,'GESTITO A LOTTI',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONS1','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,148,148,0,0,'X(148)','',0,'',0,0,'' )
,('NCONS3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONS3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONS3','01',3,'CODICE PORTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NCONS3','01',4,'DESCRIZIONE ARTICOLO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NCONS3','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,147,147,0,0,'X(147)','',0,'',0,0,'' )
,('NCONT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT1','01',2,'CHIAVE ANNO+CLIFOR+ARTICOLO+NUMERO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT1','01',3,'ANNO CONTRATTO',3,'ANNOCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NCONT1','01',4,'CHIAVE CLIENTE+ARTICOLO+NUMERO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT1','01',5,'CODICE CLIENTE',4,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('NCONT1','01',6,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT1','01',7,'NUMERO INTERNO CONTRATTO',5,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NCONT1','01',8,'CAUSALE CONTRATTO',2,'CAUCON',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'ATBAKC',1,1,'' )
,('NCONT1','01',9,'DATA CONTRATTO',2,'DTACON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NCONT1','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,'' )
,('NCONT1','01',11,'ANNO CONTRATTO',3,'AA-CON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NCONT1','01',12,'MESE CONTRATTO',3,'MM-CON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NCONT1','01',13,'GIORNO CONTRATTO',3,'GG-CON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NCONT1','01',14,'DATA INIZIO FORNITURA',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NCONT1','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,'' )
,('NCONT1','01',16,'ANNO INIZIO',3,'AA-INI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NCONT1','01',17,'MESE INIZIO',3,'MM-INI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NCONT1','01',18,'GIORNO INIZIO',3,'GG-INI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NCONT1','01',19,'DATA FINE FORNITURA',2,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NCONT1','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,'' )
,('NCONT1','01',21,'ANNO FINE',3,'AA-FIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NCONT1','01',22,'MESE FINE',3,'MM-FIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NCONT1','01',23,'GIORNO FINE',3,'GG-FIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NCONT1','01',24,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMA',1,1,'' )
,('NCONT1','01',25,'DESTINATARIO',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NCONT1','01',26,'QUARTA RIGA DESTINATARIO',2,'RIGDES',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NCONT1','01',27,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBAAG',1,1,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NCONT1','01',28,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('NCONT1','01',29,'DESCRIZIONE PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('NCONT1','01',30,'NUMERO MOVIMENTO DI MAGAZZINO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('NCONT1','01',31,'CAUSALE BOLLA',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'ATBADC',1,1,'' )
,('NCONT1','01',32,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAPO',1,1,'' )
,('NCONT1','01',33,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('NCONT1','01',34,'CODICE BANCA INTERNA AZIENDALE',2,'BANAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NCONT2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT2','01',3,'NUMERO INTERNO CONTRATTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'ACONT1',1,1,'' )
,('NCONT2','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NCONT2','01',5,'RECORD UGUALE A QUELLO DI LCONT2',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT2','01',6,'PRODOTTO',3,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT2','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,'AARTI1',1,1,'' )
,('NCONT2','01',8,'ANNATA ARTICOLO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NCONT2','01',9,'QUANTITA'' IMPEGNATA',3,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('NCONT2','01',10,'QUANTITA'' ORDINATA',3,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('NCONT2','01',11,'QUANTITA'' EVASA CON BOLLA',3,'QTABOL',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('NCONT2','01',12,'GRADO IMPEGNATO',3,'GRAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('NCONT2','01',13,'TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONT2','01',16,'PREZZO IMPEGNATO',3,'PRZIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('NCONT2','01',17,'PREZZO FRANCO PARTENZA',3,'PREZFP',0,0,0,0,0,0,0,0,0,0,'S',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('NCONT2','01',18,'PREZZO IMPEGNATO FATTURA CONSORZIO',3,'PRZCON',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('NCONT2','01',19,'PREZZO FRANCO ARRIVO',3,'PREZFA',0,0,0,0,0,0,0,0,0,0,'S',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('NCONT2','01',20,'TAB.MANIPOLAZIONI O COMBINAZIONE MANIP.',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NCONT2','01',21,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT2','01',22,'MANIPOLAZIONI',4,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('NCONT2','01',23,'PROVVIGIONE',3,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NCONT2','01',24,'CAMPIONE',3,'CAMPIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NCONT2','01',25,'LABORATORIO ANALISI',3,'LABANA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',2,'',0,0,'' )
,('NCONT2','01',26,'SCONTI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT2','01',27,'SCONTO',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',4,'',0,0,'' )
,('NCONT2','01',28,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NCONT2','01',29,'QUANTITA'' EVASA',3,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('NCONT2','01',30,'RIGA CONGELATA (S)',3,'FLGEVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONT2','01',31,'PREZZO IMPEGNATO IN EURO',3,'PRZIME',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,5,0,'999V9(5) COMP-3','',0,'',0,0,'' )
,('NCONT2','01',32,'PREZZO IMPEGNATO CONSORZIO IN EURO',3,'PRZCOE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,5,0,'999V9(5) COMP-3','',0,'',0,0,'' )
,('NCONT2','01',33,'QUANTITA'' OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NCONT2','01',34,'RAGRUPPAMENTO VINIFICAZIONE',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NCONT2','01',35,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NCONT2','01',36,'CODICE CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NCONT2','01',37,'PROVVIGIONE A PEZZO AGENTE',3,'PPPAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('NCONT2','01',38,'PROVVIGIONE A PEZZO CAPO AREA (FUTURO)',3,'PPPACA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('NCONT2','01',39,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('NCONT2','01',40,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('NCONT3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT3','01',3,'NUMERO INTERNO CONTRATTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NCONT3','01',4,'RIGA BOLLA DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NCONT3','01',6,'TIPO COMMENTO',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NCONT3','01',11,'RIGA COMMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NCONT3','01',12,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('NCONT3','01',13,'RIPORTA IN CONTRATTO N/',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONT3','01',14,'RIPORTA IN ORDINE N/',2,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONT3','01',15,'RIPORTA IN BOLLA N/',2,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONT3','01',16,'RIPORTA IN FATTURA N/',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONT3','01',17,'GENERA COMMENTO IN MAG E COMM /S',2,'FLGMEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONT5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT5','01',3,'NUMERO INTERNO CONTRATTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NCONT5','01',4,'TRIANGOLARE',2,'CODTRN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NCONT5','01',5,'SECONDA CAUSALE BOLLA',2,'CAUBO2',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NCONT5','01',6,'TERZA CAUSALE BOLLA',2,'CAUBO3',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NCONT5','01',7,'QUARTA CAUSALE BOLLA',2,'CAUBO4',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NCONT5','01',8,'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,'' )
,('NCONT5','01',9,'CODICE LUOGO DI CONSEGNA',2,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NCONT5','01',10,'DESC. AGGIUNTIVA RITIRO (ALLA GROTTA)',2,'DESRIT',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('NCONT5','01',11,'COSTO TRASPORTO PER SPEDIZIONE',2,'COTRSP',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('NCONT5','01',12,'COSTO TRASPORTO PER LITRO',2,'COTRLT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,4,0,'9(7)V9(4)','',0,'',0,0,'' )
,('NCONT5','01',13,'RIFERIMENTO (DELL''AGENTE SE SI VUOLE)',2,'DESRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NCONT5','01',14,'BARCODE DOCUMENTALE - ASSEGNATO DA AV2K',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('NCONT5','01',16,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NCONT5','01',17,'RICALCOLA CDV IN ORDINI/BOLLE',2,'RICCDV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCONT5','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NCONT6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT6','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT6','01',3,'NUMERO INTERNO CONTRATTO',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NCONT6','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NCONT6','01',5,'RECORD UGUALE A QUELLO DI LCONT6',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT6','01',6,'DESCRIZIONI',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCONT6','01',7,'DESCRIZIONI PREZZO',4,'DESPRZ',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',4,'',0,0,'' )
,('NCONT6','01',8,'DESCRIZIONI GRADO',4,'DESGRD',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',4,'',0,0,'' )
,('NCONT6','01',9,'DESCRIZIONI QUANTITA''',4,'DESQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',4,'',0,0,'' )
,('NCONT6','01',10,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',0,'',0,0,'' )
,('NCOSVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCOSVA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCOSVA','01',3,'CODICE MAGAZZINO (ZERO = TUTTI)',3,'CODMAG',0,1,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NCOSVA','01',4,'DATA FINE VALIDITA'' (ZERO = NESSUNA)',3,'DTAFIN',0,3,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NCOSVA','01',5,'DATA INIZIO VALIDITA'' (ZERO = NESSUNA)',3,'DTAINI',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NCOSVA','01',6,'PRODOTTO',3,'PRODOT',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NCOSVA','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,'' )
,('NCOSVA','01',8,'ANNATA (ZERO = TUTTE)',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NCOSVA','01',9,'COSTO STANDARD',2,'COSSTD',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('NCOSVA','01',10,'COSTO VALORIZZAZIONE RIMANENZE',2,'VALRIM',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('NCOSVA','01',11,'ZERO VALIDO COSTO STANDARD /S',2,'ZERSTD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCOSVA','01',12,'ZERO VALIDO VALORIZZAZIONE RIMANENZE /S',2,'ZERRIM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NCOSVA','01',13,'PERCENTUALE RITOCCO PREZZI',2,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('NCOSVA','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('NDICRF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NDICRF','01',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
('NDICRF','01',3,'CODICE 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,'' )
,('NDICRF','01',4,'DICITURA',2,'DICRFI',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',5,'',0,0,'' )
,('NDICRF','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,0,0,0,0,'X(1000)','',0,'',0,0,'' )
,('NFATTU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NFATTU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NFATTU','01',3,'NUMERO INTERNO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AFATT1',1,1,'' )
,('NFATTU','01',4,'PROVVIGIONI CAPI AREA ESTRATTE (S)',2,'EXTPRC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NFATTU','01',5,'EFFETTUATO INVIO EDI /S',2,'EXTEDI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NFATTU','01',6,'PROVVIGIONI SUPER CAPI AREA ESTRATTE (S)',2,'EXTPRS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NFATTU','01',7,'RIFERIMENTO ORDINE CLIENTE',2,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NFATTU','01',8,'RIFERIMENTO VUOTI',2,'RIFVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NFATTU','01',9,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NFATTU','01',10,'CODICE BANCA INTERNA AZIENDALE',2,'BANAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ABANAZ',1,1,'' )
,('NFATTU','01',11,'PESO LORDO',2,'PESLOR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('NFATTU','01',12,'CODICE A BARRE PER DOCUMENTALE',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('NFATTU','01',13,'TIPO BOLLA PER FATTURE ACCOMPAGNATORIE',2,'TIPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NFATTU','01',16,'CODICE LUOGO DI CONSEGNA PER IND.SPED.F.',2,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NFATTU','01',17,'DATA INVIO FATTURA VIA MAIL',2,'DTMAIL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NFATTU','01',18,'RIFERIMENTO - SECONDO CAMPO',2,'RIFOR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NFATTU','01',19,'SOGGETTO ADDEBITO SPESE INCASSO (S/N)',2,'SPEINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NFATTU','01',20,'SOGGETTO ADDEBITO CAUZIONI VUOTI (S/N)',2,'SOGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NFATTU','01',21,'SOGGETTO ADDEBITO BOLLO CAUZIONI (S/N)',2,'BOLCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NFATTU','01',22,'DATA ULTIMA CREAZIONE FILE PER P.A.',2,'DATAPA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NFATTU','01',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('NFCPV0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NFCPV0','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NFCPV0','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,'' )
,('NFCPV0','01',4,'TIPO FIDELITY CARD',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NFCPV0','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,154,154,0,0,'X(154)','',0,'',0,0,'' )
,('NFCPV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NFCPV1','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NFCPV1','01',3,'NUMERO (BARCODE FORMULARIO)',3,'NUMERO',1,2,3,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('NFCPV1','01',4,'TIPO FIDELITY CARD',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NFCPV1','01',5,'CODICE FIDELITY CARD',2,'COD-FC',0,1,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NFCPV1','01',6,'TIPO ANAGRAFICA (N/C)',2,'FLAGSN',0,0,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NFCPV1','01',7,'CODICE CLIENTE/NOMINATIVO',2,'CODICE',0,0,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NFCPV1','01',8,'MAGAZZINO DI REGISTRAZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NFCPV1','01',9,'FLAG CARD DISATTIVATA/OBSOLETA',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NFCPV1','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,114,114,0,0,'X(114)','',0,'',0,0,'' )
,('NICOLA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NICOLA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NICOLA','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,'' )
,('NICOLA','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,'' )
,('NICOLA','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,'' )
,('NICOLA','01',6,'PRODOTTO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NICOLA','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,'' )
,('NICOLA','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,'' )
,('NICOLA','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,'' )
,('NICOLA','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,'' )
,('NICOLA','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,'' )
,('NICOLA','01',12,'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,'' )
,('NICOLA','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,'' )
,('NLIPV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NLIPV1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NLIPV1','01',3,'CODICE ARTICOLO PUNTO VENDITA',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NLIPV1','01',4,'PREZZO NOMINATIVI',2,'PRZNOM',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,5,0,'S9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('NLIPV1','01',5,'PREZZO SOCI',2,'PRZSOC',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,5,0,'S9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('NLIPV2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NLIPV2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NLIPV2','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,'' )
,('NLIPV2','01',4,'CODICE ARTICOLO PUNTO VENDITA',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NLIPV2','01',5,'PREZZO NOMINATIVI',2,'PRZNOM',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,5,0,'S9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('NLIPV2','01',6,'PREZZO SOCI',2,'PRZSOC',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,5,0,'S9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('NLIPV2','01',7,'VISUA IN HELP ANCHE SE NO PREZZI',2,'FLGHLP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NLIPV2','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,'' )
,('NLIPV3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NLIPV3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NLIPV3','01',3,'CODICE ARTICOLO PUNTO VENDITA',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NLIPV3','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,'' )
,('NLIPV3','01',5,'PREZZO NOMINATIVI',2,'PRZNOM',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,'' )
,('NLIPV3','01',6,'PREZZO SOCI',2,'PRZSOC',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,'' )
,('NLIPV3','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,'' )
,('NLISO5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NLISO5','01',2,'CODICE SOCIO',2,'CODICE',1,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NLISO5','01',3,'TIPO RECORD',2,'TIPREC',2,4,1,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NLISO5','01',18,'DATA MOVIMENTO',2,'DATMOV',3,2,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NLISO5','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,'' )
,('NLISO5','01',20,'ANNO MOVIMENTO',3,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NLISO5','01',21,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NLISO5','01',22,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NLISO5','01',23,'CODICE CAUSALE',2,'CODCAU',4,3,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NLISO5','01',24,'NUMERO QUOTE',2,'NUMQUO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('NLISO5','01',25,'PREZZO QUOTA',2,'PREQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('NLISO5','01',26,'IMPORTO SOTTOSCRITTO',2,'IMPSOT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('NLISO5','01',27,'IMPORTO VERSATO',2,'IMPVER',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('NLISO5','01',28,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('NLISO5','01',29,'IMPORTO MOVIMENTO',2,'IMPMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,2,'S9(11)','S9(9)V99',0,'',0,0,'' )
,('NLISO5','01',30,'ANNO CONFERIMENTO',2,'AAACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NLISO5','01',31,'QUINTALI CONFERITI',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('NLISO5','01',32,'IMPORTO DARE',2,'IMPDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,2,'9(12)','9(10)V99',0,'',0,0,'' )
,('NLISO5','01',33,'IMPORTO AVERE',2,'IMPAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,2,'9(12)','9(10)V99',0,'',0,0,'' )
,('NLISO5','01',34,'ETTARI',2,'ETTARI',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('NLISO5','01',35,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NLISO5','01',38,'IMPORTO PER QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('NLISO5','01',39,'ETTARI CRONISTORIA',2,'ETTCRO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,4,0,'S9(4)V9(4)','',0,'',0,0,'' )
,('NLISO5','01',40,'ANNO CRONISTORIA ETTARI',2,'AAETCR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NLISO5','01',41,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,188,188,0,0,'X(188)','',0,'',0,0,'' )
,('NNOMP2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NNOMP2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NNOMP2','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NNOMP2','01',4,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('NNOMP2','01',5,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NNOMP2','01',6,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NNOMP2','01',7,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NNOMP2','01',8,'SESSO (F/M)',2,'FSESSO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NNOMP2','01',9,'DATA DI NASCITA',2,'DTANAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NNOMP2','01',10,'CODICE SOCIO PER NOMINATIVI COLLIS',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NNOMP2','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,84,84,0,0,'X(84)','',0,'',0,0,'' )
,('NNOMPM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NNOMPM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NNOMPM','01',3,'CODICE',3,'CODICE',1,2,3,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NNOMPM','01',4,'CODICE MAGAZZINO',2,'CODMAG',0,1,1,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NNOMPM','01',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,2,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NNOMPM','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('NNOMPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NNOMPV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NNOMPV','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NNOMPV','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NNOMPV','01',5,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NNOMPV','01',6,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NNOMPV','01',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NNOMPV','01',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NNOMPV','01',9,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NNOMPV','01',10,'NUMERO DI TARGA AUTOMEZZO',2,'NUMTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NNOMPV','01',11,'LUOGO ARRIVO BOLLA',2,'ARRBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NNOMPV','01',12,'DATA PRIMO ACQUISTO',2,'PRIACQ',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NNOMPV','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,'' )
,('NNOMPV','01',14,'ANNO PRIMO ACQUISTO',3,'AAAPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NNOMPV','01',15,'MESE PRIMO ACQUISTO',3,'MMMPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NNOMPV','01',16,'GIORNO PRIMO ACQUISTO',3,'GGGPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NNOMPV','01',17,'DATA ULTIMO ACQUISTO',2,'ULTACQ',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NNOMPV','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,'' )
,('NNOMPV','01',19,'ANNO ULTIMO ACQUISTO',3,'AAAULT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NNOMPV','01',20,'MESE ULTIMO ACQUISTO',3,'MMMULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NNOMPV','01',21,'GIORNO ULTIMO ACQUISTO',3,'GGGULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NNOMPV','01',22,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NNOMPV','01',23,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NNOMPV','01',24,'TIPO NOMINATIVO CONVENZIONATO',2,'TIPNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('NNOMPV','01',25,'CODICE LOTTERIA SCONTRINI',2,'CHECUL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPARSP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPARSP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPARSP','01',3,'MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPARSP','01',4,'CAUSALE ORDINE TRASFERIMENTO',2,'CAUORD',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPARSP','01',5,'MAGAZZINO PARTENZA ORDINE TRASFERIMENTO',2,'MAGPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPARSP','01',6,'CODICE CLIENTE ORDINE TRASFERIMENTO',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPARSP','01',7,'UTENTE PER INVIO MESSAGGIO ORDINE CREATO',2,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',3,'',0,0,'' )
,('NPARSP','01',8,'AGENTE DA IMPOSTARE SUGLI ORDINI',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NPARSP','01',9,'STAMPANTE STAMPA IMMEDIATA ORDINI CREATI',2,'CODSTP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPARSP','01',10,'LISTINO CLIENTE NUMERATO ATTIVO (S/N)',2,'FLISCL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPARSP','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,75,75,0,0,'X(75)','',0,'',0,0,'' )
,('NPAZAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZAC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZAC','01',3,'TIPO RECORD = "AC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NPAZAC','01',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZAC','01',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZAC','01',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'X' )
,('NPAZAC','01',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NPAZAC','01',9,'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,'' )
,('NPAZAC','01',10,'ATTRIBUTO OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZAC','01',12,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZAC','01',14,'CODICE GRAFICA MODULI LASER',2,'CODGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZAC','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,294,294,0,0,'X(294)','',0,'',0,0,'' )
,('NPAZCF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZCF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZCF','01',3,'TIPO RECORD = "CF"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZCF','01',4,'CODICE COMMENTO FISSO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NPAZCF','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZCF','01',6,'ELEMENTO COMMENTO',2,'RAREAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',4,'',0,0,'' )
,('NPAZCF','01',7,'RIGA COMMENTO',3,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NPAZCF','01',8,'RIPORTA IN BOLLA  /N',3,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZCF','01',9,'RIPORTA IN FATTURA  /N',3,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZCF','01',10,'RIPORTA IN ORDINE  /N',3,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZCF','01',11,'AREA FLAGS MAG/COMMERC',2,'AREAMC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZCF','01',12,'GENERA COMMENTO IN MAG./COMM. /S',3,'FLGMEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',4,'',0,0,'' )
,('NPAZCF','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,209,209,0,0,'X(209)','',0,'',0,0,'' )
,('NPAZCT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZCT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZCT','01',3,'TIPO RECORD = "CT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZCT','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('NPAZCT','01',5,'CODICE AZIENDA COLEGATA (CANTINA)',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZCT','01',6,'CODICE CLIENTE AZIENDA COLLEGATA',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZCT','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,337,337,0,0,'X(337)','',0,'',0,0,'' )
,('NPAZDC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZDC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZDC','01',3,'TIPO RECORD = "DC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZDC','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('NPAZDC','01',5,'TABELLA FLAGS CLIENTE',2,'TABFLG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZDC','01',6,'ELEMENTO FLAG',3,'ELEFLG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',145,'',0,0,'' )
,('NPAZDC','01',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZDC','01',8,'01 FATTURA RIEPILOGATIVA S/N',3,'FATRIE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',9,'02 STAMPA AGENTE IN FATTURA S/N',3,'STAAGE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',10,'03 SPESE INCASSO S/N',3,'SPEINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',11,'04 INVIO SOLLECITI S/N',3,'INVSOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',12,'05 SOGGETTO CAUZIONI S/N',3,'SOGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',13,'06 RIFERIMENTO ORDINE OBBLIGATORIO S/N',3,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',14,'07 BLOCCO FATTURAZIONE S/N',3,'BLOFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',15,'08 STAMPA ALLEGATI S/N',3,'STAALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',16,'09 LISTINO PUNTO VENDITA S/N',3,'LISPVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',17,'10 STAMPA DESTINATARIO IN FATTURA S/N',3,'DESFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',18,'11 STAMPA PREZZO IN BOLLA S/N',3,'PRZBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NPAZDC','01',19,'12 DESTINATARIO COME IND. SPED. FATTURE',3,'DESISF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',20,'13 FATTURAZIONE MENSILE',3,'FATMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',21,'14 BOLLO SU CAUZIONI',3,'BOLCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',22,'15 SOGGETTO CALCOLO VUOTI',3,'SOGVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',23,'16 BLOCCO CONTRATTI ORDINI BOLLE',3,'BLOCOB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',24,'17 STAMPA LOTTO IN BOLLA',3,'STALOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',25,'18 STAMPA LOTTO IN FATTURA',3,'LOTFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',26,'19 STAMPA EAN BOTTIGLIA DDT/FATT.',3,'STAEAB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',27,'20 STAMPA EAN CARTONE DDT/FATT.',3,'STAEAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',28,'21 RIF.CONTRATTO IN COMMENTI FATTURA',3,'RFCFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',29,'DOPPIA BOLLA ESTERO',3,'2BOLLE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',30,'STAMPA NOM. COMB. IN BOLLA/FATTURA',3,'STNCFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',31,'LUOGO DI CONSEGNA COME SPEDIZIONE FATTUR',3,'LUCISF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',32,'CONTROLLO SOGLIA SU SINGOLO DOCUMENTO',3,'CSAISD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',33,'STAMPA GRADO IN BOLLA E FATTURA',3,'SGRDBF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',34,'CHIEDI CREAZIONE FATTURA IN BOLLA',3,'FATBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZDC','01',35,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,118,118,0,0,'X(118)','',0,'',0,0,'' )
,('NPAZDC','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('NPAZFC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZFC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZFC','01',3,'TIPO RECORD = "FC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZFC','01',4,'ZERI = DEFAULT',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('NPAZFC','01',5,'GRUPPO',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NPAZFC','01',6,'CONTO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NPAZFC','01',7,'TIPO CLIENTE (ATTRIBUTO 1)',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZFC','01',8,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NPAZFC','01',9,'PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NPAZFC','01',10,'STATO GIURIDICO (F/G)',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZFC','01',11,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZFC','01',12,'CODICE ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('NPAZFC','01',13,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZFC','01',14,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NPAZFC','01',15,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NPAZFC','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,278,278,0,0,'X(278)','',0,'',0,0,'' )
,('NPAZIB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZIB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZIB','01',3,'TIPO RECORD = "IB"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZIB','01',4,'MODULO DI STAMPA',3,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZIB','01',5,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZIB','01',6,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZIB','01',7,'RAGIONE SOCIALE AZIENDA',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NPAZIB','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NPAZIB','01',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NPAZIB','01',10,'LOCALITA',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NPAZIB','01',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZIB','01',12,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('NPAZIB','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,206,206,0,0,'X(206)','',0,'',0,0,'' )
,('NPAZIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZIC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZIC','01',3,'TIPO RECORD = "IC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZIC','01',4,'MODULO DI STAMPA',3,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZIC','01',5,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZIC','01',6,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZIC','01',7,'RAGIONE SOCIALE BREVE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NPAZIC','01',8,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NPAZIC','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,305,305,0,0,'X(305)','',0,'',0,0,'' )
,('NPAZMV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZMV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZMV','01',3,'TIPO RECORD = "MV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZMV','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('NPAZMV','01',5,'CODICE IVA PER CAUZIONI',2,'IVACAU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',6,'CODICE IVA BOLLO CAUZIONI',2,'IVABCZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',7,'TABELLA BOLLO CAUZIONI VUOTI',2,'TABBCZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZMV','01',8,'ELEMENTO BOLLO CAUZIONI VUOTI',3,'ELEBCZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',3,'',0,0,'' )
,('NPAZMV','01',9,'SCAGLIONE BOLLO',4,'SCABCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NPAZMV','01',10,'IMPORTO BOLLO',4,'IMPBCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('NPAZMV','01',11,'NUMERO ATTRIBUTO CANALE CLIENTE',2,'NRATTC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',12,'TIPO CREAZIONE FATTURE DA BOLLE',2,'FLGCRF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZMV','01',16,'ANNATA INIZIALE',2,'ANNINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NPAZMV','01',17,'ANNATA FINALE',2,'ANNFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NPAZMV','01',18,'CAUSALE ORDINI DI DEFAULT',2,'CAUORD',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZMV','01',19,'CAUSALE BOLLE DI DEFAULT',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZMV','01',20,'TIPO CREAZIONE FATTURE SPACCIO',2,'FLGCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZMV','01',22,'CAUSALE DI DEFAULT ORDINI FORNITORI',2,'CAUORF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZMV','01',23,'CAUSALE DI DEFAULT ACQUISTI',2,'CAUACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZMV','01',24,'PESO UNITARIO PALETTA',2,'PESPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('NPAZMV','01',25,'MESI PER CONSIDERARE NUOVO IL CLIENTE',2,'MMNCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',26,'MESI PER CONSIDERARE NUOVO IL NOMINATIVO',2,'MMNNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',27,'CODICE ARTICOLO SPESE TRASPORTO',2,'ARTSPT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NPAZMV','01',28,'CAUSALE DEFAULT CREAZIONE XAB DA DAA',2,'XABDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZMV','01',29,'CAUSALE DEFAULT CREAZIONE DOCO DA DAA',2,'DOCDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZMV','01',30,'CAUS. FATTURA PROFORMA X CREAZ. DA BOLLA',2,'FATPRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZMV','01',31,'PERIODO ESTRAZIONE INTRA-STAT M/T',2,'PESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZMV','01',32,'NR. ATT. CLIENTI PER GRAFICA MODULI VEND',2,'NUMGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',34,'NUMERO ATT. CLIENTI PER PROVVIGIONI',2,'ATTPRV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',35,'CODICE IVA NON IMPONIBILE ART 8 CLIENTI',2,'IVAAR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',36,'NUMERO GIORNI DIFF. AMMESSI TRA DATE',2,'GGDTBL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',38,'NR.ATT.CLI. DA CONTROLLARE ORDINI DOPPI',2,'NATCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',39,'COD.ATT.CLI. DA CONTROLLARE ORDINI DOPPI',2,'CATCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',40,'NR.ATT.CLIENTI PER ATTESTAZIONE RISCHIO',2,'ATTRIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',41,'DATA INIZIO TELEMATIZZAZIONE DAA',2,'TELDAA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZMV','01',42,'NR.ATT.CLI. PER SCORE PAY LINE',2,'ATTSPL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',43,'MOSTRA DESTINAZIONE E-AD IN IMM. ORDINE',2,'EADORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZMV','01',44,'BANCA INTERNA PREVALENTE DI DEFAULT',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',45,'DATA INIZIO FASE 3 PROGETTO EMCS',2,'F3EMCS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZMV','01',46,'ALTRO CODICE IVA NON IMPONIBILE ART. 8',2,'IV1AR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',47,'MINUTI DA AGGIUNGERE A ORA PART. BOLLA',2,'MINAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',48,'BANCA INTERNA DI DEFAULT ESTERO',2,'BAEINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',49,'NR.ATT.CLIENTI USATO PER COMODATO',2,'NATCOM',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
('NPAZMV','01',50,'COD.ATT.CLIENTI USATO PER COMODATO',2,'CATCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',51,'ALTRO CODICE IVA NON IMPONIBILE ART. 8',2,'IV2AR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',52,'ALTRO CODICE IVA NON IMPONIBILE ART. 8',2,'IV3AR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',53,'ALTRO CODICE IVA NON IMPONIBILE ART. 8',2,'IV4AR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',54,'NUMERO ATTRIBUTO ARTICOLO PALLET X CMR',2,'NATCMR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',55,'CODICE ATTRIBUTO PALLET PER CMR',2,'CODCMR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',56,'IVA NON IMP. ART. 8 FORNITORI',2,'IVFAR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',5,'',0,0,'' )
,('NPAZMV','01',57,'COMUNE OBBLIGATORIO IN ANAG. CLI/FOR',2,'COBBCF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZMV','01',58,'ALTRO CODICE IVA NON IMPONIBILE ART. 8',2,'IV5AR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',59,'ALTRO CODICE IVA NON IMPONIBILE ART. 8',2,'IV6AR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',60,'ALTRO CODICE IVA NON IMPONIBILE ART. 8',2,'IV7AR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',61,'ALTRO CODICE IVA NON IMPONIBILE ART. 8',2,'IV8AR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',62,'ALTRO CODICE IVA NON IMPONIBILE ART. 8',2,'IV9AR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',63,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,116,116,0,0,'X(116)','',0,'',0,0,'' )
,('NPAZMV','01',64,'NR.ATT.ARTICOLO X MARCHIO DOCUMENTI',2,'NATMAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',65,'FILLER RIUTILIZZABILE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZMV','01',66,'NUMERO ATTRIBUTO OGGETTI PROMOZIONALI',2,'NATAOP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',67,'CODICE ATTRIBUTO OGGETTI PROMOZIONALI',2,'CATAOP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',68,'NUMERO ATTRIBUTO SPEDIZIONE SEPARATA',2,'NATASS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',69,'CODICE ATTRIBUTO SPEDIZIONE SEPARATA',2,'CATASS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',70,'CODICE ATTRIBUTO NO STAMPA ZEBRA SOAVE',2,'NATAZB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZMV','01',71,'CODICE ATTRIBUTO NO STAMPA ZEBRA SOAVE',2,'CATAZB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZMV','01',72,'DATA INIZIO VALORIZZAZIONE CONFORME SDI',2,'DTASDI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZMV','01',73,'DATA INIZIO CALCOLO BOLLO SU FATTURE',2,'DTABOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZNP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZNP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZNP','01',3,'TIPO RECORD = "NP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZNP','01',4,'UTENTE (ZERI = DEFAULT)',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('NPAZNP','01',5,'GRUPPO NOMINATIVI CHE NON PAGANO',2,'GGGNNP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZNP','01',6,'CONTO NOMINATIVI CHE NON PAGANO',2,'CCCNNP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZNP','01',7,'GRUPPO/CONTO/SOTTOCONTO CASSA',2,'GCSCAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZNP','01',8,'GRUPPO CASSA',3,'GGGCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZNP','01',9,'CONTO CASSA',3,'CCCCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZNP','01',10,'SOTTOCONTO CASSA',3,'SSSCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZNP','01',11,'CAUSALE CONTABILE NOM. CHE NON PAGANO',2,'CAUNPG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZNP','01',12,'NOMINATIVI CHE NON PAGANO S/N',2,'GESNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZNP','01',13,'SOCI CHE NON PAGANO S/N',2,'GESSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZNP','01',14,'CAUSALE CONTABILE ADDEBITO SOCI',2,'CAUADD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZNP','01',15,'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,'' )
,('NPAZNP','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,309,309,0,0,'X(309)','',0,'',0,0,'' )
,('NPAZPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPC','01',3,'TIPO RECORD = "PC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZPC','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('NPAZPC','01',5,'NUMERO PROT. FORNITORI AUTOMATICO S/N',2,'PROAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZPC','01',6,'CODICE NAZIONE PRESCELTO PER ITALIA',2,'NAZITA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZPC','01',7,'IVA VENDITE',2,'IVAVEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPC','01',8,'GRUPPO IVA VENDITE',3,'GRUVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',9,'CONTO IVA VENDITE',3,'CONVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',10,'SOTTOCONTO IVA VENDITE',3,'SOTVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZPC','01',11,'IVA ACQUISTI',2,'IVAACQ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPC','01',12,'GRUPPO IVA ACQUISTI',3,'GRUACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',13,'CONTO IVA ACQUISTI',3,'CONACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',14,'SOTTOCONTO IVA ACQUISTI',3,'SOTACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZPC','01',15,'IVA CORRISPETTIVI',2,'IVACOR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPC','01',16,'GRUPPO IVA CORRISPETTIVI',3,'GRUCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',17,'CONTO IVA CORRISPETTIVI',3,'CONCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',18,'SOTTOCONTO IVA CORRISPETTIVI',3,'SOTCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZPC','01',19,'IVA INDEDUCIBILE',2,'IVAIND',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPC','01',20,'GRUPPO IVA INDEDUCIBILE',3,'GRUIND',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',21,'CONTO IVA INDEDUCIBILE',3,'CONIND',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',22,'SOTTOCONTO IVA INDEDUCIBILE',3,'SOTIND',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZPC','01',23,'IVA VENDITE SU ACQ. INTRA',2,'IVAINT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPC','01',24,'GRUPPO IVA VENDITE SU ACQ. INTRA',3,'GRUINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',25,'CONTO IVA VENDITE SU ACQ. INTRA',3,'CONINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',26,'SOTTOCONTO IVA VENDITE SU ACQ. INTRA',3,'SOTINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZPC','01',27,'% INTERESSI PASSIVI LIQUIDAZIONE TRIM.',2,'PERTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NPAZPC','01',28,'CODICE VENDEMMIA CORRENTE',2,'VENCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZPC','01',29,'LIBRETTI DI DEPOSITO',2,'LIBDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NPAZPC','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,'' )
,('NPAZPC','01',31,'GRUPPO LIBRETTI DI DEPOSITO',3,'GRULIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',32,'CONTO LIBRETTI DI DEPOSITO',3,'CONLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',33,'CODICE RACCOLTA CORRENTE',2,'RACCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZPC','01',34,'NUMERO ATTRIBUTO FORNITORI TRIBUTO 770',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPC','01',35,'DATA LIMITE INIZIALE REGISTRAZ. CONTAB',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZPC','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,'' )
,('NPAZPC','01',37,'ANNO INIZIALE',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',38,'MESE INIZIALE',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPC','01',39,'GIORNO INIZIALE',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPC','01',40,'DATA LIMITE FINALE IMMISSIONE REG. CONT.',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZPC','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,'' )
,('NPAZPC','01',42,'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,'' )
,('NPAZPC','01',43,'MESE FINALE',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPC','01',44,'GIORNO FINALE',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPC','01',45,'PRIMO SCAGLIONE RIMESSE DIRETTE IN SCAD',2,'GGSCA1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZPC','01',46,'SECONDO SCAGLIONE RIMESSE DIRETTE SCAD.',2,'GGSCA2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZPC','01',47,'DATA INIZIO GESTIONE LEGALE IN SCAD CLI',2,'DATLEG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZPC','01',48,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPC','01',49,'ANNO',3,'AAALEG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',50,'MESE',3,'MMMLEG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPC','01',51,'GIORNO',3,'GGGLEG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPC','01',52,'TIPO ARCHIVIAZIONE LIBRO GIORNALE',2,'ARCDLG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZPC','01',53,'DATA MINIMA IMMISSIONE DOCUMENTI IVA',2,'DOCMIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZPC','01',54,'REDEFINES',2,'AMGMIN',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPC','01',55,'ANNO',3,'AAAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPC','01',56,'MESE',3,'MMMMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPC','01',57,'GIORNO',3,'GGGMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPC','01',58,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,212,212,0,0,'X(212)','',0,'',0,0,'' )
,('NPAZPM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPM','01',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
('NPAZPM','01',3,'TIPO RECORD = "PM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZPM','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('NPAZPM','01',5,'GIORNO CHIUSURA ESERCIZIO',2,'GIORCH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',6,'MESE CHIUSURA ESERCIZIO',2,'MESECH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',7,'NUMERO DECIMALI CALCOLO SFRIDI',2,'SFRIDI',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('NPAZPM','01',8,'CAUSALE PRODUZIONE',2,'CAUPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZPM','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,'' )
,('NPAZPM','01',10,'CONSIDERA IMPEGNATO CARICO IN CALCOLO',2,'DISORC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZPM','01',12,'CONSIDERA IMPEGNATO SCARICO IN CALCOLO',2,'DISORF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZPM','01',14,'DATA PARTENZA GESTIONE MAGAZZINO',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZPM','01',15,'VIS. ART.OBSOLETI IN HELP ARTICOLO (S/N)',2,'HLPOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZPM','01',16,'DATA INIZIO TRACCIABILITA'' SU BOLLE',2,'DTATRA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZPM','01',17,'NUMERO ATTRIBUTO USATO PER MAGAZZINO',2,'ATTMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',18,'NR.ATT.ARTICOLI USATO PER LIQUER',2,'NATLIQ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',19,'COD.ATT.ARTICOLI USATO PER LIQUER',2,'CATLIQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZPM','01',20,'NUMERO ATT.COMM. USATO PER ASSOCIARE',2,'NRACRI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',22,'NUMERO ATT.COMM. USATO PER ASSOCIARE',2,'NRACRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',24,'NR.ATT.ARTICOLI NO PROPONI LOTTO BOLLA',2,'NRATNL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',25,'COD.ATT.ARTICOLI NO PROPONI LOTTO BOLLA',2,'CDATNL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZPM','01',26,'DATA INIZIO IMMISSIONE',2,'IMMINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZPM','01',27,'REDEFINES',2,'AMGINI',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPM','01',28,'ANNO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPM','01',29,'MESE',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',30,'GIORNO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',31,'DATA FINE IMMISSIONE',2,'IMMFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPAZPM','01',32,'REDEFINES',2,'AMGFIN',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZPM','01',33,'ANNO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZPM','01',34,'MESE',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',35,'GIORNO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZPM','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,279,279,0,0,'X(279)','',0,'',0,0,'' )
,('NPAZPM','01',37,'NR.ATT. ARTICOLO USATO PER ASSOCIARE',2,'NRAARU',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZSP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZSP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZSP','01',3,'TIPO RECORD = "SP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZSP','01',4,'UTENTE (ZERI = DEFAULT)',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('NPAZSP','01',5,'LIMITE LITRI CONFEZIONATI OBBLIGO BOLLA',2,'LIMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('NPAZSP','01',6,'LIMITE LITRI SFUSI OBBLIGO BOLLA',2,'LIMSFU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('NPAZSP','01',7,'CODICE CAUSALE CONTABILE ADDEBITO SOCI',2,'CAUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',8,'GRUPPO/CONTO UVE ADDEBITO SOCI',2,'GCCUVE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZSP','01',10,'GRUPPO',3,'GGGUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',11,'CONTO',3,'CCCUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',12,'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,'' )
,('NPAZSP','01',14,'GRUPPO/CONTO/SOTTOCONTO CAUZIONI',2,'GCSCAU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZSP','01',15,'GRUPPO CAUZIONI',3,'GGGCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',16,'CONTO CAUZIONI',3,'CCCCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',17,'SOTTOCONTO CAUZIONI',3,'SSSCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZSP','01',18,'CODICE IVA CAUZIONI',2,'IVACAU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZSP','01',19,'GRUPPO/CONTO/SOTTOCONTO BOLLO CAUZIONI',2,'GCSBCZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZSP','01',20,'GRUPPO BOLLO CAUZIONI',3,'GGGBCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',21,'CONTO BOLLO CAUZIONI',3,'CCCBCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',22,'SOTTOCONTO BOLLO CAUZIONI',3,'SSSBCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZSP','01',23,'CODICE IVA BOLLO CAUZIONI',2,'IVABCZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NPAZSP','01',24,'GRUPPO/CONTO/SOTTOCONTO RICAVO DEFAULT',2,'GCSRIC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZSP','01',26,'GRUPPO RICAVO DEFAULT',3,'GGGRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',27,'CONTO RICAVO DEFAULT',3,'CCCRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',28,'SOTTOCONTO RICAVO DEFAULT',3,'SSSRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPAZSP','01',29,'TIPO AGGIORNAMENTO REGISTRI DA BOLLE',2,'TARBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',33,'TIPO AGGIORNAMENTO REGISTRI DA SCONTRINI',2,'TARSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',37,'CAUSALE BOLLETTA DI DEFAULT',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZSP','01',38,'STAMPANTE DI DEFAULT',2,'NUMSTP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZSP','01',39,'IMPUTAZIONE PREZZO BLOCCATA (S/N)',2,'FLGIPR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',40,'IMPUTAZIONE SCONTI MERCE BLOCCATA (S/N)',2,'FLGISM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',41,'IMPUTAZIONE MOV.VALORE BLOCCATA (S/N)',2,'FLGIMV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',42,'STAMPANTE SCONTRINI (SE DIVERSA)',2,'NSTSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZSP','01',43,'TABELLA RECIPIENTI MULTIPLI',2,'TABREC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZSP','01',44,'CODICE RECIPIENTE',3,'CODREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',4,'',0,0,'' )
,('NPAZSP','01',45,'GRUPPO RICAVO DI DEFAULT',2,'GRURIC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZSP','01',46,'STAMPANTE FATTURE ACCOMPAGNATORIE',2,'NSTFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZSP','01',47,'CAUSALE DEFAULT PER CLIENTE CON FATTURA',2,'CAUCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZSP','01',48,'COLLEGAMENTO REG. CASSA ATTIVO (S/N)',2,'SCOFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',49,'IMPUTAZIONE CAUSALE BLOCCATA (S/N)',2,'FLGICB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',50,'AMMESSA IMPUTAZIONE BOLLE A SOCI (S/N)',2,'FLGIBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',51,'AMMESSA IMPUTAZIONE BOLLE A CLIENTI (S/N',2,'FLGIBC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',52,'AMMESSA MANUTENZIONE ANAGR.CLIENTI (S/N)',2,'FLGMNC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',53,'UNICO MAGAZZINO AMMESSO (0=TUTTI)',2,'MAGUNO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZSP','01',54,'MAGAZZINO PER HELP NOMINATIVI PV',2,'MAGNPV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPAZSP','01',55,'IMPUTAZIONE CODICE AGENTE BLOCCATA (S/N)',2,'FLGIAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',56,'SALTA VIDEATA TESTATA (S/N)',2,'SKIPTE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',57,'POSIZIONE FINESTRA RTCLIS (Normal/High)',2,'RTCLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',58,'CHIEDERE SEMPRE RECIPIENTE (S/N) (!)',2,'SEMREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',59,'IN VIDEATA COMPONENTI CONF.MISTA',2,'CURCMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',61,'BLOCCO IMPUTAZIONE TIPO NOMINATIVO (S/N)',2,'FLGITN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',62,'PROPONI ANNATA PIU''VECCHIA CON GIAC. S/N',2,'FLGPRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',63,'PROPONI LOTTO PIU'' VECCHIO CON GIAC. S/N',2,'FLGPRL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',64,'LIMITE MASSIMO LITRI BOLLETTA',2,'LIMMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPAZSP','01',65,'TIPO INCASSO (GESTITO CON PARAMETRO)',2,'TIPINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',66,'GESTITA VENDITA CON PALMARE (S/N/T)',2,'PALMAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',69,'CAUSALE RESI CANTINA',2,'CAURES',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZSP','01',70,'FLAG ATTIVO TASTO RISTAMPA ULTIMA BOLLA',2,'FLGRIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',71,'MODULO STAMPA ETICHETTE SFUSO (COLLIS)',2,'MODETI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NPAZSP','01',72,'STAMPANTE ETICHETTE SFUSO (COLLIS)',2,'STPETI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPAZSP','01',73,'DEFAULT FLAG STAMPA ETICHETTE SFUSI S/N',2,'FLGETI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',74,'FLAG IMPUTAZIONE SCONTI MANUALI BLOCCATA',2,'FLGISC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',75,'CODICE RECIPIENTE SINGOLO',2,'CODRC1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPAZSP','01',76,'OBBLIGO AGGIORNAMENTO QUOTIDIANO (S/N)',2,'FLGDAY',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPAZSP','01',77,'CODICE REGISTRATORE DI CASSA',2,'REGCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NPAZSP','01',78,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,171,171,0,0,'X(171)','',0,'',0,0,'' )
,('NPAZVU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZVU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPAZVU','01',3,'TIPO RECORD = "V1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NPAZVU','01',4,'NUMERO RECORD (1/2/3)',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('NPAZVU','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('NPAZVU','01',6,'CODICE ARTICOLO VUOTO',2,'CODVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',8,'',0,0,'' )
,('NPAZVU','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,225,225,0,0,'X(225)','',0,'',0,0,'' )
,('NPICO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPICO1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPICO1','01',3,'CODICE PIANO DEI CONTI',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPICO1','01',4,'GRUPPO',4,'CODGRU',1,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPICO1','01',5,'CONTO',4,'CODCON',2,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NPICO1','01',6,'SOTTOCONTO',4,'CODSOT',3,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPICO1','01',7,'DESCRIZIONE',2,'DESCRI',0,3,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NPICO1','01',8,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NPICO1','01',9,'NATURA',2,'NATURA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPICO1','01',15,'TIPO CONTO',2,'TIPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPICO1','01',22,'LIBRO INVENTARI',2,'LIBINV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPICO1','01',27,'PROGRESSIVO DARE',2,'PRODAR',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('NPICO1','01',28,'PROGRESSIVO AVERE',2,'PROAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('NPICO1','01',29,'CONTO GESTITO A PARTITE S/N',2,'GESPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPICO1','01',30,'GESTITO DALLA CHIUSURA CONTABILE PER',2,'RIPCHI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPICO1','01',31,'DATA COMPETENZA',3,'DATCOM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPICO1','01',32,'NUMERO REGISTRAZIONE',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NPICO1','01',33,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPICO1','01',34,'MODALITA'' DI INPUTAZIONE CENTRI DI COSTO',2,'TIPMOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPICO1','01',35,'CENTRO DI COSTO (MODALITA'' 1)',2,'CENCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPICO1','01',36,'CODICE PER RICLASSIFICAZIONE',2,'CODRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NPICO1','01',37,'CENTRO DI COSTO DI DEFAULT (MODALITA'' 2)',2,'CENDEF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPICO1','01',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('NPMABB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPMABB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPMABB','01',3,'TIPO RECORD = "BB"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPMABB','01',4,'CODICE BLOCCO BOLLE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPMABB','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('NPMABB','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NPMABB','01',7,'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,'' )
,('NPMABB','01',8,'TIPO NUMERAZIONE BOLLE',2,'TIPNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPMABB','01',11,'SIGLA ULTIMA BOLLA',2,'SIGLAB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPMABB','01',12,'PRE-FISSO NUMERO GESTITO PER MANUALE',3,'PREFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NPMABB','01',13,'CONTATORE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NPMABB','01',14,'POST-FISSO NUMERO GESTITO PER MANUALE',3,'POSFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NPMABB','01',15,'CODICE AZIENDA',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NPMABB','01',16,'CODICE BLOCCO DI AZIENDA DIVERSA A CUI',2,'BLOAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NPMABB','01',19,'STRINGA COSTRUZIONE NUMERO AUTOMATICO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NPMABB','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('NPUNTI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPUNTI','01',2,'CHIAVE CLIFOR+DATA+NUMERO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPUNTI','01',3,'CODICE FIDELITY CARD',3,'COD-FC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NPUNTI','01',4,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NPUNTI','01',5,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPUNTI','01',6,'ANNO',4,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NPUNTI','01',7,'MESE',4,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPUNTI','01',8,'GIORNO',4,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NPUNTI','01',9,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NPUNTI','01',10,'NUMERO INTERNO MOVIMENTO',4,'NUMERO',0,0,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NPUNTI','01',11,'NUMERO BOLLETTA PUNTO VENDITA DI ORIGINE',2,'NUMBOL',0,0,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NPUNTI','01',12,'PUNTI GUADAGNATI',2,'PUNTIG',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('NPUNTI','01',13,'PUNTI SCONTATI',2,'PUNTIS',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('NPUNTI','01',14,'IMPORTO TOTALE MERCE VENDITA',2,'TOTMER',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('NPUNTI','01',15,'PROVENIENZA (Automatico/Manuale)',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NPUNTI','01',16,'NOTE MOVIMENTO (ATTUALMENTE NON GESTITO)',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NPUNTI','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('NSALMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSALMP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSALMP','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,1,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NSALMP','01',4,'ANNO COMPETENZA',3,'ANNESE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NSALMP','01',6,'CODICE PRODOTTO COMPLETO',3,'CODPRO',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSALMP','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,'' )
,('NSALMP','01',8,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NSALMP','01',9,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NSALMP','01',10,'CODICE SALDO',3,'CODSAL',0,4,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NSALMP','01',11,'QUANTITA'' VECCHIA (2 DEC)',2,'QTAOLD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('NSALMP','01',12,'VALORIZZAZIONE',2,'VALSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,2,'S9(13) COMP-3','S9(11)V99 COMP-3',0,'',0,0,'' )
,('NSALMP','01',13,'QUANTITA SALDO NUOVA (3 DEC)',2,'QTASAL',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('NSALMP','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NSCPV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSCPV1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSCPV1','01',3,'CODICE ARTICOLO PUNTO VENDITA',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NSCPV1','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,'' )
,('NSCPV1','01',5,'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,'' )
,('NSCPV1','01',6,'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,'' )
,('NSCPV1','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NSCPV2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSCPV2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSCPV2','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,'' )
,('NSCPV2','01',4,'CODICE ARTICOLO PUNTO VENDITA',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NSCPV2','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,'' )
,('NSCPV2','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,'' )
,('NSCPV3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSCPV3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSCPV3','01',3,'CODICE ARTICOLO PUNTO VENDITA',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NSCPV3','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,'' )
,('NSCPV3','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,'' )
,('NSCPV3','01',6,'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,'' )
,('NSCPV3','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,'' )
,('NSCR11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSCR11','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSCR11','01',3,'CODICE ARTICOLO BOTTIGLIA',3,'CODBOT',1,2,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NSCR11','01',4,'CODICE ARTICOLO CARTONE',2,'CODCAR',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NSCR11','01',5,'ANNATA ARTICOLO CARTONE',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('NSCR11','01',6,'QUANTITA'' BOTTIGLIE PER OGNI CARTONE',2,'QTARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('NSCR11','01',7,'MAG. SCARICO CARTONE SE DIVERSO',2,'CODMAG',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
('NSCR11','01',8,'CODICE SECONDO CARTONE',2,'CODCA2',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NSCR11','01',9,'ANNATA ARTICOLO SECONDO CARTONE',2,'ANNAT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NSCR11','01',10,'QUANTITA'' BOTTIGLIE X OGNI CARTONE',2,'QTARI2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('NSCR11','01',11,'MAGAZZINO SCARICO CARTONE SE DIVERSO',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NSCR11','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NSOCI1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSOCI1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,2,2,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSOCI1','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NSOCI1','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NSOCI1','01',5,'CODICE STABILIMENTO',2,'CODSTB',0,0,1,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NSOCI1','01',6,'PARTITA IVA',2,'PARIVA',0,0,0,1,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NSOCI1','01',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NSOCI1','01',8,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NSOCI1','01',9,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NSOCI1','01',10,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NSOCI1','01',11,'SESSO M/F/b',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',12,'STATO GIURIDICO F/G',2,'FLGSTG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',13,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NSOCI1','01',14,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NSOCI1','01',15,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('NSOCI1','01',16,'FLAG CONFERENTE S/N',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',17,'FLAG RECESSO S/N',2,'FLGREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',18,'TIPO FORNITORE',2,'FLGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',22,'VINIFICATORE S/N',2,'FLGVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',23,'TIPO FATTURAZIONE',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',26,'ACCREDITO IN CONTO S/N',2,'FLGACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',27,'CODICE BANCA (ABI)',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NSOCI1','01',28,'CODICE BANCA (CAB)',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NSOCI1','01',29,'CODICE CONTO CORRENTE',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('NSOCI1','01',30,'DATA DI NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NSOCI1','01',31,'REDEFINES DATA DI NASCITA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSOCI1','01',32,'ANNO DI NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NSOCI1','01',33,'MESE DI NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NSOCI1','01',34,'GIORNO DI NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NSOCI1','01',35,'COMUNE DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NSOCI1','01',36,'PROVINCIA DI NASCITA',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NSOCI1','01',37,'DATA INIZIO ATTIVITA''',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NSOCI1','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,'' )
,('NSOCI1','01',39,'ANNO INIZIO ATTIVITA''',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NSOCI1','01',40,'MESE INIZIO ATTIVITA''',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NSOCI1','01',41,'GIORNO INIZIO ATTIVITA''',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NSOCI1','01',42,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NSOCI1','01',43,'ALLEGATO I.V.A. S/N',2,'SINOAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',44,'CONDIZIONE DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NSOCI1','01',45,'TARGA TRATTORE',2,'TARGAT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NSOCI1','01',46,'COEFFICENTE AZIENDALE - OBSOLETO',2,'CFFAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NSOCI1','01',47,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NSOCI1','01',48,'DATA ULTIMA VARIAZIONE ANAGRAFICA',2,'DUVANA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NSOCI1','01',49,'DATA ULTIMA VARIAZIONE CATASTALE',2,'DUVCAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NSOCI1','01',50,'DATA ULTIMA VARIAZIONE AUTORIZZ. DOC',2,'DUVAUD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NSOCI1','01',51,'NUMERO ISCRIZIONE REGISTRO IMPRESE',2,'REGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('NSOCI1','01',52,'BANCA INTERNA PREVALENTE',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NSOCI1','01',53,'% VEND. MECCANICA (PREVALE SU % TAB.UVE)',2,'PERMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('NSOCI1','01',54,'CODICE CIN EURO',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NSOCI1','01',55,'CODICE CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',56,'COMUNE ASSEMBLLE',2,'COMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NSOCI1','01',57,'ASSGENAZIONE MANUALE TRAMOGGIA ( /S)',2,'TRAMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',58,'VECCHIO CODICE MELE 5 COMUNI (LAVIS)',2,'CODMEL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NSOCI1','01',59,'CODICE IVA MELE',2,'IVAMEL',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NSOCI1','01',60,'TABELLA NUMERI DEFINIBILI',2,'TABNUM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSOCI1','01',61,'NUMERI DEFINIBILI',3,'NUMDEF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',6,'',0,0,'' )
,('NSOCI1','01',62,'FORNITORE IN CONTO CONFERIMENTO (S)',2,'FORCOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSOCI1','01',63,'CODICE OPERATORE BIOLOGICO',2,'OPEBIO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NSOCI1','01',64,'TIMESTAMP REGISTRO UNICO',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSOCI1','01',65,'DATA TIMESTAMP REGISTRO UNICO',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NSOCI1','01',66,'ORA TIMESTAMP REGISTRO UNICO',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NSOCI1','01',67,'PROVINCIA ISCRIZIONE REG. IMPRESE',2,'UFFREA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NSOCI1','01',68,'CAPITALE SOCIALE',2,'CAPREA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('NSOCI1','01',69,'SOCIO UNICO O NO',2,'SOCREA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NSOCI1','01',70,'STATO LIQUIDAZIONE',2,'STLREA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NSOCI1','01',71,'REGIME FISCALE',2,'REGFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NSOCI1','01',72,'CODICE ENTE CERTIFICATORE BIO',2,'BIOENT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NSOCI1','01',73,'CERTIFICATO BIO',2,'BIOCER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NSOCI1','01',74,'DATA CERTIFICATO BIO',2,'BIODCE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NSOCI1','01',75,'DATA SCADENZA CERTIFICATO BIO',2,'BIODSC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NSTAVD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSTAVD','01',2,'ANNO MESE',2,'PERIOD',1,2,2,2,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NSTAVD','01',3,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSTAVD','01',4,'ANNO',3,'AAAAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NSTAVD','01',5,'MESE',3,'MMMMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NSTAVD','01',6,'CODICE AGENTE',2,'AGENTE',2,0,1,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NSTAVD','01',7,'SOGGETTO',2,'SOGGET',3,1,3,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSTAVD','01',8,'TIPO SOGGETTO',3,'FLGCNS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSTAVD','01',12,'CODICE SOGGETTO',3,'CODCNS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NSTAVD','01',13,'DESTINATARIO',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NSTAVD','01',14,'CODICE PRODOTTO',2,'CODPRO',4,0,4,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NSTAVD','01',15,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NSTAVD','01',16,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NSTAVD','01',17,'CODICE MAGAZZINO',2,'CODMAG',5,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NSTAVD','01',18,'FLAG CONFEZIONE MISTA',2,'FLGCMF',6,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NSTAVD','01',24,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('NSTAVD','01',25,'QUANTITA'' OMAGGI',2,'OMAGGI',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('NSTAVD','01',26,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('NSTAVD','01',27,'CODICE RAGRUPPAMENTO DESTINATARIO',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NSTAVD','01',28,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTABRC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTABRC','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTABRC','01',3,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTABRC','01',4,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTABRC','01',5,'LINGUAGGIO',2,'TIPLAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NTABRC','01',8,'TIPO INTERFACCIA',2,'TIPOIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTABRC','01',13,'PERCORSO INVIO FLUSSO (TIPO 1)',2,'PERCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('NTABRC','01',14,'NOME SCRIPT DI GESTIONE FLUSSO (TIPO 2)',2,'SCRIPT',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('NTABRC','01',15,'PERCORSO ARCHIVIAZIONE LOCALE BACKUP',2,'BACKUP',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('NTABRC','01',16,'STAMPANTE PER INVIO VIA CUPS (TIPO 4)',2,'CODSTP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTABRC','01',17,'CHECK FILE DI RISPOSTA (S/N)',2,'CKFILE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTABRP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTABRP','01',2,'CODICE REPARTO',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTABRP','01',3,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTABRP','01',4,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBAAE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAE','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAE','01',3,'TIPO RECORD = "AE"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAAE','01',4,'CODICE ASPETTO ESTERIORE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAAE','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('NTBAAE','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAAE','01',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAE','01',8,'DESCRIZIONE ASPETTO',3,'DESASP',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBAAE','01',9,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBAAE','01',10,'SIGLA',2,'SIGASP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAAE','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,111,111,0,0,'X(111)','',0,'',0,0,'' )
,('NTBAAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAG','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAG','01',3,'TIPO RECORD = "AG"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAAG','01',4,'CODICE AGENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NTBAAG','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTBAAG','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAAG','01',7,'RAGIONE SOCIALE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBAAG','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAAG','01',9,'CODICE AVVIAMENTO POSTALE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBAAG','01',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAAG','01',11,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAAG','01',12,'PARTITA IVA/CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NTBAAG','01',13,'CODICE CATEGORIA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBACT',1,1,'' )
,('NTBAAG','01',14,'PERCENTUALE PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBAAG','01',15,'AGENTE MONOMANDATARIO S/N',2,'MONOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAG','01',16,'SOGGETTO IRPEF S/N',2,'SIRPEF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAG','01',17,'CODICE AGENTE CAPO AREA',2,'AGCAPO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBACA',1,1,'' )
,('NTBAAG','01',18,'PROVVIGIONI AL LORDO DELLO SC CASSA S/N',2,'SCOCAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAG','01',19,'PERCENTUALE DA PAGARE SU MATURATO',2,'PERMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAAG','01',20,'CALCOLO INDENNITA'' DI CLIENTELA S/N',2,'FLGCIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAG','01',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('NTBAAI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAI','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAI','01',3,'TIPO RECORD = "AI"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAAI','01',4,'CODICE ALIQUOTE IVA ALLINEAMENTO DX',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAAI','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTBAAI','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAAI','01',7,'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,'' )
,('NTBAAI','01',8,'PERCENTUALE DI CALCOLO',2,'PERCAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBAAI','01',9,'SIGLA DI STAMPA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAAI','01',10,'CODICE CONTO IVA VENDITE',2,'IVAVEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAI','01',11,'GRUPPO IVA VENDITE',3,'GRUVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAAI','01',12,'CONTO IVA VENDITE',3,'CONVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAAI','01',13,'SOTTOCONTO IVA VENDITE',3,'SOTVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAAI','01',14,'CONTO IVA ACQUISTI',2,'IVAACQ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAI','01',15,'GRUPPO IVA ACQUISTI',3,'GRUACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAAI','01',16,'CONTO IVA ACQUISTI',3,'CONACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAAI','01',17,'SOTTOCONTO IVA ACQUISTI',3,'SOTACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAAI','01',20,'RAGRUPPAMENTO IMPONIBILE CLIENTI',2,'RAGCL1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAAI','01',21,'RAGRUPPAMENTO IMPOSTA CLIENTI',2,'RAGCL2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAAI','01',22,'RAGRUPPAMENTO IMPONIBILE FORNITORI',2,'RAGFO1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAAI','01',23,'RAGRUPPAMENTO IMPOSTA FORNITORI',2,'RAGFO2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAAI','01',24,'PERCENTUALE INDEDUCIBILITA''',2,'PERIND',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('NTBAAI','01',25,'CODICE IVA PARTE DEDUCIBILE ALL. DX',2,'IVADED',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('NTBAAI','01',26,'CAUSALE GIRO A COSTO IVA INDEDUCIBILE',2,'CAUCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAAI','01',27,'CONTO IVA ACQUISTI INDEDUCIBILE',2,'ACQIND',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAAI','01',28,'GRUPPO IVA ACQUISTI INDEDUCIBILE',3,'GRUACI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAAI','01',29,'COMTO IVA ACQUISTI INDEDUCIBILE',3,'CONACI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAAI','01',30,'SOTTOCONTO IVA ACQUISTI INDEDUCIBILE',3,'SOTACI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAAI','01',31,'ALIQUOTA IVA ACQUISTI INTRA (S) (CONTAB)',2,'FLGINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAI','01',32,'SIGLA ESTESA',2,'SIGEST',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAAI','01',33,'ALIQUOTA IVA VENDITE INTRA (S) (VENDITE)',2,'VENINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAI','01',34,'REPARTO REGISTRATORE DI CASSA CORRISP.',2,'CASSAC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAAI','01',35,'REPARTO REGISTRATORE DI CASSA FATTURE',2,'CASSAF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAAI','01',36,'TIPO CALCOLO LIQUIDAZIONE UNICO',2,'TCALIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAAI','01',37,'PERCENTUALE COMPENSATIVA',2,'PERCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBAAI','01',38,'FLAG DA STAMPARE IN RIEPILOGO R. IVA S/N',2,'FLGSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAI','01',39,'TIPO CALCOLO LIQ. ATTIVITA'' MISTA',2,'TCLATM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAAI','01',40,'TIPO CALCOLO LIQUIDAZIONE ACQUISTI',2,'TCALIA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAAI','01',41,'TIPO CALCOLO LIQUIDAZIONE VENDITE',2,'TCALIV',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAAI','01',42,'ALLEGATI IVA S/N (OBSOLETO)',2,'FLGALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAI','01',43,'NON IMPONIBILE S/N',2,'FLGNIM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAI','01',44,'ALIQUOTA PER SPLIT PAYMENT',2,'SPLITP',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAAI','01',46,'NATURA ALIQUOTE NON IMP.X FATT. PA',2,'NATFPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAAI','01',47,'RIF.NORMATIV ALIQUOTE NON IMP.X FATT. PA',2,'RIFFPA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAAI','01',48,'CODICE OBSOLETO /S',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAI','01',49,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAAI','01',50,'INTESTAZIONE INTEGRAZIONE REV. CHARGE',2,'ININRC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NTBAAI','01',51,'NATURA X SPESOMETRO E FATT. ELETTRONICA',2,'NATSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAAI','01',52,'DEDUCIBILE /S',2,'DEDUCI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAI','01',53,'ESIGIBILITA'' IVA',2,'ESIGIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAI','01',54,'ALIQUOTA SOGGETTA AD IMPOSTA DI BOLLO /S',2,'IMPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAAI','01',55,'NATURA X SPES. E FATTURA ELETTRONICA NEW',2,'NATNEW',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NTBACA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACA','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACA','01',3,'TIPO RECORD = "CA"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBACA','01',4,'CODICE CAPO AREA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NTBACA','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTBACA','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NTBACA','01',7,'RAGIONE SOCIALE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBACA','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACA','01',9,'CODICE AVVIAMENTO POSTALE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBACA','01',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACA','01',11,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBACA','01',12,'PARTITA IVA/CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NTBACA','01',13,'CODICE CATEGORIA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBACT',1,1,'' )
,('NTBACA','01',14,'PERCENTUALE PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBACA','01',15,'CAPO AREA MONOMANDATARIO S/N',2,'MONOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACA','01',16,'SOGGETTO IRPEF S/N',2,'SIRPEF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACA','01',17,'PROVVIGIONI AL NETTO DELLO SC CASSA S/N',2,'SCOCAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACA','01',18,'CODICE SUPER CAPO AREA (VALDOBBIADENE)',2,'CODSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBACA','01',19,'TIPO LIQ. PROVVIGIONI (VALDO)',2,'TIPLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACA','01',20,'PROVVIGIONI S/N',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACA','01',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('NTBACC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACC','01',3,'TIPO RECORD = "CC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBACC','01',4,'CODICE COMMERCIALIZZAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBACC','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NTBACC','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACC','01',7,'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,'' )
,('NTBACC','01',8,'TIPO UNITA'' DI MISURA',2,'FLGUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACC','01',12,'GESTITO AD ANNATE',2,'FLGANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACC','01',16,'FLAG REGISTRO (V=VINI/S=SUCCHI)',2,'FLGREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACC','01',17,'FLAG COLORE (B=BIANCO/R=ROSSO/S=ROSATO)',2,'FLGCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACC','01',18,'CODICE ERGA OMNES COLLEGATO',2,'CODERG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBACC','01',19,'ERGA OMNES ATTO O CERTIFICATO (A/C)',2,'FLGERG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACC','01',20,'OBSOLETO ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACC','01',21,'CODICE ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('NTBACC','01',22,'DESCRIZIONE ESTESA PRIMA PARTE',2,'DESES1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACC','01',23,'DESCRIZIONE ESTESA SECONDA PARTE',2,'DESES2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACF','01',3,'TIPO RECORD = "CF"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBACF','01',4,'CAUSALE FATTURA VENDITA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBACF','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'X' )
,('NTBACF','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACF','01',7,'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,'' )
,('NTBACF','01',8,'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,'' )
,('NTBACF','01',9,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBACF','01',10,'CAUSALE CONTABILIZZAZIONE ITALIA',2,'CODCCN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBACF','01',11,'TIPO FATTURA',2,'TIPFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',17,'MODULO DI STAMPA',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBACF','01',18,'CAUSALE INVERSA PER NOTE VUOTI',2,'CAUINV',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBACF','01',19,'RICHIESTO NUMERO FATTURA DI VENDITA',2,'PARRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',21,'CAUSALE CONTABILIZZAZIONE ESTERO',2,'CODCCE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBACF','01',22,'ESTRAZIONE STATISTICHE (S/N)',2,'FLSTAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',23,'NATURA DEL TRASPORTO PER INTRA-STAT',2,'NATTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',24,'REGIME PER INTRA-STAT',2,'REGIME',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',25,'MODULO FATTURE ESTERO',2,'MODEST',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBACF','01',26,'COMMENTO FISSO CREAZIONE FATT. DA BOLLE',2,'CFISSO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NTBACF','01',27,'CAUSALE CONTABILIZZAZIONE PAESI CEE',2,'CODCEU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBACF','01',28,'FLAG OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',29,'CAUSALE SCONTO MERCE ( /S)',2,'FLGSCM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',30,'COMMNETO FISSO CREA FATT DA BOLLE ESTERO',2,'CFISES',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NTBACF','01',31,'CAUSALE FATT. DIF. DA PUNTO VENDITA',2,'FLGFDP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',32,'GESTITO SU DOCUMENTALE (S/N)',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',33,'AMMESSA FATTURA IMPORTO 0 (S)',2,'FLIMP0',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',34,'CHIEDI CREAZIONE FATT.IN BOLLA ( /N)',2,'FATBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',35,'RICHIESTO BARCODE ALLEGATO S/N',2,'BARALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACF','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('NTBACG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACG','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACG','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBACG','01',4,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NTBACG','01',5,'CATEGORIA VINO (TABELLA T018 AG.DOGANE)',2,'CDT018',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACG','01',6,'FLAG GESTIONE MANIPOLAZIONI S/N/X',2,'FLGMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACG','01',10,'ATTESTATI DENOMINAZIONE',2,'ATTDEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBACG','01',11,'GESTITE FASCETTE IN PRODUZIONE ( /S)',2,'FASPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACG','01',12,'DATA INIZIO RICHIESTA FASCETTE PRODUZ.',2,'DATFAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NTBACG','01',13,'CODICE ORGANISMO DI CONTROLLO (MVV)',2,'CODORG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBACG','01',14,'CODICE PEC (SE DIVERSO DA DEFAULT)',2,'CODPEC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBACG','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,252,252,0,0,'X(252)','',0,'',0,0,'' )
,('NTBACI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACI','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACI','01',3,'TIPO RECORD = "CI"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBACI','01',4,'CODICE CONTRASSEGNO IVA (TAPPO)',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBACI','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NTBACI','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACI','01',7,'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,'' )
,('NTBACI','01',8,'TIPO REGISTRO (V=VINI/S=SUCCHI)',2,'FLGREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACI','01',9,'INFERIORE 5 LITRI (S/N)',2,'FLGCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACI','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,98,98,0,0,'X(98)','',0,'',0,0,'' )
,('NTBACM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACM','01',3,'TIPO RECORD = "CM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBACM','01',4,'CODICE CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBACM','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NTBACM','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACM','01',7,'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,'' )
,('NTBACM','01',8,'CODICE SALDO',2,'CODSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBACM','01',9,'MOVIMENTAZIONE QUANTITA'' (+/-/ )',2,'FLGQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACM','01',10,'MOVIMENTAZIONE VALORE (+/-/ )',2,'FLGVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACM','01',11,'MOVIMENTAZIONE ACQUISTI (S/N)',2,'FLGACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACM','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBACM','01',13,'EX TIPO SALDO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACM','01',14,'CAUSALE TELEMATIZZAZIOE REG.ZUCCHERI',2,'CAURGT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBACM','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('NTBACP','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
('NTBACP','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACP','01',3,'TIPO RECORD = "CP"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBACP','01',4,'CODICE CATEGORIA PROVVIGIONE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBACP','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('NTBACP','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACP','01',7,'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,'' )
,('NTBACP','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,'' )
,('NTBACP','01',9,'PERCENTUALE PROVVIGIONE AGENTE CAPO AREA',2,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBACP','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('NTBACS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACS','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACS','01',3,'TIPO RECORD = "CS"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBACS','01',4,'CODICE CATEGORIA SCONTO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBACS','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('NTBACS','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACS','01',7,'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,'' )
,('NTBACS','01',8,'FLAG QUANTITA'' DA UTILIZZARE',2,'FLGQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACS','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('NTBACT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACT','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACT','01',3,'TIPO RECORD = "CT"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBACT','01',4,'CODICE CATEGORIA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBACT','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTBACT','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACT','01',7,'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,'' )
,('NTBACT','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('NTBACZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACZ','01',3,'TIPO RECORD = "CZ"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBACZ','01',4,'CODICE CONFEZIONE/RECIPIENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBACZ','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NTBACZ','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACZ','01',7,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NTBACZ','01',8,'CODICE ASPETTO ESTERIORE',2,'CODAES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBACZ','01',9,'GESTITO AL PUNTO VENDITA (S/N)',2,'FLAGPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBACZ','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,'' )
,('NTBACZ','01',11,'SIGLA STAMPA ORDINI, BOLLE',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBACZ','01',12,'COMPONENTI LA CONFEZIONE',2,'NRCOMP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('NTBACZ','01',13,'FATTORI DI CONVERSIONE',2,'FATTCO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACZ','01',14,'PESO LORDO UNITARIO (KILOGRAMMI)',3,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('NTBACZ','01',15,'VOLUME UNITARIO DM3',3,'VOLUME',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('NTBACZ','01',16,'GESTIONE VUOTI',2,'GESVUO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',2,'',0,0,'' )
,('NTBACZ','01',17,'CODICE ARTICOLO VUOTO',3,'CODVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBACZ','01',18,'QUANTITA VUOTI DA SCARICARE',3,'QTVSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('NTBACZ','01',19,'UN VUOTO DA SCARICARE OGNI',3,'QTVOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('NTBACZ','01',20,'GESTIONE PRODUZIONE',2,'GESPRD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACZ','01',21,'CODICE CARTONE',3,'CODCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBACZ','01',22,'QUANTITA'' DA SCARICARE A PRODUZIONE',3,'QTCSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('NTBACZ','01',23,'CONTRASSEGNI IVA',2,'CONIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBACZ','01',24,'CODICE CONTRASSEGNO IVA',3,'CODTAP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('NTBACZ','01',25,'QUANTITA'' DA SCARICARE',3,'QTTSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('NTBACZ','01',26,'CAPACITA'' RECIPIENTE (VECCHIO 2 DEC)',2,'CAPOLD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('NTBACZ','01',27,'PESO TARA (KG)',2,'PESTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,3,0,'9999V999','',0,'',0,0,'' )
,('NTBACZ','01',28,'CAPACITA'' RECIPIENTE',2,'CAPREP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('NTBACZ','01',29,'CODICE IMBALLAGGIO (T010 AG. DOGANE)',2,'CDT010',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBACZ','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('NTBADC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBADC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBADC','01',3,'TIPO RECORD = "DC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBADC','01',4,'CAUSALE BOLLA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADC','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'X' )
,('NTBADC','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBADC','01',7,'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,'' )
,('NTBADC','01',8,'DESCRIZIONE CAUSALE DEL TRASPORTO',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBADC','01',9,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',15,'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,'' )
,('NTBADC','01',16,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBADC','01',17,'CODICE MAGAZZINO ARRIVO',2,'CODMG2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBADC','01',18,'CODICE MODALITA'' TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBADC','01',19,'CODICE BLOCCO (ZERO=NUMERAZIONE MANUALE)',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBADC','01',20,'NOME PROGRAMMA DI STAMPA MODULO',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADC','01',21,'CAUSALE FATTURAZIONE (SPAZI=NO FATTURA)',2,'CAUFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADC','01',22,'ESTRAZIONE STATISTICHE (S/N)',2,'FLSTAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',23,'RESO S/N',2,'FLRESO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',24,'BLOCCO PER DAA',2,'BLODAA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBADC','01',25,'NOME PROGRAMMA DI STAMPA DAA',2,'MODDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADC','01',26,'MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBADC','01',27,'FLAG CONTROLLO CODICI DOCO (S/N)',2,'FLDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',28,'CAUSALE BOLLA PER DOPPIA BOLLA ESTERO',2,'CAUCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADC','01',29,'STAMPANTE DI DEFAULT BOLLA',2,'STPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBADC','01',30,'STAMPANTE DI DEFAULT DAA',2,'STPDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBADC','01',31,'NUMERO COPIE',2,'NUMCOP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBADC','01',32,'DESCR. MAG. ARR. IN IV RIGA DESTINAZ.S/N',2,'DESARR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',33,'CONTROLLO STATO GIURIDICO CLIENTI',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',34,'BOLLE CLI.TRIANGOLARE SPEDIZIONE COME',2,'SPEDDC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',36,'MAGAZZINO DI ARRIVO OBBLIGATORIO S/N',2,'ARROBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',37,'GENERAZIONE AUTOMATICA MOVIMENTI VUOTI',2,'GENVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',38,'FLAG GESTITO LOTTO (S/N)',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',39,'FLAG OBSOLETO ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',40,'CAUSALE SCONTO MERCE ( /S)',2,'FLGSCM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',41,'ELABORA IN STATISTICHE DA BOLLE (OPZ. 7)',2,'ELASTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',42,'CONTRATTO E/O ORDINE OBBLIGATORIO (S/N)',2,'FLGCOO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',43,'ARCHIVIAZIONE DOCUMENTALE BARCODE S/N',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',44,'CODICE COMMENTO FISSO FINE CORPO BOLLA',2,'COMFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NTBADC','01',45,'CENTRO DI COSTO SPESE DI TRASPORTO',2,'CCSPTR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBADC','01',47,'PESATA OBBLIGATORIA (S/N) (DOCO)',2,'FLGPEO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',48,'AMMESSA BOLLA IMPORTO 0 (S)',2,'FLIMP0',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',49,'DES.MOV.COMM. TRASFERIMENTI M=MAG C=CLI',2,'DESCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',50,'RICH.LETTURA BARCODE PER DOCUMENTALE S/N',2,'BARLET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',51,'FLAG CONSEGNA IN COMODATO S',2,'FLCCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NTBADC','01',52,'BLOCCO PER CLIENTI BLOCCATI',2,'BLOCCB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBADC','01',53,'CODICE DESTINATARIO',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBADC','01',54,'CONTROLLO COMMERCIALIZZAZIONE S/N',2,'CTRCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',55,'FLAG GESTIONE DATI FOOD DEFENCE',2,'FLAGFD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',59,'DATA INIZIO OBBL. DATI FOOD DEFENCE',2,'DTAOFD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NTBADC','01',60,'CREA MOV.R.U.  SENZA SOGGETTO',2,'RUNSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADC','01',61,'CODICE ESONERO/DEROGA',2,'CODESO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBADC','01',62,'CODICE CAUSALE TRASPORTO MVV-E (SIAN)',2,'CAUMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBADC','01',63,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('NTBADD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBADD','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBADD','01',3,'TIPO RECORD = "DD"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBADD','01',4,'CAUSALE BOLLA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADD','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBADD','01',6,'CAUSALI MAGAZZINO',2,'CMAGAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBADD','01',7,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',8,'CAUSALE MAGAZZINO USCITA CARTONI (BREG.)',3,'CMPCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',9,'CAUSALE MAG.PARTENZA VEND. CMP NO STAMPA',3,'CMPVCN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',10,'CAUSALE MAG.PARTENZA OMAG. CMP NO STAMPA',3,'CMPOCN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',11,'CAUSALE MAGAZZINO PARTENZA VENDITA',3,'CMPVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',12,'CAUSALE MAGAZZINO ARRIVO VENDITA',3,'CMAVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',13,'CAUSALE MAGAZZINO PARTENZA OMAGGI',3,'CMPOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',14,'CAUSALE MAGAZZINO ARRIVO OMAGGI',3,'CMAOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',15,'CAUSALE MAGAZZINO PARTENZA RESO VUOTI',3,'CMPRSV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',16,'CAUSALE MAGAZZINO ARRIVO RESO VUOTI',3,'CMARSV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',17,'CAUSALE MAGAZZINO PARTENZA CONSEGNA VUOT',3,'CMPCOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',18,'CAUSALE MAGAZZINO ARRIVO CONSEGNA VUOTI',3,'CMACOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',19,'CAUSALE MAGAZZINO PERDITE TRASPORTO',3,'CMPPRT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',20,'CAUSALI COMMERCIALIZZAZIONE',2,'CCOMME',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBADD','01',21,'CAUSALE COMMERCIALIZZAZIONE PARTENZA',3,'CCPVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',22,'CAUSALE COMMERCIALIZZAZIONE ARRIVO',3,'CCAVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',23,'CAUSALE COMMERC. PARTENZA OMAGGI',3,'CCPOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',24,'CAUSALE COMMERC. ARRIVO OMAGGI',3,'CCAOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',25,'CAUSALE COMMERC. PERDITE DI TRASPORTO',3,'CCPPRT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',26,'CAUSALI TAPPI FISCALI',2,'CTAPPF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBADD','01',27,'CAUSALE CONTRASSEGNI IVA PARTENZA',3,'CTPVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',28,'CAUSALE CONTRASSEGNI IVA ARRIVO',3,'CTAVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',29,'CAUSALE CONTRASSEGNI IVA PARTENZA OMAGGI',3,'CTPOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',30,'CAUSALE CONTRASSEGNI IVA ARRIVO OMAGGI',3,'CTAOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',31,'CAUSALE CONTRASS. IVA PERDITE TRASPORTO',3,'CTPPRT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',32,'CAUSALI IMBOTTIGLIAMENTO',2,'CIMBOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBADD','01',33,'CAUSALE IMBOTTIGLIAMENTO',3,'CIPIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',34,'CAUSALI CONTRASSEGNI IVA SFUSO',2,'CCIVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBADD','01',35,'CAUS. CONTR. IVA PARTENZA VENDITA SFUSO',3,'CIPVES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',36,'CAUSALE CONTR. IVA ARRIVO VENDITA SFUSO',3,'CIAVES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',37,'CAUSALE CONTR. IVA PARTENZA OMAGGI SFUSO',3,'CIPOMS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',38,'CAUSALE CONTR. IVA ARRIVO OMAGGI SFUSO',3,'CIAOMS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',39,'MODULO DICHIARAZIONE PULIZIA CISTERNE',2,'MODPUL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADD','01',40,'BLOCCO DICHIARAZIONE PULIZIA CISTERNE',2,'BLOPUL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBADD','01',41,'STAMPANTE DICHIARAZIONE PULIZIA CISTERNE',2,'STPPUL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBADD','01',42,'MODULO CMR',2,'MODCMR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADD','01',43,'STAMPANTE DI DEFAULT MODULO CMR',2,'STPCMR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBADD','01',44,'BOLLA ESENTE DA DIRITTI ACCISA /S',2,'ESDIAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADD','01',45,'SCARTONA/CARTONA IN MAG.ARRIVO S/C',2,'FLGSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBADD','01',46,'CAUSALE OPERAZIONE REG. UNICO PARTENZA',2,'CRUPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',47,'CAUSALE OPERAZIONE REG.UNICO ARRIVO',2,'CRUARR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',48,'CAUSALE OPERAZIONE REG.UNICO IMBOTT',2,'CRUIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBADD','01',49,'CAUSALE REGISTRO UNICO IMBOTTIGLIAMENTO',2,'CRCPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADD','01',50,'CAUSALE REGISTRO UNICO ARRIVO',2,'CRCARR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBADD','01',51,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,71,71,0,0,'X(71)','',0,'',0,0,'' )
,('NTBAFC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAFC','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAFC','01',3,'CODICE',3,'CODICE',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAFC','01',4,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAFC','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,'' )
,('NTBAFC','01',6,'TIPO NOMINATIVO',2,'TIPNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAFC','01',7,'LIMITE IMPORTO MASSIMO ANNO SOLARE',2,'LIMITE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('NTBAFC','01',9,'TESSERA A PUNTI S/N',2,'FLGPUN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAFC','01',10,'LIMITE SCAGLIONE PUNTI',2,'LIMPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('NTBAFC','01',11,'IMPORTO SCONTO AL RAGGIUNGIMENTO PUNTI',2,'SCOPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('NTBAFC','01',12,'CODICE ARTICOLO IMPORTO SCONTO',2,'ARTSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBAFC','01',13,'AMM.IMP.NUOVO NOM IN REGISTRAZIONE',2,'AMIMNO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAFC','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,69,69,0,0,'X(69)','',0,'',0,0,'' )
,('NTBAFT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAFT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAFT','01',3,'CODICE TIPO FIDELITY CARD',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAFT','01',4,'NUMERO PORZIONE',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAFT','01',5,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('NTBAGR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAGR','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAGR','01',3,'TIPO RECORD = "GR"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAGR','01',4,'CODICE GRUPPO RICAVO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAGR','01',5,'CODICE MAGAZZINO',3,'CODMAG',3,4,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAGR','01',6,'ZERI',3,'ZEROES',4,5,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('NTBAGR','01',7,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAGR','01',8,'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,'' )
,('NTBAGR','01',9,'RICAVI ITALIA',2,'CODITA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAGR','01',10,'GRUPPO RICAVI ITALIA',3,'GRUITA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAGR','01',11,'CONTO RICAVI ITALIA',3,'CONITA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAGR','01',12,'SOTTOCONTO RICAVI ITALIA',3,'SCOITA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAGR','01',13,'RICAVI ESTERO',2,'CODEST',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAGR','01',14,'GRUPPO RICAVI ESTERO',3,'GRUEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAGR','01',15,'CONTO RICAVI ESTERO',3,'CONEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAGR','01',16,'SOTTOCONTO RICAVI ESTERO',3,'SCOEST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAGR','01',17,'RICAVI CEE',2,'CODCEE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAGR','01',18,'GRUPPO RICAVI CEE',3,'GRUCEE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAGR','01',19,'CONTO RICAVI CEE',3,'CONCEE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAGR','01',20,'SOTTOCONTO RICAVI CEE',3,'SCOCEE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAGR','01',21,'RICAVI PUNTO VENDITA',2,'CODPVE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAGR','01',22,'GRUPPO RICAVI PUNTO VENDITA',3,'GRUPVE',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
('NTBAGR','01',23,'CONTO RICAVI PUNTO VENDITA',3,'CONPVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAGR','01',24,'SOTTOCONTO RICAVI PUNTO VENDITA',3,'SCOPVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAGR','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('NTBAKK','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAKK','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAKK','01',3,'TIPO RECORD = "KK"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAKK','01',4,'CODICE CAUSALE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'X' )
,('NTBAKK','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAKK','01',7,'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,'' )
,('NTBAKK','01',8,'IMMISSIONE VELOCE S/N',2,'IMMVEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',9,'TIPO CAUSALE',2,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAKK','01',11,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',20,'TIPO DARE',2,'TIPDAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',25,'TIPO AVERE',2,'TIPAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',30,'REGISTRO IVA',2,'REGIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAKK','01',31,'TIPO REGISTRO NORMALE',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',32,'NUMERO REGISTRO NORMALE',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAKK','01',33,'TIPO REGISTRO INTRA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',34,'NUMERO REGISTRO INTRA',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAKK','01',35,'QUADRATURA IMPONIBILE S/N',2,'QUAIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',36,'QUADRATURA IMPOSTA S/N',2,'QUAIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',37,'EFFETTO SU FATTURE RICEVUTE',2,'EFFRIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',41,'DESCR AGG CONTR AUT DA RAG SOC S/N',2,'DESAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',42,'COMPOSIZIONE PARTITA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',45,'EFFETTO SU CALCOLO LIQUIDAZIONE +/-/BLK',2,'EFFLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',46,'EFFETTO SU CALCOLO ACCONTI +/-/BLANK',2,'EFFACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',47,'CAUSALE OBSOLETA S/N',2,'OBSOLE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',48,'DATA PAGAMENTO OBBLIGATORIA S/N',2,'PAGOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',49,'CODICE GRUPPO SOCI',2,'GRUSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',50,'CODICE CONTO SOCI',2,'CONSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',51,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',52,'CONTO DARE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',53,'SOTTOCONTO DARE',2,'SOTDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAKK','01',54,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',55,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',56,'SOTTOCONTO AVERE',2,'SOTAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAKK','01',57,'GRUPPO CONTROPARTITA',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',58,'CONTO CONTROPARTITA',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',59,'SOTTOCONTO CONTROPARTITA',2,'SOTCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAKK','01',60,'TIPO REG. (MOVIMENTI COMPOSTI)',2,'TIPSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',64,'DATA VALUTA LIBRETTI OBBLIGATORIA S/N',2,'VALOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',65,'SIGLA CAUSALE',2,'SIGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAKK','01',66,'CODICE AGENTE OBBLIGATORIO S/N',2,'AGEOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',67,'CODICE CAUSALE EFFETTI',2,'CAUEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',68,'GRUPPO PORTAFOGLIO EFFETTI',2,'GRUEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',69,'CONTO PORTAFOGLIO EFFETTI',2,'CONEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',70,'SOTTOCONTO PORTAFOGLIO EFFETTI',2,'SOTEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAKK','01',71,'TIPO DOCUMENTO (documenti iva soci)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',75,'PRIMA D. A. FOR. SU SECONDA D.A. COSTO',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',76,'STAMPA RICEVUTA S/N',2,'STARIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',77,'S=CTR CHE DATA REG = DATA PRIMARIA',2,'CTRDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',78,'GRUPPO/CONTO/SOTTOCONTO IVA',2,'GCSIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAKK','01',79,'GRUPPO IVA',3,'GRUIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',80,'CONTO IVA',3,'CONIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',81,'SOTTOCONTO IVA',3,'SOTIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAKK','01',82,'CREAZIONE FATTURE SOCI /S (SOAVE)',2,'CREFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',83,'MOVIMENTO NO IVA',2,'NONIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',84,'GCS IMPORTO IVA',2,'GCSNIV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAKK','01',85,'GRUPPO IMPORTO IVA',3,'GRUNIV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',86,'CONTO IMPORTO IVA',3,'CONNIV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',87,'SOTTOCONTO IMPORTO IVA',3,'SOTNIV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAKK','01',88,'LETTURA BARCODE S/N',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',89,'TIPO DOCUMENTO PER DOCUMENTALE',2,'DOCDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAKK','01',90,'PAGAMENTO PIU'' PARTITE PAG. CON ABBUONO',2,'PAGMUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',91,'RATEI/RISCONTI AUTOMATICI',2,'RATRIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',92,'STAMPA INTEGRAZIONE REV. CHARGE ITALIA',2,'STINCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',93,'TIPO DOCUMENTO PER SPESOMETRO',2,'TDSPES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAKK','01',94,'EXPORT SU AGYO S/N',2,'EXPAGY',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAKK','01',95,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('NTBALI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBALI','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBALI','01',3,'TIPO RECORD = "LI"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBALI','01',4,'CODICE LISTINO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NTBALI','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTBALI','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBALI','01',7,'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,'' )
,('NTBALI','01',8,'VALUTA DI RIFERIMENTO (ZERO = LIRE)',2,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBALI','01',9,'TIPO PREZZO (I=IVATO, N=NETTO)',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBALI','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('NTBALN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBALN','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBALN','01',3,'TIPO RECORD = "LN"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBALN','01',4,'CODICE LINGUA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBALN','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('NTBALN','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBALN','01',7,'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,'' )
,('NTBALN','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('NTBAM1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAM1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAM1','01',3,'TIPO RECORD = "M1"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAM1','01',4,'CODICE MAGAZZINO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAM1','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NTBAM1','01',6,'LUOGO PARTENZA BOLLE',2,'LUOPAR',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAM1','01',7,'DESCRIZIONE REGISTRI MOVIMENTI INVERSI',2,'DESREG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NTBAM1','01',8,'VECCHIO CODICE ACCISA -> ATBAM2-01LS-ACC',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('NTBAM1','01',9,'LUOGO ARRIVO MERCI',2,'LUOARR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NTBAM1','01',10,'CONTO PAGAMENTO FATT.ACCOMP.PUNTO VEND.',2,'CPFAPV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAM1','01',11,'GRUPPO',3,'CPFAGR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAM1','01',12,'CONTO',3,'CPFACO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NTBAM1','01',13,'SOTTOCONTO',3,'CPFASO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAM1','01',14,'CAUSALE CONTABILE PAGAM.FATT.ACC.P.VEND.',2,'CCFAPV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAM1','01',15,'CODICE REGISTRO ZUCCHERI',2,'REGZUC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAM1','01',16,'NUMERO FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NTBAM1','01',17,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('NTBAM1','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('NTBAM2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAM2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAM2','01',3,'TIPO RECORD = "M2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAM2','01',4,'CODICE MAGAZZINO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAM2','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NTBAM2','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,'' )
,('NTBAM2','01',7,'CODICE REGISTRO DOLCIFICAZIONE',2,'REGDOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAM2','01',8,'CODICE REGISTRO FRIZZANTI',2,'REGFRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAM2','01',9,'CODICE REGISTRO SPUMANTI',2,'REGSPU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAM2','01',10,'CODICE GRAFICA',2,'CODGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAM2','01',11,'CLIENTE FISSO TRIANGOLAZIONE',2,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAM2','01',12,'CONTO PAGAMENTO FATT. DIFF. DA P. VEND.',2,'CPFDPV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAM2','01',13,'GRUPPO',3,'CPFDGR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAM2','01',14,'CONTO',3,'CPFDCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAM2','01',15,'SOTTOCONTO',3,'CPFDSO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAM2','01',16,'CAUSALE CONTABILE PAGAM. FATT.DIFF. P.V.',2,'CCFDPV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAM2','01',17,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NTBAM2','01',18,'LUOGO DI SPEDIZIONE DAA TELEMATICO',2,'LUOSPE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAM2','01',20,'CODICE ACCISA',3,'LS-ACC',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('NTBAM2','01',21,'DENOMINAZIONE',3,'LS-DEN',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NTBAM2','01',22,'INDIRIZZO',3,'LS-IND',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NTBAM2','01',23,'CAP',3,'LS-CAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBAM2','01',24,'LUOGO',3,'LS-LUO',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('NTBAM2','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMA','01',3,'TIPO RECORD = "MA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAMA','01',4,'CODICE MAGAZZINO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAMA','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'X' )
,('NTBAMA','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAMA','01',7,'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,'' )
,('NTBAMA','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAMA','01',9,'CODICE CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBAMA','01',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAMA','01',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAMA','01',12,'CODICE REGISTRO COMMERCIALIZZAZIONE VINI',2,'CRCVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAMA','01',13,'CODICE REGISTRO COMMERCIALIZZAZIONE SUCC',2,'CRCSUC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAMA','01',14,'CODICE REGISTRO CONTRASSEGNI IVA VINI',2,'CRTVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAMA','01',15,'CODICE REGISTRO CONTRASSEGNI IVA SUCCHI',2,'CRTSUC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAMA','01',16,'CODICE REGISTRO IMBOTTIGLIAMENTO VINI',2,'CRIVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAMA','01',17,'CODICE REGISTRO ACCISA VINI CONFEZIONATO',2,'CRAVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAMA','01',18,'FLAG MAGAZZINO SPECIALE S/N',2,'FLGSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',19,'TIPO AGG.REG. BOLLE SPACCIO I/D/N',2,'TARBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',20,'TIPO AGG.REG. SCONTRINI SPACCIO I/D/N',2,'TARSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',21,'CODICE REGISTRO ERGA OMNES VINI',2,'CREVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAMA','01',22,'CODICE REGISTRO ACCISA VINI SFUSI',2,'CRASFU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAMA','01',23,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NTBAMA','01',24,'CODICE CLIENTE COLLEGATO (ROBOS VALDO)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAMA','01',25,'GESTITO AD ALVEOLI (S/N)',2,'FLGALV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',26,'CODICE DESTINATARIO CLIENTE',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAMA','01',27,'AZIENDA DEL MAGAZZINO',2,'AZIMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAMA','01',28,'REGISTRO CONSIGNMENT STOCK',2,'REGCST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAMA','01',29,'FLAG LOCALE/REMOTO',2,'LOCREM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',30,'REGISTRO VITIVINICOLO UNICO',2,'REGVUN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAMA','01',31,'CODICE COMUNE ISTAT',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAMA','01',32,'TIME STAMP UTLIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMA','01',33,'DATA ULTIMA MODIFICA REG.UNICO TEL',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NTBAMA','01',34,'ORA ULTIMA MODIFICA REG.UNICO TEL',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NTBAMA','01',35,'CODICE LINEA PRODUZIONE PREDEFINITA',2,'LINPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAMA','01',36,'CODICE CAUSALE PRODUZIONE PREDEFINITA',2,'PROPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAMA','01',37,'CREA MOVIMENTI DA ANONIMI (S/N)',2,'CARUPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',38,'CREA MOVIMENTI DA INTESTATI (S/N)',2,'CIRUPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',39,'TIPO AGGIORNAMENTO SFUSI REGISTRO UNICO',2,'FLGSRU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',42,'AGGIORNAMENTO REGISTRO VENDITE CLIENTI',2,'VCRUPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',46,'PRODOTTO R.U. SU DETTAGLIO BOLLETTE S/N',2,'PRUDET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMA','01',47,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('NTBAMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMP','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMP','01',3,'TIPO RECORD = "MP"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAMP','01',4,'CODICE MODALITA'' DI PAGAMENTO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBAMP','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'X' )
,('NTBAMP','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAMP','01',7,'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,'' )
,('NTBAMP','01',8,'TIPO PAGAMENTO',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAMP','01',15,'SCORPORO IVA S/N',2,'SCOIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',17,'FILLER EX IMPORTO ANTICIPO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NTBAMP','01',18,'TIPO MESE',2,'TIPMES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',21,'TIPO CALCOLO DATA PARTENZA',2,'DATPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',29,'TIPO CALCOLO DATA ARRIVO',2,'DATARR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',34,'GIORNO FISSO',2,'GIOFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAMP','01',35,'TIPO SPOSTAMENTO GIORNO FISSO',2,'SPOFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',39,'MESI SENZA EFFETTI',2,'MESINO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMP','01',40,'MESE SENZA EFFETTI',3,'MESENO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',6,'',0,0,'' )
,('NTBAMP','01',41,'TIPO SPOSTAMENTO MESI SENZA EFFETTI',2,'SPOMES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',44,'PERCENTUALE SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBAMP','01',45,'PROVVIGIONE AGGIUNTIVA INCASSO AGENTE',2,'PROINC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBAMP','01',46,'STAMPA RICEVUTA PER AGENTE S/N',2,'RICAGE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',47,'SOLLECITI S/N',2,'INVSOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',48,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('NTBAMP','01',49,'SPESE INCASSO PER FATTURAZIONE',2,'SPEFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('NTBAMP','01',50,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAMP','01',51,'TIPO SCADENZA',2,'TIPSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',56,'ARTICOLO SPESE INCASSO',2,'ARTINC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NTBAMP','01',57,'STAMPA SCADENZE IN FATTURA S/N',2,'STSINF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',58,'IMPORTO PARTE RIMESSA DIRETTA A VISTA',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('NTBAMP','01',59,'PERC. IMPORTO RIMESSA DIRETTA A VISTA',2,'PERANT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAMP','01',60,'ARROTONDAMENTO IMPORTO PARTE R.DIR VISTA',2,'ARRANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',61,'MODALITA'' AFFIDATA S/N',2,'MODAFF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',62,'S=MAV',2,'TIPMAV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',63,'.RES 038: VISIBILE WEB (S/ )',2,'FLGWEB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',64,'.RES 038: ITALIA/ESTERO/TUTTI (I/E/ )',2,'FLGNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',65,'.RES 038: BLOCCANTE (S/ )',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',66,'.RES 038: VISIBILE INS.NUOVO CLI. (S/ )',2,'FLGINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',67,'.RES 038: ANTICIPO  (1/ )',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMP','01',68,'MODALITA'' DI PAGAMENTO FATTURA PA',2,'MODFPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAMP','01',69,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('NTBAMT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMT','01',3,'TIPO RECORD = "MT"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAMT','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAMT','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'X' )
,('NTBAMT','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAMT','01',7,'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,'' )
,('NTBAMT','01',8,'DESCRIZIONE ''A CURA DEL'' STAMPA DOCO',2,'DSDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NTBAMT','01',9,'DESCRIZIONE ''TIPO DOCUMENTO'' STAMPA DOCO',2,'MDDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NTBAMT','01',10,'TRASPORTATORE OBBLIGATORIO IN BOLLA S/N',2,'OBBTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMT','01',11,'TIPO TRASPORTO DOCO (D/M/V)',2,'TTDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMT','01',12,'TIPO DOCUMENTO DOCO (A/B/C/I)',2,'TDDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMT','01',13,'.RES 038: PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBAMT','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,63,63,0,0,'X(63)','',0,'',0,0,'' )
,('NTBAMZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAMZ','01',3,'TIPO RECORD = "MZ"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAMZ','01',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAMZ','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'X' )
,('NTBAMZ','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAMZ','01',7,'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,'' )
,('NTBAMZ','01',8,'MODO TRASPORTO PER MODELLO INTRA',2,'MINTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAMZ','01',9,'MODALITA'' DI TRASPORTO (T008 AG.DOGANE)',2,'CDT008',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAMZ','01',10,'COD.UNITA''DI TRASPORTO (T009 AG.DOGANE)',2,'CDT009',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',2,'',0,0,'' )
,('NTBAMZ','01',12,'CODICE MEZZO DA TABELLE SIAN PER MVV-E',2,'CODMVV',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAMZ','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('NTBAP1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAP1','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAP1','01',3,'TIPO RECORD = "P1"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAP1','01',4,'CODICE MODALITA'' DI PAGAMENTO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBAP1','01',5,'0=PRIMO RECORD, 1=SECONDO RECORD',3,'NUMREC',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAP1','01',8,'VECCHIO NOME DEL CAMPO',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'S',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBAP1','01',9,'AREA SCADENZE VARIABILI',2,'SCAVAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAP1','01',10,'SCADENZE CON INTERVALLO VARIABILE',3,'ELEVAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('NTBAP1','01',11,'GIORNI INTERVALLO DA PRECEDENTE',4,'INTVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAP1','01',12,'PERCENTUALE SCADENZA',4,'PERVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAP1','01',13,'NUMERO SCADENZE FISSE',2,'NUMFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAP1','01',16,'PERCENTUALE SCADENZE FISSE',2,'PERFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAP1','01',19,'AREA DATE FISSE',2,'DATFIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAP1','01',20,'SCADENZE A DATE FISSE',3,'ELEFIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('NTBAP1','01',21,'MESE SCADENZA DATA FISSA',4,'MESFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAP1','01',22,'GIORNO SCADENZA DATA FISSA',4,'GIOFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAP1','01',23,'PERCENTUALE SCADENZA DATA FISSA',4,'PERDAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAP1','01',24,'DATA PRIMA SCADENZA INTERVALLI FISSI',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('NTBAP1','01',27,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAP1','01',28,'ANNO PRIMA SCADENZA',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAP1','01',29,'MESE PRIMA SCADENZA',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAP1','01',30,'GIORNO PRIMA SCADENZA',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAP1','01',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('NTBAPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPC','01',2,'chiave',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPC','01',3,'TIPO RECORD = "PC"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAPC','01',4,'CODICE GIORNO DI CHIUSURA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAPC','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTBAPC','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAPC','01',7,'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,'' )
,('NTBAPC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('NTBAPO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPO','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPO','01',3,'TIPO RECORD = "PO"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAPO','01',4,'CODICE PORTO',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAPO','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTBAPO','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAPO','01',7,'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,'' )
,('NTBAPO','01',8,'DESCRIZIONE STAMPA BOLLA/FATTURA',2,'DESBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAPO','01',9,'CODICE MODALITA'' DI TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMT',1,1,'' )
,('NTBAPO','01',10,'TIPO PREZZO',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPO','01',14,'CONDIZIONE DI CONSEGNA INTRASTAT',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPO','01',15,'RESPONSABILE TRASPORTO (T016 AG DOGANE)',2,'CDT016',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPO','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('NTBAPP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPP','01',3,'TIPO RECORD = "PP"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAPP','01',4,'CAUSALE PUNTO VENDITA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAPP','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'X' )
,('NTBAPP','01',6,'CAUSALE FATTURA',2,'CAUFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAPP','01',7,'CODICE MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBAPP','01',8,'CODICE COMMENTO FISSO BOLLETTE',2,'COMFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NTBAPP','01',9,'CAUSALI CONTRASSEGNI IVA (SFUSO)',2,'CAUCIV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPP','01',10,'CAUSALE CONTRASSEGNI IVA VENDUTO SFUSO',3,'CCIVES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPP','01',11,'CAUSALE CONTRASSEGNI IVA OMAGGIO SFUSO',3,'CCIOMS',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPP','01',12,'ACCOMPAGNATORIA (S/N/X)',2,'FATACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPP','01',13,'CAUSALE FATTURA ACCOMPAGNATORIA',2,'CAUFAC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAPP','01',14,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NTBAPP','01',15,'MODULO STAMPA DDT CUI SEGUE FATTURA (OPZ',2,'MODDDT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAPP','01',16,'BLOCCO DDT CUI SEGUE FATTURA (OPZIONALE)',2,'BLODDT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAPP','01',17,'PERMETTI VENDITE A CLIENTI NO FATTURA SN',2,'FLGNFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NTBAPP','01',18,'FLAG OBSOLETA ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPP','01',19,'ASPETTO DEI BENI OBBLIGATORIO PER BOLLE',2,'FLGASP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPP','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('NTBAPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPV','01',3,'TIPO RECORD = "PV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAPV','01',4,'CAUSALE PUNTO VENDITA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAPV','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAPV','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAPV','01',7,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAPV','01',8,'TIPO NOMINATIVO DI DEFAULT',2,'TIPNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBAPV','01',9,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAPV','01',10,'CAUSALI MAGAZZINO',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPV','01',11,'CAUSALE MAGAZZINO VENDUTO',3,'CMGVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',12,'CAUSALE MAGAZZINO OMAGGI',3,'CMGOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',13,'CAUSALE MAGAZZINO RESO VUOTI',3,'CMGRSV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',14,'CAUSALE MAGAZZINO RESO VUOTI',3,'CMGCOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',15,'CAUSALE MAGAZZINO PERDITE',3,'CMGPRD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',16,'CAUSALE MAGAZZINO USCITA CARTONI',3,'CMGCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',17,'CAUSALI COMMERCIALIZZAZIONE',2,'CAUCOM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPV','01',18,'CAUSALE COMMERCIALIZZAZIONE VENDUTO',3,'CCOVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',19,'CAUSALE COMMERCIALIZZAZIONE OMAGGI',3,'CCOOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',20,'CAUSALE COMMERCIALIZZAZIONE PERDITE',3,'CCOPRD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',21,'CAUSALI CONTRASSEGNI IVA',2,'CAUCIV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAPV','01',22,'CAUSALE CONTRASSEGNI IVA VENDUTO',3,'CCIVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',23,'CAUSALE CONTRASSEGNI IVA OMAGGI',3,'CCIOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',24,'CAUSALE CONTRASSEGNI IVA PERDITE',3,'CCIPRD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',25,'CODICE MODALITA'' TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAPV','01',26,'CODICE BLOCCO BOLLE (ZERO=NUM.MANUALE)',2,'BLOBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAPV','01',27,'CODICE BLOCCO SCONTRINO (ZERO=NUM.MAN.)',2,'BLOSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAPV','01',28,'NOME PROGRAMMA STAMPA MODULO BOLLA',2,'MODBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAPV','01',29,'NOME PROGRAMMA STAMPA MODULO SCONTRINO',2,'MODSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAPV','01',30,'ESTRAZIONE STATISTICHE (S/N/P)',2,'FLSTAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPV','01',34,'BOLLETTA DI SOLO OMAGGI (S/N)',2,'FLGOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPV','01',35,'CODICE MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBAPV','01',36,'CAUSALE REGISTRO IMBOTTIGLIAMENTO',2,'CIPIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',37,'CAUSALE MAGAZZINO VENDUTO CMP.NO STAMPA',2,'CMGVCN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',38,'CAUSALE MAGAZZINO OMAGGI CMP.NO STAMPA',2,'CMGOCN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',39,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NTBAPV','01',40,'GESTITO CON DOCUMENTALE STDM (S/N)',2,'FLSTDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPV','01',41,'AGG.MAGAZZINO DA DOC.NON INTESTATI S/N',2,'FLMGNI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPV','01',42,'PROPONI FLAG ORDINE/BOLLA (/O/B/ )',2,'FLAGOB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPV','01',43,'CAUSALE MAGAZZINO ORDINATO',2,'CMGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',44,'NUMERARE BOLLETTE PRIVATI SEMPRE (S/N)',2,'FLGNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPV','01',45,'CAUSALE OPERAZ. REGISTRO UNICO VENDITA',2,'CRUVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',46,'CAUSALE OPERAZ. REGISTRO UNICO IMBOTT.',2,'CRUIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',47,'CAUSALE OPERAZ. RESO REGISTRO UNICO',2,'CRURES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTBAPV','01',48,'CAUSALE REGISTRO UNCIO VENDITA',2,'CRCVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAPV','01',49,'CAUSALE NOTA DI ACCREDITO',2,'CAUNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBAPV','01',50,'PROPORRE STAMPA S/N NUOVO DOCUMENTO',2,'STAMPA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAPV','01',51,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('NTBARC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBARC','01',2,'TIPO RECORD = "RC"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBARC','01',3,'CODICE RAGRUPPAMENTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBARC','01',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NTBARC','01',5,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBARC','01',6,'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,'' )
,('NTBARC','01',7,'NUMERO COLONNA ALLEGATI INTERESSATA',2,'NUMCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('NTBARC','01',8,'RIFERIMENTO PER ARCHIVIO TELEMATICO',2,'RIFTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('NTBARC','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('NTBASM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBASM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBASM','01',3,'TIPO RECORD = "SM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBASM','01',4,'CODICE SALDO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBASM','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('NTBASM','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBASM','01',7,'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,'' )
,('NTBASM','01',8,'DESCRIZIONE INTESTAZIONE ALLINEATA A DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('NTBASM','01',9,'TIPO SALDO',2,'TIPSAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBASM','01',17,'GESTITO A VALORE S/N',2,'FLGVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBASM','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,88,88,0,0,'X(88)','',0,'',0,0,'' )
,('NTBATN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBATN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBATN','01',3,'TIPO RECORD = "TN"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBATN','01',4,'CODICE TIPO NOMINATIVO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTBATN','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('NTBATN','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBATN','01',7,'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,'' )
,('NTBATN','01',8,'CODICE NOMINATIVO GENERICO',2,'NOMGEN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBATN','01',9,'TIPO LISTINO (S=SOCI/N=NOMINATIVI)',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATN','01',10,'PERCENTUALE DI SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBATN','01',11,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NTBATN','01',12,'PROPONI NOMINATIVO/SOCIO/CLIENTE/TABELLA',2,'FLAGSN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATN','01',13,'CODICE MAGAZZINO PER CUI E'' VALIDO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBATN','01',14,'OBBLIGO IMPUTAZIONE CONVENZIONATO (S/N)',2,'FLCONV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATN','01',15,'MODALITA'' DI TRASPORTO',2,'MODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTBATN','01',16,'MODALITA'' DI PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBATN','01',17,'CODICE ARTICOLO SPESE TRASPORTO',2,'ARTSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBATN','01',18,'SPESE DI TRASPORTO',2,'SPETRA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('NTBATN','01',19,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NTBATN','01',20,'SIGLA TIPO NOMINATIVO',2,'SIGTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NTBATN','01',21,'SCONTO MASSIMO AMMESSO',2,'SCOMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTBATN','01',22,'CONSIDERARE SCONTI MERCE IN CTR SC. MAX.',2,'CTRSCM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATN','01',23,'TIPO INCASSO',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATN','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('NTBATR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBATR','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBATR','01',3,'TIPO RECORD = "TR"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBATR','01',4,'CODICE TRASPORTATORE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('NTBATR','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('NTBATR','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBATR','01',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBATR','01',8,'CODICE AVVIAMENTO POSTALE',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTBATR','01',9,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBATR','01',10,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBATR','01',11,'PARTITA IVA/CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NTBATR','01',12,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBATR','01',13,'VECCHIO CODICE ACCISA -> ATBATR-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('NTBATR','01',14,'CREA FILE TXT IN CREAZ.BOLLE DA SCHEDE V',2,'FLGSCH',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATR','01',15,'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,'' )
,('NTBATR','01',16,'CODICE ISCRIZIONE ALL''ALBO',2,'ISCALB',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBATR','01',17,'TIPO NUMERAZIONE ORDINI PALETTA COMPLETA',2,'FLGNPC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATR','01',20,'STAMPA TOTALE PALETTE (S/N)',2,'FLGSTP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATR','01',21,'PERMETTI LA MODIFICA DEL FLAG PRECEDENTE',2,'MODSTP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATR','01',23,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('NTBATR','01',24,'DETT.X TIPO PALETTA IN CREA BOLLE DA SV',2,'FLGTPP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATR','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NTBATR','01',26,'AUTISTA DI DEFAULT',2,'AUTDEF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NTBATR','01',27,'TIPO TRASPORTO SYSTORE SOAVE (A/B)',2,'TTRSYS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATR','01',28,'CODICE GLN PER EDI',2,'CODGLN',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NTBATR','01',29,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBATR','01',30,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBATR','01',31,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('NTBATR','01',32,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTBATV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBATV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBATV','01',3,'TIPO RECORD = "TV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBATV','01',4,'CODICE TIPO VUOTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBATV','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('NTBATV','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBATV','01',7,'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,'' )
,('NTBATV','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('NTBAU1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAU1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAU1','01',3,'TIPO RECORD = "U1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAU1','01',4,'CODICE UNITA'' DI MISURA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAU1','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('NTBAU1','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,'' )
,('NTBAU1','01',7,'ASPETTO ESTERIORE DEI BENI',2,'CODAES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAU1','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,153,153,0,0,'X(153)','',0,'',0,0,'' )
,('NTBAUM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAUM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAUM','01',3,'TIPO RECORD = "UM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAUM','01',4,'CODICE UNITA'' DI MISURA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('NTBAUM','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'X' )
,('NTBAUM','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAUM','01',7,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NTBAUM','01',8,'RECIPIENTI PER REGISTRO IMBOTTIGLIAMENTO',2,'RECIMB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAUM','01',9,'CODICE RECIPIENTE',3,'CODREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('NTBAUM','01',10,'NUMERO RECIPIENTI',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',11,'CAPACITA'' RECIPIENTE (VECCHIO 2 DEC)',2,'CAPOLD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',12,'RECIP.RICHIESTO AL PUNTO VENDITA (N/S/O)',2,'RECRPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAUM','01',13,'SIGLA UNITA'' DI MISURA',2,'SIGUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAUM','01',14,'SIGLA STAMPA ORDINI, BOLLE, FATTURE',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAUM','01',15,'TIPO UNITA'' DI MISURA',2,'TIPUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAUM','01',19,'COMPONENTI LA CONFEZIONE',2,'NRCOMP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',20,'FATTORI DI CONVERSIONE',2,'FATTCO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAUM','01',21,'QUANTITA'' IN LITRI',3,'QLITRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',22,'PESO LORDO UNITARIO (KILOGRAMMI)',3,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',23,'PESO NETTO UNITARIO (KILOGRAMMI)',3,'PNETTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',24,'VOLUME UNITARIO DM3',3,'VOLUME',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9999V999 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',25,'GESTIONE VUOTI',2,'GESVUO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',2,'',0,0,'' )
,('NTBAUM','01',26,'CODICE ARTICOLO VUOTO',3,'CODVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTBAUM','01',27,'QUANTITA VUOTI DA SCARICARE',3,'QTVSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',28,'UN VUOTO DA SCARICARE OGNI',3,'QTVOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',29,'CONTRASSEGNI IVA',2,'CONIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAUM','01',30,'CODICE CONTRASSEGNO IVA',3,'CODTAP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('NTBAUM','01',31,'QUANTITA'' DA SCARICARE',3,'QTTSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',32,'RECIPIENTE OBBLIGATORIO S/N/O',2,'RECOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAUM','01',33,'TOTALIZZA COLLI (S/N)',2,'SCCOLL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAUM','01',34,'NUMERO BOTTIGLIE',2,'NRBOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('NTBAUM','01',35,'PESO TARA (KG)',2,'PESTAR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,3,0,'9999V999','',0,'',0,0,'' )
,('NTBAUM','01',36,'CAPACITA'' RECIPIENTE',2,'CAPREP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('NTBAUM','01',37,'CODICE IMBALLAGGIO (T010 AG. DOGANE)',2,'CDT010',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTBAUM','01',38,'NUMERO COMPONENTRI RIFERITI A CDT010',2,'NRCD10',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('NTBAUM','01',39,'STAMPOA ETICHETTE SV S/N',2,'STETSV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTBAUM','01',40,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NTBAVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAVA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAVA','01',3,'TIPO RECORD = "VA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAVA','01',4,'CODICE VALUTA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAVA','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTBAVA','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAVA','01',7,'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,'' )
,('NTBAVA','01',8,'SIGLA DI STAMPA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NTBAVA','01',9,'NUMERO DECIMALI (0-3)',2,'NUMDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('NTBAVA','01',10,'CAMBIO EURO',2,'CAMEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,6,0,'999V9(6)','',0,'',0,0,'' )
,('NTBAVA','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('NTBAZC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAZC','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTBAZC','01',3,'TIPO RECORD = "ZC"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTBAZC','01',4,'CODICE ZONA DI CONSEGNA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTBAZC','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTBAZC','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTBAZC','01',7,'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,'' )
,('NTBAZC','01',8,'% ADDEBITO SCONTO MERCE PROVVIGIONI',2,'PERDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('NTBAZC','01',11,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBALI',1,1,'' )
,('NTBAZC','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('NTIPPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTIPPA','01',2,'CHIAVE',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
('NTIPPA','01',3,'CODICE COMUNE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTIPPA','01',4,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTIPPA','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,'' )
,('NTIPPA','01',6,'TIPO PAGAMENTO (DA AV2000.HLP)',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTIPPA','01',13,'SCONTO PERCENTUALE PER ADDEBITO SOCI',2,'SCOADD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('NTIPPA','01',14,'IMPORTO MASSIMO ACCETTABILE',2,'MAXIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('NTIPPA','01',15,'DESCRIZIONE TIPO PAGAMENTO WEB COLLEGATO',2,'PAGWEB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTIPPA','01',16,'CODICE PAGAMENTO REGISTRATORE DI CASSA',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTIPPA','01',17,'CODICE CONVENZIONE REGISTRATORE DI CASSA',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTIPPA','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('NTMABA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMABA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMABA','01',3,'TIPO RECORD = "BA"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTMABA','01',4,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMABA','01',5,'CODICE ABI',4,'CODABI',2,3,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NTMABA','01',6,'CODICE CAB',4,'CODCAB',3,4,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NTMABA','01',7,'ZERI',3,'ZEROES',4,5,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('NTMABA','01',8,'PRIMA DESCRIZIONE',2,'DES001',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTMABA','01',9,'SECONDA DESCRIZIONE',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTMABA','01',10,'TERZA DESCRIZIONE',2,'DES003',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTMABA','01',11,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NTMABA','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('NTMACO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMACO','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMACO','01',3,'TIPO RECORD = "CO"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTMACO','01',4,'CODICE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTMACO','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTMACO','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTMACO','01',7,'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,'' )
,('NTMACO','01',8,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTMACO','01',9,'CODICE FISCALE',2,'CODDGC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTMACO','01',10,'CODICE NAZIONALE CATASTALE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTMACO','01',11,'TABELLA CODICI CATASTALI OLD',2,'OLDNAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',15,'',0,0,'' )
,('NTMACO','01',12,'OLD SEZIONE',3,'OLDCEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTMACO','01',13,'OLD CODICEE',3,'OLDCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('NTMACO','01',14,'FILLER',2,'SPACES',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('NTMACO','01',15,'TABELLA CODICI NAZIONALI CATASTALI',2,'ELENAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',15,'',0,0,'' )
,('NTMACO','01',16,'SEZIONE CENSUARIA',3,'ELECEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTMACO','01',17,'CODICE CATATSTALE',3,'ELECAT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('NTMACP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMACP','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMACP','01',3,'TIPO RECORD = "CP"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTMACP','01',4,'CODICE AVVIAMENTO POSTALE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('NTMACP','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTMACP','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTMACP','01',7,'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,'' )
,('NTMACP','01',8,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('NTMACP','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
,('NTMANA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMANA','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMANA','01',3,'TIPO RECORD = "NA"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTMANA','01',4,'CODICE NAZIONE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTMANA','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('NTMANA','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTMANA','01',7,'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,'' )
,('NTMANA','01',8,'PAESE CEE S/N',2,'NAZCEE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTMANA','01',9,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTMANA','01',10,'FLAG STAMPA DAA S/N',2,'FLGDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTMANA','01',11,'ITALIA (X/ )',2,'FLGITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTMANA','01',12,'SOGGETTA MODELLO INTRA-1 (S/N)',2,'FINTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTMANA','01',13,'SPESE TRASPORTO F.A. INTRASTAT AL LITRO',2,'SPTINT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('NTMANA','01',14,'FLAG STAMPA CMR',2,'FLGCMR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NTMANA','01',15,'DESCRIZIONE IN LINGUA',2,'DESLIN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTMANA','01',16,'TABELLA ARRTIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMANA','01',17,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('NTMANA','01',18,'CODICE PER AGENZIA DELLE ENTRATE',2,'CODENT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('NTMANA','01',19,'CODICE ISO NUMERICO',2,'ISONUM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTMANA','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('NTMAPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMAPR','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMAPR','01',3,'TIPO RECORD = "PR"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTMAPR','01',4,'CODICE PROVINCIA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('NTMAPR','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('NTMAPR','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTMAPR','01',7,'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,'' )
,('NTMAPR','01',8,'CODICE ISTAT',2,'CISTAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('NTMAPR','01',9,'CODICE UFFICIO ICQRF DI RIFERIMENTO',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('NTMAPR','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('NTMARE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMARE','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NTMARE','01',3,'TIPO RECORD = "RE"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('NTMARE','01',4,'CODICE REGIONE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTMARE','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'X' )
,('NTMARE','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('NTMARE','01',7,'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,'' )
,('NTMARE','01',8,'.RES 038: GG CONSEGNA',2,'GGCONS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('NTMARE','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,98,98,0,0,'X(98)','',0,'',0,0,'' )
,('NUMAGA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NUMAGA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NUMAGA','01',3,'CODICE UTENTE',3,'CODUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('NUMAGA','01',4,'FLAG SUPERVISORE S/N',2,'FLGSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NUMAGA','01',5,'TABELLA MAGAZZINI',2,'TABMAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('NUMAGA','01',6,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',20,'',0,0,'' )
,('NUMAGA','01',7,'TIPO CONTROLLO 1=AMMESSI 2=INIBITI',2,'TIPCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('NUMAGA','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,'' )
,('O5CV05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('O5CV05','01',2,'CODICE VASCA',2,'CODVAS',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('O5CV05','01',3,'STABILIMENTO',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('O5CV05','01',4,'SETTORE',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('O5CV05','01',5,'NUMERO',3,'NUMVAS',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
('O5CV05','01',6,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('O5CV05','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,78,78,0,0,'X(78)','',0,'',0,0,'' )
,('OACQU1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU1','01',2,'CHIAVE CLIFOR+DATA+NUMERO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU1','01',3,'DATA IMMISSIONE BOLLA',3,'DTABOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OACQU1','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU1','01',5,'ANNO',4,'AA-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU1','01',6,'MESE',4,'MM-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OACQU1','01',7,'GIORNO',4,'GG-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OACQU1','01',8,'CHIAVE CLIFOR+NUMERO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU1','01',9,'CODICE FORNITORE',4,'CODFOR',0,0,0,1,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OACQU1','01',10,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU1','01',11,'NUMERO INTERNO BOLLA',5,'NUMBOL',0,0,0,3,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OACQU1','01',12,'CAUSALE BOLLA',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OACQU1','01',13,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OACQU1','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,'' )
,('OACQU1','01',15,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OACQU1','01',16,'MODALITA'' DI TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OACQU1','01',17,'PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OACQU1','01',18,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('OACQU1','01',19,'CODICE VALUTA ESTERA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OACQU1','01',20,'SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OACQU1','01',21,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU1','01',22,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OACQU1','01',23,'SCONTO LITRO',2,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('OACQU1','01',24,'NUMERO CONTRATTO COLLEGATO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OACQU1','01',25,'NUMERO ORDINE COLLEGATO',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OACQU1','01',26,'DATA DOCUMENTO',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OACQU1','01',27,'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,'' )
,('OACQU1','01',28,'NUMERO MOVIMENTO MAGAZZINO GENERATO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OACQU1','01',29,'NUMERO MOVIMENTO COMMERCIALIZZAZIONE',2,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OACQU1','01',30,'NUMERO MOVIMENTO CONTRASSEGNI IVA',2,'NUMTAP',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OACQU1','01',31,'NUMERO REG. PRIMANOTA FATTURA ACQUISTO',2,'NUMREG',0,0,0,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OACQU1','01',32,'CAMPO PER CONVERSIONE',2,'CAMPO1',0,0,0,0,0,0,0,0,0,0,'',4,0,38,38,0,0,'X(38)','',0,'',0,0,'' )
,('OACQU4','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','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,'' )
,('OACQU4','00',3,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OACQU4','00',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OACQU4','00',5,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQU4','00',9,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','00',10,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OACQU4','00',11,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OACQU4','00',12,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OACQU4','00',13,'RIGA CONTRATTO (SOLO RIGHE MERCE)',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','00',14,'RIGA ORDINE',2,'RIGORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','00',15,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,196,196,0,0,'X(196)','',0,'',0,0,'' )
,('OACQU4','DD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','DD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','DD',3,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OACQU4','DD',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OACQU4','DD',5,'TIPO RIGA = "D"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQU4','DD',6,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','DD',7,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OACQU4','DD',8,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','DD',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OACQU4','DD',10,'RIGA CONTRATTO',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','DD',11,'RIGA ORDINE',2,'RIGORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','DD',12,'RECORD UGUALE A QUELLO DI LBOLL4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','DD',13,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OACQU4','DD',14,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OACQU4','DD',15,'MANIPOLAZIONI',3,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('OACQU4','DD',16,'GRADO NOSTRO',3,'GRADON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('OACQU4','DD',17,'GRADO LORO',3,'GRADOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('OACQU4','DD',18,'GRADO CONCORDATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('OACQU4','DD',19,'TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQU4','DD',22,'FILLER',3,'OPREZZ',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OACQU4','DD',23,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','DD',24,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OACQU4','DD',25,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('OACQU4','DD',26,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','DD',27,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','DD',28,'QUANTITA''',3,'QTABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQU4','DD',29,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,17,5,0,'9(11)V9(5) COMP-3','',0,'',0,0,'' )
,('OACQU4','DD',30,'QUANTITA'' REALE',3,'QTAREX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','DD',31,'QUANTITA'' REALE',4,'QTAREA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQU4','DD',32,'DESCRIZIONE ALTERNATIVA ARTICOLO',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OACQU4','DD',33,'NUMERO INTERNO IDONEITA'' ACQUISTATA',3,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,13,0,0,'X(5) COMP-X','',0,'',0,0,'' )
,('OACQU4','DD',34,'NUMERO PROTOCOLLO IDONEITA'' ACQUISTATA',3,'NRPRID',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OACQU4','DD',35,'QUANTITA'' IN CHILOGRAMMI',3,'QTAKGR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQU4','DD',36,'MASSA VOLUMICA',3,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,5,0,'99V9(5) COMP-3','',0,'',0,0,'' )
,('OACQU4','DD',37,'LOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OACQU4','DD',38,'CONTROLLO GRADO CONCORDATO /S (LAVIS)',3,'CTRGRD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQU4','DD',39,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OACQU4','II',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','II',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','II',3,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OACQU4','II',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OACQU4','II',5,'TIPO RIGA = "I"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQU4','II',6,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','II',7,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OACQU4','II',8,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','II',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OACQU4','II',10,'ZERI',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','II',11,'NUMERO RIGA ORDINE',2,'RIGORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','II',12,'RECORD UGUALE A QUELLO DI LBOLL4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','II',13,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OACQU4','II',14,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OACQU4','II',15,'IMPORTO',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQU4','II',16,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,156,156,0,0,'X(156)','',0,'',0,0,'' )
,('OACQU4','MM',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
('OACQU4','MM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','MM',3,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OACQU4','MM',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OACQU4','MM',5,'TIPO RIGA = "M"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQU4','MM',6,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','MM',7,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OACQU4','MM',8,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','MM',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OACQU4','MM',10,'RIGA CONTRATTO',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','MM',11,'RIGA ORDINE',2,'RIGORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','MM',12,'RECORD UGUALE A QUELLO DI LBOLL4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','MM',13,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OACQU4','MM',14,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','MM',15,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('OACQU4','MM',16,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OACQU4','MM',17,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','MM',18,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OACQU4','MM',19,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('OACQU4','MM',20,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','MM',21,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQU4','MM',22,'QUANTITA'' RIGA',3,'QTABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQU4','MM',23,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,17,5,0,'9(11)V9(5) COMP-3','',0,'',0,0,'' )
,('OACQU4','MM',24,'QUANTITA'' REALE',3,'QTAREX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQU4','MM',25,'QUANTITA'' REALE',4,'QTAREA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQU4','MM',26,'DESCRIZIONE ALTERNATIVA ARTICOLO',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OACQU4','MM',27,'LOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OACQU4','MM',28,'LOTTO FORNITORE (QUARGENTAN)',3,'LOTFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OACQU4','MM',29,'PARTITA FORNITORE (QUARGENTAN)',3,'PARTIT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OACQU4','MM',30,'PROVENIENZA (QUARGENTAN)',3,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OACQU4','MM',31,'ESPORTARE CARICHI IMPIANTO QUARGY (S/N)',3,'EXPQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQU4','MM',32,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('OACQUZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQUZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQUZ','01',3,'NUMERO INTERNO BOLLA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OACQUZ','01',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OACQUZ','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,'' )
,('OACQUZ','01',9,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQUZ','01',10,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OACQUZ','01',11,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OACQUZ','01',12,'RIGA CONTRATTO (SOLO RIGHE MERCE)',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQUZ','01',13,'RIGA ORDINE',2,'RIGORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQUZ','01',14,'RECORD UGUALE A QUELLO DI LBOLL4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQUZ','01',15,'TAB.MANIPOLAZIONI O COMBINAZIONE MANIP.',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OACQUZ','01',16,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQUZ','01',17,'MANIPOLAZIONI',4,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('OACQUZ','01',18,'GRADO NOSTRO',3,'GRADON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',19,'GRADO LORO',3,'GRADOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',20,'GRADO CONCORDATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',21,'TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQUZ','01',24,'NUMERO INTERNO IDONEITA'' ACQUISTATA',3,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,13,0,0,'X(5) COMP-X','',0,'',0,0,'' )
,('OACQUZ','01',25,'NUMERO PROTOCOLLO IDONEITA'' ACQUISTATA',3,'NRPRID',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OACQUZ','01',26,'QUANTITA'' IN CHILOGRAMMI',3,'QTAKGR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',27,'MASSA VOLUMICA',3,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,5,0,'99V9(5) COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',28,'CONTROLLO GRADO CONCORDATO /S (LAVIS)',3,'CTRGRD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQUZ','01',29,'IMPORTO',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',30,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OACQUZ','01',31,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQUZ','01',32,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',33,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OACQUZ','01',34,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OACQUZ','01',35,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',36,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQUZ','01',37,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OACQUZ','01',38,'QUANTITA'' RIGA',3,'QTABOL',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',39,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,17,5,0,'9(11)V9(5) COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',40,'QUANTITA'' REALE',3,'QTAREA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OACQUZ','01',41,'DESCRIZIONE ALTERNATIVA ARTICOLO',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OACQUZ','01',42,'LOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OACQUZ','01',43,'LOTTO FORNITORE (QUARGENTAN)',3,'LOTFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OACQUZ','01',44,'PARTITA FORNITORE (QUARGENTAN)',3,'PARTIT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OACQUZ','01',45,'PROVENIENZA (QUARGENTAN)',3,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OACQUZ','01',46,'ESPORTARE CARICHI IMPIANTO QUARGY (S/N)',3,'EXPQUA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OACQUZ','01',47,'DATA IDONEITA''',3,'DATAID',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OACQUZ','01',48,'CODICE MANIPOLAZIONI COMMERCIALIZZAZIONE',3,'MANCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OACQUZ','01',49,'DATA SCADENZA IDONEITA',3,'DTASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OACQUZ','01',50,'ID PRODOTTO REGISTRO VITIVINICOLO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('OACQUZ','01',51,'QUANTITA RASPI',3,'QTARAS',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('OACQUZ','01',52,'BABO UVE',3,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OACQUZ','01',53,'CODICE RAGGRUPPAMENTO',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OACQUZ','01',54,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,75,75,0,0,'X(75)','',0,'',0,0,'' )
,('OANCA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCA1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCA1','01',3,'CODICE CESPITE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCA1','01',4,'CODICE PRINCIPALE ALFA DAL 07/06/2011',4,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCA1','01',5,'CODICE SECONDARIO (SOTTOCESPITE)',4,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCA1','01',6,'DESCRIZIONE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCA1','01',7,'CODICE CATEGORIA CESPITE',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCA1','01',8,'ANNO IMPIANTO',2,'AAAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANCA1','01',9,'TIPO AMMORTAMENTO (Diretto/Indiretto)',2,'TIPAMM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCA1','01',10,'PERCENTUALE AMMORTAMENTO',2,'PERCAO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('OANCA1','01',11,'ZERO VALIDO (NON USARE CATEGORIA)',2,'FLAGAO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCA1','01',12,'PERCENTUALE AMMORTAMENTO ANTICIPATO',2,'PERCAA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('OANCA1','01',13,'ZERO VALIDO (NON USARE CATEGORIA)',2,'FLAGAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCA1','01',14,'GIORNI AMMORTAMENTO I ESERCIZIO (360^)',2,'GGGAMM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCA1','01',16,'APPLICARE RIDUZIONE PRIMO ESERCIZIO S/N',2,'FLGPRI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCA1','01',17,'CONTO IMMOBILIZZO',2,'GCSIMM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCA1','01',18,'GRUPPO',3,'GRUIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANCA1','01',19,'CONTO',3,'CONIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANCA1','01',20,'SOTTOCONTO',3,'SOTIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCA1','01',21,'CONTO QUOTE AMMORTAMENTO',2,'GCSQUA',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
('OANCA1','01',22,'GRUPPO',3,'GRUQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANCA1','01',23,'CONTO',3,'CONQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANCA1','01',24,'SOTTOCONTO',3,'SOTQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCA1','01',25,'CONTO FONDO AMMORTAMENTO ORDINARIO',2,'GCSFAO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCA1','01',26,'GRUPPO',3,'GRUFAO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANCA1','01',27,'CONTO',3,'CONFAO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANCA1','01',28,'SOTTOCONTO',3,'SOTFAO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCA1','01',29,'CONTO FONDO AMMORTAMENTO ANTICIPATO',2,'GCSFAA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCA1','01',30,'GRUPPO',3,'GRUFAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANCA1','01',31,'CONTO',3,'CONFAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANCA1','01',32,'SOTTOCONTO',3,'SOTFAA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCA1','01',33,'CENTRO DI COSTO',2,'CENCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCA1','01',34,'NUMERO ESERCIZI RESIDUI AMM. ANTICIPATO',2,'NRESAA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCA1','01',35,'CENTRO DI COSTO (CONT. INDUSTRIALE)',2,'CDCCON',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OANCA1','01',36,'DATA ALIENAZIONE',2,'DATALI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCA1','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,'' )
,('OANCA1','01',38,'ANNO ALIENAZIONE',3,'AAAALI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANCA1','01',39,'MESE ALIENAZIONE',3,'MMMALI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCA1','01',40,'GIORNO ALIENAZIONE',3,'GGGALI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCA1','01',41,'CESPITE RIVALUTATO',2,'CESRIV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCA1','01',42,'PERCENTUALE ACCANTONAMENTO',2,'PERACC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OANCA1','01',43,'FLAG ZERO VALIDO ACCANTONAMENTO',2,'FLGACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCA1','01',44,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCA2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCA2','01',3,'CODICE CESPITE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCA2','01',4,'CODICE PRINCIPALE ALFA DAL 07/06/2011',4,'CODUNO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCA2','01',5,'CODICE SECONDARIO',4,'CODDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCA2','01',6,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANCA2','01',7,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCA2','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,'' )
,('OANCL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL1','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL1','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL1','01',5,'PARTITA IVA / CODICE FISCALE',2,'PARIVA',0,0,1,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCL1','01',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL1','01',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL1','01',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL1','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL1','01',10,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('OANCL1','01',11,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',12,'CODICE GRUPPO PIANO DEI CONTI',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANCL1','01',13,'CODICE CONTO PIANO DEI CONTI',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANCL1','01',14,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'ATMACO',1,1,'' )
,('OANCL1','01',15,'CODICE REGIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATMARE',1,1,'' )
,('OANCL1','01',16,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATMANA',1,1,'' )
,('OANCL1','01',17,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'ATMABA',1,1,'' )
,('OANCL1','01',18,'CODICE BANCA (ABI)',3,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OANCL1','01',19,'CODICE BANCA (CAB)',3,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OANCL1','01',20,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBAAG',1,1,'' )
,('OANCL1','01',21,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBALI',1,1,'' )
,('OANCL1','01',22,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('OANCL1','01',23,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBATR',1,1,'' )
,('OANCL1','01',24,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('OANCL1','01',25,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAPO',1,1,'' )
,('OANCL1','01',26,'CODICE GIORNO DI CHIUSURA',2,'GIOCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAPC',1,1,'' )
,('OANCL1','01',27,'SCONTI COMMERCIALI',2,'CODSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OANCL1','01',28,'SCONTO A LITRO',2,'SCOLIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OANCL1','01',29,'ZERI',2,'SCOZER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL1','01',30,'CLIENTE TRASMESSO DA REMOTO',2,'TRAREM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',31,'FILLER EX SCONTO COMPONENTE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',32,'SCONTO MERCE S/N',2,'SCOMER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',33,'SCONTO TOTALE BOLLA S/N',2,'SCOBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',34,'PROVVIGIONI',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',2,'',0,0,'' )
,('OANCL1','01',35,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCL1','01',36,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCL1','01',37,'COGNOME',2,'COGCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCL1','01',38,'NOME CLIENTE',2,'NOMCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCL1','01',39,'GRUPPO CONTROPARTITA CONTABILE',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANCL1','01',40,'CONTO CONTROPARTITA CONTABILE',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANCL1','01',41,'SOTTOCONTO CONTROPARTITA CONTABILE',2,'SOTCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL1','01',42,'NOTE ESTRATTO CONTO',2,'NOTEES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL1','01',43,'DATA AUTORIZZAZIONE ESPORTATORI ABITUALI',2,'DATAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCL1','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,'' )
,('OANCL1','01',45,'ANNO AUTORIZZAZIONE',3,'AAAAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'X' )
,('OANCL1','01',46,'MESE AUTORIZZAZIONE',3,'MMMAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('OANCL1','01',47,'GIORNO AUTORIZZAZIONE',3,'GGGAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('OANCL1','01',48,'NUM. AUTORIZZAZIONE ESPORTATORI ABITUALI',2,'NUMAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL1','01',49,'GIORNO E ORA VISITA',2,'GIOVIS',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OANCL1','01',50,'PERSONA DA CONTATTARE',2,'NOMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OANCL1','01',51,'NUMERO CONTO CORRENTE PRIMI 11 CARATTERI',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('OANCL1','01',52,'VECCHIO CODICE ACCISA -> AANCLM-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OANCL1','01',53,'CODICE VALUTA ESTERA',2,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAVA',1,1,'' )
,('OANCL1','01',54,'DATA PRIMA BOLLA',2,'PRIBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCL1','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,'' )
,('OANCL1','01',56,'ANNO PRIMA BOLLA',3,'AAAPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'X' )
,('OANCL1','01',57,'MESE PRIMA BOLLA',3,'MMMPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('OANCL1','01',58,'GIORNO PRIMA BOLLA',3,'GGGPRI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('OANCL1','01',59,'DATA ULTIMA BOLLA',2,'ULTBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCL1','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,'' )
,('OANCL1','01',61,'ANNO ULTIMA BOLLA',3,'AAAULT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'X' )
,('OANCL1','01',62,'MESE ULTIMA BOLLA',3,'MMMULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('OANCL1','01',63,'GIORNO ULTIMA BOLLA',3,'GGGULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('OANCL1','01',64,'AREA MESI SENZA EFFETTI',2,'AREAME',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL1','01',65,'MESI SENZA EFFETTI',3,'MESINO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',4,'',0,0,'' )
,('OANCL1','01',66,'TIPO SPOSTAMENTO MESI SENZA EFFETTI',2,'TIPSPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',67,'DESTINATARIO FISSO ORDINI/BOLLE',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL1','01',68,'TRIANGOLARE DA PROPORRE ORDINI/BOLLE',2,'CODCTR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL1','01',69,'LUOGO CONSEGNA DA PROPORRE ORDINI/BOLLE',2,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OANCL1','01',70,'ZONA CONSEGNA MERCE',2,'ZONACO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAZC',1,1,'' )
,('OANCL1','01',71,'QUARTA RIGA DESTINAZIONE',2,'RIGDES',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL1','01',72,'NUMERO ISCRIZIONE REGISTRO IMPRESE',2,'REGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('OANCL1','01',73,'CODICE FORNITORE DATO DAL CLIENTE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OANCL1','01',74,'DATA SCADENZA AUTOR. ESPORT. ABITUALI',2,'SCAAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCL1','01',75,'BANCA INTERNA PREVALENTE (LAVIS)',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL1','01',76,'S/N STAMPA IN DATI RELATIVI AL TRASPORTO',2,'DESMER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',78,'RAGIONE SOCIALE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL1','01',79,'CODICE LINGUA',2,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL1','01',80,'COMMENTO FISSO PER CREAZIONE FATTURE',2,'CFISSO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OANCL1','01',81,'CODICE CIN EURO',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCL1','01',82,'CODICE CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',83,'VECCHIO CODICE CEMBRA',2,'OLDCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL1','01',84,'DODICESIMO CARATTERE N. C/C',2,'NUMCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',85,'NR.PROTOCOLLO CANTINA ESPORTATORE ABIT.',2,'NRPAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OANCL1','01',86,'FLAG OBSOLETO ( /S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',87,'CODICE NOMINATIVO P.V. COLLEGATO',2,'CODNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'ANOMPV',1,1,'' )
,('OANCL1','01',88,'CODICE SECONDO TRASPORTATORE',2,'CODTR2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBATR',2,1,'' )
,('OANCL1','01',89,'INDIRIZZO RIBA=RECAPITO FATTURE',2,'INDRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',90,'TIPO GESTIONE VUOTI',2,'FLGVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',97,'TIPO DOCUMENTO (1234) = TIPDOC CAU.BOLLE',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',98,'SESSO (F/M) PER PERSONE FISICHE',2,'FSESSO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',99,'BLOCCO CLIENTE (S)',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',101,'TIME STAMP ULTIMA MOD.REG.ZUCCHERI TEL.',2,'TISZUC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL1','01',102,'DATA ULTIMA MODIFICA REG.ZUCCHERI TEL.',3,'DATZUC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCL1','01',103,'ORA ULTIMA MODIFICA REG.ZUCCHERI TEL.',3,'ORAZUC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANCL1','01',104,'VALUTA ESPOSIZIONE IVA IN FATTURA',2,'VALIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL1','01',105,'TIME STAMP ULTIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL1','01',106,'DATA ULTIMA MODIFICA REG.UNICO TEL',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCL1','01',107,'ORA ULTIMA MODIFICA REG.UNICO TEL',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANCL1','01',108,'COMUNE DI NASSCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL1','01',109,'PROVINCIA O STATO ESTERO DI NASCITA',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL1','01',110,'ST.PROSPETTO ISPEZ.CONTAINER ORD/SV',2,'ISPCOO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',111,'CODICE IBAN ESTERO',2,'IBAEST',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL1','01',112,'FLAG SPLIT PAYMENT S/N',2,'FLGSPL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',114,'INDIRIZZO',2,'INDSOR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL1','01',115,'CAP',2,'CAPSOR',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL1','01',116,'LOCALITA',2,'LOCSOR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL1','01',117,'PROVINCIA',2,'PROSOR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL1','01',118,'I.D. PAESE',2,'IDOSOR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL1','01',119,'I.D. FISCALE RAPPRESENTANTE',2,'IDFSOR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCL1','01',120,'ASSOCIAZIONE S/N',2,'FLGASS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',121,'FLAG CAMPO 2.1.1.11 XML PER GDO',2,'GDOFCD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',122,'STRINGA FISSA PER 2.1.1.11 XML PER GDO',2,'GDOSCD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL1','01',123,'FLAG SEZIONE 2.2.1.16 XML PER GDO',2,'GDOFAD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',124,'STRINGA CAMPO 2.2.1.16.1 XML PER GDO',2,'GDOSAD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OANCL1','01',125,'STRINGA CAMPO 2.1.5 XML PER GDO',2,'GDOSUP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',126,'TIPO CODICE ARTICOLO B2B',2,'CARB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCL1','01',127,'CODICE CUP',2,'CODCUP',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OANCL1','01',128,'CODICE EAN DA ESPORTARE IN B2B',2,'TIPEAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL1','01',129,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCL2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL2','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL2','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL2','01',5,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL2','01',6,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL2','01',7,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL2','01',8,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL2','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,'' )
,('OANCL2','01',10,'CODICE TELEMATIZZAZIONE SOGGETTO SIAN',2,'COSIAN',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OANCL3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL3','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL3','01',3,'CODICE CLIENTE',3,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL3','01',4,'NUMERO RIGA NOTA',3,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCL3','01',5,'RIGA NOTA',2,'DESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,120,120,0,0,'X(120)','',0,'',0,0,'' )
,('OANCL3','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OANCL4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL4','01',3,'CODICE ECCEZIONE',3,'CODECC',1,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL4','01',4,'CODICE CLIENTE',3,'CODICE',2,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL5','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','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,'' )
,('OANCL5','00',3,'TIPO RECORD',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','00',4,'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,'' )
,('OANCL5','00',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL5','00',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','00',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,189,189,0,0,'X(189)','',0,'',0,0,'' )
,('OANCL5','CT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','CT',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','CT',3,'TIPO RECORD = "CT"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','CT',4,'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,'' )
,('OANCL5','CT',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL5','CT',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','CT',7,'PARTITA IVA / CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCL5','CT',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','CT',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL5','CT',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','CT',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','CT',12,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','CT',13,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OANCL5','CT',14,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCL5','CT',15,'S/N STAMPA IN DATI RELATIVI AL TRASPORTO',2,'DESMER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL5','CT',17,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL5','CT',18,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL5','CT',19,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','CT',20,'CODICE ABI',3,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OANCL5','CT',21,'CODICE CAB',3,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OANCL5','CT',22,'CODICE VALUTA',2,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL5','CT',23,'NUMERO FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OANCL5','CT',24,'FATTURA TRIANGOLARE IMMEDIATA (S/N)',2,'FATIMM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL5','CT',25,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL5','CT',26,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OANCL5','CT',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL5','D2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','D2',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','D2',3,'TIPO RECORD = "DS"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','D2',4,'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,'' )
,('OANCL5','D2',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL5','D2',6,'CODICE GLIN',2,'CODGLN',0,2,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCL5','D2',7,'CODICE EAN',2,'CODEAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','D2',8,'CODICE EAN PARTE 1',3,'CDEAN1',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','D2',9,'CODICE EAN PARTE 2',3,'CDEAN2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL5','D2',10,'CODICE EAN PARTE 3',3,'CDEAN3',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','D2',11,'CODICE EAN PARTE 4',3,'CDEAN4',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OANCL5','D2',12,'CODICE EAN PARTE 5',3,'CDEAN5',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OANCL5','D2',13,'CODICE EAN PARTE 6',3,'CDEAN6',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL5','D2',14,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL5','D2',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,191,191,0,0,'X(191)','',0,'',0,0,'' )
,('OANCL5','DI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','DI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','DI',3,'TIPO RECORD = "DI"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','DI',4,'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,'' )
,('OANCL5','DI',5,'CODICE DESTINATARIO',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL5','DI',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','DI',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','DI',8,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL5','DI',9,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','DI',10,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','DI',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,101,101,0,0,'X(101)','',0,'',0,0,'' )
,('OANCL5','DS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','DS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','DS',3,'TIPO RECORD = "DS"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','DS',4,'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,'' )
,('OANCL5','DS',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL5','DS',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','DS',7,'PARTITA IVA / CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCL5','DS',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','DS',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL5','DS',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','DS',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','DS',12,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','DS',13,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OANCL5','DS',14,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCL5','DS',15,'ZONA CONSEGNA MERCE',2,'ZONACO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL5','DS',16,'CODICE RAGGRUPPAMENTO',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL5','DS',17,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL5','DS',18,'STRINGA DESTINAZIONE BANCALI',2,'ETBANC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL5','DS',19,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCL5','DS',20,'CODICE REGIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCL5','DS',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OANCL5','L1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','L1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','L1',3,'TIPO RECORD = "L1"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','L1',4,'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,'' )
,('OANCL5','L1',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL5','L1',6,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','L1',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,189,189,0,0,'X(189)','',0,'',0,0,'' )
,('OANCL5','LC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL5','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,'' )
,('OANCL5','LC',3,'TIPO RECORD = "LC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','LC',4,'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,'' )
,('OANCL5','LC',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL5','LC',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','LC',7,'PARTITA IVA / CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCL5','LC',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','LC',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL5','LC',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL5','LC',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','LC',12,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL5','LC',13,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OANCL5','LC',14,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCL5','LC',15,'DESTINAZIONE ETICHETTE BANCALI',2,'ETBANC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL5','LC',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('OANCL6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL6','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL6','01',3,'CODICE CLIENTE',3,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL6','01',4,'NUMERO RIGA NOTA',3,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCL6','01',5,'RIGA NOTA',2,'DESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,120,120,0,0,'X(120)','',0,'',0,0,'' )
,('OANCL6','01',6,'FLAG RIPORTA IN CONTRATTO N/',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL6','01',7,'FLAG RIPORTA IN ORDINE N/',2,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL6','01',8,'FLAG RIPORTA IN BOLLA N/',2,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL6','01',9,'FLAG RIPORTA IN FATTURA N/',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL6','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('OANCL7','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL7','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,'' )
,('OANCL7','00',3,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL7','00',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,'' )
,('OANCL7','00',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL7','00',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,229,229,0,0,'X(229)','',0,'',0,0,'' )
,('OANCL7','D2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL7','D2',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL7','D2',3,'TIPO RECORD = "D2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL7','D2',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,'' )
,('OANCL7','D2',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL7','D2',6,'CODICE GLN',2,'CODGLN',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCL7','D2',7,'IMPORTO FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANCL7','D2',8,'COMMENTO FISSO AUTOMATICO FINE BOLLA',2,'COMFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OANCL7','D2',9,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCL7','D2',10,'CODICE EAN',2,'CODEAN',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
('OANCL7','D2',11,'CODICE EAN PARTE 1',3,'CDEAN1',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL7','D2',12,'CODICE EAN PARTE 2',3,'CDEAN2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL7','D2',13,'CODICE EAN PARTE 3',3,'CDEAN3',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL7','D2',14,'CODICE EAN PARTE 4',3,'CDEAN4',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OANCL7','D2',15,'CODICE EAN PARTE 5',3,'CDEAN5',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OANCL7','D2',16,'CODICE EAN PARTE 6',3,'CDEAN6',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL7','D2',17,'RAGIONE SOCIALE SPED. RIBA',2,'DESRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL7','D2',18,'INDIRIZZO SPED. RIBA',2,'INDRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL7','D2',19,'CAP SPED. RIBA',2,'CAPRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCL7','D2',20,'LOCALITA'' SPED. RIBA',2,'LOCRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL7','D2',21,'PROVINCIA SPED. RIBA',2,'PRORIB',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL7','D2',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('OANCL7','DA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL7','DA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL7','DA',3,'TIPO RECORD = "DA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCL7','DA',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,'' )
,('OANCL7','DA',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL7','DA',6,'NUMERO CELLULARE',2,'NUMCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCL7','DA',7,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OANCL7','DA',8,'URL INTERNET',2,'URLINT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OANCL7','DA',9,'CONSEGNA TASSATIVA',2,'CONTAS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCL7','DA',10,'DESTINAZIONE PER ETICHETTE BANCALI',2,'ETBANC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCL7','DA',11,'DATA PROTOCOLLO DICHIARAZIONE INTENTI',2,'DTPAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCL7','DA',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL7','DA',13,'ANNO PROTOCOLLO',3,'AAPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANCL7','DA',14,'MESE PROTOCOLLO',3,'MMPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCL7','DA',15,'GIORNO PROTOCOLLO',3,'GGPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCL7','DA',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X(1)','',0,'',0,0,'' )
,('OANCL8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL8','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCL8','01',3,'CODIEC CLIENTE',3,'CODCLI',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL8','01',4,'CODICE DESTINATARIO',3,'CODICE',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCL8','01',5,'NUMERO RIGA NOTA',3,'NUMRIG',3,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCL8','01',6,'RIGA NOTA',2,'DESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('OANCL8','01',7,'FLAG RIPORTA IN CONTRATTO N/',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL8','01',8,'FLAG RIPORTA IN ORDINE N/',2,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL8','01',9,'FLAG RIPORTA IN BOLLA N/',2,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL8','01',10,'FLAG RIPORTA IN FATTURA N/',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCL8','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OANCLE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLE','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLE','01',3,'TIPO RECORD = "CT"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLE','01',4,'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,'' )
,('OANCLE','01',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLE','01',10,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLE','01',11,'PARTITA IVA / CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCLE','01',12,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLE','01',13,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCLE','01',14,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLE','01',15,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLE','01',16,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLE','01',17,'VECCHIO CODICE ACCISA -> AANCLE-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OANCLE','01',18,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLE','01',19,'S/N STAMPA IN DATI RELATIVI AL TRASPORTO',2,'DESMER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLE','01',21,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('OANCLE','01',22,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCLE','01',23,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLE','01',24,'CODICE ABI',3,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OANCLE','01',25,'CODICE CAB',3,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OANCLE','01',26,'CODICE VALUTA',2,'CODVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCLE','01',27,'NUMERO FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLE','01',28,'FATTURA TRIANGOLARE IMMEDIATA (S/N)',2,'FATIMM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLE','01',29,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('OANCLE','01',30,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OANCLE','01',34,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLE','01',35,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('OANCLE','01',36,'CODICE REGIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCLE','01',37,'TIPO DESTINAZIONE (T015 AG. DOGANE)',2,'CDT015',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLE','01',38,'EX UFFDES (DOGANA USCITA CEE)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCLE','01',39,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('OANCLE','01',40,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLE','01',41,'COGNOME',2,'COGCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLE','01',42,'NOME',2,'NOMCTR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLE','01',43,'TIME STAMP ULTIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLE','01',44,'DATA ULTIMA MODIFICA REG.UNICO TEL',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCLE','01',45,'ORA ULTIMA MODIFICA REG.UNICO TEL',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANCLE','01',46,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCLE','01',47,'CODICE ICQRF',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCLE','01',48,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,139,139,0,0,'X(139)','',0,'',0,0,'' )
,('OANCLF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLF','01',3,'TIPO RECORD = "DS"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('OANCLF','01',4,'CODICE CLIENTE',3,'CODCLI',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('OANCLF','01',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLF','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLF','01',7,'PARTITA IVA / CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCLF','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLF','01',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCLF','01',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLF','01',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLF','01',12,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLF','01',13,'VECCHIO CODICE ACCISA -> AANCLF-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OANCLF','01',14,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLF','01',15,'ZONA CONSEGNA MERCE',2,'ZONACO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAZC',1,1,'' )
,('OANCLF','01',16,'CODICE RAGGRUPPAMENTO',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCLF','01',17,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBAAG',1,1,'' )
,('OANCLF','01',18,'STRINGA DESTINAZIONE BANCALI',2,'ETBANC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCLF','01',19,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATMANA',1,1,'' )
,('OANCLF','01',20,'CODICE REGIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATMARE',1,1,'' )
,('OANCLF','01',21,'CODICE CLIENTE PER EXPORT FILCONAD',2,'CCFILC',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
('OANCLF','01',22,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'ATBAAI',1,1,'' )
,('OANCLF','01',23,'TIPO DESTINAZIONE (T015 AG. DOGANE)',2,'CDT015',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLF','01',24,'EX UFFDES (DOGANA USCITA CEE)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCLF','01',25,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('OANCLF','01',26,'CELLULARE',2,'NUMCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLF','01',27,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('OANCLF','01',28,'CODICE CHEP STABILIMENTO DI CONSEGNA',2,'CODCHE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OANCLF','01',29,'STATO GIURIDICO (F/G NIENTE = G)',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLF','01',30,'COGNOME DESTINATARIO',2,'COGDST',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLF','01',31,'NOME DESTINATARIO',2,'NOMDST',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLF','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('OANCLF','01',33,'TIME STAMP ULTIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLF','01',34,'DATA ULTIMA MODIFICA REG. UNICO TEL',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCLF','01',35,'ORA ULTIMA MODIFICA REG. UNICO TEL',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANCLF','01',36,'CODICE EORI',2,'CDEORI',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('OANCLF','01',37,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCLG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLG','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLG','01',3,'TIPO RECORD = "D2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLG','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,'' )
,('OANCLG','01',5,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLG','01',6,'CODICE GLIN',2,'CODGLN',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCLG','01',7,'CODICE EAN',2,'CODEAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLG','01',8,'CODICE EAN PARTE 1',3,'CDEAN1',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLG','01',9,'CODICE EAN PARTE 2',3,'CDEAN2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLG','01',10,'CODICE EAN PARTE 3',3,'CDEAN3',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLG','01',11,'CODICE EAN PARTE 4',3,'CDEAN4',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OANCLG','01',12,'CODICE EAN PARTE 5',3,'CDEAN5',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OANCLG','01',13,'CODICE EAN PARTE 6',3,'CDEAN6',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLG','01',14,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLG','01',15,'COD TRIANGOLARE COLLEGATO (COAND QUARGY)',2,'CODTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLG','01',16,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCLG','01',17,'CODICE ICQRF',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCLG','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,161,161,0,0,'X(161)','',0,'',0,0,'' )
,('OANCLH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLH','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLH','01',3,'TIPO RECORD = "DI"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLH','01',4,'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,'' )
,('OANCLH','01',5,'CODICE DESTINATARIO',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLH','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLH','01',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLH','01',8,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCLH','01',9,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLH','01',10,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLH','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,101,101,0,0,'X(101)','',0,'',0,0,'' )
,('OANCLI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLI','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLI','01',3,'TIPO RECORD = "LC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLI','01',4,'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,'' )
,('OANCLI','01',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLI','01',6,'RAGIONE SOCIALE',2,'RAGSOC',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLI','01',7,'PARTITA IVA / CODICE FISCALE',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCLI','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLI','01',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCLI','01',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLI','01',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLI','01',12,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLI','01',13,'VECCHIO CODICE ACCISA -> AANCLI-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OANCLI','01',14,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLI','01',15,'DESTINAZIONE ETICHETTE BANCALI',2,'ETBANC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCLI','01',16,'TIPO DESTINAZIONE (T015 AG. DOGANE)',2,'CDT015',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLI','01',17,'EX UFFDES (DOGANA USCITA CEE)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCLI','01',18,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('OANCLI','01',19,'CODICE CHEP STABILIMENTO DI CONSEGNA',2,'CODCHE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OANCLI','01',20,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLI','01',21,'COGNOME',2,'COGLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLI','01',22,'NOME',2,'NOMLUO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLI','01',23,'TIME STAMP UTLIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLI','01',24,'DATA UTLIMA MODIFICA REG.UNICO TEL',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCLI','01',25,'ORA UTLIMA MODIFICA REG.UNICO TEL',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANCLI','01',26,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANCLI','01',27,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLI','01',28,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCLI','01',29,'CODICE ICQRF',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCLI','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('OANCLL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLL','01',3,'TIPO RECORD = "L1"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLL','01',4,'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,'' )
,('OANCLL','01',5,'CODICE',3,'CODICE',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLL','01',6,'DESCRIZIONE AGGIUNTIVA',2,'DESAGG',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLL','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,189,189,0,0,'X(189)','',0,'',0,0,'' )
,('OANCLM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLM','01',3,'TIPO RECORD = "DA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('OANCLM','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,'AANCL1',1,1,'' )
,('OANCLM','01',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'X' )
,('OANCLM','01',6,'NUMERO CELLULARE',2,'NUMCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANCLM','01',7,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OANCLM','01',8,'URL INTERNET',2,'URLINT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OANCLM','01',9,'CONSEGNA TASSATIVA',2,'CONTAS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCLM','01',10,'DESTINAZIONE PER ETICHETTE BANCALI',2,'ETBANC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANCLM','01',11,'DATA PROTOCOLLO DICHIARAZIONE INTENTI',2,'DTPAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCLM','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,'' )
,('OANCLM','01',13,'ANNO PROTOCOLLO',3,'AAPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANCLM','01',14,'MESE PROTOCOLLO',3,'MMPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCLM','01',15,'GIORNO PROTOCOLLO',3,'GGPAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCLM','01',16,'TIPO DESTINAZIONE (T015 AG. DOGANE)',2,'CDT015',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLM','01',17,'EX UFFDES (DOGANA USCITA CEE)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCLM','01',18,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OANCLM','01',19,'INDIRIZZO MAIL SPEDIZIONE FATTURE',2,'E-MFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OANCLM','01',20,'TIPO DEST. SECONDO IND. E-MAIL FATTURE',2,'TDEFA2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OANCLM','01',21,'SECONDO INDIRIZZO E-MAIL FATTURE',2,'E-MFA2',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OANCLM','01',22,'TIPO DEST. TERZO IND. E-MAIL FATTURE',2,'TDEFA3',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OANCLM','01',23,'TERZO INDIRIZZO E-MAIL FATTURE',2,'E-MFA3',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OANCLM','01',24,'TIPO REGISTRO IVA VENDITE',2,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLM','01',25,'NR REGISTRO IVA VENDITE',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCLM','01',26,'DATA DI NASCITA PERSONE FISICHE',2,'DTANAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANCLM','01',27,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLM','01',28,'ANNO',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANCLM','01',29,'MESE',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCLM','01',30,'GIORNO',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANCLM','01',31,'GESTIONE SSCC IN PICKING ( /S)',2,'SSCCPK',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLM','01',32,'CODICE CHEP STABILIMENTO DI CONSEGNA',2,'CODCHE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OANCLM','01',33,'RATING FINANZIARIO',2,'RATING',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OANCLM','01',34,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('OANCLM','01',35,'INDIRIZZO MAIL PEC',2,'E-MAIC',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('OANCLN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLN','01',3,'TIPO RECORD = "D2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLN','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,'' )
,('OANCLN','01',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLN','01',6,'CODICE GLN',2,'CODGLN',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCLN','01',7,'IMPORTO FIDO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANCLN','01',8,'COMMENTO FISSO AUTOMATICO FINE BOLLA',2,'COMFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OANCLN','01',9,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANCLN','01',10,'CODICE EAN',2,'CODEAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANCLN','01',11,'CODICE EAN PARTE 1',3,'CDEAN1',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLN','01',12,'CODICE EAN PARTE 2',3,'CDEAN2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLN','01',13,'CODICE EAN PARTE 3',3,'CDEAN3',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLN','01',14,'CODICE EAN PARTE 4',3,'CDEAN4',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OANCLN','01',15,'CODICE EAN PARTE 5',3,'CDEAN5',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OANCLN','01',16,'CODICE EAN PARTE 6',3,'CDEAN6',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANCLN','01',17,'RAGIONE SOCIALE SPED. RIBA',2,'DESRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCLN','01',18,'INDIRIZZO SPED. RIBA',2,'INDRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCLN','01',19,'CAP SPED. RIBA',2,'CAPRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCLN','01',20,'LOCALITA'' SPED. RIBA',2,'LOCRIB',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANCLN','01',21,'PROVINCIA SPED. RIBA',2,'PRORIB',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANCLN','01',22,'ULTERIORI 15 CARATTERI IV RIGA DES',2,'RGDS15',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OANCLN','01',23,'CODICE FORNITORE COLLEGATO',2,'FORCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANCLN','01',24,'CODIE UNIVOCO UFFICIO (FATTURE PA)',2,'CODCUU',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANCLN','01',25,'CODICE CIG',2,'CODCIG',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OANCLN','01',26,'CODICE ICQRF',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANCLN','01',27,'CAMPO SPORCO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OANCLN','01',28,'CODICE IPA (FATTURAZIONE B2B)',2,'CODIPA',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OANCLN','01',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,258,258,0,0,'X(258)','',0,'',0,0,'' )
,('OANFO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO1','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO1','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANFO1','01',5,'PARTITA IVA / CODICE FISCALE',2,'PARIVA',0,0,1,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANFO1','01',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANFO1','01',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANFO1','01',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANFO1','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANFO1','01',10,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('OANFO1','01',11,'STATO GIURIDICO',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANFO1','01',12,'ALLEGATO S/N',2,'SINOAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANFO1','01',13,'DOGANA (27/02/2012 NON PIU'' USATO)',2,'DOGANA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANFO1','01',14,'CODICE GRUPPO PIANO DEI CONTI',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANFO1','01',15,'CODICE CONTO PIANO DEI CONTI',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANFO1','01',16,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO1','01',17,'CODICE REGIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANFO1','01',18,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANFO1','01',19,'CODICE BANCA (ABI)',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OANFO1','01',20,'CODICE BANCA (CAB)',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OANFO1','01',21,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANFO1','01',22,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OANFO1','01',23,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANFO1','01',24,'SCONTI COMMERCIALI',2,'CODSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OANFO1','01',25,'NUMERO DI TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANFO1','01',26,'NUMERO DI FAX',2,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANFO1','01',27,'COGNOME FORNITORE',2,'COGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANFO1','01',28,'NOME FORNITORE',2,'NOMFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANFO1','01',29,'GRUPPO CONTROPARTITA CONTABILE 1',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANFO1','01',30,'CONTO CONTROPARTITA CONTABILE 1',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANFO1','01',31,'SOTTOCONTO CONTROPARTITA CONTABILE 1',2,'SOTCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO1','01',32,'NOTE ESTRATTO CONTO',2,'NOTEES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANFO1','01',33,'NUMERO CONTO CORRENTE PRIMI 11 CARATTERI',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('OANFO1','01',34,'NUMERO ISCRIZIONE REGISTRO IMPRESE',2,'REGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('OANFO1','01',35,'BANCA INTERNA PREVALENTE',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANFO1','01',36,'SECONDO CODICE IVA',2,'CODIV2',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OANFO1','01',37,'TERZO CODICE IVA',2,'CODIV3',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OANFO1','01',38,'FORNITORE OBSOLETO  /S',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANFO1','01',39,'DODICESIMO CARATTERE N. C/C',2,'NUMCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X(1)','',0,'',0,0,'' )
,('OANFO1','01',40,'TIME STAMP ULTIMA MOD.REG.ZUCCHERI TEL',2,'TISZUC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO1','01',41,'DATA ULTIMA MODIFICA REG.ZUCCHERI TEL.',3,'DATZUC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANFO1','01',42,'ORA ULTIMA MODIFICA REG.ZUCCHERI TEL.',3,'ORAZUC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANFO1','01',43,'TIME STAMP ULTIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO1','01',44,'DATA ULTIMA MODIFICA REG.UNICO TEL.',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANFO1','01',45,'ORA ULTIMA MODIFICA REG.UNICO TEL.',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANFO1','01',46,'USERE C.F. RAPPR. X SPESOMETRO /S',2,'CFISPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANFO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO2','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO2','01',3,'CODICE FORNITORE',3,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO2','01',4,'NUMERO RIGA NOTA',3,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANFO2','01',5,'RIGA NOTA',2,'DESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,120,120,0,0,'X(120)','',0,'',0,0,'' )
,('OANFO2','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OANFO3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO3','01',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
('OANFO3','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO3','01',4,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANFO3','01',5,'PERCENTUALE RITENUTA DI ACCONTO',2,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OANFO3','01',6,'SESSO',2,'CODSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANFO3','01',7,'DATA DI NASCITA',2,'DATNAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OANFO3','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,'' )
,('OANFO3','01',9,'ANNO DI NASCITA',3,'AAANAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OANFO3','01',10,'MESE DI NASCITA',3,'MMMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANFO3','01',11,'GIORNO DI NASCITA',3,'GGGNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANFO3','01',12,'COMUNE DI NASCITA',2,'COMNAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO3','01',13,'PROVINCIA DI NASCITA',2,'PRONAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANFO3','01',14,'GR/CO/SO CONTROPARTITA CONTABILE 2',2,'GCSCO1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO3','01',15,'GRUPPO CONTROPARTITA CONTABILE 2',3,'GRUCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('OANFO3','01',16,'CONTO CONTROPARTITA CONTABILE 2',3,'CONCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('OANFO3','01',17,'SOTTOCONTO CONTROPARTITA CONTABILE 2',3,'SOTCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('OANFO3','01',18,'GR/CO/SO CONTROPARTITA CONTABILE 2',2,'GCSCO2',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO3','01',19,'GRUPPO CONTROPARTITA CONTABILE 3',3,'GRUCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('OANFO3','01',20,'CONTO CONTROPARTITA CONTABILE 3',3,'CONCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('OANFO3','01',21,'SOTTOCONTO CONTROPARTITA CONTABILE 3',3,'SOTCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('OANFO3','01',22,'CODICE CIN EURO',2,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANFO3','01',23,'CODICE CIN ITALIA',2,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANFO3','01',24,'VECCHIO CODICE CEMBRA',2,'OLDCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO3','01',25,'LISTINO OBBLIGATORIO ( /S)',2,'LISOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANFO3','01',26,'TIPO CONTROLLO SOGLIA ALLEGATO 1/2',2,'SOGALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OANFO3','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,'' )
,('OANFO4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO4','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO4','01',4,'PERSONA DA CONTATTARE',2,'CONTAT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OANFO4','01',5,'INDIRIZZO E-MAIL',2,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANFO4','01',6,'PERC. AGG. PER CALCOLO RIT. ACCONTO',2,'PERIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OANFO4','01',7,'MODULO STAMPA ORDINE FORNITORE',2,'MODORF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANFO4','01',9,'CODICE PER INVIO CU 770 DA 2015',2,'CCU770',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANFO4','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('OANFO4','01',11,'INDIRIZZO MAIL PEC',2,'E-MAIC',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('OANFO4','01',12,'COMUNE DI FUSIONE 01/01/2017',2,'CF1770',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OANFO4','01',13,'COMUNE DI FUSIONE 01/01/2018',2,'CF2770',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OANFO4','01',14,'SECONDO CODICE COMUNE',2,'CC2770',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO5','DA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO5','DA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO5','DA',3,'TIPO RECORD = "DA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OANFO5','DA',4,'CODICE FORNITORE',3,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO5','DA',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OANFO5','DA',6,'NUMERO CELLULARE',2,'NUMCEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OANFO5','DA',7,'URL INTERNET',2,'URLINT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OANFO5','DA',8,'RAGIONE SOCIALE AGGIUNTIVA',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OANFO5','DA',9,'INDIRIZZO E-MAIL INVIO AUTOMATICO',2,'E-MAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OANFO5','DA',10,'CODICE FISCALE RAPPRESENTANTE',2,'CFRAPR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OANFO5','DA',11,'CODICE ICQRF',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OANFO5','DA',12,'CODICE IPA',2,'CODIPA',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OANFO5','DA',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OANFO8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO8','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANFO8','01',3,'CODICE FORNITORE',3,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OANFO8','01',4,'NUMERO RIGA NOTA',3,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OANFO8','01',5,'RIGA NOTA',2,'DESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OANFO8','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OANNPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANNPV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OANNPV','01',3,'MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OANNPV','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,'' )
,('OANNPV','01',5,'ULTIMA ANNATA UTILIZZATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OANNPV','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OARTC2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTC2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTC2','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('OARTC2','01',4,'TIPO RECORD "C2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('OARTC2','01',5,'NUMERO MASSIMO DECIMALI AMMESSI 0-5',2,'MAXDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('OARTC2','01',6,'RICHIESTI LOTTI TRACCIABILITA VENDITE SN',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTC2','01',7,'CODICE EAN CARTONE',2,'EANCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OARTC2','01',8,'CODICE ARTICOLO DEL CLIENTE',2,'ARTCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OARTC2','01',9,'CATEGORIA PRODOTTO PER QUARGENTAN',2,'CATQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OARTC2','01',10,'COMMENTI FISSI ARTICOLO',2,'COMFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OARTC2','01',11,'CARATTERE INIZIALE PER EAN 14 CARTONE',2,'EAN-14',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTC2','01',12,'PREFISSO EAN PER PALETTA',2,'EAN14P',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTC2','01',13,'LOTTO DEFAULT',2,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OARTC2','01',14,'TIPO MOSTO MC/MCR',2,'TIPMOS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OARTC2','01',15,'COMMENTI FISSI ARTICOLO PUNTO VENDITA',2,'COMFPV',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OARTC2','01',16,'ESCLUDERE DA CONTEGGIO SCONTO PAGAMENTO',2,'FLGSCP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTC2','01',17,'CODICE TIPO ETICHETTA MAGAZZINO QUARGY',2,'MQMETI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTC2','01',18,'CONFEZIONE PER VENDITE WEB',2,'CFZWEB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTC2','01',19,'GRUPPO COSTO',2,'GRUCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTC2','01',20,'STAMPA ETICHETTA CARTONE MAGAZZ.QUARGY',2,'STETCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTC2','01',21,'RECIPIENTE RELATIVO ALL''EAN CARTONE',2,'RECCAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTC2','01',22,'PROGRAMMA PALLETTIZZATORE (QUARGY WISE)',2,'PRGPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTC2','01',23,'DESCRIZIONE ALTERNATIVA PER PALETTA',2,'DESPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',3,'',0,0,'' )
,('OARTC2','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('OARTC2','01',25,'CODICE ETICHETTA BANCALE',2,'MQMETC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OARTCE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCE','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCE','01',3,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,2,2,3,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OARTCE','01',4,'CODICE ARTICOLO',3,'CODART',0,1,3,2,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTCE','01',5,'CODICE ARTICOLO CLIENTE',2,'ARTCLI',0,0,1,1,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OARTCE','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OARTCT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCT','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTCT','01',4,'TIPO RECORD "CT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCT','01',5,'CODICE ARTICOLO TASSA',2,'CODATA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTCT','01',6,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,5,0,'9(10)V9(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OARTCT','01',7,'IMPORTO IVATO',2,'IMPPVE',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('OARTCT','01',8,'CODICE ARTICOLO IMPORTO ACCISA',2,'ARTACC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTCT','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,79,79,0,0,'X(79)','',0,'',0,0,'' )
,('OARTCV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCV','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('OARTCV','01',4,'TIPO RECORD "CV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('OARTCV','01',5,'NOMENCLATURA COMBINATA MODELLI INTRA',2,'NOMCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('OARTCV','01',6,'REDEFINES PER CRM TREE-IO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCV','01',7,'PRIMA PARTE',3,'NOMCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('OARTCV','01',8,'SECONDA PARTE',3,'NOMCO2',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OARTCV','01',9,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCV','01',10,'NC I PARTE',3,'NOMCOA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCV','01',11,'NC II PARTE',3,'NOMCOB',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCV','01',12,'NC III PARTE',3,'NOMCOC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCV','01',13,'NC IV PARTE',3,'NOMCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCV','01',14,'CODICE EAN',2,'CODEAN',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OARTCV','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,'' )
,('OARTCV','01',16,'CODICE EAN PARTE 1',3,'CDEAN1',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCV','01',17,'CODICE EAN PARTE 2',3,'CDEAN2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTCV','01',18,'CODICE EAN PARTE 3',3,'CDEAN3',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCV','01',19,'CODICE EAN PARTE 4',3,'CDEAN4',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OARTCV','01',20,'CODICE EAN PARTE 5',3,'CDEAN5',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OARTCV','01',21,'CODICE EAN PARTE 6',3,'CDEAN6',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTCV','01',22,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCV','01',23,'STABILIMENTO VASCA',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCV','01',24,'SETTORE VASCA',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCV','01',25,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTCV','01',26,'CODICE TIPO VUOTO',2,'TIPVUO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OARTCV','01',27,'PESO PER TIPO IMBALLO (CONAI)',2,'PECOOL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('OARTCV','01',28,'CODICE TIPO IMBALLO PER CONAI',2,'CODTIM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTCV','01',29,'FATTORE EFFICIENZA IMPIANTO IMBOTTIGL.',2,'FEFFIM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,5,0,'9V9(5)','',0,'',0,0,'' )
,('OARTCV','01',30,'TAB.MANIPOLAZIONI O COMBINAZIONE MANIP.',2,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OARTCV','01',31,'REDEFINES MANIPI',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTCV','01',32,'MANIPOLAZIONI',3,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('OARTCV','01',33,'CODICE GESTIONE BUDGET',2,'CODBUD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTCV','01',34,'CODICE CPA',2,'CODCPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OARTCV','01',35,'CODICE TARIC',2,'CODTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTCV','01',36,'CODICE CADD',2,'CODCAD',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OARTCV','01',37,'PESO PER TIPO IMBALLO CONAI',2,'PESTIM',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('OARTCV','01',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,151,151,0,0,'X(151)','',0,'',0,0,'' )
,('OARTDA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTDA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTDA','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('OARTDA','01',4,'TIPO RECORD "DA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTDA','01',5,'DESCRIZIONE ALTERNATIVA PRIMA RIGA',2,'DESAL1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTDA','01',6,'DESCRIZIONE ALTERNATIVA SECONDA RIGA',2,'DESAL2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTDA','01',7,'FILLER SPORCO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OARTDA','01',8,'DESCRIZIONE ORDINE DI CARICO',2,'DESOCA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTDA','01',9,'DESCRIZIONE ALTERNATIVA PER SSCC',2,'DESSCC',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('OARTDA','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OARTDD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTDD','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTDD','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTDD','01',4,'TIPO RECORD "DD"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTDD','01',5,'DESCRIZIONE PER STAMPA DOCO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTDD','01',6,'CODICE ARTICOLO PER DOCO',2,'CODOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTDD','01',7,'SECONDA DESCRIZIONE PER STAMPA DOCO',2,'DESDO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTDD','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,171,171,0,0,'X(171)','',0,'',0,0,'' )
,('OARTDM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTDM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTDM','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTDM','01',4,'TIPO RECORD "DM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTDM','01',5,'DESCRIZIONE MARKEM PRIMA RIGA',2,'DESMA1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTDM','01',6,'DESCRIZIONE MARKEM SECONDA RIGA',2,'DESMA2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTDM','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,173,173,0,0,'X(173)','',0,'',0,0,'' )
,('OARTDS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTDS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTDS','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTDS','01',4,'TIPO RECORD "DS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTDS','01',5,'DESCRIZIONE RICEVUTA FISCALE',2,'DESRFS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTDS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,103,103,0,0,'X(103)','',0,'',0,0,'' )
,('OARTI1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI1','01',2,'CHIAVE SECONDARIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI1','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTI1','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,'' )
,('OARTI1','01',5,'CODICE',4,'CODICE',0,0,2,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI1','01',6,'CODICE ABBREVIATO PUNTO VENDITA',2,'CODABB',0,0,1,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI1','01',7,'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,'' )
,('OARTI1','01',8,'TIPO ARTICOLO',2,'TIPART',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',9,'SOTTOTIPO ARTICOLO',2,'TIPDUE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',10,'CODICE UNITA'' DI MISURA',2,'CODUDM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'ATBAUM',1,1,'' )
,('OARTI1','01',11,'CODICE CONFEZIONE/RECIPIENTE',2,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'ATBACZ',1,1,'' )
,('OARTI1','01',12,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('OARTI1','01',13,'GESTITO AD ANNATE S/N',2,'FLGANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',14,'GESTITO A LOTTI S/N',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',15,'ANNATA DI DEFAULT',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTI1','01',16,'GRUPPO RICAVO',2,'GRURIC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAGR',1,1,'' )
,('OARTI1','01',17,'GRUPPO VALUTAZIONE RIMANENZE',2,'GRUVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAGV',1,1,'' )
,('OARTI1','01',18,'CATEGORIA SCONTO',2,'CATSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'ATBACS',1,1,'' )
,('OARTI1','01',19,'CATEGORIA PROVVIGIONI',2,'CATPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'ATBACP',1,1,'' )
,('OARTI1','01',20,'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,'' )
,('OARTI1','01',21,'PERCENTUALE PROVVIGIONE AGENTE CAPO AREA',2,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OARTI1','01',22,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI1','01',23,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('OARTI1','01',24,'GRADO',2,'GRAALC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OARTI1','01',25,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'ATBACC',1,1,'' )
,('OARTI1','01',26,'FLAG TIPO LISTINO',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',29,'TIPO GESTIONE STATISTICHE',2,'FLGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',33,'PREZZO DI VENDITA',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,5,'9(11)V99 COMP-3','9(8)V9(5) COMP-3',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OARTI1','01',34,'COSTO STANDARD',2,'COSSTD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,5,'9(11)V99 COMP-3','9(8)V9(5) COMP-3',0,'',0,0,'' )
,('OARTI1','01',35,'VALORIZZAZIONE RIMANENZE',2,'VALRIM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,5,'9(11)V99 COMP-3','9(8)V9(5) COMP-3',0,'',0,0,'' )
,('OARTI1','01',36,'VALORIZZAZIONE ANALISI DEI COSTI',2,'VALCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,5,'9(11)V99 COMP-3','9(8)V9(5) COMP-3',0,'',0,0,'' )
,('OARTI1','01',37,'FLAGS GESTIONE RIGA DOCO',2,'FLDOCO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI1','01',38,'FLAG GRADO EFFETTIVO OBBLIGATORIO S/N',3,'GRAEFF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',39,'FLAG GRADO TOTALE OBBLIGATORIO S/N',3,'GRATOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',40,'FLAG MASSA VOLUMICA OBBLIGATORIA S/N',3,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',41,'FLAG CALCOLO LITRI DA KILOGRAMMI',3,'KGTOLT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',42,'ZONA VITICOLA PER DOCO',2,'ZONVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OARTI1','01',43,'ARTICOLO OBSOLETO  /S',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',44,'CONCORRE AL TOTALE MERCE IN MV ( /N)',2,'FLGMVL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',45,'ANNATA FISSA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI1','01',46,'ANNATA DEFAULT SPACCIO',2,'ANNSPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI1','01',48,'PESO LORDO KG.',2,'PESOLO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,3,0,'9(4)V999 COMP-3','',0,'',0,0,'' )
,('OARTI1','01',49,'AGGIORNA REGISTRO IMBOTTIGLIAMENTO S/N',2,'FLGIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',50,'GRADO OBBLIGATORIO IN BOLLA (S/N)',2,'GRAOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',51,'ARTICOLO DI VENDITA (S/N)',2,'FLGVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',52,'SECONDA ZONA VITICOLA',2,'ZONVI2',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OARTI1','01',53,'ID FAMIGLI AREGISTRO UNICO',2,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('OARTI1','01',54,'ID FAMIGLIA R.U. PRODOTTO IMB.DA BOLLA',2,'IDFIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('OARTI1','01',55,'OBBLIGO GRADO BABO SU BOLLE (PER UVE)',2,'FOBABO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',56,'QTA'' RASPI AGGIUNTIVA IMPUTABILE S/N/O',2,'QTARAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',57,'RAGGRUPPAMENTO IMPUTABILE S/N/O',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI1','01',58,'LOTTO DA PROPORRE IN BOLLA (DDT)',2,'PROLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI1','01',59,'GESTITO SU ALYANTE',2,'FLGALY',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','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,'' )
,('OARTI2','00',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','00',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,63,63,0,0,'X(63)','',0,'',0,0,'' )
,('OARTI2','C2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','C2',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','C2',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','C2',4,'TIPO RECORD "C2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','C2',5,'NUMERO MASSIMO DECIMALI AMMESSI 0-5',2,'MAXDEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('OARTI2','C2',6,'RICHIESTI LOTTI TRACCIABILITA VENDITE SN',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI2','C2',7,'CODICE EAN CARTONE',2,'EANCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OARTI2','C2',8,'CODICE ARTICOLO DEL CLIENTE',2,'ARTCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OARTI2','C2',9,'CATEGORIA PRODOTTO PER QUARGENTAN',2,'CATQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OARTI2','C2',10,'COMMENTI FISSI ARTICOLO',2,'COMFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OARTI2','C2',11,'CARATTERE INIZIALE PER EAN 14 CARTONE',2,'EAN-14',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI2','C2',12,'PREFISSO EAN PER PALETTA',2,'EAN14P',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI2','C2',13,'LOTTO DEFAULT',2,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OARTI2','C2',14,'TIPO MOSTO MC/MCR',2,'TIPMOS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OARTI2','CT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','CT',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','CT',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','CT',4,'TIPO RECORD "CT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CT',5,'CODICE ARTICOLO TASSA',2,'CODATA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','CT',6,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,5,0,'9(10)V9(5)','',0,'',0,0,'' )
,('OARTI2','CT',7,'IMPORTO IVATO',2,'IMPPVE',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('OARTI2','CT',8,'CODICE ARTICOLO IMPORTO ACCISA',2,'ARTACC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','CT',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('OARTI2','CV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','CV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','CV',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','CV',4,'TIPO RECORD "CV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CV',5,'NOMENCLATURA COMBINATA MODELLI INTRA',2,'NOMCOM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','CV',6,'PRIMA PARTE',3,'NOMCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('OARTI2','CV',7,'SECONDA PARTE',3,'NOMCO2',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OARTI2','CV',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','CV',9,'NC I PARTE',3,'NOMCOA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CV',10,'NC II PARTE',3,'NOMCOB',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CV',11,'NC III PARTE',3,'NOMCOC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CV',12,'NC IV PARTE',3,'NOMCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CV',13,'CODICE EAN',2,'CODEAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','CV',14,'CODICE EAN PARTE 1',3,'CDEAN1',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CV',15,'CODICE EAN PARTE 2',3,'CDEAN2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI2','CV',16,'CODICE EAN PARTE 3',3,'CDEAN3',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CV',17,'CODICE EAN PARTE 4',3,'CDEAN4',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OARTI2','CV',18,'CODICE EAN PARTE 5',3,'CDEAN5',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OARTI2','CV',19,'CODICE EAN PARTE 6',3,'CDEAN6',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI2','CV',20,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','CV',21,'STABILIMENTO VASCA',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CV',22,'SETTORE VASCA',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','CV',23,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTI2','CV',24,'CODICE TIPO VUOTO',2,'TIPVUO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OARTI2','CV',25,'PESO PER TIPO IMBALLO (CONAI)',2,'PESTIM',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('OARTI2','CV',26,'CODICE TIPO IMBALLO PER CONAI',2,'CODTIM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTI2','CV',27,'FATTORE EFFICIENZA IMPIANTO IMBOTTIGL.',2,'FEFFIM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,5,0,'9V9(5)','',0,'',0,0,'' )
,('OARTI2','CV',28,'TABELLA MANIPOLAZIONI',2,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','CV',29,'MANIPOLAZIONI',3,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('OARTI2','CV',30,'CODICE GESTIONE BUDGET',2,'CODBUD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI2','DA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','DA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','DA',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','DA',4,'TIPO RECORD "DA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','DA',5,'DESCRIZIONE ALTERNATIVA PRIMA RIGA',2,'DESAL1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTI2','DA',6,'DESCRIZIONE ALTERNATIVA SECONDA RIGA',2,'DESAL2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTI2','DA',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,'' )
,('OARTI2','DD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','DD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','DD',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','DD',4,'TIPO RECORD "DD"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','DD',5,'DESCRIZIONE PER STAMPA DOCO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTI2','DD',6,'CODICE ARTICOLO PER DOCO',2,'CODOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','DD',7,'SECONDA DESCRIZIONE PER STAMPA DOCO',2,'DESDO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTI2','DD',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI2','DM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','DM',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
('OARTI2','DM',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','DM',4,'TIPO RECORD "DM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','DM',5,'DESCRIZIONE MARKEM PRIMA RIGA',2,'DESMA1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTI2','DM',6,'DESCRIZIONE MARKEM SECONDA RIGA',2,'DESMA2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTI2','DM',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,'' )
,('OARTI2','DS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','DS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','DS',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','DS',4,'TIPO RECORD "DA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','DS',5,'DESCRIZIONE RICEVUTA FISCALE',2,'DESRFS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTI2','DS',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,'' )
,('OARTI2','M2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','M2',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','M2',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','M2',4,'TIPO RECORD "MK"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','M2',5,'TABELLA NOMI CAMPI',2,'NOMCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',10,'',0,0,'' )
,('OARTI2','M2',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OARTI2','MK',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','MK',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','MK',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','MK',4,'TIPO RECORD "MK"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','MK',5,'NUMERO MASSIMO DECIMALI AMMESSI 0-5',2,'FORMAT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OARTI2','MK',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('OARTI2','PA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','PA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','PA',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','PA',4,'TIPO RECORD "PA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','PA',5,'CODICE EAN PALLET',2,'EANPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OARTI2','PA',6,'PESO PALLET IN KG',2,'PESPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OARTI2','PA',7,'LUNGHEZZA PALLET IN MILLIMETRI',2,'LUNPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI2','PA',8,'LARGHEZZA PALLET IN MILLIMETRI',2,'LARPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI2','PA',9,'ALTEZZA PALLET IN MILLIMETRI',2,'ALTPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTI2','PA',10,'NUMERO CARTONI PER PALLET',2,'NUMCAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTI2','PA',11,'PESO LORDO MASSIMO PALLET',2,'MAXPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OARTI2','PA',12,'MESI SCADENZA (0=NO SCADENZA)',2,'FLGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OARTI2','PA',13,'GESTIONE PESI IN BOLLA (S/N)',2,'FLGPES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI2','PA',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('OARTI2','VQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','VQ',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI2','VQ',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI2','VQ',4,'TIPO RECORD "VQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTI2','VQ',5,'PERCENTUALE RICARICO',2,'PERRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OARTI2','VQ',6,'DENSITA'' PER ARTICOLI GENERICI',2,'DENSIT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
,('OARTI2','VQ',7,'NR BRIX PER ARTICOLI GENERICI',2,'NRBRIX',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OARTI2','VQ',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('OARTI3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI3','01',3,'CODICE ARTICOLO',3,'CODART',1,2,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('OARTI3','01',4,'CODICE COMPONENTE',3,'CODCMP',2,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',2,1,'' )
,('OARTI3','01',5,'ARTICOLI COMPONENTI PER OGNI FINITO',2,'QTAPER',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,4,0,'S9(9)V9(4) COMP-3','',0,'',0,0,'' )
,('OARTI3','01',6,'ARTICOLI FINITI PER OGNI COMPONENTE',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,4,0,'S9(9)V9(4) COMP-3','',0,'',0,0,'' )
,('OARTI3','01',7,'FLAG STAMPA PER CONFEZIONI MISTE ( /N)',2,'FLGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI3','01',8,'PERCENTUALE SFRIDI',2,'PSFRID',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('OARTI3','01',9,'ANNATA COMPONENTE',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTI3','01',10,'NUMERO BRIX QUARGY',2,'NRBRIX',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OARTI3','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('OARTI4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI4','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,'' )
,('OARTI4','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,'' )
,('OARTI4','01',5,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTI4','01',6,'ANNATA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTI5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI5','01',3,'CODICE ARTICOLO',3,'CODART',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI5','01',4,'RIGA',3,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI5','01',5,'RIGA NOTA',2,'RIGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OARTI6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI6','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI6','01',3,'CODICE ARTICOLO (LO STESSO DI AARTI1)',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('OARTI6','01',4,'CODICE PRODOTTO',2,'CODPRD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',5,'CODICE MARCHIO',2,'CODMAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',6,'CODICE FORMATO',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',7,'CODICE CONFEZIONE',2,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',8,'CODICE VASSOIO',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',9,'CODICE PALLET',2,'CODPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'AMQPAL',1,1,'' )
,('OARTI6','01',10,'TIPO ARTICOLO (1=VENDITA, 2=MAT.PRIME)',2,'TIPART',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI6','01',11,'ARTICOLO FUORI PRODUZIONE (S/ )',2,'NOPROD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI6','01',12,'TIPO LOTTO (PER DB WISE)',2,'TIPLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OARTI6','01',13,'CAMPO FITTIZIO SOLO PER EXPORT DA AARTI2',2,'CODEAN',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('OARTI6','01',14,'TEMPO DECADIMENTO GG',2,'GGALRM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',15,'TEMPO SCADENZA MM',2,'MMSCAD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',16,'NUMERO STRATI',2,'NRSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',17,'NUMERO CARTONI PER PALLET',2,'NRCART',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OARTI6','01',18,'ALTEZZA PALLET MILLIMETRI',2,'ALTPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',19,'PESO LORDO CARTONE GRAMMI',2,'PLCART',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OARTI6','01',20,'NUMERO ARTICOLO',2,'NUMART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTI6','01',21,'STAMPA ETICHETTA MARIANI 0/1/2/3',2,'STETMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI6','01',22,'CODICE AVVOLGITURA',2,'CODAVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',23,'GIORNI SCADENZA',2,'DDSCAD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTI6','01',24,'CAMPO FITTIZIO SOLO PER EXPORT DA AARTI2',2,'EAN-14',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI6','01',25,'GG DECADIMENTO PER ASETTICO',2,'GGASET',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI6','01',26,'DESCRIZIONE PER ETICHETTA MARIANI',2,'DESETI',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('OARTI6','01',27,'BOTTIGLIE PER STRATO (VUOTE)',2,'BOTSTR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OARTI6','01',28,'COMPATTAZIONE PALLET SYSTORE SOAVE 0/1/2',2,'COMPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI6','01',29,'TIPO GESTIONE SYSTORE F/V',2,'GESSYS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTI6','01',30,'ORE FIFO PRELIEVI SYSTORE',2,'HFIFOP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OARTI6','01',31,'ORE FIFO VERSAMENTI SYSTORE',2,'HFIFOV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OARTI6','01',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OARTI6','01',33,'PRIORITA'' CARICO SYSTORE',2,'PRISYS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OARTI6','01',34,'CLASSE ROTAZIONE ARTICOLO SYSTORE',2,'CLASSM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',4,'',0,0,'' )
,('OARTI7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI7','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI7','01',3,'CODICE ARTICOLO',3,'CODART',1,2,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI7','01',4,'CODICE COMPONENTE',3,'CODMAG',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTI7','01',5,'ANNATA DI DEFAULT VENDITE CON FATTURA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI7','01',6,'ANNATA DI DEFAULT PUNTO VENDITA',2,'ANNSPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI7','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',0,'',0,0,'' )
,('OARTI8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI8','01',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTI8','01',3,'CODICE ARTICOLO',3,'CODART',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTI8','01',4,'RIGA',3,'NUMRIG',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTI8','01',5,'RIGA NOTA',2,'RIGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OARTIL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTIL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTIL','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,'' )
,('OARTIL','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,'' )
,('OARTIL','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTIL','01',6,'LOTTO DEFAULT',2,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OARTIL','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('OARTL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTL1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTL1','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTL1','01',4,'CODICE LINGUA',3,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTL1','01',5,'DESCRIZIONE BOLLE/DAA/FATTURE 1',2,'DESBO1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTL1','01',6,'DESCRIZIONE BOLLE/DAA/FATTURE 2',2,'DESBO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTL1','01',7,'DESCRIZIONE DOCO 1',2,'DESDO1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTL1','01',8,'DESCRIZIONE DOCO 2',2,'DESDO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OARTL1','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,62,62,0,0,'X(62)','',0,'',0,0,'' )
,('OARTM2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTM2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTM2','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTM2','01',4,'TIPO RECORD "MK"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTM2','01',5,'TABELLA NOMI CAMPI',2,'NOMCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',10,'',0,0,'' )
,('OARTM2','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,173,173,0,0,'X(173)','',0,'',0,0,'' )
,('OARTMK','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTMK','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTMK','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTMK','01',4,'TIPO RECORD "MK"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTMK','01',5,'NUMERO MASSIMO DECIMALI AMMESSI 0-5',2,'FORMAT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OARTMK','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,213,213,0,0,'X(213)','',0,'',0,0,'' )
,('OARTPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTPA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTPA','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('OARTPA','01',4,'TIPO RECORD "PA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('OARTPA','01',5,'CODICE EAN PALLET',2,'EANPAL',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OARTPA','01',6,'PESO PALLET IN KG',2,'PESPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OARTPA','01',7,'LUNGHEZZA PALLET IN MILLIMETRI',2,'LUNPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTPA','01',8,'LARGHEZZA PALLET IN MILLIMETRI',2,'LARPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTPA','01',9,'EX ALTEZZA PALLEt*****USARE AARTI6',2,'ALTPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTPA','01',10,'EX NUMERO CARTONI PER PALLET**AARTI6****',2,'NUMCAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTPA','01',11,'PESO LORDO MASSIMO PALLET - OLD PICCOLO',2,'OLDMXP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OARTPA','01',12,'EX MESI SCADENZA (0=NO SCADENZA)********',2,'FLGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OARTPA','01',13,'GESTIONE PESI IN BOLLA (S/N)',2,'FLGPES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTPA','01',14,'CODICE MARCHIO PRODUZIONE (ROBOS)',2,'CODMAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OARTPA','01',15,'LINEE DI PRODUZIONE UTILIZZABILI (ROBOS)',2,'LINPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OARTPA','01',16,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,5,0,'9V9(5)','',0,'',0,0,'' )
,('OARTPA','01',17,'FORMATO PALETTA (VEDI ATBAPF)',2,'FORPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OARTPA','01',18,'CODICE SCHEDA NEGRAR',2,'SCHEDA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OARTPA','01',19,'EVADERE ART. IN BOLLA SE GIAC. INSUFF.',2,'GIAINS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OARTPA','01',20,'NUMERO ETICHETTE SSCC PER BANCALE',2,'NRSSCC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('OARTPA','01',21,'PESO MASSIMO PALLET IN KG',2,'MAXPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('OARTPA','01',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,144,144,0,0,'X(144)','',0,'',0,0,'' )
,('OARTVQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTVQ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTVQ','01',3,'CODICE ARTICOLO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OARTVQ','01',4,'TIPO RECORD "VQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OARTVQ','01',5,'PERCENTUALE RICARICO',2,'PERRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OARTVQ','01',6,'DENSITA'' PER ARTICOLI GENERICI',2,'DENSIT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,5,0,'99V9(5)','',0,'',0,0,'' )
,('OARTVQ','01',7,'NR BRIX PER ARTICOLI GENERICI',2,'NRBRIX',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OARTVQ','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,216,216,0,0,'X(216)','',0,'',0,0,'' )
,('OARTVV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTVV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTVV','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OARTVV','01',4,'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,'' )
,('OARTVV','01',5,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OARTVV','01',6,'CAUSALE BOLLA',3,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OARTVV','01',7,'CODICE RAGRUPPAMENTO',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OARTVV','01',8,'CODICE REGISTRO VINIFICAZIONE',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTVV','01',9,'CAUSALE VINIFICAZIONE SCARICO',2,'CAUSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTVV','01',10,'CAUSALE VINIFICAZIONE CARICO',2,'CAUCAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTVV','01',11,'CAUSALE SCARICO RASPI',2,'CAUSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTVV','01',12,'CAUSALE CARICO RASPI',2,'CAUCRR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OARTVV','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('OASCOM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OASCOM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OASCOM','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,'' )
,('OASCOM','01',4,'CODICE 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,'' )
,('OASCOM','01',5,'QTA SCORTA MINIMA',2,'SCOMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OASCOM','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('OATPVS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OATPVS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OATPVS','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('OATPVS','01',4,'ARTICOLO TAGLIO VINI SFUSI PV',2,'ARTTAG',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OATPVS','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,173,173,0,0,'X(173)','',0,'',0,0,'' )
,('OAUTD1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OAUTD1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OAUTD1','01',3,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OAUTD1','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OAUTD1','01',5,'PROGRESSIVO - ATTENZIONE, PER SOCIO -',3,'NUMPRG',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
('OAUTD1','01',6,'CODICE COMUNE ISCRIZIONE AUTORIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OAUTD1','01',7,'DATA ISCRIZIONE AUTORIZZAZIONE',2,'DTAAUT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OAUTD1','01',8,'NUMERO MATRICOLA',2,'NRMATR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OAUTD1','01',9,'CODICE IPA',2,'CODIPA',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OAUTD1','01',10,'NOME INTESTATARIO',2,'NOMINT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OAUTD1','01',11,'SUPERFICE CERTIFICATA',2,'SUPCER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('OAUTD1','01',12,'CODICE FISCALE/PARTITA IVA',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('OAUTD1','01',13,'NUMERO D''ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OAUTD1','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,'' )
,('OBABUD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBABUD','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBABUD','01',3,'CODICE BUDGET',3,'CODBUD',0,1,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OBABUD','01',4,'CENTRO DI COSTO',3,'CENCOS',0,4,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OBABUD','01',5,'ANNO INIZIO',3,'AAAINI',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OBABUD','01',6,'MESE INIZIO',3,'MMMINI',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBABUD','01',7,'PERCENTUALE RIPARTIZIONE MENSILE',2,'PERMES',0,0,0,0,0,0,0,0,0,0,'',1,1,5,7,2,0,'S999V99','',12,'',0,0,'' )
,('OBABUD','01',8,'VALORE BUDGET MENSILE',2,'VALMES',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',12,'',0,0,'' )
,('OBABUD','01',9,'VALORE TOTALE (12 MESI)',2,'VALTOT',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('OBABUD','01',10,'TIPO DISTRIBUZIONE MENSILE',2,'TIPDIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OBABUD','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,182,182,0,0,'X(182)','',0,'',0,0,'' )
,('OBLOSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBLOSO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBLOSO','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,'' )
,('OBLOSO','01',4,'CODICE PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBLOSO','01',5,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OBLOSO','01',6,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OBLOSO','01',7,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OBLOSO','01',8,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBLOSO','01',9,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OBLOSO','01',10,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBLOSO','01',11,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBLOSO','01',12,'CHIAVE N. 2',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBLOSO','01',13,'NUMERO SCADENZA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OBLOSO','01',14,'NUMERO RIGA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OBLOSO','01',15,'DATA ASSEGNO',2,'DATASS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OBLOSO','01',16,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBLOSO','01',17,'ANNO ASSEGNO',3,'AAAASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OBLOSO','01',18,'MESE ASSEGNO',3,'MMMASS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBLOSO','01',19,'GIORNO ASSEGNO',3,'GGGASS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBLOSO','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OBOLL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBOLL1','01',2,'CHIAVE CLIFOR+DATA+NUMERO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBOLL1','01',3,'DATA IMMISSIONE BOLLA',3,'DTABOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OBOLL1','01',4,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBOLL1','01',5,'ANNO',4,'AA-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'X' )
,('OBOLL1','01',6,'MESE',4,'MM-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('OBOLL1','01',7,'GIORNO',4,'GG-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'X' )
,('OBOLL1','01',8,'CHIAVE CLIFOR+NUMERO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBOLL1','01',9,'CODICE CLIENTE',4,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('OBOLL1','01',10,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBOLL1','01',11,'NUMERO INTERNO BOLLA',5,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OBOLL1','01',12,'CAUSALE BOLLA',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'ATBADC',1,1,'' )
,('OBOLL1','01',13,'CODICE MAGAZZINO PARTENZA',2,'CODMG1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMA',1,1,'' )
,('OBOLL1','01',14,'CODICE MAGAZZINO ARRIVO',2,'CODMG2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMA',2,1,'' )
,('OBOLL1','01',15,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('OBOLL1','01',16,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBAAG',1,1,'' )
,('OBOLL1','01',17,'CODICE AGENTE CAPO AREA',2,'CODACA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBACA',1,1,'' )
,('OBOLL1','01',18,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('OBOLL1','01',19,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'ATMABA',1,1,'' )
,('OBOLL1','01',20,'CODICE ABI',3,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OBOLL1','01',21,'CODICE CAB',3,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OBOLL1','01',22,'MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMZ',1,1,'' )
,('OBOLL1','01',23,'MODALITA'' DI TRASPORTO',2,'CODMOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMT',1,1,'' )
,('OBOLL1','01',24,'PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAPO',1,1,'' )
,('OBOLL1','01',25,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBATR',1,1,'' )
,('OBOLL1','01',26,'CODICE VALUTA ESTERA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAVA',1,1,'' )
,('OBOLL1','01',27,'CAMBIO DEL GIORNO (*CAMBIO)',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,3,0,'9(6)V999 COMP-3','',0,'',0,0,'' )
,('OBOLL1','01',28,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBALI',1,1,'' )
,('OBOLL1','01',29,'FLAG LISTINO',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OBOLL1','01',30,'FLAG SCONTO QUANTITA (S/N)',2,'FLGSCQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OBOLL1','01',31,'FLAG STAMPA DAA (S/N)',2,'FLGDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OBOLL1','01',32,'DESTINATARIO',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OBOLL1','01',33,'CODICE CLIENTE TRIANGOLARE',2,'CODCTR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OBOLL1','01',34,'CODICE LUOGO CONSEGNA',2,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OBOLL1','01',35,'PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OBOLL1','01',36,'PROVVIGIONE AGENTE CAPO AREA',2,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OBOLL1','01',37,'SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OBOLL1','01',38,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBOLL1','01',39,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OBOLL1','01',40,'SCONTO LITRO',2,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('OBOLL1','01',41,'NUMERO CONTRATTO COLLEGATO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OBOLL1','01',42,'NUMERO ORDINE COLLEGATO',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OBOLL1','01',43,'DOPPIA BOLLA ESTERO (DAA+BOLLA) (S/ )',2,'FLG2BO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OBOLL1','01',44,'DATA PARTENZA BOLLA',2,'DTAPAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OBOLL1','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,'' )
,('OBOLL1','01',46,'ANNO',3,'AA-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OBOLL1','01',47,'MESE',3,'MM-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBOLL1','01',48,'GIORNO',3,'GG-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBOLL1','01',49,'ORA PARTENZA',2,'ORAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OBOLL1','01',50,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OBOLL1','01',51,'ORE',3,'OREPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBOLL1','01',52,'MINUTI',3,'MINPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBOLL1','01',53,'DATA STAMPA BOLLA',2,'DTASTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OBOLL1','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,'' )
,('OBOLL1','01',55,'ANNO',3,'AA-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OBOLL1','01',56,'MESE',3,'MM-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBOLL1','01',57,'GIORNO',3,'GG-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OBOLL1','01',58,'BLOCCO BOLLE',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OBOLL1','01',59,'EX NUMERO DOCUMENTO (VEDI NUMDOC)',2,'DOCOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OBOLL1','01',60,'NUMERO MOVIMENTO MAGAZZINO GENERATO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
go
