INSERT INTO dbo.ZFILE3_01 VALUES
('OPARAZ','I3',4,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','I3',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,'' )
,('OPARAZ','I3',6,'PAESE DI SPEDIZIONE',2,'PAESPE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPARAZ','I3',7,'LUOGO DI SPEDIZIONE',2,'LUOSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPARAZ','I3',8,'CODICE CLIENTE CONSORZIO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','I3',9,'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,'' )
,('OPARAZ','I3',10,'SECONDO CODICE CLIENTE CONSORZIO',2,'CODCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','I3',11,'TERZO CODICE CLIENTE CONSORZIO',2,'CODCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','I3',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('OPARAZ','IB',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','IB',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','IB',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,'' )
,('OPARAZ','IB',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,'' )
,('OPARAZ','IB',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,'' )
,('OPARAZ','IB',6,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','IB',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,'' )
,('OPARAZ','IB',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,'' )
,('OPARAZ','IB',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,'' )
,('OPARAZ','IB',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,'' )
,('OPARAZ','IB',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','IB',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,'' )
,('OPARAZ','IB',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,'' )
,('OPARAZ','IC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','IC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','IC',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,'' )
,('OPARAZ','IC',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,'' )
,('OPARAZ','IC',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,'' )
,('OPARAZ','IC',6,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','IC',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,'' )
,('OPARAZ','IC',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,'' )
,('OPARAZ','IC',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,105,105,0,0,'X(105)','',0,'',0,0,'' )
,('OPARAZ','IM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','IM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','IM',3,'TIPO RECORD = "IM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','IM',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,'' )
,('OPARAZ','IM',5,'DATA INIZIO LETTURA MOVIMENTI MAGAZZINO',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','IM',6,'ATTRIBUTO ARTICOLI CATEGORIA',2,'ATTCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','IM',7,'ATTRIBUTO ARTICOLI LINEA',2,'ATTLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','IM',8,'CAUSALI USATE PER OMAGGI',2,'CAUMSM',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',5,'',0,0,'' )
,('OPARAZ','IM',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,113,113,0,0,'X(113)','',0,'',0,0,'' )
,('OPARAZ','J1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','J1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','J1',3,'TIPO RECORD = "J1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','J1',4,'FINO ALLA DATA',3,'FINOAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','J1',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','J1',6,'VALORE PUNTO',2,'VALPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('OPARAZ','J1',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,140,140,0,0,'X(140)','',0,'',0,0,'' )
,('OPARAZ','JE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','JE',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','JE',3,'TIPO RECORD = "JE"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','JE',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,'' )
,('OPARAZ','JE',5,'LISTINI PER CALCOLO PUNTI',2,'TABLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',5,'',0,0,'' )
,('OPARAZ','JE',6,'NR. ATT. CLI. PER SCONTO A PEZZO SI',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','JE',7,'CODICE ATTRIBUTO CLI. PER SCONTO PEZZO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPARAZ','JE',8,'CAPACITA'' RECIPIENTE ART. INIZIALE',2,'CAPINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OPARAZ','JE',9,'CAPACITA'' RECIPIENTE ART. FINALE',2,'CAPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OPARAZ','JE',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',0,'',0,0,'' )
,('OPARAZ','LI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','LI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','LI',3,'TIPO RECORD = "LI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','LI',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,'' )
,('OPARAZ','LI',5,'DATA INIZIO PERIODO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','LI',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','LI',7,'ANNO INIZIO PERIODO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','LI',8,'MESE INIZIO PERIODO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','LI',9,'GIORNO INIZIO PERIODO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','LI',10,'DATA FINE PERIODO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','LI',11,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','LI',12,'ANNO FINE PERIODO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','LI',13,'MESE FINE PERIODO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','LI',14,'GIORNO FINE PERIODO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','LI',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,129,129,0,0,'X(129)','',0,'',0,0,'' )
,('OPARAZ','LS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','LS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','LS',3,'TIPO RECORD = "LS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','LS',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,'' )
,('OPARAZ','LS',5,'VALORE AZIONE',2,'VALAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('OPARAZ','LS',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,138,138,0,0,'X(138)','',0,'',0,0,'' )
,('OPARAZ','LV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','LV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','LV',3,'TIPO RECORD = "LV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','LV',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,'' )
,('OPARAZ','LV',5,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEPER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('OPARAZ','LV',6,'PERCENTUALE INTERESSI',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPARAZ','LV',7,'DATA INIZIO CALCOLO',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('OPARAZ','LV',8,'DATA FINE CALCOLO',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('OPARAZ','LV',9,'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,'' )
,('OPARAZ','LV',10,'PERCENTUALE SPESE GENERALI',2,'PERSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPARAZ','LV',11,'IMPORTO SPESE PER OPERAZIONE',2,'SPEOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,2,'9(5)','999V99',0,'',0,0,'' )
,('OPARAZ','LV',12,'DEPOSITO MASSIMO CONSENTITO SU LIBRETTI',2,'MAXDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,2,'9(9)','9(7)V99',0,'',0,0,'' )
,('OPARAZ','LV',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('OPARAZ','M1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','M1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','M1',3,'TIPO RECORD = "M1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','M1',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,'' )
,('OPARAZ','M1',5,'CODICE COMMENTO FISSO MANCANZA C.FIS.',2,'COMCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OPARAZ','M1',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPARAZ','MP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','MP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','MP',3,'TIPO RECORD = "MP"',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
('OPARAZ','MP',4,'TESTATA/PIEDE (T/P)',3,'FLAGTP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPARAZ','MP',5,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','MP',6,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OPARAZ','MP',7,'TESTO',2,'RIGTES',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OPARAZ','MP',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('OPARAZ','MQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','MQ',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','MQ',3,'TIPO RECORD = "MQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','MQ',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,'' )
,('OPARAZ','MQ',5,'CARTELLA (obsoleto usato da BALLOTTI)',2,'DIRLAV',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OPARAZ','MQ',6,'MAGAZZINO DI CARICO WISE (PER CONTROLLO)',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','MQ',7,'BAIE GESTITE WISE',2,'NRBAIE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('OPARAZ','MQ',8,'MAGAZZINBO TERROSSA PER CONTROLLO',2,'MAGTER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','MQ',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('OPARAZ','MV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','MV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',35,'CODICE IVA NON IMPONIBILE ART 8',2,'IVAAR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OPARAZ','MV',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,'' )
,('OPARAZ','MV',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('OPARAZ','NA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','NA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','NA',3,'TIPO RECORD = "NA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','NA',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,'' )
,('OPARAZ','NA',5,'NR. ATTRIBUTO CLI. USATO PER CATEGEGORIA',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','NA',6,'CODICE ATTRIBUTO PER CLI. NO SCONTO',2,'CODANS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPARAZ','NA',7,'CODICE ATTRIBUTO PER CLI. SCONTO %',2,'CODASP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPARAZ','NA',8,'CODICE ATTRIBUTO PER CLI. SCONTO MERCE',2,'CODASM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPARAZ','NA',9,'COD.ATTRIBUTO PER CLI. SCONTO PERSONALE',2,'CODAPE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPARAZ','NA',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,131,131,0,0,'X(131)','',0,'',0,0,'' )
,('OPARAZ','NP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','NP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',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,'' )
,('OPARAZ','NP',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,109,109,0,0,'X(109)','',0,'',0,0,'' )
,('OPARAZ','NR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','NR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','NR',3,'TIPO RECORD = "NR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','NR',4,'NUMERO NEGOZIO REMOTO DA AGGIORNARE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPARAZ','NR',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OPARAZ','NR',8,'DESCRIZIONE (SPAZI PER RECORD 000)',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OPARAZ','NR',9,'PERCORSO CARTELLA DEDICATA (I/O)',2,'PERCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OPARAZ','NR',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('OPARAZ','OC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','OC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','OC',3,'TIPO RECORD = "OC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','OC',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,'' )
,('OPARAZ','OC',5,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPARAZ','OC',6,'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,'' )
,('OPARAZ','OC',7,'NUMERO CONTRATTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPARAZ','OC',8,'FILLER',2,'FILELR',0,0,0,0,0,0,0,0,0,0,'',4,0,126,126,0,0,'X(126)','',0,'',0,0,'' )
,('OPARAZ','OV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','OV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','OV',3,'TIPO RECORD = "OV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','OV',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,'' )
,('OPARAZ','OV',5,'LIMITE COLLI PER DETT.ETICHETTE SCHEDA V',2,'LIMCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OPARAZ','OV',6,'CAU BOLLA DA PROPORRE IN CREA BOLL.DA SV',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OPARAZ','OV',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,132,132,0,0,'X(132)','',0,'',0,0,'' )
,('OPARAZ','PA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','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,'' )
,('OPARAZ','PA',3,'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,'' )
,('OPARAZ','PA',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPARAZ','PA',5,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEPER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('OPARAZ','PA',6,'PERCENTUALE INTERESSI',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPARAZ','PA',7,'DATA INIZIO CALCOLO',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('OPARAZ','PA',8,'DATA FINE CALCOLO',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('OPARAZ','PA',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('OPARAZ','PC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',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,'' )
,('OPARAZ','PC',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,'' )
,('OPARAZ','PC',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,'' )
,('OPARAZ','PC',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,'' )
,('OPARAZ','PC',7,'IVA VENDITE',2,'IVAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('OPARAZ','PC',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',9,'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,'' )
,('OPARAZ','PC',10,'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,'' )
,('OPARAZ','PC',11,'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,'' )
,('OPARAZ','PC',12,'IVA ACQUISTI',2,'IVAACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('OPARAZ','PC',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',14,'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,'' )
,('OPARAZ','PC',15,'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,'' )
,('OPARAZ','PC',16,'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,'' )
,('OPARAZ','PC',17,'IVA CORRISPETTIVI',2,'IVACOR',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('OPARAZ','PC',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',19,'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,'' )
,('OPARAZ','PC',20,'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,'' )
,('OPARAZ','PC',21,'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,'' )
,('OPARAZ','PC',22,'IVA INDEDUCIBILE',2,'IVAIND',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('OPARAZ','PC',23,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',24,'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,'' )
,('OPARAZ','PC',25,'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,'' )
,('OPARAZ','PC',26,'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,'' )
,('OPARAZ','PC',27,'IVA VENDITE SU ACQ. INTRA',2,'IVAINT',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('OPARAZ','PC',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',29,'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,'' )
,('OPARAZ','PC',30,'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,'' )
,('OPARAZ','PC',31,'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,'' )
,('OPARAZ','PC',32,'% 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,'' )
,('OPARAZ','PC',33,'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,'' )
,('OPARAZ','PC',34,'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,'' )
,('OPARAZ','PC',35,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',36,'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,'' )
,('OPARAZ','PC',37,'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,'' )
,('OPARAZ','PC',38,'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,'' )
,('OPARAZ','PC',39,'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,'' )
,('OPARAZ','PC',40,'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,'' )
,('OPARAZ','PC',41,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',42,'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,'' )
,('OPARAZ','PC',43,'MESE INIZIALE',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PC',44,'GIORNO INIZIALE',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PC',45,'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,'' )
,('OPARAZ','PC',46,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PC',47,'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,'' )
,('OPARAZ','PC',48,'MESE FINALE',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PC',49,'GIORNO FINALE',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PC',50,'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,'' )
,('OPARAZ','PC',51,'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,'' )
,('OPARAZ','PC',52,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('OPARAZ','PM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',7,'NUMEROD 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,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',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,'' )
,('OPARAZ','PM',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,109,109,0,0,'X(109)','',0,'',0,0,'' )
,('OPARAZ','PO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PO',3,'TIPO RECORD = "PO"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','PO',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,'' )
,('OPARAZ','PO',5,'NR ATTRIBUTO X CREAZIONE COMMENTO FISSO',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PO',6,'COD ATTRIBUTO X CREAZIONE COMMENTO FISSO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPARAZ','PO',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,140,140,0,0,'X(140)','',0,'',0,0,'' )
,('OPARAZ','PP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PP',3,'TIPO RECORD = "PP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','PP',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,'' )
,('OPARAZ','PP',5,'ABILITATO INSERIMENTO MANUALE PESO S/N',2,'FLGMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPARAZ','PP',6,'SCAMBIO AUTOMATICO PESA TARA/LORDO/TARA',2,'FLGSCP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPARAZ','PP',7,'SCAMBIO AUTOMATICO PESA DESTRA/SIN.',2,'FLGSDS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPARAZ','PP',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,142,142,0,0,'X(142)','',0,'',0,0,'' )
,('OPARAZ','PR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PR',3,'TIPO RECORD = "PR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','PR',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,'' )
,('OPARAZ','PR',5,'RICHIESTA CODICE RACCOLTA',2,'SKIPRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPARAZ','PR',6,'RACCOLTA DI DEFAULT',2,'RACDEF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OPARAZ','PR',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,141,141,0,0,'X(141)','',0,'',0,0,'' )
,('OPARAZ','PS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PS',3,'TIPO RECORD = "PS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','PS',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,'' )
,('OPARAZ','PS',5,'CONTO UVE',2,'GCCUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPARAZ','PS',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PS',7,'GRUPPO UVE',3,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',8,'CONTO UVE',3,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',9,'CONTO LIBRETTI',2,'GCLIBR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPARAZ','PS',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PS',11,'GRUPPO LIBRETTI DEPOSITO',3,'GRULIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',12,'CONTO LIBRETTI DEPOSITO',3,'CONLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',13,'CONTO CASSA',2,'GCSCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('OPARAZ','PS',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PS',15,'GRUPPO CASSA',3,'GRUCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',16,'CONTO CASSA',3,'CONCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',17,'SOTTOCONTO CASSA',3,'SOTCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','PS',18,'CAUSALE PRELIEVO DA CONTO UVE ASSEGNO',2,'PREUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',19,'CAUSALE DEPOSITO SU CONTO UVE',2,'DEPUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',20,'CAUSALE GIRO FRA TIPI DEPOSITO',2,'GIRDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',21,'CAUSALE PRELIEVO DA LIBRETTI',2,'PRELIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',22,'CAUSALE DEPOSITO SU LIBRETTI',2,'DEPLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',23,'CAUSALE GIRO DA CONTO UVE A LIBRETTI',2,'UVELIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',24,'CAUSALE GIRO DA LIBRETTI A CONTO UVE',2,'LIBUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',25,'CAUSALE SALDO VENDEMMIA CON ASSEGNO',2,'VENASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',26,'CAUSALE GIRO SALDO A VENDEMMIA SUCCESSIV',2,'VENGIR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',27,'DEPOSITO MASSIMO CONSENTITO SU LIBRETTI',2,'MAXDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,2,'9(9)','9(7)V99',0,'',0,0,'' )
,('OPARAZ','PS',28,'CAUSALE STORNO MOVIMENTO DARE',2,'STODAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',29,'CAUSALE STORNO MOVIMENTO AVERE',2,'STOAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',30,'CAUSALE PAGAMENTO ACCONTO CON ASSEGNO',2,'ACCASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',31,'CAUSALE PAGAMENTO ACCONTO CON GIRO',2,'ACCGIR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',32,'CONTO CAPITALE SOCIALE',2,'GCCAPS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPARAZ','PS',33,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PS',34,'GRUPPO CAPITALE SOCIALE',3,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',35,'CONTO CAPITALE SOCIALE',3,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',36,'PRELIEVO DA CONTO UVE CON BONIFICO',2,'UVEBON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',37,'PRELIEVO DA LIBRETTI CON BONIFICO',2,'LIBBON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PS',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,38,38,0,0,'X(38)','',0,'',0,0,'' )
,('OPARAZ','PT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PT',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PT',3,'TIPO RECORD = "PT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','PT',4,'CODICE TIPO VINCOLO',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','PT',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,'' )
,('OPARAZ','PT',6,'DATA INIZIO VINCOLO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','PT',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PT',8,'ANNO INIZIO VINCOLO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PT',9,'MESE INIZIO VINCOLO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PT',10,'GIORNO INIZIO VINCOLO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PT',11,'DATA FINE VINCOLO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','PT',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PT',13,'ANNO FINE VINCOLO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PT',14,'MESE FINE VINCOLO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PT',15,'GIORNO FINE VINCOLO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PT',16,'ELEMENTO PERCENTUALE',2,'RIGPER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('OPARAZ','PT',17,'PERCENTUALE',3,'ELEPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPARAZ','PT',18,'DATA INIZIALE ELEMENTO',3,'ELEINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','PT',19,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PT',20,'ANNO INIZIALE ELEMENTO',4,'AAEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PT',21,'MESE INIZIALE ELEMENTO',4,'MMEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PT',22,'GIORNO INIZIALE ELEMENTO',4,'GGEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PT',23,'DATA FINALE ELEMENTO',3,'ELEFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','PT',24,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PT',25,'ANNO FINALE ELEMENTO',4,'AAEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','PT',26,'MESE FINALE ELEMENTO',4,'MMEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PT',27,'GIORNO FINALE ELEMENTO',4,'GGEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','PV',3,'TIPO RECORD = "PV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','PV',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,'' )
,('OPARAZ','PV',5,'RICHIESTA CODICE VENDEMMIA',2,'SKIPVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPARAZ','PV',6,'VENDEMMIA DI DEFAULT',2,'VENDEF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OPARAZ','PV',7,'VENDEMMIA PER CONFERIMENTO AUTOMATICO',2,'VENAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OPARAZ','PV',8,'HOST IP STRUMENTO ICT (LETTORE BADGE)',2,'IPHICT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OPARAZ','PV',9,'PORTA IP STRUMENTO ICT (LETTORE BADGE)',2,'IPPICT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OPARAZ','PV',10,'CODICE STRUMENTO PESA TARA',2,'PESTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','PV',11,'STAMPANTE BOLLETTA TARA',2,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','PV',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,109,109,0,0,'X(109)','',0,'',0,0,'' )
,('OPARAZ','QM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','QM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','QM',3,'TIPO RECORD = "QM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','QM',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,'' )
,('OPARAZ','QM',5,'STRINGA COMANDO CONNESSIONE MYSQL',2,'MYSQLC',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OPARAZ','QM',6,'NUMERO ATTRIBUTO ARTICOLI IDFAMIGLIA',2,'ATTMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','QM',7,'DATA INIZIO AGGIORNAMENTO AQCUISTI 3S',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','QM',8,'MAGAZZINO DA MOVIMENTARE 1',2,'CODMG1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','QM',9,'MAGAZZINO DA MOVIMENTARE 2',2,'CODMG2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','QM',10,'MAGAZZINO DA MOVIMENTARE 3',2,'CODMG3',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','QM',11,'TABELLA FAMIGLIE ACQUISTI TABELLA CARICO',2,'TABFAM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','QM',12,'CODICE FAMIGLIA ACQUISTI TABELLA CARICO',3,'FAMCAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('OPARAZ','QM',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('OPARAZ','QQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','QQ',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','QQ',3,'TIPO RECORD = "QQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','QQ',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,'' )
,('OPARAZ','QQ',5,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',24,'',0,0,'' )
,('OPARAZ','QQ',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPARAZ','RG',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','RG',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','RG',3,'TIPO RECORD = "RG"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','RG',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,'' )
,('OPARAZ','RG',5,'CODICE CLIENTE INIZIALE',2,'CLIINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','RG',6,'CODICE CLIENTE FINALE',2,'CLIFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','RG',7,'NOMINATIVO INIZIALE',2,'NOMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','RG',8,'NOMINATIVO FINALE',2,'NOMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','RG',9,'NUMERO INTERNO PUNTO VENDITA INIZIALE',2,'BPVINI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPARAZ','RG',10,'NUMERO INTERNO PUNTO VENDITA FINALE',2,'BPVFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPARAZ','RG',11,'NUMERO INTERNO CLIENTI ESTERO INIZIALE',2,'ESTINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','RG',12,'NUMERO INTERNO CLIENTI ESTERO FINALE',2,'ESTFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','RG',13,'NUMERO INTERNO BOLLA INIZIALE',2,'BOLINI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPARAZ','RG',14,'NUMERO INTERNO BOLLA FINALE',2,'BOLFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPARAZ','RG',15,'NUMERO INTERNO FATTURA INIZIALE',2,'FATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPARAZ','RG',16,'NUMERO INTERNO FATTURA FINALE',2,'FATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPARAZ','RG',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,49,49,0,0,'X(49)','',0,'',0,0,'' )
,('OPARAZ','SC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','SC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','SC',3,'TIPO RECORD = "SC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','SC',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,'' )
,('OPARAZ','SC',5,'CODICE DI COLLEGAMENTO',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('OPARAZ','SC',6,'GRUPPO DI COLLEGAMENTO',3,'GRUCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','SC',7,'CONTO DI COLLEGAMENTO',3,'CONCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','SC',8,'CODICE DI COLLEGAMENTO FORNITORI',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','SC',9,'GRUPPO DI COLLEGAMENTO FORNITORI',3,'GRUFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','SC',10,'CONTO DI COLLEGAMENTO FORNITORI',3,'CONFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPARAZ','SC',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('OPARAZ','SD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','SD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','SD',3,'TIPO RECORD = "SD"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','SD',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,'' )
,('OPARAZ','SD',5,'PERCORSO CARTELLA BACKUP',2,'BACKUP',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OPARAZ','SD',6,'PERCORSO CARTELLA SCAMBIO DATI CON SEDE',2,'PEROUT',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OPARAZ','SD',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('OPARAZ','SP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','SP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',38,'NUMERO STAMPANTE DI DEFAULT',2,'NUMSTP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',42,'NUMERO STAMPANTE SCONTRINI (SE DIVERSA)',2,'NSTSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',46,'NUMERO STAMPANTE FATTURE ACCOMPAGNATORIE',2,'NSTFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',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,'' )
,('OPARAZ','SP',66,'GESTITA VENDITA CON PALMARE (S/N)',2,'PALMAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPARAZ','TA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','TA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','TA',3,'TIPO RECORD = "TA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','TA',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,'' )
,('OPARAZ','TA',5,'CODICE AZIENDA DESTINAZIONE MERCE',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','TA',6,'CODICE CLIENTE AZIENDA DESTINAZIONE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','TA',7,'CAUSALE ACQUISTO AZIENDA DESTINAZIONE',2,'CAUACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OPARAZ','TA',8,'CODICE FORNITORE AZIENDA DESTINAZIONE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','TA',9,'CODICE REFERENTE AZIENDA DESTINAZIONE',2,'CODPER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('OPARAZ','TA',10,'CODICE REPARTO AZIENDA DESTINAZIONE',2,'CODREP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('OPARAZ','TA',11,'CODICE MAGAZZINO AZIENDA DESTINAZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPARAZ','TA',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',0,'',0,0,'' )
,('OPARAZ','TP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','TP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','TP',3,'TIPO RECORD = "TP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','TP',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,'' )
,('OPARAZ','TP',5,'MAX T1 ACCETTATA',2,'MAX-T1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPARAZ','TP',6,'TABELLETOLLERANZA PESATE',2,'TABTOL',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
('OPARAZ','TP',7,'ELEMENTI TABELLA',3,'ELETOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',7,'',0,0,'' )
,('OPARAZ','TP',8,'FINO A VOLUME IN ml',4,'VOLTTA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OPARAZ','TP',9,'ERRORE MAX TOLLERATO (% VOLUME)',4,'TTERRP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPARAZ','TP',10,'ERRORE MAX TOLLERATO ml',4,'TTERRV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OPARAZ','TP',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('OPARAZ','TR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','TR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','TR',3,'TIPO RECORD = "TR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','TR',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,'' )
,('OPARAZ','TR',5,'CODICE AZIENDA VINICOLA',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','TR',6,'CODICE CLIENTE AZIENDA TRIANGOLAZIONE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPARAZ','TR',10,'CLIENTE TRIANGOLARE OBBLIGATORIO S/N',2,'CTROBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPARAZ','TR',11,'CAUSALE BOLLA DA CREARE IN VINICOLA',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OPARAZ','TR',12,'TABELLA SCONTI DA AGGIUNGERE (SE > ZERO)',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','TR',13,'SCONTO DA AGGIUNGERE SE > ZERO',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OPARAZ','TR',14,'CAUSALI CANTINA PER LE QUALI TRIANGOLARE',2,'CAUTRN',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',5,'',0,0,'' )
,('OPARAZ','TR',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('OPARAZ','VQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','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,'' )
,('OPARAZ','VQ',3,'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,'' )
,('OPARAZ','VQ',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,'' )
,('OPARAZ','VQ',5,'PERCORSO DIRECTORY ARCHIVI VASCHE VB',2,'PERDIR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OPARAZ','VQ',6,'CAUSALE PRODUZIONE AUTOMATICA',2,'CAUPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OPARAZ','VQ',7,'DATA INIZIO SCAMBIO DATI CONFEZIONAMENTI',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','VQ',8,'DATA INIZIO SCAMBIO DATI ACQUISTI FRUTTA',2,'DTAAFR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPARAZ','VQ',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,81,81,0,0,'X(81)','',0,'',0,0,'' )
,('OPARAZ','VU',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','VU',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','VU',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,'' )
,('OPARAZ','VU',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,'' )
,('OPARAZ','VU',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,'' )
,('OPARAZ','VU',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,'' )
,('OPARAZ','VU',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('OPARAZ','VV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','VV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARAZ','VV',3,'TIPO RECORD = "VV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPARAZ','VV',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,'' )
,('OPARAZ','VV',5,'VENDEMMIA PRELIEVO VINIFICAZIONE',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OPARAZ','VV',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,142,142,0,0,'X(142)','',0,'',0,0,'' )
,('OPARSP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARSP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPARSP','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,'' )
,('OPARSP','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,'' )
,('OPARSP','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,'' )
,('OPARSP','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,'' )
,('OPARSP','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,'' )
,('OPARSP','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,'' )
,('OPARSP','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,'' )
,('OPARSP','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,'' )
,('OPARSP','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,'' )
,('OPAZAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZAC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZAC','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' )
,('OPAZAC','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,'' )
,('OPAZAC','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,'' )
,('OPAZAC','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' )
,('OPAZAC','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,'' )
,('OPAZAC','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,'' )
,('OPAZAC','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,'' )
,('OPAZAC','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,'' )
,('OPAZAC','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,'' )
,('OPAZAC','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,'' )
,('OPAZCF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZCF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCF','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,'' )
,('OPAZCT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZCT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZCT','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,'' )
,('OPAZCT','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,'' )
,('OPAZCT','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,'' )
,('OPAZCT','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,'' )
,('OPAZCT','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,'' )
,('OPAZDC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZDC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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
('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZDC','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,'' )
,('OPAZFC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZFC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZFC','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,'' )
,('OPAZIB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZIB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIB','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,'' )
,('OPAZIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZIC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZIC','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,'' )
,('OPAZIC','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,'' )
,('OPAZIC','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,'' )
,('OPAZIC','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,'' )
,('OPAZIC','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,'' )
,('OPAZIC','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,'' )
,('OPAZIC','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,'' )
,('OPAZMV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZMV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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
('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZMV','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,'' )
,('OPAZNP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZNP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZNP','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,'' )
,('OPAZPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZPC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPC','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,'' )
,('OPAZPM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZPM','01',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
('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZPM','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,'' )
,('OPAZSP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZSP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZSP','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,'' )
,('OPAZVU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZVU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPAZVU','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
('OPAZVU','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,'' )
,('OPAZVU','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,'' )
,('OPAZVU','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,'' )
,('OPAZVU','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,'' )
,('OPGR12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPGR12','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OPGR12','01',3,'GRADO MEDIO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPGR12','01',4,'PREZZO GRUPPO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,3,0,'9(4)V999','',0,'',0,0,'' )
,('OPGR12','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OPGVAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPGVAR','01',2,'CHIAVE PRINCIPALE',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPGVAR','01',3,'NUMERO PROGRESSIVO',3,'NUMERO',1,0,0,6,6,6,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPGVAR','01',4,'TIPO RECORD',3,'TIPREC',0,1,0,5,5,2,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPGVAR','01',11,'GRUPPO/CONTO/SOTTOCONTO',3,'CODGCS',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPGVAR','01',12,'GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPGVAR','01',13,'CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPGVAR','01',14,'SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPGVAR','01',15,'DATA SCADENZA',3,'DATSCA',0,3,0,3,3,4,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPGVAR','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,'' )
,('OPGVAR','01',17,'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,'' )
,('OPGVAR','01',18,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPGVAR','01',19,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPGVAR','01',20,'PARTITA',3,'CODPAR',0,4,0,4,4,5,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPGVAR','01',21,'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,'' )
,('OPGVAR','01',22,'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,'' )
,('OPGVAR','01',23,'DATA PAGAMENTO',3,'DATPAG',0,0,0,2,1,3,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPGVAR','01',24,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPGVAR','01',25,'ANNO PAGAMENTO',4,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPGVAR','01',26,'MESE PAGAMENTO',4,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPGVAR','01',27,'GIORNO PAGAMENTO',4,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPGVAR','01',28,'IMPORTO BONIFICO',2,'IMPBON',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('OPGVAR','01',29,'NUMERO DOCUMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OPGVAR','01',30,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPGVAR','01',31,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPGVAR','01',32,'ANNO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPGVAR','01',33,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPGVAR','01',34,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPGVAR','01',35,'NUMERO PROTOCOLLO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPGVAR','01',36,'CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPGVAR','01',37,'CONTABILIZZATO /S',2,'FLGCON',0,0,0,1,2,1,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPGVAR','01',39,'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,'' )
,('OPGVAR','01',40,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPGVAR','01',41,'C.A.P.',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OPGVAR','01',42,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('OPGVAR','01',43,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPGVAR','01',44,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPGVAR','01',45,'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,'' )
,('OPGVAR','01',46,'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,'' )
,('OPGVAR','01',47,'CONTO CORRENTE',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OPGVAR','01',48,'DESCRIZIONE MOVIMENTO',2,'DESMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('OPGVAR','01',49,'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,'' )
,('OPGVAR','01',50,'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,'' )
,('OPGVAR','01',52,'CONTO ERARIO',2,'GCSERA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPGVAR','01',53,'GRUPPO ERARIO',3,'GRUERA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPGVAR','01',54,'CONTO ERARIO',3,'CONERA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPGVAR','01',55,'SOTTOCONTO ERARIO',3,'SOTERA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPGVAR','01',56,'IMPORTO RITENUTA',2,'IMPRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('OPGVAR','01',57,'DESCRIZIONE AGGIUNTIVA (LIBRETTI)',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPGVAR','01',58,'DESCRIZIONE AGGIUNTIVA (LIBRETTI)',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPGVAR','01',59,'VALUTA LIBRETTI',2,'VALLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPGVAR','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,'' )
,('OPGVAR','01',61,'GG VAL LIBRETTI',3,'AAALIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPGVAR','01',62,'MM VAL LIBRETTI',3,'MMMLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPGVAR','01',63,'GG VAL LIBRETTI',3,'GGGLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPGVAR','01',64,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('OPICO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPICO1','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,'' )
,('OPMABB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPMABB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMABB','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,'' )
,('OPMACC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPMACC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPMACC','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('OPMACC','01',4,'ULTIMO AGGIORNAMENTO (N.U.A.)',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPMACC','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,141,141,0,0,'X(141)','',0,'',0,0,'' )
,('OPMAPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPMAPC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPMAPC','01',3,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPMAPC','01',4,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPMAPC','01',5,'ANNATA (SE GESTITA)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPMAPC','01',6,'CODICE MANIPOLAZIONI',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OPMAPC','01',7,'PROGRESSIVO CARICHI KG',2,'PRKCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPMAPC','01',8,'PROGRESSIVO SCARICHI KG',2,'PRKSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPMAPC','01',9,'TOTALE CARICHI KG USATO IN ST.REGISTRO',2,'MVKCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPMAPC','01',10,'TOTALE SCARICHI KG USATO IN ST.REGISTRO',2,'MVKSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPMAPC','01',11,'CHIAVE ULTIMO MOVIMENTO PER RIPARTENZA',2,'RIPKEY',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPMAPC','01',12,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPMAPC','01',13,'NUMERO MOVIMENTO',3,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPMAPC','01',14,'RIGA MOVIMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPMAPC','01',15,'FLAG MOVIMENTATO NEL PERIODO',2,'FLGMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPMAPC','01',17,'PROGRESSIVO CARICHI LT',2,'PRLCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPMAPC','01',18,'PROGRESSIVO SCARICHI LT',2,'PRLSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPMAPC','01',19,'TOTALE CARICHI LT USATO IN ST.RESGISTRO',2,'MVLCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPMAPC','01',20,'TOTALE SCARICHI LT USATO IN ST.RESGISTRO',2,'MVLSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPMAPC','01',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('OPQV01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPQV01','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,'' )
,('OPQV01','01',3,'PRODUZIONE TRAVASATA',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('OPQV01','01',7,'DATA',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPQV01','01',8,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPQV01','01',9,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPQV01','01',10,'NUMERO CONFEZIONAMENTO',2,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OPQV01','01',11,'CODICE ARTICOLO CONFEZIONATO',2,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OPQV01','01',12,'QUANTITA''',2,'NUMPAC',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OPQV01','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,'' )
,('OPQV01','01',14,'NUMERO PRODUZIONE CREATA SU AV2000',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPQV01','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('OPQV02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPQV02','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPQV02','01',3,'NUMERO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPQV02','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPQV02','01',5,'CODICE INGREDIENTE',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OPQV02','01',6,'QUANTITA',2,'QTAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('OPQV02','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('OPQV03','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPQV03','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPQV03','01',3,'NUMERO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPQV03','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPQV03','01',5,'CODICE PRODOTTO',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OPQV03','01',6,'QUANTITA',2,'QTASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('OPQV03','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('OPRG28','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPRG28','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OPRG28','01',3,'PREZZO A GRADO',2,'IMPGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,5,0,'999V9(5)','',0,'',0,0,'' )
,('OPRL29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPRL29','01',2,'CODICE UVA',2,'CODUVA',1,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OPRL29','01',3,'CODICE ZONA DI CONFERIMENTO',2,'CODZON',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OPRL29','01',4,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('OPROAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROAG','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROAG','01',3,'CODICE AGENTE',3,'CODAGE',0,1,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('OPROAG','01',4,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROAG','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,'' )
,('OPROAG','01',6,'PERIODO RIFERIMENTO DOCUMENTO',4,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROAG','01',7,'ANNO IVA DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROAG','01',8,'MESE IVA DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROAG','01',9,'GIORNO IVA DOCUMENTO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROAG','01',10,'NUMERO DOCUMENTO',3,'NUMDOC',0,3,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OPROAG','01',13,'NUMERO RIGA',3,'NUMRIG',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROAG','01',14,'DESCRIZIONE MOVIMENTO',2,'DESMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPROAG','01',15,'TIPO SOGGETTO',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPROAG','01',19,'CODICE SOGGETTO',2,'CODSOG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPROAG','01',20,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROAG','01',21,'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,'' )
,('OPROAG','01',22,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROAG','01',23,'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,'' )
,('OPROAG','01',24,'QUANTITA''',2,'QTARIG',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('OPROAG','01',25,'CODICE VALUTA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPROAG','01',26,'CAMBIO DEL GIORNO (*CAMBIO)',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,3,0,'9(6)V999','',0,'',0,0,'' )
,('OPROAG','01',27,'CODICE CONDIZIONE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OPROAG','01',28,'IMPONIBILE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('OPROAG','01',29,'PERCENTUALE RIGA',2,'PERRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPROAG','01',30,'PROVVIGIONE RIGA',2,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('OPROAG','01',31,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPROAG','01',34,'PROVENIENZA MOVIMENTO',2,'PROMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPROAG','01',37,'DATA FATTURA PAGAMENTO',2,'DATPAG',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROAG','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,'' )
,('OPROAG','01',39,'ANNO FATTURA PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROAG','01',40,'MESE FATTURA PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROAG','01',41,'GIORNO FATTURA PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROAG','01',42,'DATA VALUTA CAMBIO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROAG','01',43,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROAG','01',44,'ANNO VALUTA CAMBIO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROAG','01',45,'MESE VALUTA CAMBIO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROAG','01',46,'GIORNO VALUTA CAMBIO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROAG','01',47,'CAMBIO IN EURO (/CAMBIO)',2,'CAMEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPROD1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD1','01',2,'DATA PRODUZIONE (PREVISTA O EFFETTIVA)',2,'DTAPRO',0,2,1,2,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROD1','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,'' )
,('OPROD1','01',4,'ANNO',3,'AA-PRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROD1','01',5,'MESE',3,'MM-PRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROD1','01',6,'GIORNO',3,'GG-PRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROD1','01',7,'CODICE PRODOTTO',2,'KEY002',0,1,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD1','01',8,'CODICE PRODOTTO',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD1','01',9,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPROD1','01',10,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROD1','01',11,'ZERI (EX LOTTO NUMERICO)',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OPROD1','01',12,'CHIAVE PRINCIPALE',2,'KEY001',1,3,3,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD1','01',13,'NUMERO INTERNO PRODUZIONE',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPROD1','01',14,'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,'' )
,('OPROD1','01',15,'ORDINE/PRODUZIONE',2,'FLAGOP',0,0,0,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPROD1','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,'' )
,('OPROD1','01',17,'QUANTITA'' PRODOTTA',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('OPROD1','01',18,'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,'' )
,('OPROD1','01',19,'DATA DOCUMENTO',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROD1','01',20,'NUMERO MOVIMENTO MAGAZZINO GENERATO',2,'NUMMMG',0,0,0,0,1,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPROD1','01',21,'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,'' )
,('OPROD1','01',22,'NUMERO MOVIMENTI DI IMBOTTIGLIAMENTO',2,'NUMIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPROD1','01',23,'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,'' )
,('OPROD1','01',24,'QUANTITA ESCLUSA DA MOVIMENTO REGISTRO',2,'QTNORU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('OPROD1','01',25,'STRINGA PER TEST VALORE A SPAZI',2,'STNORU',0,0,0,0,0,0,0,0,0,0,'S',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OPROD1','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROD1','01',27,'DATA SPEDIZIONE',2,'DTASPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROD1','01',28,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD1','01',29,'ANNO SPEDIZIONE',3,'AA-SPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROD1','01',30,'MESE SPEDIZIONE',3,'MM-SPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROD1','01',31,'GIORNO SPEDIZIONE',3,'GG-SPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROD1','01',32,'ORA PRODUZIONE*****OBSOLETO ERA X LAVIS',2,'ORAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPROD1','01',33,'GRADO PRODOTTO FINITO',2,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPROD1','01',34,'AZIENDA DIVERSA *** OBSOLETO',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROD1','01',35,'CREAZIONE DOCO VENDITA SOAVE-EQUIPE S/N',2,'FLDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPROD1','01',40,'FLAG AVVENUTA CREAZIONE DOCO (S/N)',2,'FCDOCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPROD1','01',41,'LOTTO',2,'LOTTON',0,0,0,0,0,1,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPROD1','01',42,'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,'' )
,('OPROD1','01',43,'ID PRODOTTO CONFEZIONATO',2,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('OPROD1','01',44,'ID SUPERTESTATA REGISTRO VITIVINICOLO',2,'IDSRVI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('OPROD1','01',45,'VOLUME NOMINALE',2,'VOLNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,3,0,'9(6)V9(3)','',0,'',0,0,'' )
,('OPROD2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,4,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD2','01',3,'NUMERO PRODUZIONE',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPROD2','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,'' )
,('OPROD2','01',5,'CODICE COMPONENTE',2,'CODCOM',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPROD2','01',6,'ANNATA',2,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROD2','01',7,'LOTTO',2,'NLOTTO',0,3,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPROD2','01',8,'QUANTITA'' IMPIEGATA ***OLD 2 DEC***',2,'OLDIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('OPROD2','01',9,'QUANTITA'' PERDITA/SFRIDI ***OLD 2 DEC***',2,'OLDSFR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('OPROD2','01',10,'CODICE TAPPO',2,'CODTAP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OPROD2','01',11,'CODICE COMMERCIALIZZAZIONE',2,'CCOMME',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROD2','01',12,'ANNATA CODICE COMMERCIALIZZAZIONE',2,'CCOANN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROD2','01',13,'CODICE FORNITORE',2,'CODFOR',0,0,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPROD2','01',14,'LOTTO FORNITORE',2,'LOTTOF',0,0,2,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPROD2','01',15,'PERDITE/SFRIDI AGGIUNTIVI ***OLD 2 DEC**',2,'OLDPRD',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('OPROD2','01',16,'MAGAZZINO COMPONENTE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROD2','01',17,'CODICE MANIPOLAZIONI COMMERCIALIZZAZIONE',2,'MANCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OPROD2','01',18,'ID PRODOTTO COMPONENTE',2,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('OPROD2','01',19,'QUANTITA'' IMPIEGATA 3 DECIMALI',2,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('OPROD2','01',20,'QUANTITA'' SFRIDI 3 DECIMALI',2,'QTASFR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,3,0,'9(9)V999 COMP-3','',0,'',0,0,'' )
,('OPROD2','01',21,'QUANTITA'' ALTRE PERDITE 3 DECIMALI',2,'QTAPRD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,3,0,'9(9)V999 COMP-3','',0,'',0,0,'' )
,('OPROD9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD9','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,'' )
,('OPROD9','01',3,'NUMERO INTERNO PRODUZIONE',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPROD9','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROD9','01',5,'CHIAVE PER ARTICOLO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD9','01',6,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPROD9','01',7,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROD9','01',8,'STATO (0=ATTIVO, 1=ESAURITO)',3,'STATUS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('OPROD9','01',9,'DATA PRODUZIONE',3,'DTAPRO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROD9','01',10,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROD9','01',11,'ANNO',4,'AAAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROD9','01',12,'MESE',4,'MMMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROD9','01',13,'GIORNO',4,'GGGPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROD9','01',14,'LOTTO PRODOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPROD9','01',15,'FILLER A SPAZI PER POSSIBILI AMPLIAMENTI',3,'SPACES',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OPROD9','01',16,'QUANTITA'' LOTTO PRODOTTA',2,'QTALOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('OPROMA','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','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,'' )
,('OPROMA','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,'' )
,('OPROMA','00',4,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OPROMA','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,145,145,0,0,'X(145)','',0,'',0,0,'' )
,('OPROMA','AC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','AC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','AC',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,'' )
,('OPROMA','AC',4,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','AC',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,'' )
,('OPROMA','AC',6,'ULTIMA STAMPA REGISTRO',2,'DTASTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','AC',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','AC',8,'ANNO',3,'AA-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','AC',9,'MESE',3,'MM-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','AC',10,'GIORNO',3,'GG-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','AC',11,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','AC',12,'ULTIMO NUMERO RIGA STAMPA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('OPROMA','AC',13,'DATA PER RIPARTENZA',2,'DTARIP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','AC',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','AC',15,'ANNO',3,'AA-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','AC',16,'MESE',3,'MM-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','AC',17,'GIORNO',3,'GG-RIP',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
('OPROMA','AC',18,'RIMANENZA ACCISA GRAVANTE',2,'RIMACC',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',0,'',0,0,'' )
,('OPROMA','AC',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,108,108,0,0,'X(108)','',0,'',0,0,'' )
,('OPROMA','AR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','AR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','AR',3,'TIPO RECORD = "AR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','AR',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,'' )
,('OPROMA','AR',5,'ULTIMO AGGIORNAMENTO (N.U.A.)',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPROMA','AR',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,139,139,0,0,'X(139)','',0,'',0,0,'' )
,('OPROMA','AS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','AS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','AS',3,'TIPO RECORD = "AS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','AS',4,'CODICE AUTOMEZZO',3,'CODAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPROMA','AS',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,'' )
,('OPROMA','AS',6,'PROGRESSIVO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','AS',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPROMA','BB',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BB',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',12,'PRE-FISSO NUMERO',3,'PREFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',14,'POST-FISSO NUMERO',3,'POSFIX',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',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,'' )
,('OPROMA','BB',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,74,74,0,0,'X(74)','',0,'',0,0,'' )
,('OPROMA','BC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BC',3,'TIPO RECORD = "BC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','BC',4,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BC',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,'' )
,('OPROMA','BC',6,'ULTIMA STAMPA REGISTRO',2,'DTASTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','BC',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BC',8,'ANNO',3,'AA-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BC',9,'MESE',3,'MM-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BC',10,'GIORNO',3,'GG-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BC',11,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BC',13,'ULTIMO NUMERO RIGA STAMPA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('OPROMA','BC',14,'DATA PER RIPARTENZA',2,'DTARIP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','BC',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BC',16,'ANNO',3,'AA-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BC',17,'MESE',3,'MM-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BC',18,'GIORNO',3,'GG-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BC',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,123,123,0,0,'X(123)','',0,'',0,0,'' )
,('OPROMA','BI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BI',3,'TIPO RECORD = "BI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','BI',4,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BI',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,'' )
,('OPROMA','BI',6,'ULTIMA STAMPA REGISTRO',2,'DTASTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','BI',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BI',8,'ANNO',3,'AA-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BI',9,'MESE',3,'MM-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BI',10,'GIORNO',3,'GG-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BI',11,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BI',13,'ULTIMO NUMERO RIGA STAMPA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('OPROMA','BI',14,'DATA PER RIPARTENZA',2,'DTARIP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','BI',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BI',16,'ANNO',3,'AA-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BI',17,'MESE',3,'MM-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BI',18,'GIORNO',3,'GG-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BI',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,123,123,0,0,'X(123)','',0,'',0,0,'' )
,('OPROMA','BP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BP',3,'TIPO RECORD = "BP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','BP',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,'' )
,('OPROMA','BP',5,'ULTIMO MOVIMENTO INSERITO',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','BP',6,'DATA ULTIMA ESTRAZIONE',2,'DATEST',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','BP',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BP',8,'ANNO ULTIMA ESTRAZIONE',3,'AAAEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROMA','BP',9,'MESE ULTIMA ESTRAZIONE',3,'MMMEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BP',10,'GIORNO ULTIMA ESTRAZIONE',3,'GGGEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BP',11,'ULTIMA STAMPA REGISTRO',2,'DATSTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','BP',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BP',13,'ANNO',3,'AAASTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BP',14,'MESE',3,'MMMSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BP',15,'GIORNO',3,'GGGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BP',16,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BP',18,'ULTIMO NUMERO RIGA STAMPA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('OPROMA','BP',19,'DATA PER RIPARTENZA',2,'DATRIP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','BP',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BP',21,'ANNO',3,'AAARIP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BP',22,'MESE',3,'MMMRIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BP',23,'GIORNO',3,'GGGRIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BP',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,105,105,0,0,'X(105)','',0,'',0,0,'' )
,('OPROMA','BS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BS',3,'TIPO RECORD = "MS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','BS',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,'' )
,('OPROMA','BS',5,'ULTIMO NUMERO MOVIMENTI BINS',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPROMA','BS',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,139,139,0,0,'X(139)','',0,'',0,0,'' )
,('OPROMA','BT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BT',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BT',3,'TIPO RECORD = "BT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','BT',4,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BT',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPROMA','BT',6,'ULTIMA STAMPA REGISTRO',2,'DTASTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','BT',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BT',8,'ANNO',3,'AA-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BT',9,'MESE',3,'MM-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BT',10,'GIORNO',3,'GG-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BT',11,'PROGRESSIVO STAMPA DEFINITIVA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BT',13,'ULTIMO NUMERO RIGA STAMPA BOLLATO',2,'RIGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('OPROMA','BT',14,'DATA PER RIPARTENZA',2,'DTARIP',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','BT',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','BT',16,'ANNO',3,'AA-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','BT',17,'MESE',3,'MM-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BT',18,'GIORNO',3,'GG-RIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','BT',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,123,123,0,0,'X(123)','',0,'',0,0,'' )
,('OPROMA','CA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','CA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','CA',3,'TIPO RECORD = "CA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','CA',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,'' )
,('OPROMA','CA',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','CA',6,'DATA ULTIMA ESTRAZIONE',2,'DATEST',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','CA',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','CA',8,'ANNO ULTIMA ESTRAZIONE',3,'AAAEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROMA','CA',9,'MESE ULTIMA ESTRAZIONE',3,'MMMEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','CA',10,'GIORNO ULTIMA ESTRAZIONE',3,'GGGEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','CA',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPROMA','CF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','CF',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','CF',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,'' )
,('OPROMA','CF',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,'' )
,('OPROMA','CF',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','CF',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','CF',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','CM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','CM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','CM',3,'TIPO RECORD = "CM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','CM',4,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','CM',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,'' )
,('OPROMA','CM',6,'ULTIMO ESERCIZIO CHIUSO',2,'ANNOCH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','CM',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,141,141,0,0,'X(141)','',0,'',0,0,'' )
,('OPROMA','CP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','CP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','CP',3,'TIPO RECORD = "CP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','CP',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,'' )
,('OPROMA','CP',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','CP',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','CP',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','CV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','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,'' )
,('OPROMA','CV',3,'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,'' )
,('OPROMA','CV',4,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','CV',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,'' )
,('OPROMA','CV',6,'ULTIMA ELABORAZIONE CALCOLATA',2,'ULTELA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPROMA','CV',7,'ULTIMA ELABORAZIONE STAMPA ETICHETTE',2,'ULTSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPROMA','CV',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,129,129,0,0,'X(129)','',0,'',0,0,'' )
,('OPROMA','DC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','DC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','DC',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,'' )
,('OPROMA','DC',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,'' )
,('OPROMA','DC',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','DC',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','DC',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','DF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','DF',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','DF',3,'TIPO RECORD = "DF"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','DF',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,'' )
,('OPROMA','DF',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','DF',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','DF',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','FP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','FP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','FP',3,'TIPO RECORD = "FP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','FP',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,'' )
,('OPROMA','FP',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','FP',6,'ULTIMO NUMERO STAMPA FATTURA PROFORMA',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPROMA','FP',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPROMA','KC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','KC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','KC',3,'TIPO RECORD = "KC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','KC',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,'' )
,('OPROMA','KC',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','KC',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','KC',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','KF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','KF',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','KF',3,'TIPO RECORD = "KF"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','KF',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,'' )
,('OPROMA','KF',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','KF',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','KF',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','KM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','KM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','KM',3,'TIPO RECORD = "KM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','KM',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,'' )
,('OPROMA','KM',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','KM',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','KM',7,'REDEFINES NUMERO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','KM',8,'ANNO',3,'ANNOPR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','KM',9,'NUMERO PROGRESSIVO',3,'NUMPRG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPROMA','KM',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','MM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPROMA','MM',3,'TIPO RECORD = "MM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','MM',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,'' )
,('OPROMA','MM',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','MM',6,'ULTIMO NUMERO MOVIMENTO',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','MM',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','MV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','MV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','MV',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,'' )
,('OPROMA','MV',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,'' )
,('OPROMA','MV',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','MV',6,'ULTIMO NUMERO MOVIMENTO',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','MV',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','NC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','NC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','NC',3,'TIPO RECORD = "NC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','NC',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,'' )
,('OPROMA','NC',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','NC',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','NC',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','OC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','OC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','OC',3,'TIPO RECORD = "OC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','OC',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,'' )
,('OPROMA','OC',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','OC',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','OC',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','OF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','OF',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','OF',3,'TIPO RECORD = "OF"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','OF',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,'' )
,('OPROMA','OF',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','OF',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','OF',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','PA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','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,'' )
,('OPROMA','PA',3,'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,'' )
,('OPROMA','PA',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,'' )
,('OPROMA','PA',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','PA',6,'DATA ULTIMA ESTRAZIONE',2,'DATEST',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','PA',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PA',8,'ANNO ULTIMA ESTRAZIONE',3,'AAAEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROMA','PA',9,'MESE ULTIMA ESTRAZIONE',3,'MMMEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','PA',10,'GIORNO ULTIMA ESTRAZIONE',3,'GGGEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','PA',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPROMA','PC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PC',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,'' )
,('OPROMA','PC',4,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','PC',5,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','PC',6,'ANNATA (SE GESTITA)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROMA','PC',7,'PROGRESSIVO CARICHI KG',2,'PRKCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPROMA','PC',8,'PROGRESSIVO SCARICHI KG',2,'PRKSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPROMA','PC',9,'TOTALE CARICHI KG USATO IN ST.REGISTRO',2,'MVKCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPROMA','PC',10,'TOTALE SCARICHI KG USATO IN ST.REGISTRO',2,'MVKSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPROMA','PC',11,'CHIAVE ULTIMO MOVIMENTO PER RIPARTENZA',2,'RIPKEY',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PC',12,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','PC',13,'NUMERO MOVIMENTO',3,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','PC',14,'RIGA MOVIMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROMA','PC',15,'FLAG MOVIMENTATO NEL PERIODO',2,'FLGMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPROMA','PC',17,'PROGRESSIVO CARICHI LT',2,'PRLCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPROMA','PC',18,'PROGRESSIVO SCARICHI LT',2,'PRLSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPROMA','PC',19,'TOTALE CARICHI LT USATO IN ST.RESGISTRO',2,'MVLCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPROMA','PC',20,'TOTALE SCARICHI LT USATO IN ST.RESGISTRO',2,'MVLSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('OPROMA','PC',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('OPROMA','PI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PI',3,'TIPO RECORD = "PI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','PI',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,'' )
,('OPROMA','PI',5,'ULTIMO NUMERO INTERNO AUTORIZZAZIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','PI',6,'ULTIMO NUMERO INTERNO MOVIMENTO AUT.',2,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','PI',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,125,125,0,0,'X(125)','',0,'',0,0,'' )
,('OPROMA','PP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PP',3,'TIPO RECORD = "PP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','PP',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,'' )
,('OPROMA','PP',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','PP',6,'ULTIMO NUMERO LISTA FABBISOGNI PROD.',2,'ULTNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','PP',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','PR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PR',3,'TIPO RECORD = "PR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','PR',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,'' )
,('OPROMA','PR',5,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','PR',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPROMA','PS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PS',3,'TIPO RECORD = "PS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','PS',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,'' )
,('OPROMA','PS',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','PS',6,'DATA ULTIMA ESTRAZIONE',2,'DATEST',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','PS',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PS',8,'ANNO ULTIMA ESTRAZIONE',3,'AAAEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROMA','PS',9,'MESE ULTIMA ESTRAZIONE',3,'MMMEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','PS',10,'GIORNO ULTIMA ESTRAZIONE',3,'GGGEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','PS',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPROMA','PT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PT',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PT',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,'' )
,('OPROMA','PT',4,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','PT',5,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPROMA','PT',6,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROMA','PT',7,'PROGRESSIVO CARICHI',2,'PRGCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,6,12,0,0,'S9(11) COMP-3','',0,'',0,0,'' )
,('OPROMA','PT',8,'PROGRESSIVO IMBOTTIGLIATO',2,'PRGIMB',0,0,0,0,0,0,0,0,0,0,'',1,1,6,12,0,0,'S9(11) COMP-3','',0,'',0,0,'' )
,('OPROMA','PT',9,'PROGRESSIVO SCARICHI',2,'PRGSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,12,0,0,'S9(11) COMP-3','',0,'',0,0,'' )
,('OPROMA','PT',10,'TOTALE CARICHI USATO DA STAMPA REGISTRO',2,'MOVCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,6,12,0,0,'S9(11) COMP-3','',0,'',0,0,'' )
,('OPROMA','PT',11,'TOTALE IMBOTT. USATO DA STAMPA REGISTRO',2,'MOVIMB',0,0,0,0,0,0,0,0,0,0,'',1,1,6,12,0,0,'S9(11) COMP-3','',0,'',0,0,'' )
,('OPROMA','PT',12,'TOTALE SCARICHI USATO DA STAMPA REGISTRO',2,'MOVSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,12,0,0,'S9(11) COMP-3','',0,'',0,0,'' )
,('OPROMA','PT',13,'CHIAVE ULTIMO MOVIMENTO PER RIPARTENZA',2,'RIPKEY',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PT',14,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','PT',15,'NUMERO MOVIMENTO',3,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','PT',16,'RIGA MOVIMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPROMA','PT',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('OPROMA','PV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','PV',3,'TIPO RECORD = "PV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','PV',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,'' )
,('OPROMA','PV',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','PV',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','PV',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','RC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','RC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','RC',3,'TIPO RECORD = "RC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','RC',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,'' )
,('OPROMA','RC',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','RC',6,'ULTIMO NUMERO MOVIMENTO',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','RC',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','RI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','RI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','RI',3,'TIPO RECORD = "RI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','RI',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,'' )
,('OPROMA','RI',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','RI',6,'ULTIMO NUMERO MOVIMENTO',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','RI',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','RT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','RT',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','RT',3,'TIPO RECORD = "RT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','RT',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,'' )
,('OPROMA','RT',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','RT',6,'ULTIMO NUMERO MOVIMENTO',2,'ULTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','RT',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','SV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','SV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','SV',3,'TIPO RECORD = "SV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','SV',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,'' )
,('OPROMA','SV',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','SV',6,'ULTIMO NUMERO INTERNO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','SV',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,133,133,0,0,'X(133)','',0,'',0,0,'' )
,('OPROMA','SX',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','SX',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','SX',3,'TIPO RECORD = "SX"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','SX',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,'' )
,('OPROMA','SX',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','SX',6,'DATA ULTIMA ESTRAZIONE',2,'DATEST',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPROMA','SX',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','SX',8,'ANNO ULTIMA ESTRAZIONE',3,'AAAEST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROMA','SX',9,'MESE ULTIMA ESTRAZIONE',3,'MMMEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','SX',10,'GIORNO ULTIMA ESTRAZIONE',3,'GGGEST',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPROMA','SX',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPROMA','UC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','UC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','UC',3,'TIPO RECORD = "UC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','UC',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,'' )
,('OPROMA','UC',5,'ULTIMO CODICE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPROMA','UC',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,139,139,0,0,'X(139)','',0,'',0,0,'' )
,('OPROMA','UM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','UM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','UM',3,'TIPO RECORD = "UM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','UM',4,'NOME UTENTE IDENTIFICATIVO DEL P.VENDITA',3,'NOMUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OPROMA','UM',5,'ULTIMO MOVIMENTO MAGAZZINO REMOTO',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMA','UM',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPROMA','UN',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','UN',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','UN',3,'TIPO RECORD = "UN"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','UN',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,'' )
,('OPROMA','UN',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','UN',6,'ULTIMO CODICE NOMINATIVO P. V. CARICATO',2,'ULTNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPROMA','UN',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,137,137,0,0,'X(137)','',0,'',0,0,'' )
,('OPROMA','UP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','UP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','UP',3,'TIPO RECORD = "UP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','UP',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,'' )
,('OPROMA','UP',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','UP',6,'ULTIMO NUMERO PESATA',2,'ULTPES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPROMA','UP',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('OPROMA','US',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','US',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMA','US',3,'TIPO RECORD = "US"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPROMA','US',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,'' )
,('OPROMA','US',5,'ULTIMO NUMERO SPEDIZIONE',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OPROMA','US',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,134,134,0,0,'X(134)','',0,'',0,0,'' )
,('OPROMR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMR','01',3,'TIPO DOCUMENTO',3,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPROMR','01',7,'NUMERO INTERNO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPROMR','01',10,'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,'' )
,('OPROMR','01',11,'DESCRIZIONE MOVIMENTO',2,'DESMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPROMR','01',12,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPROMR','01',13,'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,'' )
,('OPROMR','01',14,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPROMR','01',15,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPROMR','01',16,'QUANTITA''',2,'QTARIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPROMR','01',17,'IMPONIBILE RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('OPROMR','01',18,'PERCENTUALE RIGA',2,'PERRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPROMR','01',19,'PROVVIGIONE RIGA',2,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('OPROMR','01',20,'IMPORTO A PEZZO',2,'PEZRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('OPROMR','01',21,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OPRP58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPRP58','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPRP58','01',3,'CHIAVE A ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('OPRP58','01',4,'ULTIMO NUMERO PRENOTAZIONE INSERITO',2,'ULTPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPRP58','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('OPRV58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPRV58','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPRV58','01',3,'CONFERENTE',3,'CODSOC',0,2,0,1,1,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPRV58','01',4,'DATA PRENOTAZIONE',3,'DATPRE',0,1,0,3,2,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPRV58','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,'' )
,('OPRV58','01',6,'ANNO PRENOTAZIONE',4,'AAAPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPRV58','01',7,'MESE PRENOTAZIONE',4,'MMMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPRV58','01',8,'GIORNO PRENOTAZIONE',4,'GGGPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPRV58','01',9,'NUMERO PRENOTAZIONE',2,'NUMPRE',0,0,1,2,3,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPRV58','01',10,'FASCIA ORARIA',2,'ELEFAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('OPRV58','01',11,'QTA PRENOTATA BIANCA MANUALE',3,'PREBMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OPRV58','01',12,'QTA PRENOTATA BIANCA MACCANICA',3,'PREBME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OPRV58','01',13,'QTA PRENOTATA ROSSA MANUALE',3,'PRERMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OPRV58','01',14,'QTA PRENOTATA ROSSA MECCANICA',3,'PRERME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OPRV58','01',15,'CONFERIM COLLEGATI FASCIA 1 (obsoleto)',2,'NUMCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',20,'',0,0,'' )
,('OPRV58','01',16,'CONFERIM COLLEGATI FASCIA 2 (obsoleto)',2,'NUMCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',20,'',0,0,'' )
,('OPRV58','01',17,'CONFERIM COLLEGATI FASCIA 3 (obsoleto)',2,'NUMCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',20,'',0,0,'' )
,('OPRV58','01',18,'DATA DI SISTEMA',2,'DATSYS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPRV58','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,'' )
,('OPRV58','01',20,'ANNO SISTEMA',3,'AAASYS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPRV58','01',21,'MESE SISTEMA',3,'MMMSYS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPRV58','01',22,'GIORNO SISTEMA',3,'GGGSYS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPRV58','01',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('OPUNTI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPUNTI','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,'' )
,('OPVEN1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN1','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,'' )
,('OPVEN1','01',3,'DATA IMMISSIONE BOLLETTA',3,'DTABOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPVEN1','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,'' )
,('OPVEN1','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,'' )
,('OPVEN1','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,'' )
,('OPVEN1','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,'' )
,('OPVEN1','01',8,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN1','01',9,'NUMERO INTERNO BOLLETTA',4,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN1','01',10,'TIPO NOMINATIVO',2,'TIPNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OPVEN1','01',11,'SOCIO/NOMINATIVO/CLIENTE/TABELLA',2,'FLAGSN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN1','01',12,'CODICE SOCIO/NOMINATIVO/CLIENTE/CONVENZ.',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPVEN1','01',13,'CAUSALE BOLLETTA',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OPVEN1','01',14,'TIPO DOCUMENTO EMESSO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN1','01',17,'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,'' )
,('OPVEN1','01',18,'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,'' )
,('OPVEN1','01',19,'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,'' )
,('OPVEN1','01',20,'PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPVEN1','01',21,'TIPO LISTINO (S=SOCI/N=NOMINATIVI/C=CLI)',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN1','01',22,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN1','01',23,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OPVEN1','01',24,'TOTALE MERCE',2,'TOTMER',0,0,0,0,0,0,0,0,0,0,'',1,1,5,10,0,2,'S9(9) COMP-3','S9(7)V99 COMP-3',0,'',0,0,'' )
,('OPVEN1','01',25,'IMPORTO CAUZIONI',2,'IMPCAU',0,0,0,0,0,0,0,0,0,0,'',1,1,4,8,0,2,'S9(7) COMP-3','S9(5)V99 COMP-3',0,'',0,0,'' )
,('OPVEN1','01',26,'IMPORTO BOLLO CAUZIONI',2,'IMPBCZ',0,0,0,0,0,0,0,0,0,0,'',1,1,4,8,0,2,'S9(7) COMP-3','S9(5)V99 COMP-3',0,'',0,0,'' )
,('OPVEN1','01',27,'TOTALE BOLLETTA',2,'TOTBOL',0,0,0,0,0,0,0,0,0,0,'',1,1,5,10,0,2,'S9(9) COMP-3','S9(7)V99 COMP-3',0,'',0,0,'' )
,('OPVEN1','01',28,'TIPO PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN1','01',29,'DATA PARTENZA BOLLETTA',2,'DTAPAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPVEN1','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,'' )
,('OPVEN1','01',31,'ANNO',3,'AA-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVEN1','01',32,'MESE',3,'MM-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN1','01',33,'GIORNO',3,'GG-PAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN1','01',34,'ORA PARTENZA',2,'ORAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPVEN1','01',35,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN1','01',36,'ORE',3,'OREPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN1','01',37,'MINUTI',3,'MINPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN1','01',38,'DATA STAMPA BOLLETTA',2,'DTASTA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPVEN1','01',39,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN1','01',40,'ANNO',3,'AA-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVEN1','01',41,'MESE',3,'MM-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN1','01',42,'GIORNO',3,'GG-STA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN1','01',43,'BLOCCO BOLLE',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPVEN1','01',44,'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,'' )
,('OPVEN1','01',45,'NUMERO COLLI TOTALE',2,'NUMCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('OPVEN1','01',46,'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,'' )
,('OPVEN1','01',47,'NUMERO MOVIMENTO COMMERC. VINI PARTENZA',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,'' )
,('OPVEN1','01',48,'NUMERO MOVIMENTO TAPPI',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,'' )
,('OPVEN1','01',49,'NUMERO MOVIMENTO VUOTI',2,'NUMVUO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPVEN1','01',50,'NUMERO REGISTRAZIONE CONTABILE ADDEBITO',2,'NUMRPN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPVEN1','01',51,'AVVENUTA ESTRAZIONE STATISTICHE (S)',2,'EXTSTA',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
('OPVEN1','01',52,'AVVENUTA ESTRAZIONE PROVVIGIONI (S)',2,'EXTPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN1','01',53,'NUMERO INTERNO FATTURA CREATA',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPVEN1','01',54,'FORZA STAMPA BOLLA S/N/b',2,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN1','01',55,'NUMERO MOVIMENTO IMBOTTIGLIAMENTO',2,'NUMIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPVEN1','01',56,'CODICE PAGAMENTO (PER CLIENTI)',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OPVEN1','01',57,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN1','01',58,'CODICE ABI PER EFFETTI',3,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OPVEN1','01',59,'CODICE CAB PER EFFETTI',3,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OPVEN1','01',60,'TIPO LISTINO (FARA)',2,'TIPLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN1','01',63,'ID SUPERTESTATA MOV.REG.VITIVINICOLO',2,'IDSRVI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('OPVEN1','01',64,'TOTALE DOCUMENTO DA STORE 360 VALDOCA',2,'TOT360',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('OPVEN2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','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,'' )
,('OPVEN2','00',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN2','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,'' )
,('OPVEN2','00',5,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN2','00',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('OPVEN2','AE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','AE',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','AE',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN2','AE',4,'TIPO RECORD = "AE"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPVEN2','AE',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN2','AE',6,'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,'' )
,('OPVEN2','AE',7,'CODICE TRASPORTATORE',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPVEN2','AE',8,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPVEN2','AE',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('OPVEN2','FA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','FA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','FA',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN2','FA',4,'TIPO RECORD = "FA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPVEN2','FA',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN2','FA',6,'NUMERO FATTURA ACCOMPAGNATORIA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPVEN2','FA',7,'FATTURA O BOLLA ACCOMPAGNATORIA (F/B)',2,'FATBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN2','FA',8,'FATTURA CLIENTE (S/N)',2,'FATCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN2','FA',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('OPVEN2','FL',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','FL',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','FL',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN2','FL',4,'TIPO RECORD = "FL"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPVEN2','FL',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN2','FL',6,'PROVVIGIONI CAPI AREA ESTRATTE (S)',2,'EXTPRC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN2','FL',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('OPVEN2','NA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','NA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','NA',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN2','NA',4,'TIPO RECORD = "NA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPVEN2','NA',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN2','NA',6,'CODICE NAZIONE SOGGETTO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPVEN2','NA',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('OPVEN2','NP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','NP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','NP',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN2','NP',4,'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,'' )
,('OPVEN2','NP',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN2','NP',6,'BOLLETTA PAGATA S/N',2,'BOLPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN2','NP',7,'NUMERO REGISTRAZIONE CONTAB. NO PAGAM.',2,'REGNPG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN2','NP',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OPVEN2','RE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','RE',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN2','RE',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN2','RE',4,'TIPO RECORD = "RE"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPVEN2','RE',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN2','RE',6,'PAGATO IN EURO',2,'PAGEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,2,0,'9(8)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN2','RE',7,'PAGATO IN LIRE',2,'PAGLIR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPVEN2','RE',8,'RESTO IN EURO',2,'RESEUR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN2','RE',9,'RESTO IN LIRE',2,'RESLIR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,10,0,0,'S9(9) COMP-3','',0,'',0,0,'' )
,('OPVEN2','RE',10,'IMPORTO PAGATO DAL CLIENTE',2,'PAGCLI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('OPVEN2','RE',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPVEN3','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN3','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,'' )
,('OPVEN3','00',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN3','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,'' )
,('OPVEN3','00',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,'' )
,('OPVEN3','DS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN3','DS',7,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN3','DS',8,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN3','DS',9,'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,'' )
,('OPVEN3','DS',10,'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,'' )
,('OPVEN3','DS',11,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OPVEN3','DS',12,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OPVEN3','DS',13,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OPVEN3','DS',14,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPVEN3','DS',15,'CODICE DESTINATARIO',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPVEN3','DS',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('OPVEN3','NO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN3','NO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN3','NO',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN3','NO',4,'TIPO RECORD = "NO"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPVEN3','NO',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OPVEN3','NO',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,'' )
,('OPVEN3','NO',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,'' )
,('OPVEN3','NO',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,'' )
,('OPVEN3','NO',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPVEN3','NO',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('OPVEN4','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','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,'' )
,('OPVEN4','00',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN4','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,'' )
,('OPVEN4','00',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN4','00',6,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPVEN4','00',10,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','00',11,'COD.BREVE-DEVE ESSERE SEMPRERICODIFICATO',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVEN4','00',12,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVEN4','00',13,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPVEN4','00',14,'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,'' )
,('OPVEN4','00',15,'FILLER',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,103,103,0,0,'X(103)','',0,'',0,0,'' )
,('OPVEN4','II',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','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,'' )
,('OPVEN4','II',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN4','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,'' )
,('OPVEN4','II',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN4','II',6,'TIPO RIGA = "I"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN4','II',7,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','II',8,'COD.BREVE-DEVE ESSERE SEMPRERICODIFICATO',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVEN4','II',9,'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,'' )
,('OPVEN4','II',10,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVEN4','II',11,'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,'' )
,('OPVEN4','II',12,'RECORD UGUALE A QUELLO DI LPVEN4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','II',13,'FLAG PROVENIENZA MOVIMENTO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN4','II',14,'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,'' )
,('OPVEN4','II',15,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OPVEN4','II',16,'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,'' )
,('OPVEN4','II',17,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPVEN4','II',18,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('OPVEN4','MM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','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,'' )
,('OPVEN4','MM',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN4','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,'' )
,('OPVEN4','MM',5,'NUMERO COMPONENTE RIGA (CONF. MISTE)',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN4','MM',6,'TIPO RIGA = "M"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN4','MM',7,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','MM',8,'COD.BREVE-DEVE ESSERE SEMPRERICODIFICATO',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVEN4','MM',9,'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,'' )
,('OPVEN4','MM',10,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVEN4','MM',11,'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,'' )
,('OPVEN4','MM',12,'RECORD UGUALE A QUELLO DI LPVEN4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','MM',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,'' )
,('OPVEN4','MM',18,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OPVEN4','MM',19,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVEN4','MM',20,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVEN4','MM',21,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVEN4','MM',22,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('OPVEN4','MM',23,'QUANTITA RIGA (VENDITA + OMAGGI)',3,'QTABOL',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN4','MM',24,'QUANTITA VENDITA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN4','MM',25,'QUANTITA OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN4','MM',26,'QUANTITA PERDITA DI TRASPORTO',3,'QTAPRT',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN4','MM',27,'PREZZO UNITARIO',3,'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,'' )
,('OPVEN4','MM',41,'PREZZO UNITARIO CONFEZIONE MISTA',3,'PRZCFM',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,'' )
,('OPVEN4','MM',49,'PREZZO COMPONENTE CONFEZIONE MISTA',3,'PRZCMP',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,'' )
,('OPVEN4','MM',53,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','MM',54,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OPVEN4','MM',55,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPVEN4','MM',56,'ULTIMO COMPONENTE CONFEZIONE (X/ )',3,'FLGULT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN4','MM',57,'ULTIMO COMPONENTE TIPO "2" (X/ )',3,'FLGUL2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN4','MM',58,'IMPORTO TOTALE RIGA (USATO POCO)',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,6,12,0,2,'S9(11) COMP-3','S9(9)V99 COMP-3',0,'',0,0,'' )
,('OPVEN4','MM',59,'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,'' )
,('OPVEN4','MM',60,'TABELLA RECIPIENTI MULTIPLI',3,'TABREC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','MM',61,'ELEMENTO RECIPIENTE',4,'ELEREC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',4,'',0,0,'' )
,('OPVEN4','MM',62,'CODICE RECIPIENTE',5,'CODREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,6,0,0,'XX COMP-X','',0,'',0,0,'' )
,('OPVEN4','MM',63,'NUMERO RECIPIENTI',5,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,3,0,0,'X COMP-X','',0,'',0,0,'' )
,('OPVEN4','MM',64,'QTA TAGLIO SFUSI',3,'QTATAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,4,1,0,'99V9 COMP-3','',0,'',0,0,'' )
,('OPVEN4','VV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','VV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','VV',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN4','VV',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPVEN4','VV',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN4','VV',6,'TIPO RIGA = "V"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN4','VV',7,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','VV',8,'COD.BREVE-DEVE ESSERE SEMPRERICODIFICATO',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVEN4','VV',9,'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,'' )
,('OPVEN4','VV',10,'ANNATA ARTICOLO (ZERI)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPVEN4','VV',11,'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,'' )
,('OPVEN4','VV',12,'RECORD UGUALE A QUELLO DI LPVEN4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN4','VV',13,'PROVENIENZA MOVIMENTO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN4','VV',16,'QUANTITA'' CONSEGNATA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN4','VV',17,'QUANTITA'' RESA',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN4','VV',18,'CAUZIONE UNITARIA',3,'CAUUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN4','VV',19,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('OPVEN5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN5','01',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN5','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,'' )
,('OPVEN5','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,'' )
,('OPVEN5','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,'' )
,('OPVEN5','01',12,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OPVEN5','01',13,'FILLER',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OPVEN6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN6','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,'' )
,('OPVEN6','01',3,'NOMINATIVO/SOCIO/CLIENTE/TABELLATO',3,'FLAGSN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVEN6','01',4,'CLIENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPVEN6','01',5,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN6','01',6,'NUMERO INTERNO BOLLETTA',4,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVEN9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN9','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN9','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,'' )
,('OPVEN9','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,'' )
,('OPVEN9','01',5,'NUMERO COMPONENTE CONFEZIONE MISTA',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN9','01',6,'PROGRESSIVO LOTTO',3,'NUMLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVEN9','01',7,'CHIAVE PER ARTICOLO/LOTTO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVEN9','01',8,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPVEN9','01',9,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVEN9','01',10,'LOTTO SPEDITO',3,'LOTTOS',0,1,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OPVEN9','01',11,'FILLER A SPAZI PER POSSIBILI AMPLIAMENTI',3,'SPACES',0,2,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OPVEN9','01',12,'QUANTITA'' LOTTO',2,'QTALOT',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('OPVEN9','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OPVENS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENS','01',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVENS','01',4,'TIMESTAMP EMISSIONE SCONTRINO FISCALE',2,'TSSFIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENS','01',5,'DATA EMISSIONE SCONTRINO FISCALE',3,'DDSFSI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OPVENS','01',6,'ORA EMISSIONE SCONTRINO FISCALE',3,'HHSFSI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPVENS','01',7,'CODICE REGISTRATORE DI CASSA',2,'REGCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPVENU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENU','01',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVENU','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,'' )
,('OPVENU','01',5,'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,'' )
,('OPVENU','01',6,'CODICE PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPVENU','01',7,'NUMERO FATTURA ACCOMPAGNATORIA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OPVENU','01',8,'FATTURA O BOLLA ACCOMPAGNATORIA (F/B)',2,'FATBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENU','01',9,'FATTURA CLIENTE (S/N)',2,'FATCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENU','01',10,'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,'' )
,('OPVENU','01',11,'CODICE NAZIONE SOGGETTO',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPVENU','01',12,'BOLLETTA PAGATA S/N',2,'BOLPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENU','01',13,'NUMERO REGISTRAZIONE CONTAB. NO PAGAM.',2,'REGNPG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVENU','01',14,'PAGATO IN EURO',2,'PAGEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,2,0,'9(8)V99 COMP-3','',0,'',0,0,'' )
,('OPVENU','01',15,'PAGATO IN LIRE',2,'PAGLIR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OPVENU','01',16,'RESTO IN EURO',2,'RESEUR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVENU','01',17,'RESTO IN LIRE',2,'RESLIR',0,0,0,0,0,0,0,0,0,0,'',1,1,5,10,0,0,'S9(9) COMP-3','',0,'',0,0,'' )
,('OPVENU','01',18,'IMPORTO PAGATO DAL CLIENTE',2,'PAGCLI',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('OPVENU','01',19,'S=TRASMESSA DAL PUNTO VENDITA REMOTO',2,'FLGTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENU','01',20,'BARCODE PER COLLEGAMENTO DOCUMENTALE',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('OPVENU','01',21,'CODICE FIDELITY CARD',2,'COD-FC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OPVENU','01',22,'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,'' )
,('OPVENU','01',24,'FIDELITY CARD GESTITA 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,'' )
,('OPVENU','01',25,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENU','01',26,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('OPVENU','01',27,'S=BOLLETTA NON REVISIONABILE',2,'FLNORV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENU','01',28,'BLOCCATO PER LA SPEDIZIONE (S)',2,'FLSPED',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENU','01',29,'CODICE LOTTERIA SCONTRINO FISCALE',2,'CHECUL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OPVENU','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,123,123,0,0,'X(123)','',0,'',0,0,'' )
,('OPVENV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENV','01',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OPVENV','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,'' )
,('OPVENV','01',14,'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,'' )
,('OPVENV','01',15,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OPVENV','01',16,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OPVENV','01',17,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OPVENV','01',18,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OPVENV','01',19,'CODICE DESTINATARIO',2,'CODDES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OPVENV','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,104,104,0,0,'X(104)','',0,'',0,0,'' )
,('OPVENZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENZ','01',3,'NUMERO INTERNO BOLLETTA',3,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'APVEN1',1,1,'' )
,('OPVENZ','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,'' )
,('OPVENZ','01',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OPVENZ','01',6,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENZ','01',10,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENZ','01',11,'COD.BREVE-DEVE ESSERE SEMPRERICODIFICATO',3,'CODPVN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVENZ','01',12,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'AARTI1',1,1,'' )
,('OPVENZ','01',13,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OPVENZ','01',14,'RECORD UGUALE A QUELLO DI LPVEN4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENZ','01',15,'FLAG PROVENIENZA MOVIMENTO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENZ','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,'' )
,('OPVENZ','01',19,'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,'' )
,('OPVENZ','01',24,'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,'' )
,('OPVENZ','01',25,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVENZ','01',26,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OPVENZ','01',27,'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,'' )
,('OPVENZ','01',28,'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,'' )
,('OPVENZ','01',29,'QUANTITA RIGA (VENDITA + OMAGGI)',3,'QTABOL',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVENZ','01',30,'QUANTITA VENDITA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVENZ','01',31,'QUANTITA OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVENZ','01',32,'QUANTITA PERDITA DI TRASPORTO',3,'QTAPRT',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVENZ','01',33,'PREZZO UNITARIO',3,'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,'' )
,('OPVENZ','01',47,'PREZZO UNITARIO CONFEZIONE MISTA',3,'PRZCFM',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,'' )
,('OPVENZ','01',55,'PREZZO COMPONENTE CONFEZIONE MISTA',3,'PRZCMP',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,'' )
,('OPVENZ','01',59,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENZ','01',60,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OPVENZ','01',61,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OPVENZ','01',62,'ULTIMO COMPONENTE CONFEZIONE (X/ )',3,'FLGULT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENZ','01',63,'ULTIMO COMPONENTE TIPO "2" (X/ )',3,'FLGUL2',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENZ','01',64,'IMPORTO TOTALE RIGA (USATO POCO)',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,6,12,0,2,'S9(11) COMP-3','S9(9)V99 COMP-3',0,'',0,0,'' )
,('OPVENZ','01',66,'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,'' )
,('OPVENZ','01',67,'TABELLA RECIPIENTI MULTIPLI',3,'TABREC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENZ','01',68,'ELEMENTO RECIPIENTE',4,'ELEREC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',4,'',0,0,'' )
,('OPVENZ','01',69,'CODICE RECIPIENTE',5,'CODREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,6,0,0,'XX COMP-X','',0,'',0,0,'' )
,('OPVENZ','01',70,'NUMERO RECIPIENTI',5,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,3,0,0,'X COMP-X','',0,'',0,0,'' )
,('OPVENZ','01',71,'QTA TAGLIO SFUSI',3,'QTATAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,4,1,0,'99V9 COMP-3','',0,'',0,0,'' )
,('OPVENZ','01',72,'QUANTITA'' CONSEGNATA VUOTI',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVENZ','01',73,'QUANTITA'' RESA VUOTI',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OPVENZ','01',74,'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,'' )
,('OPVENZ','01',75,'QUANTITA'' PER CALCOLO IMPORTO',3,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,8,10,2,0,'S9(6)V99','',0,'',0,0,'' )
,('OPVENZ','01',76,'PREZZO PER CALCOLO IMPORTO',3,'PREIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('OPVENZ','01',77,'PUNTI MOVIMENTATI SU FIDELITY CARD',3,'PUNTIF',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('OPVENZ','01',78,'ESCLUSO DA PUNTI FIDELITY CARD (S)',3,'NO-PUN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OPVENZ','01',79,'ATTRIBUTI STATISTICI',3,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVENZ','01',80,'CODICE ATTRIBUTO',4,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('OPVENZ','01',81,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OPVENZ','01',82,'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,'' )
,('OPVENZ','01',83,'CAMPO AGGIUNTO PER ERRORE E NON USATO',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('OPVL79','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVL79','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVL79','01',3,'CODICE VITIGNO',3,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OPVL79','01',4,'PREZZO PER GRADO',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('OPVL79','01',5,'MAGGIORAZIONE AL QUINTALE SE UVA DOC',2,'MAGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OPVL79','01',6,'MAGGIORAZIONE AL QUINTALE SE UVA IGT',2,'MAGIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OPVL79','01',7,'PREZZO A GRADO MECCANICA',2,'PREMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('OPVL79','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
,('OPVQ04','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVQ04','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVQ04','01',3,'CODICE ARTICOLO CONFEZIONATO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OPVQ04','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,'' )
,('OPVQ04','01',5,'CODICE ARTICOLO AV2000',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVQ04','01',6,'FATTORE CONVERSIONE',2,'FATCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,5,0,'9(5)V9(5)','',0,'',0,0,'' )
,('OPVQ04','01',7,'CODICE ARTICOLO PACCHETTO',2,'CODPAC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVQ04','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('OPVQ05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVQ05','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVQ05','01',3,'CODICE INGREDIENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OPVQ05','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,'' )
,('OPVQ05','01',5,'CODICE ARTICOLO AV2000',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVQ05','01',6,'FATTORE CONVERSIONE',2,'FATCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,5,0,'9(5)V9(5)','',0,'',0,0,'' )
,('OPVQ05','01',7,'PERCENTUALE PERDITE E SFRIDI',2,'PSFRID',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('OPVQ05','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,'' )
,('OPVQ06','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVQ06','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVQ06','01',3,'CODICE PRODOTTO SFUSO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OPVQ06','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,'' )
,('OPVQ06','01',5,'CODICE ARTICOLO AV2000',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVQ06','01',6,'FATTORE CONVERSIONE',2,'FATCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,5,0,'9(5)V9(5)','',0,'',0,0,'' )
,('OPVQ06','01',7,'PESRCENTUALE PERDITE E SFRIDI',2,'PSFRID',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('OPVQ06','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,'' )
,('OPVQ07','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVQ07','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OPVQ07','01',3,'CODICE ARTICOLO AV2000',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OPVQ07','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OQLIPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OQLIPC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OQLIPC','01',3,'CODICE SOCIO',3,'CODSOC',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OQLIPC','01',4,'CODICE UVA',3,'CODUVA',0,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OQLIPC','01',5,'QUINTALI PRENOTATI RITIRABILI',2,'QLIPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('OQLIPC','01',6,'QUINTALI PRENOTATI TOTALI',2,'QLITOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('OQLIPC','01',7,'BINS (S/ )',2,'FLGBIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OQLIPC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,67,67,0,0,'X(67)','',0,'',0,0,'' )
,('OREDD1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREDD1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREDD1','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,'' )
,('OREDD1','01',4,'ANNATA (PER ADESSO ZEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREDD1','01',5,'COSTO PRODUZIONE ARTICOLO',2,'COSTOP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,3,0,'9(6)V9(3)','',0,'',0,0,'' )
,('OREDD1','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('OREGA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA2','01',2,'CODICE STABILIMENTO',2,'CODSTB',1,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OREGA2','01',3,'NUMERO INTERNO MOVIMENTO DI CARICO',2,'NUMCAR',2,3,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGA2','01',4,'NUMERO INTERNO DICHIARAZIONE PREV.',2,'NUMDIC',3,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGA2','01',5,'CHILOGRAMMI SCARICATI',2,'KGTSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('OREGA2','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('OREGA3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA3','01',2,'CODICE STABILIMENTO',2,'CODSTB',1,1,1,1,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OREGA3','01',3,'NUMERO PROGRESSIVO PER REGISTRO',2,'NUMPRO',0,5,5,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGA3','01',4,'NUMERO INTERNO MOVIMENTI',2,'NUMINT',2,4,4,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGA3','01',5,'TIPO DICHIARAZIONE',2,'TIPDIC',0,2,3,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OREGA3','01',8,'DATA PRESENTAZIONE',2,'DATPRE',0,3,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OREGA3','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,'' )
,('OREGA3','01',10,'ANNO PRESENTAZIONE',3,'AAAPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA3','01',11,'MESE PRESENTAZIONE',3,'MMMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA3','01',12,'GIORNO PRESENTAZIONE',3,'GGGPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA3','01',13,'DATA OPERAZIONE',2,'DATOPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OREGA3','01',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA3','01',15,'ANNO OPERAZIONE',3,'AAAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA3','01',16,'MESE OPERAZIONE',3,'MMMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA3','01',17,'GIORNO OPERAZIONE',3,'GGGOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA3','01',18,'ORA OPERAZIONE',2,'ORAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA3','01',19,'DATI PRODOTTO PER ARRICCHIRE',2,'ELEARR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('OREGA3','01',20,'NUMERO INTERNO MOVIMENTO DI CARICO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('OREGA3','01',21,'CODICE VASCA PRELIEVO',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA3','01',22,'STABILIMENTO VASCA',4,'VASSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OREGA3','01',23,'SETTORE VASCA',4,'VASSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OREGA3','01',24,'NUMERO VASCA',4,'VASNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA3','01',25,'QUANTITA'' PRELIEVO IN QUINTALI',3,'QTAPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',26,'CAPACITA'' VASCA PRELIEVO IN QUINTALI',3,'CAPPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',27,'DATI VASCA PRODOTTO ARRICCHITO',2,'ELEPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('OREGA3','01',28,'CODICE VASCA PRODOTTO ARRICCHITO',3,'VASARR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA3','01',29,'STABILIMENTO',4,'ARRSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OREGA3','01',30,'SETTORE',4,'ARRSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OREGA3','01',31,'NUMERO',4,'ARRNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA3','01',32,'CAPACITA'' VASCA PROD ARRICCHITO',3,'CAPARR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',33,'RAGRUPPAMENTO DA ARRICCHIRE',2,'RAGARR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OREGA3','01',34,'ETTOLITRI DA ARRICCHIRE',2,'HLTARR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',35,'TITOLO ALCOLOMETRICO',2,'TITALC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA3','01',36,'COLONNA VINIFICAZIONE PROD. DA ARRICC.',2,'COLVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OREGA3','01',39,'MONTEGRADI DA ARRICCHIRE',2,'MONTEG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',40,'ETTOLITRI ARRICCHIMENTO',2,'HLTAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',41,'TITOLO ALCOLOMETRICO ARRICCHIMENTO',2,'ALCOLE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA3','01',42,'MONTEGRADI ARRICCHIMENTO',2,'MTGAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',43,'QTA MOSTO ARRICCHIMENTO',2,'QTAMOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',44,'MASSA VOLUMICA ARRICCHIMENTO',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('OREGA3','01',45,'GRADO RIFRATTOMETRICO ARRICCHIMENTO',2,'GRARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA3','01',46,'ALCOLE POTENZIALE ARRICCHIMENTO',2,'ALCPOT',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
('OREGA3','01',48,'ETTOLITRI TOTALI',2,'HLTTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',49,'TITOLO ALCOLOMETRICO TOTALE',2,'ALCTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA3','01',50,'MONTE GRADI TOTALE',2,'MTGTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',51,'AUMENTO ETTOLITRI IN PERCENTUALE',2,'PERHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA3','01',52,'AUMENTO TITOLO ALCOLOMETRICO IN %',2,'PERALC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA3','01',55,'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,'' )
,('OREGA3','01',56,'COLORE R/B',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OREGA3','01',57,'ZONA VITICOLA (CII/CIIIB)',2,'ZONVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OREGA3','01',58,'CODICE RAGRUPPAMENTO DA ARRICHIRE ALFA',2,'RAGARA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OREGA3','01',59,'COLONNA DA ARRICHIRE REGISTRO PER STAB',2,'COLVIA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OREGA3','01',60,'DICHIARAZIONE RIEPILOGATIVA',2,'DICRIE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGA3','01',61,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('OREGA6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA6','01',2,'CODICE STABILIMENTO',2,'CODSTB',1,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OREGA6','01',3,'NUMERO PROGRESSIVO PER REGISTRO',2,'NUMPRO',2,3,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGA6','01',4,'NUMERO PROGRESSIVO DI STAMPA SU REG.',2,'NUMSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGA6','01',5,'DATA PRESENTAZIONE',2,'DATPRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OREGA6','01',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA6','01',7,'ANNO PRESENTAZIONE',3,'AAAPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA6','01',8,'MESE PRESENTAZIONE',3,'MMMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA6','01',9,'GIORNO PRESENTAZIONE',3,'GGGPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA6','01',10,'DATA OPERAZIONE',2,'DATOPE',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OREGA6','01',11,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA6','01',12,'ANNO OPERAZIONE',3,'AAAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA6','01',13,'MESE OPERAZIONE',3,'MMMOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA6','01',14,'GIORNO OPERAZIONE',3,'GGGOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA6','01',15,'ORA OPERAZIONE',2,'ORAOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA6','01',16,'DATI PRODOTTO PER ARRICCHIRE',2,'ELEARR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('OREGA6','01',17,'CODICE VASCA PRELIEVO',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA6','01',18,'STABILIMENTO VASCA',4,'VASSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OREGA6','01',19,'SETTORE VASCA',4,'VASSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OREGA6','01',20,'NUMERO VASCA',4,'VASNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA6','01',21,'QUANTITA'' PRELIEVO IN QUINTALI',3,'QTAPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',22,'CAPACITA'' VASCA PRELIEVO IN QUINTALI',3,'CAPPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',23,'DATI VASCA PRODOTTO ARRICCHITO',2,'ELEPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('OREGA6','01',24,'CODICE VASCA PRODOTTO ARRICCHITO',3,'VASARR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA6','01',25,'STABILIMENTO',4,'ARRSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OREGA6','01',26,'SETTORE',4,'ARRSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OREGA6','01',27,'NUMERO',4,'ARRNUM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA6','01',28,'CAPACITA'' VASCA PROD ARRICCHITO',3,'CAPARR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',29,'ETTOLITRI DA ARRICCHIRE',2,'HLTARR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',30,'TITOLO ALCOLOMETRICO',2,'TITALC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA6','01',31,'COLONNA VINIFICAZIONE PROD. DA ARRICC.',2,'COLVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OREGA6','01',34,'MONTEGRADI DA ARRICCHIRE',2,'MONTEG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',35,'ETTOLITRI ARRICCHIMENTO',2,'HLTAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',36,'TITOLO ALCOLOMETRICO ARRICCHIMENTO',2,'ALCOLE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA6','01',37,'MONTEGRADI ARRICCHIMENTO',2,'MTGAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',38,'QTA MOSTO ARRICCHIMENTO',2,'QTAMOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',39,'MASSA VOLUMICA ARRICCHIMENTO',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('OREGA6','01',40,'GRADO RIFRATTOMETRICO ARRICCHIMENTO',2,'GRARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA6','01',41,'ALCOLE POTENZIALE ARRICCHIMENTO',2,'ALCPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA6','01',43,'ETTOLITRI TOTALI',2,'HLTTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',44,'TITOLO ALCOLOMETRICO TOTALE',2,'ALCTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA6','01',45,'MONTE GRADI TOTALE',2,'MTGTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',46,'AUMENTO ETTOLITRI IN PERCENTUALE',2,'PERHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OREGA6','01',47,'AUMENTO TITOLO ALCOLOMETRICO IN %',2,'PERALC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OREGA6','01',50,'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,'' )
,('OREGA6','01',51,'COLORE R/B',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OREGA6','01',52,'ZONA VITICOLA (CII/CIIIB)',2,'ZONVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OREGA6','01',55,'RAGRUPPAMENTO MOSTO',2,'RAGMOS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OREGA6','01',56,'RAGRUPPAMENTO PRODOTTO DA ARRICCHIRE',2,'RAGARR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OREGA6','01',57,'RAG PRODOTTO DA ARRICCHIRE alfa',2,'RAGARA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OREGA6','01',58,'COLONNA DA ARRICHIRE REG. PER STAB.',2,'COLVIA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OREGA6','01',59,'RAG. MOSTO ALFA',2,'RAGMOA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OREGA6','01',60,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('OREGA8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGA8','01',2,'CODICE STABILIMENTO',2,'CODSTB',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OREGA8','01',3,'NUMERO INTERNO MOVIMENTI',2,'NUMINT',2,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGA8','01',4,'PROGRESSIVO',2,'PROGRE',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA8','01',5,'ZONA VITIVINICOLA',2,'ZONVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OREGA8','01',6,'NUMERO BOLLA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OREGA8','01',7,'DATA BOLLA',2,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OREGA8','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,'' )
,('OREGA8','01',9,'ANNO BOLLA',3,'AAABOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREGA8','01',10,'MESE BOLLA',3,'MMMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA8','01',11,'GIORNO BOLLA',3,'GGGBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGA8','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OREGAA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGAA','01',2,'CODICE STABILIMENTO',2,'CODSTB',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OREGAA','01',3,'NUMERO INTERNO DICHIARAZIONE PREVENTIVA',2,'NUMINT',2,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGAA','01',4,'DATA DICHIARAZIONE PREVENTIVA',2,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OREGAA','01',5,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREGAA','01',6,'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,'' )
,('OREGAA','01',7,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGAA','01',8,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREGAA','01',9,'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,'' )
,('OREGAA','01',10,'NUMERO INTERNO REGISTRO DI VINIFICAZ.',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('OREGAA','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ORES58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORES58','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORES58','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,'' )
,('ORES58','01',4,'QTA MAX. SOCIO BIANCA MANUALE',2,'SOCBMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ORES58','01',5,'QTA MAX. SOCIO BIANCA MECCANICA',2,'SOCBME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ORES58','01',6,'QTA MAX. SOCIO ROSSA MANUALE',2,'SOCRMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ORES58','01',7,'QTA MAX. SOCIO ROSSA MECCANICA',2,'SOCRME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ORES58','01',8,'QTA MAX. SOCIO BIANCA MAN. CON MECCANICA',2,'SOCBCM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ORES58','01',9,'QTA MAX. SOCIO ROSSA MAN. CON MECCANICA',2,'SOCRCM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ORES58','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('OREV58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OREV58','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
('OREV58','01',3,'VALIDO DAL',3,'DATDAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OREV58','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,'' )
,('OREV58','01',5,'ANNO INIZIO VALIDITA''',4,'AAADAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OREV58','01',6,'MESE INIZIO VALIDITA''',4,'MMMDAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREV58','01',7,'GIORNO INIZIO VALIDITA''',4,'GGGDAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREV58','01',8,'QTA MAX. CANTINA BIANCA MANUALE',2,'CANBMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',9,'QTA MAX. CANTINA BIANCA MECCANICA',2,'CANBME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',10,'QTA MAX. CANTINA ROSSA MANUALE',2,'CANRMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',11,'QTA MAX. CANTINA ROSSA MECCANICA',2,'CANRME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',12,'QTA MAX. SOCIO BIANCA MANUALE',2,'SOCBMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',13,'QTA MAX. SOCIO BIANCA MECCANICA',2,'SOCBME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',14,'QTA MAX. SOCIO ROSSA MANUALE',2,'SOCRMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',15,'QTA MAX. SOCIO ROSSA MECCANICA',2,'SOCRME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',16,'QTA MAX. LIBERA BIANCA MANUALE',2,'LIBBMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',17,'QTA MAX. LIB. BIANCA MECC. (non usato)',2,'LIBBME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',18,'QTA MAX. LIBERA ROSSA MANUALE',2,'LIBRMA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',19,'QTA MAX. LIB. ROSSA MECC. (non usato)',2,'LIBRME',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',20,'QTA MAX. SOCIO BIANCA MAN. CON MECCANICA',2,'SOCBCM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',21,'QTA MAX. SOCIO ROSSA MAN. CON MECCANICA',2,'SOCRCM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OREV58','01',22,'PERCENTUALE PER FASCIA',2,'PERFAS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',6,'',0,0,'' )
,('OREV58','01',23,'PERCENTUALE DI TOLLERANZA',2,'PERTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OREV58','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,66,66,0,0,'X(66)','',0,'',0,0,'' )
,('ORU008','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORU008','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORU008','01',3,'CODICE MENZIONE TRADIZIONALE R.U.',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ORU008','01',4,'CODICE NOVE DOP-IGP *OBSOLETO*',2,'CODI09',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('ORU008','01',5,'DESCRIZIONE CODICE DOP-IGP',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('ORU008','01',6,'DESCRIZIONE SUCCINTA CODICE DOP-IGP',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ORU008','01',7,'ANNO FINE VALIDITA''',2,'ANNOVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ORU008','01',8,'FLAG OBSOLETO',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ORU008','01',9,'DATA VERSIONE',2,'DTAVER',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ORU008','01',10,'DESCRIZIONE ESTESA',2,'DESEST',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('ORU008','01',11,'TIPOLOGIA VINO',2,'TIPVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ORUMR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORUMR1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,4,3,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORUMR1','01',3,'ID SUPERTESTATA',3,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('ORUMR1','01',4,'PROGRESSIVO TESTATA',3,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ORUMR1','01',5,'PROGRESSIVO RIGA',3,'PRORIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ORUMR1','01',6,'CODICE REGISTRO (SU RIGA PER AVERE KEY)',2,'CODREG',0,1,1,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ORUMR1','01',7,'CODICE OPERAZIONE TESTATA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ORUMR1','01',8,'CODICE OPERAZIONE RIGA',2,'CODCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ORUMR1','01',9,'DATA MOVIMENTO (SU RIGA PER AVERE KEY)',2,'DATMOV',0,3,2,2,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ORUMR1','01',10,'ID PRODOTTO',2,'IDPROD',0,2,0,1,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('ORUMR1','01',11,'QTA.MOVIMENTO (NEGATIVA PER SCARICO)',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V9(3)','',0,'',0,0,'' )
,('ORUMR1','01',12,'MOVIMENTO AUTOMATICO/MANUALE (A/M)',2,'FLAGAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ORUMR1','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,'' )
,('ORUMR1','01',14,'CAUSALE MAGAZZINO',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ORUMR1','01',15,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ORUMR1','01',16,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ORUMR1','01',17,'LOTTO ARTICOLO',2,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ORUMR1','01',18,'QUANTITA'' MAGAZZINO ***OLD 2 DECIMALI***',2,'OLDMAG',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('ORUMR1','01',19,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,4,0,'99V9(4) COMP-3','',0,'',0,0,'' )
,('ORUMR1','01',20,'ex-TENORE ZUCCHERINO - TAB 6.11 (ARU011)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ORUMR1','01',21,'PERCENTUALE IGP',2,'PERIGP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ORUMR1','01',22,'ALCOOL POTENZIALE',2,'ALCPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ORUMR1','01',23,'ALCOOL EFFETTIVO',2,'ALCEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ORUMR1','01',24,'ALCOOL TOTALE',2,'ALCTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('ORUMR1','01',25,'CODICE METODO PRATICHE ENOLOGICHE',2,'CODMPE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ORUMR1','01',26,'CODICE TRATTAMENTO',2,'CODTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('ORUMR1','01',27,'GRADO ACIDITA''',2,'GRAACI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,4,0,'9(6)V9(4) COMP-3','',0,'',0,0,'' )
,('ORUMR1','01',28,'MONTEGRADI',2,'MGRADI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,4,0,'9(10)V9(4) COMP-3','',0,'',0,0,'' )
,('ORUMR1','01',29,'QUANTITA'' PERDITA',2,'QTAPER',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('ORUMR1','01',30,'MANIPOLAZIONE DI MAGAZZINO',2,'MANMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ORUMR1','01',33,'QUANTITA RICHIESTA PROCESSO CERTIFICAT.',2,'QTARIC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,16,3,0,'9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('ORUMR1','01',34,'CHIAVE PROCESSO CERTIFICATIVO',2,'IDCERT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORUMR1','01',35,'SUPER TESTATA I^ RICHIESTA',3,'IDCSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('ORUMR1','01',36,'TESTATA I^ RICHIESTA',3,'IDCTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ORUMR1','01',37,'RIGA I^ RICHIESTA',3,'IDCRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ORUMR1','01',38,'QUANTITA'' MOVIMENTATA A MAGAZZINO',2,'QTAMAG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('ORVCRU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORVCRU','01',2,'CODICE RAGRUPPAMENTO',2,'CODRAG',1,2,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ORVCRU','01',3,'CODICE UVA',2,'CODUVA',2,1,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ORVCRU','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ORVIN3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORVIN3','01',2,'DATA MOVIMENTO',2,'DATMOV',1,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ORVIN3','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,'' )
,('ORVIN3','01',4,'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,'' )
,('ORVIN3','01',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ORVIN3','01',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ORVIN3','01',7,'CODICE RAGRUPPAMENTO',2,'CODRAG',2,3,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ORVIN3','01',8,'CODICE STABILIMENTO',2,'CODSTA',3,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ORVIN3','01',9,'QUANTITA'' VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ORVIN3','01',10,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ORVIN3','01',11,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('ORVIN3','01',12,'QUANTITA'' DIFFERENZA',2,'QTADIF',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ORVIN3','01',13,'GRADO MEDIO DIFFERENZA',2,'GRADIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ORVIN3','01',14,'RAGRUPPAMENTO DIFFERENZA',2,'RAGDIF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('ORVIN3','01',15,'QUANTITA'' DA ALTRI',2,'QTAALT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ORVIN3','01',16,'GRADO MEDIO DA ALTRI',2,'GRAALT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ORVIN3','01',17,'QUANTITA'' TOTALE',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ORVIN3','01',18,'GRADO MEDIO TOTALE',2,'GRATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ORVIN3','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('ORVIN5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ORVIN5','01',2,'DATA MOVIMENTO',2,'DATMOV',1,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ORVIN5','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,'' )
,('ORVIN5','01',4,'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,'' )
,('ORVIN5','01',5,'MESE MOVIMENTO',3,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ORVIN5','01',6,'GIORNO MOVIMENTO',3,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ORVIN5','01',7,'CODICE RAGRUPPAMENTO',2,'CODRAG',2,3,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('ORVIN5','01',8,'CODICE STABILIMENTO',2,'CODSTA',3,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ORVIN5','01',9,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('ORVIN5','01',10,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('ORVIN5','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OSALM1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSALM1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSALM1','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,'' )
,('OSALM1','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,'' )
,('OSALM1','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,'' )
,('OSALM1','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,'' )
,('OSALM1','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,'' )
,('OSALM1','01',9,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSALM1','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,'' )
,('OSALM1','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,'' )
,('OSALM1','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,'' )
,('OSALM1','01',13,'QUANTITA'' SALDO (3 DEC)',2,'QTASAL',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('OSALM1','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('OSALMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSALMP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMP','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,'' )
,('OSALMS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSALMS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSALMS','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,'' )
,('OSALMS','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,'' )
,('OSALMS','01',6,'PRODOTTO',3,'PRODOT',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSALMS','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,'' )
,('OSALMS','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,'' )
,('OSALMS','01',9,'NUMERO LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('OSALMS','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,'' )
,('OSALMS','01',11,'EX TIPO SALDO',2,'TIPSAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OSALMS','01',12,'QUANTITA''',2,'QTASAL',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('OSALMS','01',13,'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,'' )
,('OSALMS','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,'' )
,('OSCPV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSCPV1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSCPV1','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,'' )
,('OSCPV1','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,'' )
,('OSCPV1','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,'' )
,('OSCPV1','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,'' )
,('OSCPV1','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,'' )
,('OSCPV2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSCPV2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSCPV2','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,'' )
,('OSCPV2','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,'' )
,('OSCPV2','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,'' )
,('OSCPV2','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,'' )
,('OSCPV3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSCPV3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSCPV3','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,'' )
,('OSCPV3','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,'' )
,('OSCPV3','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,'' )
,('OSCPV3','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,'' )
,('OSCPV3','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,'' )
,('OSCPV6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSCPV6','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSCPV6','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,'' )
,('OSCPV6','01',4,'CODICE CONFEZIONE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OSCPV6','01',5,'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,'' )
,('OSCPV6','01',6,'SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OSCPV6','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('OSCR11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSCR11','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,'' )
,('OSOCI1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI1','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,'' )
,('OSOCI3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI3','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI3','01',3,'CODICE SOCIO',3,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI3','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,'' )
,('OSOCI3','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,'' )
,('OSOCI3','01',6,'FILLER (SECONDA PARTE VECCHIE NOTE)',2,'DESOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OSOCI3','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('OSOCI4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI4','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI4','01',3,'CODICE SOCIO',3,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI4','01',4,'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,'' )
,('OSOCI4','01',5,'FILLER (SECONDA PARTE VECCHIE NOTE)',2,'DESOLD',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OSOCI4','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('OSOCI5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI5','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI5','01',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI5','01',4,'CODICE ZONA CONFERIMENTO',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OSOCI5','01',5,'PERCENTUALE ZONA',2,'PERZON',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OSOCI5','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,'' )
,('OSOCI6','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','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,'' )
,('OSOCI6','00',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI6','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,'' )
,('OSOCI6','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,184,184,0,0,'X(184)','',0,'',0,0,'' )
,('OSOCI6','AB',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','AB',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','AB',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI6','AB',4,'TIPO RECORD = "AB"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI6','AB',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OSOCI6','AB',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,144,144,0,0,'X(144)','',0,'',0,0,'' )
,('OSOCI6','CN',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','CN',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','CN',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI6','CN',4,'TIPO RECORD = "CN"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI6','CN',5,'COGNOME SOCIO',2,'COGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OSOCI6','CN',6,'NOME SOCIO',2,'NOMSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OSOCI6','CN',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,144,144,0,0,'X(144)','',0,'',0,0,'' )
,('OSOCI6','DA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','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,'' )
,('OSOCI6','DA',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI6','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,'' )
,('OSOCI6','DA',5,'CODICE C.C.I.A.A.',2,'CCCIAA',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OSOCI6','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,'' )
,('OSOCI6','DA',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,154,154,0,0,'X(154)','',0,'',0,0,'' )
,('OSOCI6','DI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','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,'' )
,('OSOCI6','DI',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI6','DI',4,'TIPO RECORD = "DI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI6','DI',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OSOCI6','DI',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI6','DI',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,'' )
,('OSOCI6','DI',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI6','DI',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI6','DI',10,'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,'' )
,('OSOCI6','DI',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('OSOCI6','IC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','IC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','IC',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI6','IC',4,'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,'' )
,('OSOCI6','IC',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OSOCI6','IC',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI6','IC',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,'' )
,('OSOCI6','IC',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI6','IC',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI6','IC',10,'TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OSOCI6','IC',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,56,56,0,0,'X(56)','',0,'',0,0,'' )
,('OSOCI6','NR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','NR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','NR',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI6','NR',4,'TIPO RECORD = "NR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI6','NR',5,'COMUNE DOMICILIO',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI6','NR',6,'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,'' )
,('OSOCI6','NR',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','NR',8,'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,'' )
,('OSOCI6','NR',9,'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,'' )
,('OSOCI6','NR',10,'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,'' )
,('OSOCI6','NR',11,'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,'' )
,('OSOCI6','NR',12,'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,'' )
,('OSOCI6','NR',13,'SESSO',2,'FLGSEX',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OSOCI6','NR',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,161,161,0,0,'X(161)','',0,'',0,0,'' )
,('OSOCI6','RA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','RA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI6','RA',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI6','RA',4,'TIPO RECORD = "RA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI6','RA',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OSOCI6','RA',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI6','RA',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,'' )
,('OSOCI6','RA',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI6','RA',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI6','RA',10,'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,'' )
,('OSOCI6','RA',11,'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,'' )
,('OSOCI6','RA',12,'COGNOME RAPPRESENTANTE',2,'COGRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OSOCI6','RA',13,'NOME RAPPRESENTANTE',2,'NOMRAP',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OSOCI7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI7','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI7','01',3,'CODICE SOCIO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSOCI7','01',4,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OSOCI7','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,'' )
,('OSOCI7','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,'' )
,('OSOCI7','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,'' )
,('OSOCI7','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,'' )
,('OSOCI7','01',9,'TARGA TRATTORE',2,'TARGAT',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('OSOCI7','01',10,'LUOGO DI APRTENZA',2,'LUOPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI7','01',11,'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,'' )
,('OSOCI7','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('OSOCI8','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI8','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,'' )
,('OSOCI8','00',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,'' )
,('OSOCI8','00',4,'TIPO RECORD = "00"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI8','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,192,192,0,0,'X(192)','',0,'',0,0,'' )
,('OSOCI8','DA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI8','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,'' )
,('OSOCI8','DA',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,'' )
,('OSOCI8','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,'' )
,('OSOCI8','DA',5,'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,'' )
,('OSOCI8','DA',6,'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,'' )
,('OSOCI8','DA',7,'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,'' )
,('OSOCI8','DA',8,'RESPONSABILE CAA',2,'RESCAA',0,0,0,0,0,0,0,0,0,0,'',4,0,32,32,0,0,'X(32)','',0,'',0,0,'' )
,('OSOCI8','DA',9,'DATA FASCICOLO',2,'DTAFAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSOCI8','DA',10,'NUMERO FASCICOLO',2,'NUMFAS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OSOCI8','DA',11,'NUMERO SCHEDARIO',2,'NUMSCH',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OSOCI8','DA',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('OSOCI8','DI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI8','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,'' )
,('OSOCI8','DI',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,'' )
,('OSOCI8','DI',4,'TIPO RECORD = "DI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI8','DI',5,'FILLER EX SUP DIRITTI IMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OSOCI8','DI',6,'FILLER EX SUP DIRITTI REIMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OSOCI8','DI',7,'FILLER EX NOTE DIRITTI IMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI8','DI',8,'FILLER EX NOTE DIRITTI REIMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI8','DI',9,'TIPO DOCUMENTO D''IDENTITA''',2,'TDOCID',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('OSOCI8','DI',10,'NUMERO DOCUMENTO D''IDENTITA''',2,'NDOCID',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('OSOCI8','DI',11,'DATA DOCUMENTO D''IDENTITA''',2,'DDOCID',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSOCI8','DI',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI8','DI',13,'ANNO RILASCIO DOCUMENTO',3,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OSOCI8','DI',14,'MESE RILASCIO DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OSOCI8','DI',15,'GIORNO RILASCIO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OSOCI8','DI',16,'FILLER EX DATA SCADENZA DIRITTI IMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OSOCI8','DI',17,'EX DATA SCADENZA DIRITTI REIMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OSOCI8','DI',18,'DATA SCADENZA DOCUMENTO IDENTITA''',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSOCI8','DI',19,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI8','DI',20,'ANNO SCADENZA DOCUMENTO',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OSOCI8','DI',21,'MESE SCADENZA DOCUMENTO',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OSOCI8','DI',22,'GIORNO SCADENZA DOCUMENTO',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OSOCI8','DI',23,'RILASCIATO DA',2,'RILADA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI8','DI',24,'ENTE RILASCIO DOCUMENTO',2,'RILENT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OSOCI8','DI',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('OSOCI9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI9','01',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
('OSOCI9','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,'' )
,('OSOCI9','01',4,'TIPO RECORD = "00"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI9','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OSOCI9','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,111,111,0,0,'X(111)','',0,'',0,0,'' )
,('OSOCI9','DI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI9','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,'' )
,('OSOCI9','DI',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,'' )
,('OSOCI9','DI',4,'TIPO RECORD = "DI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI9','DI',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OSOCI9','DI',6,'SUPERFICIE DIRITTO IMPIANTO',2,'SUDIIM',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('OSOCI9','DI',7,'NOTE DIRITTO DI IMPIANTO',2,'NODIIM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI9','DI',8,'DATA SCADENZA DIRITTO IMPIANTO',2,'SCDIIM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSOCI9','DI',9,'REDEFINES DATA DIRITTO IMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI9','DI',10,'ANNO SCADENZA DIRITTO IMPIANTO',3,'AADIIM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OSOCI9','DI',11,'MESE SCADENZA DIRITTO IMPIANTO',3,'MMDIIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OSOCI9','DI',12,'GIORNO SCADENZA DIRITTO IMPIANTO',3,'GGDIIM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OSOCI9','DI',13,'PROVINCIA DIRITTO IMPIANTO',2,'PRDIIM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI9','DI',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,'' )
,('OSOCI9','DR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI9','DR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI9','DR',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,'' )
,('OSOCI9','DR',4,'TIPO RECORD = "DR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI9','DR',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('OSOCI9','DR',6,'SUPERFICIE DIRITTO REIMPIANTO',2,'SUDIRE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('OSOCI9','DR',7,'NOTE DIRITTO DI REIMPIANTO',2,'NODIRE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OSOCI9','DR',8,'DATA SCADENZA DIRITTO REIMPIANTO',2,'SCDIRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSOCI9','DR',9,'REDEFINES DATA DIRITTO REIMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCI9','DR',10,'ANNO SCADENZA DIRITTO REIMPIANTO',3,'AADIRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OSOCI9','DR',11,'MESE SCADENZA DIRITTO REIMPIANTO',3,'MMDIRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OSOCI9','DR',12,'GIORNO SCADENZA DIRITTO REIMPIANTO',3,'GGDIRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OSOCI9','DR',13,'PROVINCIA DIRITTO REIMPIANTO',2,'PRDIRE',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OSOCI9','DR',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,'' )
,('OSOCIO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','01',15,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSOCIO','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,'' )
,('OSTAVD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','01',7,'SOGGETTO',2,'SOGGET',3,1,3,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVD','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OSTAVD','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,'' )
,('OSTAVD','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,'' )
,('OSTAVE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTAVE','01',2,'ANNO MESE',2,'PERIOD',1,3,2,2,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSTAVE','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,'' )
,('OSTAVE','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,'' )
,('OSTAVE','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,'' )
,('OSTAVE','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,'' )
,('OSTAVE','01',7,'TIPO SOGGETTO',2,'FLGCNS',3,1,3,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OSTAVE','01',11,'CODICE SOGGETTO',2,'CODCNS',4,2,4,4,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSTAVE','01',12,'CODICE PRODOTTO',2,'CODPRO',5,0,5,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTAVE','01',13,'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,'' )
,('OSTAVE','01',14,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OSTAVE','01',15,'CODICE MAGAZZINO',2,'CODMAG',6,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OSTAVE','01',16,'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,'' )
,('OSTAVE','01',17,'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,'' )
,('OSTAVE','01',18,'IMPORTO',2,'IMPORT',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,'' )
,('OSTFA2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','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,'' )
,('OSTFA2','00',3,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSTFA2','00',4,'DATA FATTURA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSTFA2','00',5,'NUMERO FATTURA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OSTFA2','00',6,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSTFA2','00',7,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OSTFA2','00',11,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','00',12,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OSTFA2','00',13,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OSTFA2','00',14,'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,'' )
,('OSTFA2','00',15,'FILLER',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('OSTFA2','II',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','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,'' )
,('OSTFA2','II',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,'' )
,('OSTFA2','II',4,'DATA FATTURA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSTFA2','II',5,'NUMERO FATTURA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OSTFA2','II',6,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSTFA2','II',7,'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,'' )
,('OSTFA2','II',8,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','II',9,'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,'' )
,('OSTFA2','II',10,'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,'' )
,('OSTFA2','II',11,'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,'' )
,('OSTFA2','II',12,'DATI RIGA',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','II',13,'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,'' )
,('OSTFA2','II',14,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OSTFA2','II',15,'PROVVIGIONE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OSTFA2','II',16,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('OSTFA2','MM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','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,'' )
,('OSTFA2','MM',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,'' )
,('OSTFA2','MM',4,'DATA FATTURA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSTFA2','MM',5,'NUMERO FATTURA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OSTFA2','MM',6,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSTFA2','MM',7,'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,'' )
,('OSTFA2','MM',8,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','MM',9,'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,'' )
,('OSTFA2','MM',10,'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,'' )
,('OSTFA2','MM',11,'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,'' )
,('OSTFA2','MM',12,'DATI RIGA',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','MM',13,'QUANTITA'' VENDUTA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OSTFA2','MM',14,'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,'' )
,('OSTFA2','MM',15,'PREZZO',3,'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,'' )
,('OSTFA2','MM',16,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','MM',17,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OSTFA2','MM',18,'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,'' )
,('OSTFA2','MM',19,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OSTFA2','MM',20,'PROVVIGIONE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OSTFA2','MM',21,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OSTFA2','VV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','VV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','VV',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,'' )
,('OSTFA2','VV',4,'DATA FATTURA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSTFA2','VV',5,'NUMERO FATTURA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OSTFA2','VV',6,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSTFA2','VV',7,'TIPO RIGA (V)',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OSTFA2','VV',8,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','VV',9,'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,'' )
,('OSTFA2','VV',10,'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,'' )
,('OSTFA2','VV',11,'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,'' )
,('OSTFA2','VV',12,'DATI RIGA',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFA2','VV',13,'QUANTITA'' CONSEGNATA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('OSTFA2','VV',14,'QUANTITA'' RESA',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('OSTFA2','VV',15,'CAUZIONE UNITARIA',3,'CAUUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OSTFA2','VV',16,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('OSTFAZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFAZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFAZ','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,'' )
,('OSTFAZ','01',4,'DATA FATTURA',3,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OSTFAZ','01',5,'NUMERO FATTURA',3,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OSTFAZ','01',6,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSTFAZ','01',7,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OSTFAZ','01',11,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFAZ','01',12,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OSTFAZ','01',13,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OSTFAZ','01',14,'DATI RIGA',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFAZ','01',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,'' )
,('OSTFAZ','01',16,'QUANTITA'' VENDUTA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('OSTFAZ','01',17,'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,'' )
,('OSTFAZ','01',18,'PREZZO',3,'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,'' )
,('OSTFAZ','01',19,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSTFAZ','01',20,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('OSTFAZ','01',21,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OSTFAZ','01',22,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OSTFAZ','01',23,'PROVVIGIONE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OSTFAZ','01',24,'QUANTITA'' CONSEGNATA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('OSTFAZ','01',25,'QUANTITA'' RESA',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('OSTFAZ','01',26,'CAUZIONE UNITARIA',3,'CAUUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('OSTFAZ','01',27,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('OSUPPA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSUPPA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSUPPA','01',3,'CODICE COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSUPPA','01',4,'SEZIONE CENSUARIA',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OSUPPA','01',5,'FOGLIO (ALLINEAMENTO DX)',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OSUPPA','01',6,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OSUPPA','01',7,'SUB',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('OSUPPA','01',8,'SUPERFICE CATASTALE',2,'SUPCAT',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,'' )
,('OSVUO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSVUO1','01',2,'CHIAVE REGISTRO+DATA+NUMERO',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OSVUO1','01',3,'TIPO SOGGETTO',3,'FLGCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OSVUO1','01',8,'CODICE SOCGGETTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OSVUO1','01',9,'CODICE VUOTO',3,'CODVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OSVUO1','01',10,'SALDO QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('OSVUO1','01',11,'SALDO QUANTITA'' RESA',2,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('OSVUO1','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OTABAZ','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','00',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','00',3,'TIPO RECORD',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','00',4,'CODICE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('OTABAZ','00',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,'' )
,('OTABAZ','00',6,'CONTENUTO RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',0,'',0,0,'' )
,('OTABAZ','A1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A1',3,'TIPO RECORD = "A1"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','A1',4,'CODICE AGENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','A1',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,'' )
,('OTABAZ','A1',6,'DESCRIZIONE ZONA COPERTA',2,'DESZON',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OTABAZ','A1',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,'' )
,('OTABAZ','A1',8,'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,'' )
,('OTABAZ','A1',9,'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,'' )
,('OTABAZ','A1',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A1',11,'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,'' )
,('OTABAZ','A1',12,'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,'' )
,('OTABAZ','A1',13,'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,'' )
,('OTABAZ','A1',14,'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,'' )
,('OTABAZ','A1',15,'CODICE ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('OTABAZ','A1',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,'' )
,('OTABAZ','A1',17,'GESTITE 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,'' )
,('OTABAZ','A1',18,'CODICE FORNITORE (SOAVE)',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','A1',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,'' )
,('OTABAZ','A1',20,'GESTIONE ENASARCO /N',2,'GESENA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','A1',21,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','A1',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('OTABAZ','A2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A2',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A2',3,'TIPO RECORD = "A2"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','A2',4,'CODICE AGENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','A2',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,'' )
,('OTABAZ','A2',6,'SPAZIO RISERVATO PER SECONDA CHIAVE',2,'FILLER',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OTABAZ','A2',7,'TIPO AGENTE',2,'TIPAGE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','A2',11,'NUMERO SOCI (PER SOCIETA'' DI PERSONE)',2,'NUMSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','A2',12,'DATA INIZIO RAPPORTO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OTABAZ','A2',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A2',14,'ANNO INIZIO RAPPORTO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','A2',15,'MESE INIZIO RAPPORTO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','A2',16,'GIORNO INIZIO RAPPORTO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','A2',17,'DATA FINE RAPPORTO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OTABAZ','A2',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A2',19,'ANNO FINE RAPPORTO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','A2',20,'MESE FINE RAPPORTO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','A2',21,'GIORNO FINE RAPPORTO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','A2',22,'TIPO FINE RAPPORTO',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','A2',26,'NUMERO DICHIARAZIONE D''INTENTO',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','A2',27,'DATA DICHIARAZIONE D''INTENTO',2,'DATINT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OTABAZ','A2',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A2',29,'ANNO DICHIARAZIONE D''INTENTO',3,'AAAINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','A2',30,'MESE DICHIARAZIONE D''INTENTO',3,'MMMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','A2',31,'GIORNO DICHIARAZIONE D''INTENTO',3,'GGGINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','A2',32,'DATA SCADENZA DICHIARAZIONE D''INTENTI',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OTABAZ','A2',33,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A2',34,'ANNO SCADENZA DICHIARAZIONE D''INTENTI',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','A2',35,'MESE SCADENZA DICHIARAZIONE D''INTENTI',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','A2',36,'GIORNO SCADENZA DICHIARAZIONE D''INTENTI',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','A2',37,'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,'' )
,('OTABAZ','A2',38,'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,'' )
,('OTABAZ','A2',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'X(2)','',0,'',0,0,'' )
,('OTABAZ','A3',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A3',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','A3',3,'TIPO RECORD = "A3"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','A3',4,'CODICE AGENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','A3',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,'' )
,('OTABAZ','A3',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,'' )
,('OTABAZ','A3',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,'' )
,('OTABAZ','A3',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,'' )
,('OTABAZ','A3',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,'' )
,('OTABAZ','A3',10,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','A3',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('OTABAZ','AC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AC',3,'TIPO RECORD = "AC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','AC',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','AC',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','AC',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OTABAZ','AC',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,'' )
,('OTABAZ','AC',8,'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,'' )
,('OTABAZ','AC',9,'PERCENTUALE AMMORTAMENTO ORDINARIO',2,'PERCAO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('OTABAZ','AC',10,'PREVALE SU VALORE DI ANAGRAFICA CESPITE',2,'FLAGAO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','AC',11,'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,'' )
,('OTABAZ','AC',12,'PREVALE SU VALORE DI ANAGRAFICA CESPITE',2,'FLAGAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','AC',13,'CONTO IMMOBILIZZO',2,'GCSIMM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AC',14,'GRUPPO',3,'GRUIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AC',15,'CONTO',3,'CONIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AC',16,'SOTTOCONTO',3,'SOTIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','AC',17,'CONTO QUOTE AMMORTAMENTO',2,'GCSQUA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AC',18,'GRUPPO',3,'GRUQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AC',19,'CONTO',3,'CONQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AC',20,'SOTTOCONTO',3,'SOTQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','AC',21,'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,'' )
,('OTABAZ','AC',22,'GRUPPO',3,'GRUFAO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AC',23,'CONTO',3,'CONFAO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AC',24,'SOTTOCONTO',3,'SOTFAO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','AC',25,'CONTO AMMORTAMENTO ANTICIPATO',2,'GCSFAA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AC',26,'GRUPPO',3,'GRUFAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AC',27,'CONTO',3,'CONFAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AC',28,'SOTTOCONTO',3,'SOTFAA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','AC',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('OTABAZ','AE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AE',2,'TIPO RECORD = "AE"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','AE',3,'CODICE ASPETTO ESTERIORE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','AE',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','AE',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,'' )
,('OTABAZ','AE',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AE',7,'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,'' )
,('OTABAZ','AE',8,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OTABAZ','AE',9,'SIGLA',2,'SIGASP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','AE',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,111,111,0,0,'X(111)','',0,'',0,0,'' )
,('OTABAZ','AG',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AG',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',4,'CODICE AGENTE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',11,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',13,'CODICE CATEGORIA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',17,'CODICE AGENTE CAPO AREA',2,'AGCAPO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AG',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,'' )
,('OTABAZ','AI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',10,'CODICE CONTO IVA VENDITE',2,'IVAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('OTABAZ','AI',11,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AI',12,'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,'' )
,('OTABAZ','AI',13,'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,'' )
,('OTABAZ','AI',14,'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,'' )
,('OTABAZ','AI',15,'CONTO IVA ACQUISTI',2,'IVAACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('OTABAZ','AI',16,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AI',17,'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,'' )
,('OTABAZ','AI',18,'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,'' )
,('OTABAZ','AI',19,'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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',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,'',0,0,'' )
,('OTABAZ','AI',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,'' )
,('OTABAZ','AI',27,'CONTO IVA ACQUISTI INDEDUCIBILE',2,'ACQIND',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('OTABAZ','AI',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AI',29,'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,'' )
,('OTABAZ','AI',30,'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,'' )
,('OTABAZ','AI',31,'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,'' )
,('OTABAZ','AI',32,'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,'' )
,('OTABAZ','AI',33,'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,'' )
,('OTABAZ','AI',34,'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,'' )
,('OTABAZ','AI',35,'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,'' )
,('OTABAZ','AI',36,'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,'' )
,('OTABAZ','AI',37,'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,'' )
,('OTABAZ','AI',38,'PERCENTUALE COMPENSATIVA',2,'PERCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OTABAZ','AI',39,'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,'' )
,('OTABAZ','AI',40,'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,'' )
,('OTABAZ','AI',41,'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,'' )
,('OTABAZ','AI',42,'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,'' )
,('OTABAZ','AI',43,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('OTABAZ','AM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AM',3,'TIPO RECORD = "AM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','AM',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,'' )
,('OTABAZ','AM',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OTABAZ','AM',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,'' )
,('OTABAZ','AM',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,'' )
,('OTABAZ','AM',8,'AGGIORNAMENTO VALORE STORICO (+/-/ )',2,'FLGSTO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','AM',9,'AGGIORNAMENTO AMM. ORDINARIO (+/-/ )',2,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','AM',10,'AGGIORNAMENTO AMM. ANTICIPATO (+/-/ )',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','AM',11,'AGGIORNAMENTO VALORE RESIDUO (+/-/ )',2,'FLGRES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','AM',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('OTABAZ','AN',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AN',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AN',3,'TIPO RECORD = "AN"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','AN',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','AN',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','AN',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OTABAZ','AN',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,'' )
,('OTABAZ','AN',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('OTABAZ','AP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AP',2,'TIPO RECORD = "AP"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','AP',3,'CODICE DESCR. AGGIUNTIVA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','AP',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','AP',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,'' )
,('OTABAZ','AP',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,'' )
,('OTABAZ','AP',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('OTABAZ','AR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AR',3,'TIPO RECORD = "AR"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','AR',4,'CODICE ANNATA RACCOLTA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OTABAZ','AR',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,'' )
,('OTABAZ','AR',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,'' )
,('OTABAZ','AR',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,'' )
,('OTABAZ','AR',8,'ANNO RACCOLTA',2,'ANNRAC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AR',9,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OTABAZ','AR',10,'PASSWORD',2,'PASSWD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OTABAZ','AR',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('OTABAZ','AU',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AU',2,'TIPO RECORD = "AU"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','AU',3,'CODICE AUTOMEZZO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','AU',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','AU',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,'' )
,('OTABAZ','AU',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,'' )
,('OTABAZ','AU',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('OTABAZ','AV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','AV',3,'TIPO RECORD = "AV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','AV',4,'CODICE ANNATA VENDEMMIA',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('OTABAZ','AV',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,'' )
,('OTABAZ','AV',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,'' )
,('OTABAZ','AV',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,'' )
,('OTABAZ','AV',8,'ANNO VENDEMMIA',2,'ANNVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','AV',9,'ANNOTAZIONI',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('OTABAZ','AV',10,'PASSWORD',2,'PASSWD',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('OTABAZ','AV',11,'CODICE SERVER',2,'CODSRV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','AV',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','BA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BA',3,'TIPO RECORD = "BA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','BA',4,'CODICE REGISTRO ACCISE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OTABAZ','BA',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,'' )
,('OTABAZ','BA',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,'' )
,('OTABAZ','BA',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,'' )
,('OTABAZ','BA',8,'TITOLO BOLLATO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('OTABAZ','BA',9,'PERCENTUALE GARANZIA',2,'PERGAR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('OTABAZ','BA',10,'DATA INIZIO GESTIONE REGISTRO',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OTABAZ','BA',11,'GARANZIA INIZIALE PRESTATA',2,'IMPGAR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('OTABAZ','BA',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('OTABAZ','BC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BC',3,'TIPO RECORD = "BC"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','BC',4,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OTABAZ','BC',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,'' )
,('OTABAZ','BC',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,'' )
,('OTABAZ','BC',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,'' )
,('OTABAZ','BC',8,'TITOLO BOLLATO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('OTABAZ','BC',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OTABAZ','BI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BI',3,'TIPO RECORD = "BI"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','BI',4,'CODICE REGISTRO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OTABAZ','BI',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,'' )
,('OTABAZ','BI',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,'' )
,('OTABAZ','BI',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,'' )
,('OTABAZ','BI',8,'TITOLO BOLLATO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('OTABAZ','BI',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OTABAZ','BO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BO',3,'TIPO RECORD = "BO"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','BO',4,'CODICE BLOCCO ORDINI',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','BO',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,'' )
,('OTABAZ','BO',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,'' )
,('OTABAZ','BO',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,'' )
,('OTABAZ','BO',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,'' )
,('OTABAZ','BS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BS',2,'TIPO RECORD = "BS"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','BS',3,'CODICE BINS',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','BS',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','BS',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,'' )
,('OTABAZ','BS',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,'' )
,('OTABAZ','BS',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('OTABAZ','BT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BT',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BT',3,'TIPO RECORD = "BT"',3,'TIPREC',0,1,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
('OTABAZ','BT',4,'CODICE REGISTRO COMMERCIALIZZAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('OTABAZ','BT',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,'' )
,('OTABAZ','BT',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,'' )
,('OTABAZ','BT',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,'' )
,('OTABAZ','BT',8,'TITOLO BOLLATO',2,'TITBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('OTABAZ','BT',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('OTABAZ','BU',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BU',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','BU',3,'TIPO RECORD = "BU"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','BU',4,'CODICE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','BU',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,'' )
,('OTABAZ','BU',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,'' )
,('OTABAZ','BU',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,'' )
,('OTABAZ','BU',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,'' )
,('OTABAZ','C1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','C1',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','C1',3,'TIPO RECORD = "C1"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','C1',4,'CODICE CAPO AREA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','C1',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,'' )
,('OTABAZ','C1',6,'DESCRIZIONE ZONA COPERTA',2,'DESZON',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OTABAZ','C1',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,'' )
,('OTABAZ','C1',8,'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,'' )
,('OTABAZ','C1',9,'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,'' )
,('OTABAZ','C1',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','C1',11,'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,'' )
,('OTABAZ','C1',12,'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,'' )
,('OTABAZ','C1',13,'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,'' )
,('OTABAZ','C1',14,'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,'' )
,('OTABAZ','C1',15,'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,'' )
,('OTABAZ','C1',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('OTABAZ','C2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','C2',2,'CHIAVE PRINCIPALE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','C2',3,'TIPO RECORD = "C2"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','C2',4,'CODICE CAPO AREA',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','C2',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,'' )
,('OTABAZ','C2',6,'FILLER',2,'FILLER',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OTABAZ','C2',7,'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,'' )
,('OTABAZ','C2',8,'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,'' )
,('OTABAZ','C2',9,'TIPO CAPO AREA',2,'TIPCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','C2',13,'NUMERO SOCI (PER SOCIETA'' DI PERSONE)',2,'NUMSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','C2',14,'DATA INIZIO RAPPORTO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OTABAZ','C2',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','C2',16,'ANNO INIZIO RAPPORTO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','C2',17,'MESE INIZIO RAPPORTO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','C2',18,'GIORNO INIZIO RAPPORTO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','C2',19,'DATA FINE RAPPORTO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OTABAZ','C2',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','C2',21,'ANNO FINE RAPPORTO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','C2',22,'MESE FINE RAPPORTO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','C2',23,'GIORNO FINE RAPPORTO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','C2',24,'TIPO FINE RAPPORTO',2,'TIPFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','C2',28,'NUMERO DICHIARAZIONE D''INTENTO',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','C2',29,'DATA DICHIARAZIONE D''INTENTO',2,'DATINT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OTABAZ','C2',30,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','C2',31,'ANNO DICHIARAZIONE D''INTENTO',3,'AAAINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','C2',32,'MESE DICHIARAZIONE D''INTENTO',3,'MMMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','C2',33,'GIORNO DICHIARAZIONE D''INTENTO',3,'GGGINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','C2',34,'DATA SCADENZA DICHIARAZIONE D''INTENTI',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('OTABAZ','C2',35,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','C2',36,'ANNO SCADENZA DICHIARAZIONE D''INTENTI',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','C2',37,'MESE SCADENZA DICHIARAZIONE D''INTENTI',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','C2',38,'GIORNO SCADENZA DICHIARAZIONE D''INTENTI',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','C2',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CA',2,'TIPO RECORD = "CA"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CA',3,'CODICE CAPO AREA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','CA',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','CA',5,'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,'' )
,('OTABAZ','CA',6,'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,'' )
,('OTABAZ','CA',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,'' )
,('OTABAZ','CA',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,'' )
,('OTABAZ','CA',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,'' )
,('OTABAZ','CA',10,'PROVINCIA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CA',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,'' )
,('OTABAZ','CA',12,'CODICE CATEGORIA',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','CA',13,'PERCENTUALE PROVVIGIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('OTABAZ','CA',14,'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,'' )
,('OTABAZ','CA',15,'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,'' )
,('OTABAZ','CA',16,'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,'' )
,('OTABAZ','CA',17,'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,'' )
,('OTABAZ','CA',18,'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,'' )
,('OTABAZ','CA',19,'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,'' )
,('OTABAZ','CA',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','CB',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CB',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CB',3,'TIPO RECORD = "CB"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CB',4,'CODICE CONFEZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','CB',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,'' )
,('OTABAZ','CB',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,'' )
,('OTABAZ','CB',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,'' )
,('OTABAZ','CB',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,'' )
,('OTABAZ','CC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CC',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,'' )
,('OTABAZ','CC',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,'' )
,('OTABAZ','CC',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,'' )
,('OTABAZ','CC',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,'' )
,('OTABAZ','CC',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,'' )
,('OTABAZ','CC',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,'' )
,('OTABAZ','CC',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OTABAZ','CC',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,'' )
,('OTABAZ','CC',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,'' )
,('OTABAZ','CC',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,'' )
,('OTABAZ','CC',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,'' )
,('OTABAZ','CC',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('OTABAZ','CE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CE',2,'TIPO RECORD = "CE"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CE',3,'CODICE CENTRO DI LAVORO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','CE',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','CE',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,'' )
,('OTABAZ','CE',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,'' )
,('OTABAZ','CE',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('OTABAZ','CF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CF',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',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,'' )
,('OTABAZ','CF',32,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('OTABAZ','CI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CI',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,'' )
,('OTABAZ','CI',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,'' )
,('OTABAZ','CI',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,'' )
,('OTABAZ','CI',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,'' )
,('OTABAZ','CI',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,'' )
,('OTABAZ','CI',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,'' )
,('OTABAZ','CI',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,'' )
,('OTABAZ','CI',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,'' )
,('OTABAZ','CL',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CL',2,'TIPO RECORD = "CL"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CL',3,'CODICE CAUSALE LIBRO SOCI',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','CL',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','CL',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,'' )
,('OTABAZ','CL',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,'' )
,('OTABAZ','CL',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('OTABAZ','CM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CM',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,'' )
,('OTABAZ','CM',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('OTABAZ','CO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CO',3,'TIPO RECORD = "CO"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CO',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,'' )
,('OTABAZ','CO',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,'' )
,('OTABAZ','CO',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,'' )
,('OTABAZ','CO',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,'' )
,('OTABAZ','CO',8,'SALDO DA AGGIORNARE',2,'FLGSAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','CO',11,'TIPO AGGIORNAMENTO (+/-)',2,'FLGQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','CO',12,'IN IMM MOV COMM.MANTIENI DATI PRECEDENTI',2,'FLGDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','CO',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('OTABAZ','CP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CP',2,'TIPO RECORD = "CP"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CP',3,'CODICE CATEGORIA PROVVIGIONE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','CP',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','CP',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,'' )
,('OTABAZ','CP',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,'' )
,('OTABAZ','CP',7,'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,'' )
,('OTABAZ','CP',8,'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,'' )
,('OTABAZ','CP',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('OTABAZ','CS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CS',2,'TIPO RECORD = "CS"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CS',3,'CODICE CATEGORIA SCONTO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','CS',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','CS',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,'' )
,('OTABAZ','CS',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,'' )
,('OTABAZ','CS',7,'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,'' )
,('OTABAZ','CS',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('OTABAZ','CT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CT',2,'TIPO RECORD = "CT"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','CT',3,'CODICE CATEGORIA',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OTABAZ','CT',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','CT',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,'' )
,('OTABAZ','CT',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,'' )
,('OTABAZ','CT',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('OTABAZ','CZ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CZ',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',16,'GESTIONE VUOTI',2,'GESVUO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',2,'',0,0,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',20,'GESTIONE PRODUZIONE',2,'GESPRD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',23,'CONTRASSEGNI IVA',2,'CONIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',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,'' )
,('OTABAZ','CZ',26,'CAPACITA'' RECIPIENTE',2,'CAPREP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('OTABAZ','DC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DC',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,'' )
,('OTABAZ','DC',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,'' )
,('OTABAZ','DC',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,'' )
,('OTABAZ','DC',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,'' )
,('OTABAZ','DC',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,'' )
,('OTABAZ','DC',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,'' )
,('OTABAZ','DC',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,'' )
,('OTABAZ','DC',14,'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,'' )
,('OTABAZ','DC',15,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','DC',16,'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,'' )
,('OTABAZ','DC',17,'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,'' )
,('OTABAZ','DC',18,'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,'' )
,('OTABAZ','DC',19,'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,'' )
,('OTABAZ','DC',20,'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,'' )
,('OTABAZ','DC',21,'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,'' )
,('OTABAZ','DC',22,'RESO S/N PER CREAZIONE VUOTI AUTOMATICI',2,'FLRESO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','DC',23,'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,'' )
,('OTABAZ','DC',24,'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,'' )
,('OTABAZ','DC',25,'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,'' )
,('OTABAZ','DC',26,'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,'' )
,('OTABAZ','DC',27,'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,'' )
,('OTABAZ','DC',28,'STAMPANTE DI DEFAULT BOLLA',2,'STPBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','DC',29,'STAMPANTE DI DEFAULT DAA',2,'STPDAA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','DC',30,'NUMERO COPIE',2,'NUMCOP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','DC',31,'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,'' )
,('OTABAZ','DC',32,'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,'' )
,('OTABAZ','DC',33,'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,'' )
,('OTABAZ','DC',35,'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,'' )
,('OTABAZ','DC',36,'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,'' )
,('OTABAZ','DC',37,'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,'' )
,('OTABAZ','DC',38,'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,'' )
,('OTABAZ','DC',39,'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,'' )
,('OTABAZ','DD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',6,'CAUSALI MAGAZZINO',2,'CMAGAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',9,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DD',10,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',20,'CAUSALI COMMERCIALIZZAZIONE',2,'CCOMME',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',32,'CAUSALI IMBOTTIGLIAMENTO',2,'CIMBOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',41,'STAMPANTE DICHIARAZIONE PULIZIA CISTERNE',2,'STPPUL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',43,'STAMPANTE DI DEFAULT MODULO CMR',2,'STPCMR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','DD',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,'' )
,('OTABAZ','DD',45,'SCARTONAMENTO IN MAG.ARRIVO S/N',2,'FLGSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','DD',46,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OTABAZ','DE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DE',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DE',3,'TIPO RECORD = "DE"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','DE',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,'' )
,('OTABAZ','DE',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,'' )
,('OTABAZ','DE',6,'CAUSALI ERGA OMNES MAGAZZINO PARTENZA',2,'CERGAO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DE',7,'CAUSALE ERGA OMNES SFUSO ATTO',3,'SFUATT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DE',8,'CAUSALE ERGA OMNES SFUSO CERT.',3,'SFUCER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DE',9,'CAUSALE ERGA OMNES CONF. ATTO',3,'CONATT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DE',10,'CAUSALI ERGA OMNES MAGAZZINO ARRIVO',2,'CERGAA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DE',11,'CAUSALE ERGA OMNES SFUSO ATTO MAG.ARRIVO',3,'ASFUAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DE',12,'CAUSALE ERGA OMNES SFUSO CERT.MAG.ARRIVO',3,'ASFUCE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DE',13,'CAUSALE ERGA OMNES CONF. ATTO MAG.ARRIVO',3,'ACONAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DE',14,'QUARTA RIGA DI DESTINAZIONE',2,'RIGDES',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('OTABAZ','DE',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,66,66,0,0,'X(66)','',0,'',0,0,'' )
,('OTABAZ','DF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DF',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DF',3,'TIPO RECORD = "DF"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','DF',4,'CAUSALE ACQUISTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('OTABAZ','DF',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,'' )
,('OTABAZ','DF',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,'' )
,('OTABAZ','DF',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,'' )
,('OTABAZ','DF',8,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','DF',9,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','DF',10,'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,'' )
,('OTABAZ','DF',11,'CAUSALI MAGAZZINO',2,'CMAGAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DF',12,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DF',13,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DF',14,'CAUSALE MAGAZZINO MERCE',3,'CMAACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DF',15,'CAUSALI COMMERCIALIZZAZIONE',2,'CCOMME',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DF',16,'CAUSALE COMMERCIALIZZAZIONE',3,'CCOACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DF',17,'CAUSALI TAPPI FISCALI',2,'CTAPPF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DF',18,'CAUSALE CONTRASSEGNI IVA ACQUISTO',3,'CTPACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DF',19,'CAUSALE CONTRASSEGNI IVA IMBOTTIGLIATO',3,'CTPIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DF',20,'PREZZO OBBLIGATORIO S/N',2,'PRZOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','DF',21,'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,'' )
,('OTABAZ','DF',22,'CAUSALI ERGA OMNES',2,'CERGAO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DF',23,'CAUSALE ERGA OMNES CARICO SFUSO ATTO',3,'SFUATT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DF',24,'CAUSALE ERGA OMNES CARICO SFUSO CERT.',3,'SFUCER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DF',25,'CAUSALE ERGA OMNES CARICO CONF. ATTO',3,'CONATT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','DF',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('OTABAZ','DI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DI',2,'TIPO RECORD = "DI"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','DI',3,'CODICE DIPENDENTE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','DI',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('OTABAZ','DI',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,'' )
,('OTABAZ','DI',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,'' )
,('OTABAZ','DI',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('OTABAZ','DP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','DP',2,'TIPO RECORD = "DP"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','DP',3,'CODICE DIPENDENTE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('OTABAZ','DP',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OTABAZ','DP',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,'' )
,('OTABAZ','DP',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,'' )
,('OTABAZ','DP',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('OTABAZ','FM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','FM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','FM',3,'TIPO RECORD = "FM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','FM',4,'CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('OTABAZ','FM',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,'' )
,('OTABAZ','FM',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,'' )
,('OTABAZ','FM',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,'' )
,('OTABAZ','FM',8,'FLAG TEMPO FERMO OBBLIGATORIO (S/N)',2,'TEMOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','FM',9,'FLAG MOTIVAZIONE OBBLIGATORIA (S/N)',2,'MOTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','FM',10,'ESCLUSO DA CONTROLLO CAMPIONI VOLUME (S)',2,'ESCVOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','FM',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,97,97,0,0,'X(97)','',0,'',0,0,'' )
,('OTABAZ','FP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','FP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','FP',3,'TIPO RECORD = "FP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','FP',4,'CODICE MATERIA PRIMA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','FP',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,'' )
,('OTABAZ','FP',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,'' )
,('OTABAZ','FP',7,'LIMITE ARTICOLO INIZIALE',2,'ARTINI',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OTABAZ','FP',8,'LIMITE ARTICOLO FINALE',2,'ARTFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OTABAZ','FP',9,'LOTTO IMPUTAB(I), OBBLIG.(O) NON GEST(N)',2,'FLGLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','FP',10,'FORN IMPUTAB(I) OBBLIG(O) NON GESTITO(N)',2,'FLGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','FP',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('OTABAZ','GP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','GP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','GP',3,'TIPO RECORD = "GP"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','GP',4,'CODICE NAZIONE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','GP',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,'' )
,('OTABAZ','GP',6,'GIORNI PREPARAZIONE ORDINE',2,'GGGPRE',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','GP',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,143,143,0,0,'X(143)','',0,'',0,0,'' )
,('OTABAZ','GR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','GR',2,'TIPO RECORD = "GR"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','GR',3,'CODICE GRUPPO RICAVO',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','GR',4,'CODICE MAGAZZINO',2,'CODMAG',3,4,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('OTABAZ','GR',5,'ZERI',2,'ZEROES',4,5,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('OTABAZ','GR',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('OTABAZ','GR',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,'' )
,('OTABAZ','GR',8,'RICAVI ITALIA',2,'CODITA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','GR',9,'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,'' )
,('OTABAZ','GR',10,'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,'' )
,('OTABAZ','GR',11,'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,'' )
,('OTABAZ','GR',12,'RICAVI ESTERO',2,'CODEST',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','GR',13,'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,'' )
,('OTABAZ','GR',14,'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,'' )
,('OTABAZ','GR',15,'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,'' )
,('OTABAZ','GR',16,'RICAVI CEE',2,'CODCEE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','GR',17,'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,'' )
,('OTABAZ','GR',18,'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,'' )
,('OTABAZ','GR',19,'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,'' )
,('OTABAZ','GR',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('OTABAZ','GV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','GV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','GV',3,'TIPO RECORD = "GV"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','GV',4,'CODICE GRUPPO VALUTAZIONE RIMANENZE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('OTABAZ','GV',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,'' )
,('OTABAZ','GV',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,'' )
,('OTABAZ','GV',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,'' )
,('OTABAZ','GV',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,'' )
,('OTABAZ','IM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','IM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','IM',3,'TIPO RECORD = "IM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','IM',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,'' )
,('OTABAZ','IM',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,'' )
,('OTABAZ','IM',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,'' )
,('OTABAZ','IM',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,'' )
,('OTABAZ','IM',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,'' )
,('OTABAZ','IR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','IR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','IR',3,'TIPO RECORD = "IR"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','IR',4,'CODICE TIPO INVESTIMENTO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('OTABAZ','IR',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,'' )
,('OTABAZ','IR',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,'' )
,('OTABAZ','IR',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,'' )
,('OTABAZ','IR',8,'TIPO DOCUMENTO',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','IR',11,'CODICE ARTICOLO DOCUMENTO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('OTABAZ','IR',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,84,84,0,0,'X(84)','',0,'',0,0,'' )
,('OTABAZ','K1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','K1',2,'TIPO RECORD = "K1"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','K1',3,'CODICE CAUSALE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OTABAZ','K1',5,'FILLER',2,'FILLER',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OTABAZ','K1',6,'TIPO CORRISPETTIVO',2,'TIPCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','K1',11,'GRUPPO CASSA CORRISPETTIVI',2,'GRUCCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',12,'CONTO CASSA CORRISPETTIVI',2,'CONCCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',13,'SOTTOCONTO CASSA CORRISPETTIVI',2,'SOTCCA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K1',14,'GRUPPO CLIENTI CORRISPETTIVI',2,'GRUCCL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',15,'CONTO CLIENTI CORRISPETTIVI',2,'CONCCL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',16,'SOTTOCONTO CLIENTI CORRISPETTIVI',2,'SOTCCL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K1',17,'GRUPPO SOCIO CORRISPETTIVI',2,'GRUCSO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',18,'CONTO SOCIO CORRISPETTIVI',2,'CONCSO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',19,'ANNO PARTITA (S0CIO)',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',20,'DARE/AVERE CASSA/CLIENTE SOCIO',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','K1',21,'GRUPPO BANCOMAT/POS',2,'GRUPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',22,'CONTO BANCOMAT/POS',2,'CONPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',23,'SOTTOCONTO BANCOMAT/POS',2,'SOTPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K1',24,'GRUPPO SCONTO',2,'GRUSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',25,'CONTO SCONTO',2,'CONSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',26,'SOTTOCONTO SCONTO',2,'SOTSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K1',27,'ALTRO GRUPPO 1',2,'GRU001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',28,'ALTRO CONTO 1',2,'CON001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',29,'ALTRO SOTTOCONTO 1',2,'SOT001',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K1',30,'ALTRO GRUPPO 2',2,'GRU002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',31,'ALTRO CONTO 2',2,'CON002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',32,'ALTRO SOTTOCONTO 2',2,'SOT002',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K1',33,'GRUPPO CONTROPARTITA',2,'GRUCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',34,'CONTO CONTROPARTITA',2,'CONCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K1',35,'SOTTOCONTO CONTROPARTITA',2,'SOTCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K1',36,'MOVIMENTO DI SOLA IVA S/N',2,'SOLIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','K1',37,'AMMESSO DOCUMENTO A ZERO S/N',2,'DOC000',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','K1',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('OTABAZ','K2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','K2',2,'TIPO RECORD = "K2"',2,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('OTABAZ','K2',3,'CODICE CAUSALE',2,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K2',4,'ZERI',2,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('OTABAZ','K2',5,'FILLER',2,'FILLER',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OTABAZ','K2',6,'GRUPPO CAUZIONI',2,'GRUCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K2',7,'CONTO CAUZIONI',2,'CONCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K2',8,'SOTTOCONTO CAUZIONI',2,'SOTCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K2',9,'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,'' )
,('OTABAZ','K2',10,'DESCRIZIONE AGG. PRIMA CONTROPARTITA',2,'DESAG1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('OTABAZ','K2',11,'GRUPPO CONTROPARTITA',2,'GRUCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K2',12,'CONTO CONTROPARTITA',2,'CONCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K2',13,'SOTTOCONTO CONTROPARTITA',2,'SOTCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K2',14,'GRUPPO CONTROPARTITA',2,'GRUCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K2',15,'CONTO CONTROPARTITA',2,'CONCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K2',16,'SOTTOCONTO CONTROPARTITA',2,'SOTCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K2',17,'GRUPPO CONTROPARTITA',2,'GRUCO4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K2',18,'CONTO CONTROPARTITA',2,'CONCO4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('OTABAZ','K2',19,'SOTTOCONTO CONTROPARTITA',2,'SOTCO4',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('OTABAZ','K2',20,'IMPORTO MASSIMO ABBUONO',2,'MAXABX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','K2',21,'IMPORTO MASSIMO ABBUONO',3,'MAXABB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,2,'9(6) COMP-3','9999V99 COMP-3',0,'',0,0,'' )
,('OTABAZ','K2',22,'CONTO ABBUONO ATTIVO',2,'COABAX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('OTABAZ','K2',23,'GRUPPO ABBONO ATTIVO',3,'GGGABA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('OTABAZ','K2',24,'CONTO ABBONO ATTIVO',3,'CCCABA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('OTABAZ','K2',25,'SOTTOCONTO ABBONO ATTIVO',3,'SSSABA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('OTABAZ','K2',26,'CONTO ABBUONO PASSIVO',2,'COABPX',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
