INSERT INTO dbo.ZFILE3_01 VALUES
('BNUOI2','01',12,'RESA STOCCAGGIO (SE NON IN PROPORZIONE)',2,'RESSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BNUOI2','01',13,'FLAG PRODUZIONE AMARONE SPAZIO/N',2,'FLGAMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BNUOI2','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('BNUOIM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BNUOIM','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,'' )
,('BNUOIM','01',3,'FINO AD ANNI',2,'ANNLIM',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BNUOIM','01',4,'FINO A VITI',2,'VITLIM',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BNUOIM','01',5,'PERCENTUALE PRODUZIONE',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BNUOIM','01',6,'PERCENTUALE TOLLERANZA DOC',2,'PERTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BNUOIM','01',7,'SCELTA VENDEMMIALE IGT (S/ )',2,'SCVIGT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BNUOIM','01',9,'RESA STOCCAGGIO (SE NON PROPORZIONALE)',2,'RESSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BNUOIM','01',10,'FLAG PRODUZIONE AMARONE SPAZIO/N',2,'FLGAMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BNUOIM','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('BORDI1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDI1','01',2,'CHIAVE CLIFOR+DATA+NUMERO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDI1','01',3,'DATA ORDINE',3,'DTAORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BORDI1','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,'' )
,('BORDI1','01',5,'ANNO',4,'AA-ORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BORDI1','01',6,'MESE',4,'MM-ORD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BORDI1','01',7,'GIORNO',4,'GG-ORD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BORDI1','01',8,'CHIAVE CLIFOR+NUMERO',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDI1','01',9,'CODICE CLIENTE',4,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('BORDI1','01',10,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDI1','01',11,'NUMERO INTERNO ORDINE',5,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BORDI1','01',12,'CAUSALE ORDINE',2,'CAUORD',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'ATBAOC',1,1,'' )
,('BORDI1','01',13,'DATA PREVISTA CONSEGNA',2,'DTAPRC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BORDI1','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,'' )
,('BORDI1','01',15,'ANNO',3,'AA-PRC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BORDI1','01',16,'MESE',3,'MM-PRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BORDI1','01',17,'GIORNO',3,'GG-PRC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BORDI1','01',18,'DATA MASSIMA CONSEGNA',2,'DTAMAX',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BORDI1','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,'' )
,('BORDI1','01',20,'ANNO',3,'AA-MAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BORDI1','01',21,'MESE',3,'MM-MAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BORDI1','01',22,'GIORNO',3,'GG-MAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BORDI1','01',23,'CODICE MAGAZZINO PARTENZA',2,'CODMG1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMA',1,1,'' )
,('BORDI1','01',24,'CODICE MAGAZZINO ARRIVO',2,'CODMG2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMA',1,1,'' )
,('BORDI1','01',25,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('BORDI1','01',26,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBAAG',1,1,'' )
,('BORDI1','01',27,'CODICE CAPO AREA',2,'CODACA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBACA',1,1,'' )
,('BORDI1','01',28,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('BORDI1','01',29,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDI1','01',30,'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,'' )
,('BORDI1','01',31,'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,'' )
,('BORDI1','01',32,'MEZZO DI TRASPORTO',2,'CODMEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'ATBAMZ',1,1,'' )
,('BORDI1','01',33,'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,'' )
,('BORDI1','01',34,'PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BORDI1','01',35,'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,'' )
,('BORDI1','01',36,'CODICE VALUTA ESTERA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'ATBAVA',1,1,'' )
,('BORDI1','01',37,'CAMBIO DEL GIORNO (*CAMBIO)',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,3,0,'9(6)V999 COMP-3','',0,'',0,0,'' )
,('BORDI1','01',38,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BORDI1','01',39,'FLAG LISTINO (VEDERE ZTABEC)',2,'FLGLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDI1','01',40,'FLAG SCONTO QUANTITA (S/N)',2,'FLGSCQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDI1','01',41,'FLAG STAMPA DAA (S/N)',2,'FLGDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDI1','01',42,'DESTINATARIO',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BORDI1','01',43,'CODICE CLIENTE TRIANGOLARE',2,'CODCTR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BORDI1','01',44,'CODICE LUOGO CONSEGNA',2,'CODLUC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BORDI1','01',45,'PROVVIGIONE AGENTE',2,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BORDI1','01',46,'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,'' )
,('BORDI1','01',47,'SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BORDI1','01',48,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDI1','01',49,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('BORDI1','01',50,'SCONTO LITRO',2,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('BORDI1','01',51,'NUMERO CONTRATTO COLLEGATO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BORDI1','01',52,'NUMERO MOVIMENTO MAGAZZINO GENERATO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BORDI1','01',53,'INVIATO ORDINE DI CARICO (S/ )',2,'FLGCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDI1','01',54,'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,'' )
,('BORDI1','01',55,'ZONA CONSEGNA MERCE',2,'ZONACO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BORDI1','01',56,'CONSEGNA DISAGIATA (S/ )',2,'FLGDIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDI1','01',57,'CONSEGNA P.ALTO/CANTINA (S/ )',2,'FLGCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDI1','01',58,'CONSEGNA INOLTRO (S/ )',2,'FLGINO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDI1','01',59,'COSTO TRASPORTO',2,'COSTRA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BORDI1','01',60,'CONSEGNA CON TELEFONATA (S/ )',2,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDI1','01',61,'CODICE SECONDO TRASPORTATORE',2,'CODTR2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BORDI1','01',62,'CAUSALE BOLLA',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BORDI1','01',63,'CODICE AUTISTA',2,'CODAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BORDI1','01',64,'AMMESSA EVASIONE MAGGIORE DI ORDINATO',2,'EVMAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDIU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDIU','01',3,'NUMERO INTERNO ORDINE',3,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BORDIU','01',4,'QUARTA RIGA DESTINATARIO',2,'RIGDES',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('BORDIU','01',5,'DATE CONSEGNA MERCE LIDL QUARGENTAN',2,'DATCON',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BORDIU','01',6,'RIFERIMENTO ORDINE CLIENTE',2,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BORDIU','01',7,'INVIATA CONFERMA TRAMITE EDI /S',2,'FLGEDI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIU','01',8,'DATA MINIMA CONSEGNA',2,'DTAMIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BORDIU','01',9,'CODICE BLOCCO ORDINE',2,'CODBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BORDIU','01',10,'ST.DETT.ETICHETTE IN SCHEDE VIAGGIO S/N',2,'DETETI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIU','01',11,'CODICE FUNZIONARIO (DA ATTRIBUTO AGENTE)',2,'CODFUN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BORDIU','01',12,'SPONDA IDRAULICA ( /S) SPESE TR.',2,'FLGSPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIU','01',13,'CODICE BANCA INTERNA AZIENDALE',2,'BANAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BORDIU','01',14,'ORA PRESUNTA CONSEGNA',2,'ORAPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BORDIU','01',15,'AUMENTO PER CONSEGNA GDO ( /S) SPESE TR.',2,'FLGGDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIU','01',16,'RIFERIMENTI ORDINE .RES (WEB VALDO)',2,'RIFRES',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDIU','01',19,'NUMERO ORDINE',3,'RESNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BORDIU','01',20,'UTENTE ORDINE',3,'RESUTE',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('BORDIU','01',21,'BARCODE DOCUMENTALE - ASSEGNATO DA AV2K',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('BORDIU','01',23,'DATA DI CARICO (QUARGENTAN)',2,'DTACAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BORDIU','01',24,'FLAG ORDINE IN SPEDIZIONE (S)',2,'FLSPED',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIU','01',25,'RIFERIMENTO - SECONDO CAMPO',2,'RIFOR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BORDIU','01',26,'NUEMRO SPEDIZIONE (NEGRAR)',2,'NRSPED',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
('BORDIU','01',27,'NUMERO PALETTE (NEGRAR)',2,'NRPALL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BORDIU','01',28,'CODICE SBLOCCO (NEGRAR)',2,'CODSBL',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BORDIU','01',29,'PALLET TOTALI ORDINE DI TIPO FULL',2,'PALLFF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BORDIU','01',30,'PALLET TOTALI ORDINE DI TIPO FULL LIGHT',2,'PALLFL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BORDIU','01',31,'PALLET TOTALI ORDINE DI TIPO HALF',2,'PALLHH',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BORDIU','01',32,'PALLET TOTALI ORDINE DI TIPO QUARTER',2,'PALLQQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BORDIU','01',33,'PALLET TOTALI ORDINE DI TIPO MINIQUARTER',2,'PALLMQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BORDIU','01',34,'BARCOCDE DOCUMENTALE - LETTO IN AV2K',2,'BARLET',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BORDIU','01',36,'TIPO DOCUMENTO CONTO LAVORO VALDO (058)',2,'TPDCVD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIU','01',37,'NR.ORDINE CONTO LAVORO VALDO (058)',2,'NRORVD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('BORDIU','01',38,'NR.RIGA ORDINE CONTO LAVORO VALDO (058)',2,'NRROVD',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('BORDIZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDIZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDIZ','01',3,'NUMERO INTERNO ORDINE',3,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'AORDI1',1,1,'' )
,('BORDIZ','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,'' )
,('BORDIZ','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,'' )
,('BORDIZ','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,'' )
,('BORDIZ','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,'' )
,('BORDIZ','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,'' )
,('BORDIZ','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,'' )
,('BORDIZ','01',14,'RECORD UGUALE A QUELLO DI LORDI4',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDIZ','01',15,'RIGA CONTRATTO',3,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BORDIZ','01',16,'TAB.MANIPOLAZIONI O COMBINAZIONE MANIP.',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BORDIZ','01',17,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDIZ','01',18,'MANIPOLAZIONI',4,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('BORDIZ','01',19,'GRADO IMPEGNATO',3,'GRAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,3,0,'99V999 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',20,'TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIZ','01',24,'PESO LORDO',3,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',25,'PESO NETTO',3,'PNETTO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,2,0,'9(6)V99 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',26,'ZONA VITICOLA',3,'ZONVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BORDIZ','01',27,'NUMERO INTERNO IDONEITA'' USATA',3,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',28,'IMPORTO ORDINATO',3,'IMPORD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',29,'IMPORTO EVASO',3,'IMPEVA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',30,'QUANTITA'' PER CALCOLO IMPORTO ORDINATO',3,'IMPQTA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('BORDIZ','01',31,'PREZZO PER CALCOLO IMPORTO ORDINATO',3,'PREORD',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('BORDIZ','01',32,'CAUSALE OMAGGI (ENTRO CANVASS (S/N))',3,'FLGCAN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BORDIZ','01',33,'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,'' )
,('BORDIZ','01',38,'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,'' )
,('BORDIZ','01',39,'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,'' )
,('BORDIZ','01',40,'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,'' )
,('BORDIZ','01',41,'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,'' )
,('BORDIZ','01',42,'QUANTITA'' RIGA',3,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',43,'QUANTITA'' RIGA EVASA',3,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',44,'QUANTITA VENDITA ----SOLO RIGHE XAB-----',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,'' )
,('BORDIZ','01',45,'QUANTITA VENDITA EVASA ---SOLO RIGHE XAB',3,'QTAVEE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',46,'QUANTITA OMAGGI  ---SOLO RIGHE XAB------',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,'' )
,('BORDIZ','01',47,'QUANTITA'' OMAGGI EVASA ---SOLO RIGHE XAB',3,'QTAOME',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',48,'EVASIONE FORZATA (S/ )',3,'FLGEVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIZ','01',49,'PROVENIENZA RIGA (A=AUTOMATICA)',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIZ','01',50,'GRADO',3,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,5,2,0,'99V99 COMP','',0,'',0,0,'' )
,('BORDIZ','01',51,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',65,'PREZZO UNITARIO CONFEZIONE MISTA',3,'PRZCFM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',73,'VALORE COMPONENTE CONFEZIONE MISTA',3,'PRZCMP',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',76,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDIZ','01',77,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('BORDIZ','01',78,'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,'' )
,('BORDIZ','01',79,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BORDIZ','01',80,'PROVVIGIONE AGENTE CAPO AREA',3,'PPRACA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BORDIZ','01',81,'NUMERO PALLETS',3,'PALLET',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',82,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BORDIZ','01',83,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BORDIZ','01',84,'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,'' )
,('BORDIZ','01',85,'GENERAZIONE VUOTI ( /N)',3,'FLGVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIZ','01',86,'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,'' )
,('BORDIZ','01',87,'QUANTITA'' CONSEGNATA FRANCO ARRIVO',3,'QTACFA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BORDIZ','01',88,'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,'' )
,('BORDIZ','01',89,'NR.RIGA ORDINE .RES(PROCEDURA WEB VALDO)',3,'RESRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('BORDIZ','01',90,'ESCLUSO DA CONTEGGIO SCONTO PAGAMENTO',3,'FLGSCP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BORDIZ','01',91,'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,'' )
,('BORDIZ','01',92,'PROVVIGIONE AGENTE A MEZZO',3,'PPPAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('BORDIZ','01',93,'PROVVIGIONE CAPO AREA A PEZZO',3,'PPPACA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('BORDIZ','01',94,'CAMPI MEMORIZZATI PER SAN MARCO 058',3,'SANMAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BORDIZ','01',95,'CODICE CICLO',4,'CODCIC',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('BORDIZ','01',96,'CODICE FASE',4,'CODFAS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('BORDIZ','01',97,'SECONDA ZONA VITICOLA (SOAVE)',3,'ZONVI2',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BORDIZ','01',98,'LOTTO FORZATO (SOAVE)',3,'LOTTOF',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BORDIZ','01',99,'filler',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,113,113,0,0,'X(113)','',0,'',0,0,'' )
,('BORDIZ','01',100,'ID PRODOTTO REG.VIT. ARTICOLI NO LOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('BORDIZ','01',103,'GRADO EFFETTIVO',3,'GRAEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BORDIZ','01',104,'GRADO CONCORDATO',3,'GRADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('BPEDR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPEDR1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPEDR1','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,'' )
,('BPEDR1','01',4,'CODICE ARTICOLO',3,'CODART',0,3,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BPEDR1','01',5,'ANNATA',3,'ANNATA',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BPEDR1','01',6,'PERIODO',3,'PERIOD',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPEDR1','01',7,'ANNO',4,'AAAAAA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BPEDR1','01',8,'MESE',4,'MMMMMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPEDR1','01',9,'SCORTA MINIMA',2,'SCORTA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('BPEDR1','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BPIPR0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR0','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR0','01',3,'CODICE AZIENDA',3,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BPIPR0','01',4,'TABELLA MAGAZZINI',2,'TABMAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR0','01',5,'MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('BPIPR0','01',6,'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,'' )
,('BPIPR0','01',7,'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,'' )
,('BPIPR0','01',8,'LIVELLO PRIORITA'' ORDINATO CLIENTI',2,'PRI-OC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR0','01',9,'LIVELLO PRIORITA'' ORDINATO CARICO',2,'PRI-OT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR0','01',10,'LIVELLO PRIORITA'' SCORTA MINIMA',2,'PRI-SM',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
('BPIPR0','01',11,'LIVELLO PRIORITA'' ORDINE PROD. CARICO',2,'PRI-PC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR0','01',12,'LIVELLO PRIORITA'' ORDINE PROD. SCARICO',2,'PRI-PS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR0','01',13,'LIVELLO PRIORITA'' ORDINE FORNITORE',2,'PRI-OF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR0','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,'' )
,('BPIPR0','01',15,'ELEMENTO SELEZIONE SUL CODICE ARTICOLO',2,'VALELE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('BPIPR0','01',16,'VALORE INIZIALE',3,'VALINI',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BPIPR0','01',17,'VALORE FINALE',3,'VALFIN',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BPIPR0','01',18,'ELEMENTO SELEZIONE SU ATTRIBUTO ARTICOLO',2,'ATTELE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('BPIPR0','01',19,'NUMERO ATTRIBUTO',3,'ATTART',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR0','01',20,'VALORE ATTRIBUTO INIZIALE',3,'ATTINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BPIPR0','01',21,'VALORE ATTRIBUTO FINALE',3,'ATTFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BPIPR0','01',22,'SELEZIONE ARTICOLI OBSOLETI',2,'SELOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BPIPR0','01',23,'CAUSALE IMPEGNATO MAG.CARICO PRODUZIONE',2,'CCMORP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',5,'',0,0,'' )
,('BPIPR0','01',24,'CAUSALE IMPEGNATO MAG.SCARICO PRODUZIONE',2,'CSMORP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',5,'',0,0,'' )
,('BPIPR0','01',25,'GIORNI MASSIMI ORDINI CONSEGNA SCADUTA',2,'GGOCSC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR0','01',26,'GIORNI ALARM PER ORDINI FORNITORI SCADUI',2,'GGALOF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR0','01',27,'GIORNI ALARM PER PRE-ORDINI FORNITORI',2,'GGALPF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR0','01',28,'CAUSALE PRE-ORDINI FORNITORI',2,'CAUPOF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BPIPR0','01',29,'CAUSALI CARICO MAGAZZINO PRODUZIONI',2,'CCMPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',5,'',0,0,'' )
,('BPIPR0','01',30,'AZIENDA PRODUZIONE',2,'AZIPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BPIPR0','01',31,'ARCO TEMPORALE RAPPRESENTATO GRAFICO OP',2,'GGGROP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BPIPR0','01',32,'ARCO TEMPORALE SELEZIONE DEFAULT OP',2,'GGGRSP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BPIPR0','01',33,'MAGAZZINI DI PRODUZIONE GESTIBILI',2,'MAGPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',20,'',0,0,'' )
,('BPIPR0','01',34,'LINEE DI PRODUZIONE GESTIBILI',2,'LINPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('BPIPR0','01',35,'CAUSALI DI PRODUZIONE GESTIBILI',2,'CAUPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',20,'',0,0,'' )
,('BPIPR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR1','01',3,'ID RECORD',3,'ID',0,0,0,0,0,0,0,0,0,0,'',1,0,5,9,0,0,'9(9) COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',4,'CHIAVE CRONOLOGICA PRODOTTO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR1','01',5,'AZIENDA',3,'CODAZI',0,0,0,1,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BPIPR1','01',6,'MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR1','01',7,'SECONDO SEGMENTO CHIAVE AZIENDA-ARTICOLO',3,'KEY004',0,0,0,2,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR1','01',8,'PRODOTTO',4,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR1','01',9,'CODICE ARTICOLO',5,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BPIPR1','01',10,'ANNATA',5,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BPIPR1','01',11,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BPIPR1','01',12,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR1','01',13,'ANNO',5,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BPIPR1','01',14,'MESE',5,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR1','01',15,'GIORNO',5,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR1','01',16,'ORA MOVIMENTO (ZERI PER ADESSO)',4,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BPIPR1','01',17,'INDICE PRIORITA'' MOVIMENTO',4,'PRIMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR1','01',18,'CHIAVE PER DOCUMENTO',4,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR1','01',19,'TIPO MOVIMENTO',5,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BPIPR1','01',28,'CHIAVE RIFERIMENTO',5,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR1','01',29,'NUMERO DOCUMENTO/MOVIMENTO RIFERIMENTO',6,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',30,'RIGA MOVIMENTO',6,'RIGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',31,'NUMERO SOTTORIGA',6,'SOTMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',32,'QUANTITA'' MOVIMENTATA',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',33,'GIACENZA VIRTUALE MAGAZZINO',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',34,'DISPONIBILITA'' VIRTUALE MAGAZZINO',2,'QTADIS',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',35,'SCORTA MINIMA MAGAZZINO',2,'QTASCM',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',36,'DISPONIBILITA'' VIRTUALE AZIENDALE',2,'DISAZI',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',37,'SCORTA MINIMA AZIENDALE',2,'SCMAZI',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',38,'DISPONIBILITA'' DOPO RIGA CORRENTE',2,'NEWDIS',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',39,'AZIENDA PRODUZIONE PER APRIPRE APROD?',2,'AZIPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BPIPR1','01',42,'DATA FINALE PER RIGHE TIPO "PP"',2,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BPIPR1','01',43,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPR1','01',44,'ANNO FINE',3,'AA-FIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BPIPR1','01',45,'MESE FINE',3,'MM-FIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR1','01',46,'GIORNO FINE',3,'GG-FIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPR1','01',47,'QTA'' GIA'' PRODOTTA/ORDINATA RIGHE "PP"',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('BPIPR1','01',48,'DISPONIBILITA'' AZIENDALE DOPO RIGA CORR.',2,'NEWDAZ',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('BPIPRP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPRP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPIPRP','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BPIPRP','01',4,'GIORNI GESTITI NELLO SCHEDULATORE WEB',2,'GGSCHE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BPIPRP','01',5,'LUNGHEZZA SETTIMANA SCHEDULATORE WEB',2,'SETTIM',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('BPIPRP','01',6,'TITOLO FINESTRA APPLICAZIONE WEB',2,'TITOLO',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('BPRODL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPRODL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPRODL','01',3,'CODICE AZIENDA',3,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BPRODL','01',4,'NUMERO INTERNO PRODUZIONE',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BPVENZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPVENZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BPVENZ','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,'' )
,('BREGC3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGC3','01',2,'CODICE SCADENZA',2,'CODSCA',1,5,6,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGC3','01',3,'NUMERO INTERNO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BREGC3','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BREGC3','01',7,'TIPO CODICE',2,'TIPCOD',0,1,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGC3','01',12,'CODICE GRUPPO/CONTO/SOTTOCONTO C F S',2,'CODICE',0,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGC3','01',13,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'APICO1',1,1,'' )
,('BREGC3','01',14,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'APICO1',1,2,'' )
,('BREGC3','01',15,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'APICO1',1,3,'' )
,('BREGC3','01',16,'CODICE PARTITA',2,'CODPAR',0,3,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGC3','01',17,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGC3','01',18,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BREGC3','01',19,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGC3','01',20,'DEFINIZIONE NUM PARTITA PER CODICE SOCIO',4,'PARZZZ',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'Z(10)','',0,'',0,0,'' )
,('BREGC3','01',21,'DATA REGISTRAZIONE',2,'DATREG',0,4,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGC3','01',22,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGC3','01',23,'ANNO REGISTRAZIONE',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGC3','01',24,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGC3','01',25,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGC3','01',26,'NUMERO REGISTRAZIONE PRIMANOTA',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BREGC3','01',27,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGC3','01',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGC3','01',29,'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,'' )
,('BREGC3','01',30,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGC3','01',31,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGC3','01',32,'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,'' )
,('BREGC3','01',33,'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,'' )
,('BREGC3','01',34,'DATA SCADENZA',2,'DATSCA',0,0,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGC3','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,'' )
,('BREGC3','01',36,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGC3','01',37,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGC3','01',38,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGC3','01',39,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('BREGC3','01',40,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('BREGC3','01',41,'TIPO IMPORTO D=DARE A=AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGC3','01',42,'TIPO SCADENZA',2,'TIPSCA',0,0,5,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGC3','01',45,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGC3','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,'' )
,('BREGC3','01',49,'ANNO RIFERIMENTO',3,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGC3','01',50,'MESE RIFERIMENTO',3,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGC3','01',51,'GIORNO RIFERIMENTO',3,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGC3','01',52,'MODIFICHE MANUALI S/N',2,'MODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGC3','01',53,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('BREGC3','01',54,'CODICE CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'ATBAKK',1,1,'' )
,('BREGC3','01',55,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBAAG',1,1,'' )
,('BREGC3','01',56,'SCADENZA ANTICIPATA  /S',2,'FLGANT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGC3','01',57,'STAMPA RICEVUTA INCASSO AGENTI /S',2,'STARIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGC3','01',58,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('BREGCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',2,'NUMERO REGISTRAZIONE',2,'NUMREG',1,3,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BREGCO','01',3,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',2,4,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BREGCO','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODPCO',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',5,'GRUPPO RIGA',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'APICO1',1,1,'' )
,('BREGCO','01',6,'CONTO RIGA',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'APICO1',1,2,'' )
,('BREGCO','01',7,'SOTTOCONTO RIGA',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'APICO1',1,3,'' )
,('BREGCO','01',8,'DATA REGISTRAZIONE',2,'DATREG',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGCO','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,'' )
,('BREGCO','01',10,'ANNO REGISTRAZIONE',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGCO','01',11,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',12,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',13,'DATA COMPETENZA',2,'DATCOM',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGCO','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,'' )
,('BREGCO','01',15,'ANNO COMPETENZA',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGCO','01',16,'MESE COMPETENZA',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',17,'GIORNO COMPETENZA',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',18,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'ATBAKK',1,1,'' )
,('BREGCO','01',19,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGCO','01',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',21,'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,'' )
,('BREGCO','01',22,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',23,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',24,'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,'' )
,('BREGCO','01',25,'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,'' )
,('BREGCO','01',26,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('BREGCO','01',27,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',28,'PROVENIENZA',2,'PROVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',33,'NUMERO RIGA GIORNALE',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BREGCO','01',34,'NUMERO RIGA REGISTRO IVA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BREGCO','01',35,'CHIUSURA CONTABILE S/N',2,'CHICON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',36,'PROGRESSIVO CHIUSURA',2,'PROCHI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',37,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',41,'NUMERO INTERNO SCADENZA',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BREGCO','01',43,'CODICE PAGAMENTO (SEZ)',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('BREGCO','01',44,'DATA INIZIO CALCOLO SCADENZA (SEZ)',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGCO','01',45,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',46,'ANNO INIZIO CALCOLO SCADENZA',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGCO','01',47,'MESE INIZIO CALCOLO SCADENZA',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',48,'GIORNO INIZIO CALCOLO SCADENZA',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',49,'CODICE BANCA (ABI) (SEZ)',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BREGCO','01',50,'CODICE BANCA (CAB) (SEZ)',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BREGCO','01',51,'DATA SCADENZA MASSIMA (SEZ)',2,'DATMAX',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGCO','01',52,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',53,'ANNO SCADENZA MASSIMA',4,'AAAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGCO','01',54,'MESE SCADENZA MASSIMA',4,'MMMMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',55,'GIORNO SCADENZA MASSIMA',4,'GGGMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',56,'DATA RIF. (VALUTA LIBRETTI ECC) (SEZ)',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BREGCO','01',57,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',58,'ANNO RIFERIMENTO',4,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGCO','01',59,'MESE RIFERIMENTO',4,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',60,'GIORNO RIFERIMENTO',4,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',61,'CODICE PARTITA (SEZ)',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',62,'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,'' )
,('BREGCO','01',63,'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,'' )
,('BREGCO','01',64,'CODICE AGENTE (SEZ)',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'ATBAAG',1,1,'' )
,('BREGCO','01',65,'CENTRO DI COSTO (SEZ)',2,'CENCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BREGCO','01',68,'TIPO CODICE C/F/S/P (IVA)',2,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',69,'CODICE CLIENTE/FORNITORE/SOCIO/PROD (IVA',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BREGCO','01',70,'CODICE IVA (IVA)',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'ATBAAI',1,1,'' )
,('BREGCO','01',71,'IMPONIBILE (IVA)',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('BREGCO','01',72,'CODICE REGISTRO IVA',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',73,'TIPO REGISTRO (IVA)',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',74,'NUMERO REGISTRO (IVA)',3,'NNRIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',75,'CODICE REGISTRO IVA INTRA',2,'REGINT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',76,'TIPO REGISTRO INTRA (IVA)',3,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',77,'NUMERO REGISTRO INTRA (IVA)',3,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',78,'NUMERO DOCUMENTO INTRA (IVA)',2,'DOCINT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BREGCO','01',79,'NUMERO PROTOCOLLO INTRA (IVA)',2,'PROINT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BREGCO','01',80,'STAMPA REGISTRO IVA S/N (IVA)',2,'STAREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',81,'PROGRESSIVO STAMPA REGISTRO IVA (IVA)',2,'PROREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',82,'CHIUSURA IVA S/N (IVA)',2,'CHIIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',83,'PROGRESSIVO CHIUSURA IVA (IVA)',2,'PROIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',84,'CODICE A BARRE PER DOCUMENTALE',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BREGCO','01',85,'TIPO DOCUMENTO DOCUMENTALE',2,'DOCDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGCO','01',86,'FATTURA ACQUISTO IN SOSPESO S/N',2,'FATSOS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',88,'DATI PER CODICE IBAN',2,'CODIBA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',89,'CODICE ISO (SEMPRE IT)',3,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BREGCO','01',90,'CODICE CIN EURO',3,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',91,'CODICE CIN ITALIA',3,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BREGCO','01',92,'NUMERO DI CONTO CORRENTE',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BREGCO','01',93,'NUMERO DICHIARAZIONE INTENTO',2,'NUMDII',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('BREGCO','01',94,'PERIODO LIQUIDAZIONE IVA',2,'PERLIV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BREGCO','01',95,'REDEFINES',2,'ANMLIV',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BREGCO','01',96,'ANNO',3,'AAALIV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BREGCO','01',97,'MESE',3,'MMMLIV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BREGCO','01',98,'PROGRESSIVO ARCHIVIO AFATF1 (FATT.ACQ)',2,'NUMSDI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BREGCO','01',99,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BRESDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRESDI','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRESDI','01',3,'NUMERO REGISTRAZIONE CONTABILE',3,'NUMREG',2,3,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BRESDI','01',4,'STATO INVIO FATTURAZIONE ELETTRONICA',2,'STAB2B',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRESDI','01',5,'I.D. ASSEGNATO DA AGYO',2,'IDAGYO',0,0,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('BRESDI','01',6,'TIME STAMP AGYO',2,'TSTB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,13,13,0,0,'X(13)','',0,'',0,0,'' )
,('BRESDI','01',7,'MESSAGGIO B2B',2,'MESB2B',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRESDI','01',8,'PRIMA PARTE',3,'MESB21',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BRESDI','01',9,'SECONDA PARTE',3,'MESB22',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BRESDI','01',10,'DATA INVIO B2B',2,'DATINV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BRESDI','01',11,'REDEFINES',2,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRESDI','01',12,'ANNO',3,'AAAINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BRESDI','01',13,'MESE',3,'MMMINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRESDI','01',14,'GIORNO',3,'GGGINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRESDI','01',15,'CAUSALE LIBERA B2B (2.1.1.11)',2,'CAUB2B',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BRESDI','01',16,'NUMERO FATTURA COLLEGATO',2,'NUMCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BRESDI','01',17,'DATA FATTURA COLLEGATA',2,'DATCOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BRESDI','01',18,'REDEFINES',2,'AMGCOL',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRESDI','01',19,'ANNO',3,'AAACOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BRESDI','01',20,'MESE',3,'MMMCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRESDI','01',21,'GIORNO',3,'GGGCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRESDI','01',22,'NUMERO REGISTRAZIONE FATTURA COLLEGATO',2,'REGCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BRIDSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRIDSO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRIDSO','01',3,'CODICE ACCONTO/LIQUIDAZIONE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('BRIDSO','01',4,'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,'' )
,('BRIDSO','01',5,'ANNO DOCUMENTO',3,'ANNIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BRIDSO','01',6,'TIPO DOCUMENTO FATTURA/AUTOFATTURA',3,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRIDSO','01',7,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BRIDSO','01',8,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BRIDSO','01',9,'REDEFINES',3,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRIDSO','01',10,'ANNO',4,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BRIDSO','01',11,'MESE',4,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRIDSO','01',12,'GIORNO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRIDSO','01',13,'PROGRESSIVO RIGA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BRIDSO','01',14,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('BRIDSO','01',15,'QUANTITA''',2,'QTAART',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('BRIDSO','01',16,'PREZZO',2,'PREART',0,0,0,0,0,0,0,0,0,0,'',1,1,12,14,5,0,'S9(7)V9(5)','',0,'',0,0,'' )
,('BRIDSO','01',17,'IMPORTO RIGA',2,'IMPART',0,0,0,0,0,0,0,0,0,0,'',1,1,9,11,2,0,'S9(7)V99','',0,'',0,0,'' )
,('BRIDSO','01',18,'UNITA'' DI MISURA',2,'UNIMIS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BRIDSO','01',19,'FLAG COMMENTO /S',2,'FLGCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BRS097','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRS097','01',2,'CODICE RAGRUPPAMENTO STABILIMENTI',2,'CODRAG',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BRS097','01',3,'DESCRIZIONE RAGRUPPAMENTO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BRS097','01',4,'CODICE STABILIMENTO',2,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',30,'',0,0,'' )
,('BRS097','01',5,'ACQUIRENTE',2,'ACQDES',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BRS097','01',6,'INDIRIZZO ACQUIRENTE',2,'ACQIND',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BRS097','01',7,'CAP ACQUIRENTE',2,'ACQCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BRS097','01',8,'LOCALITA ACQUIRENTE',2,'ACQLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BRS097','01',9,'PROVINCIA ACQUIRENTE',2,'ACQPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BRS097','01',10,'TELEFONO ACQUIRENTE',2,'ACQTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BRS097','01',11,'P.IVA ACQUIRENTE',2,'ACQPIV',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('BRUFA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUFA1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUFA1','01',3,'ID FAMIGLIA',3,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRUFA1','01',4,'CODICE MENZIONE 6.7 (ARU007)',3,'CODMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BRUFAM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUFAM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUFAM','01',3,'ID FAMIGLIA',3,'IDFAMI',0,0,2,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRUFAM','01',4,'CODICE VISIBILE',2,'CODICE',0,1,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BRUFAM','01',5,'DESCRIZIONE',2,'DESCRI',0,0,1,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('BRUFAM','01',6,'SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BRUFAM','01',7,'COD.CATEGORIA TAB 6.2 (ARU002)',2,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUFAM','01',8,'FAMIGLIA DI UVA',88,'IS-UVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'1, 2, 3','',0,'',0,0,'' )
,('BRUFAM','01',9,'FAMIGLIA DI MOSTO VINIFICAZIONE',88,'IS-MOS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'4, 5, 7, 8, 13, 41','',0,'',0,0,'' )
,('BRUFAM','01',10,'FAMIGLIA DI VNF',88,'IS-VNF',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'23','',0,'',0,0,'' )
,('BRUFAM','01',11,'FAMIGLIA DI VINACCIA',88,'IS-VCE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'16, 17','',0,'',0,0,'' )
,('BRUFAM','01',12,'FAMIGLIA DI RASPI',88,'IS-RAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'18','',0,'',0,0,'' )
,('BRUFAM','01',13,'FAMIGLIA DI ACIDO TARTARICO',88,'IS-TAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'107, 108','',0,'',0,0,'' )
,('BRUFAM','01',14,'FAMIGLIA DI ACIDO MALICO',88,'IS-MAL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'110, 111','',0,'',0,0,'' )
,('BRUFAM','01',15,'ATTO/CERTIFICATO TAB 6.16 (ARU016)',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BRUFAM','01',16,'COD.CLASSIFICAZIONE TAB 6.5 (ARU005)',2,'CODCLA',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BRUFAM','01',17,'COD.DOP/IGP TAB 6.8',2,'CODDOI',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('BRUFAM','01',18,'COD.EBACCHUS 6.17 (ARU017)',2,'CODEBA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BRUFAM','01',19,'COD.ZONA VITICOLA 6.4 (ARU004)',2,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BRUFAM','01',20,'COD.SOTTOZONA 6.18 (ARU018)',2,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BRUFAM','01',21,'CODICE VIGNA (ARUVIG)',2,'CODVIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUFAM','01',22,'CODICE COLORE 6.6 (ARU006)',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUFAM','01',23,'BIOLOGICO 6.15 (ARU015)',2,'CODBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUFAM','01',24,'COD.STATO FISICO 6.12 (ARU012)',2,'CODSTF',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUFAM','01',25,'CAMPI IGNORARE NELLA VERIFICA UNIVOCITA''',2,'IGNORA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUFAM','01',26,'OBBL. (S/N/O) - % IGP',3,'OBBPEI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',27,'OBBL. (S/N/O) - ORIGINE UVE',3,'OBBORU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',28,'OBBL. (S/N/O) - PROVENIENZA',3,'OBBPRV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',29,'OBBL. (S/N/O) - PAESI PROVENIENZA',3,'OBBPPR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',30,'OBBL. (S/N/O) - VARIETA''',3,'OBBVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',31,'OBBL. (S/N/O) - ALTRE VARIETA''',3,'OBBALV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',32,'OBBL. (S/N/O) - TENORE ZUCCHERINO',3,'OBBTEZ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',33,'OBBL. (S/N/O) - PRATICHE ENOLOGICHE',3,'OBBPRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',34,'OBBL. (S/N/O) - ANNATA',3,'OBBANN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',35,'OBBL. (S/N/O) - % ANNATA',3,'OBBPAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',36,'OBBL. (S/N/O) - ALCOOL POTENZIALE',3,'OBBPOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',37,'OBBL. (S/N/O) - ALCOOL EFFETTIVO',3,'OBBEFF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',38,'OBBL. (S/N/O) - ALCOOL TOT',3,'OBBTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',39,'OBBL. (S/N/O) - MASSA VOLUMICA',3,'OBBMSV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',40,'OBBL. (S/N/O) - CERTIFICATO',3,'OBBCRT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',41,'OBBL. (S/N/O) - RECIPIENTE',3,'OBBREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',42,'OBBL. (S/N/O) - VOLUME CONFEZIONI',3,'OBBVOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',43,'OBBL. (S/N/O) - CONTRASSEGNI',3,'OBBCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',44,'OBBL. (S/N/O) - LOTTI',3,'OBBLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',45,'OBBL. (S/N/O) - METODO PRATICHE ENOLOG.',3,'OBBMPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',46,'OBBL. (S/N/O) - GIORNI INVECCHIAMENTO',3,'OBBGGI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',47,'OBBL. (S/N/O) - TRATTAMENTO',3,'OBBTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',48,'OBBL. (S/N/O) - CODICE PARTITA',3,'OBBCPA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',49,'OBBL. (S/N/O) - GRADO ACIDITA''',3,'OBBGAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',50,'OBBL. (S/N/O) - MONTEGRADI',3,'OBBMTG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',51,'CATEGORIA VINO (TAB T018 AG.DOGANE)',3,'CDT018',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',52,'GESTITE FASCETTE IN PRODUZIONE ( /S)',3,'FASPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',53,'DATA INIZIO RICHIESTA FASCETTE PRODUZ.',3,'DATFAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BRUFAM','01',54,'OBBL. (S/N/O) - % VARIETA',3,'OBBPVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',55,'ATTRIBUTI STATISTICI',3,'CODATS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('BRUFAM','01',56,'CODICE ORGANISMO DI CONTROLLO (MVV)',3,'CODORG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUFAM','01',57,'CODICE PEC MVV (SE DIVERSO DA DEFAULT)',3,'CODPEC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BRUFAM','01',58,'MASSA VOLUMICA STANDARD',3,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('BRUFAM','01',59,'FILLER (ZERI!?)',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BRUFAM','01',60,'OBSOLESCENZA AUTOMATICA PRODOTTI (S)',3,'OBSPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFAM','01',61,'OBSOLESCENZA AUTOMATICA PRODOTTI DOPO GG',3,'GGOPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRUFAM','01',62,'FAMIGLIA OBSOLETA (S)',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUFPT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUFPT','01',2,'ID FAMIGLIA',2,'IDFAMI',1,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRUFPT','01',3,'ID PRODOTTO TIPO DELLA FAMIGLIA',2,'IDPROD',0,1,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRULOG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',3,'NUMERO PROGRESSIVO LOG',3,'NUMLOG',0,5,4,3,4,5,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('BRULOG','01',4,'RIFERIMENTO AZIENDA[/REGISTRO]',2,'RIFREG',0,1,1,1,1,1,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',5,'AZIENDA',3,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BRULOG','01',6,'CODICE REGISTRO UNICO (0 PER SOGGETTI)',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BRULOG','01',7,'DATA LETTURA IN TELEMATIZZAZIONE',2,'DATTEL',0,3,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BRULOG','01',8,'ORA LETTURA IN TELEMATIZZAZIONE',2,'ORATEL',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BRULOG','01',9,'STATO',2,'FLGSTA',0,0,2,0,0,2,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRULOG','01',18,'METODO',2,'METODO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BRULOG','01',19,'INSERIMENTO/AGGIORNAMENTO (I/A)',2,'FLGMOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRULOG','01',20,'RIFERIMENTO',2,'RIFERI',0,2,3,0,0,4,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',21,'TIPO RIFERIMENTO',3,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRULOG','01',31,'CODICE DI RIFERIMENTO',3,'NUMRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('BRULOG','01',32,'RIDEFINIZIONE RIFERIMENTO CLIENTE',3,'CLIRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',33,'CODICE CLIENTE',4,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRULOG','01',34,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BRULOG','01',35,'RIDEFINIZIONE RIFERIMENTO FORNITORE',3,'FORRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',36,'CODICE FORNITORE',4,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRULOG','01',37,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BRULOG','01',38,'RIDEFINIZIONE RIFERIMENTO MAGAZZINO',3,'MAGRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',39,'CODICE MAGAZZINO',4,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRULOG','01',40,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BRULOG','01',41,'RIDEFINIZIONE RIFERIMENTO VASO VINARIO',3,'VASRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',42,'CODICE VASO VINARIO (VASCA)',4,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BRULOG','01',43,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BRULOG','01',44,'RIDEFINIZIONE RIFERIMENTO VIGNA',3,'VIGRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',45,'CODICE VIGNA',4,'CODVIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRULOG','01',46,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('BRULOG','01',47,'RIDEFINIZIONE RIFERIMENTO MOVIMENTO',3,'MOVRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',48,'ID SUPERTERTESTATA',4,'IDSTES',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('BRULOG','01',49,'PROGRESSIVO TESTATA',4,'PROTES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('BRULOG','01',50,'RIFERIMENTO SOCIO',3,'SOCRIF',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRULOG','01',51,'CODICE SOCIO',4,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRULOG','01',52,'CODICE VENDEMMIA',4,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BRULOG','01',53,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('BRULOG','01',54,'TIPO RIFERIMENTO ANAGRAFICHE COLLEGATE',3,'TIPSAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRULOG','01',58,'CODICE ANAGRAFICA COLLEGATA',3,'CODSAC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRULOG','01',59,'DATA MOVIMENTO TELEMATIZZATA',2,'DTAMOV',0,0,0,0,2,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BRULOG','01',60,'PROGRESSIVO OPERAZIONE GG TELEMATIZZATA',2,'PROPGG',0,0,0,0,3,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BRULOG','01',61,'PROGRESSIVO INVIO',2,'PROINV',0,0,0,2,0,3,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('BRULOG','01',62,'ID TRASMISSIONE RICEVUTO DA MIPAAF',2,'IDTRAS',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('BRULOG','01',63,'ERROR LEVEL RESTITUITO DA SCRIPT',2,'ERLSCR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BRULOG','01',64,'CODICE ERRORE FORMALE',2,'CODERF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BRULOG','01',65,'DESCRIZIONE ERRORE FORMALE',2,'DESERF',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('BRULOG','01',66,'CODICE ESITO CTR ASINCRONO',2,'CODERA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BRULOG','01',67,'DESCRIZIONE ESITO CTR ASINCRONO',2,'DESERA',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('BRULOG','01',68,'SOLO PER DELETE',2,'DELMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUMR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUMR1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,5,3,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','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,'' )
,('BRUMR1','01',18,'CODICE RAGGRUPPAMENTO VINIFICAZIONE',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BRUMR1','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BRUMR1','01',20,'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,'' )
,('BRUMR1','01',21,'CLASSE ORDINAMENTO TELEMATIZZAZIONE',2,'INDORD',0,4,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BRUMR1','01',22,'PERCENTUALE MECCANICA DA CONFERIMENTI',2,'PERCME',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,2,0,'99V99 COMP-3','',0,'',0,0,'' )
,('BRUMR1','01',23,'PERCENTUALE IGP',2,'PERIGP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BRUMR1','01',24,'ALCOOL POTENZIALE',2,'ALCPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BRUMR1','01',25,'ALCOOL EFFETTIVO',2,'ALCEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BRUMR1','01',26,'ALCOOL TOTALE',2,'ALCTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BRUMR1','01',27,'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,'' )
,('BRUMR1','01',28,'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,'' )
,('BRUMR1','01',29,'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,'' )
,('BRUMR1','01',30,'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,'' )
,('BRUMR1','01',31,'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,'' )
,('BRUMR1','01',32,'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,'' )
,('BRUMR1','01',35,'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,'' )
,('BRUMR1','01',36,'CHIAVE PROCESSO CERTIFICATIVO',2,'IDCERT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUMR1','01',37,'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,'' )
,('BRUMR1','01',38,'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,'' )
,('BRUMR1','01',39,'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,'' )
,('BRUMR1','01',40,'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,'' )
,('BRUMR1','01',41,'QTA RASPI UVE DIRASPATE (DI CUI) CASD',2,'QTARAS',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('BRUMR1','01',42,'GRADO BABO UVE',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BRUMR1','01',43,'TELEMATIZZARE ( /N)',2,'FLGTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUMR1','01',44,'PREZZO UNITARIO',2,'PRZUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,5,0,'9(6)V9(5) COMP-3','',0,'',0,0,'' )
,('BRUMR1','01',45,'VALORE MOVIMENTO',2,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('BRUMR1','01',46,'RIGA BOLLA DI ORIGINE (ABOLLZ-01NUMRIG)',2,'BOLRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BRUMR1','01',47,'COMPONENTE DI ORIGINE (ABOLLZ-01NUMCOM)',2,'BOLCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRUPR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUPR1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUPR1','01',3,'ID PRODOTTO',3,'IDPROD',0,3,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRUPR1','01',7,'ID FAMIGLIA',2,'IDFAMI',0,1,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRUPR1','01',8,'ANNATA',2,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BRUPR1','01',9,'% ANNATA',2,'PERANN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BRUPR1','01',10,'TENORE ZUCCHERINO - TAB 6.11 (ARU011)',2,'CODTEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUPR1','01',11,'ORIGINE UVE (CODICE ISO NAZIONE)',2,'CODORU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('BRUPR1','01',12,'PROVENIENZA - TAB 6.10 (ARU010)',2,'CODPRV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUPR1','01',13,'ALTRE VARIETA''',2,'ALTVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('BRUPR1','01',14,'PERCENTUALE IGP **',2,'PERIGP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BRUPR1','01',15,'ALCOOL POTENZIALE **',2,'ALCPOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('BRUPR1','01',16,'ALCOOL EFFETTIVO **',2,'ALCEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('BRUPR1','01',17,'ALCOOL TOTALE **',2,'ALCTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('BRUPR1','01',18,'MASSA VOLUMICA',2,'MASSAV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('BRUPR1','01',19,'TIPO COMMITTENTE (C=CLIENTE F=FORNITORE)',2,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUPR1','01',20,'CODICE COMMITTENTE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUPR1','01',21,'GIORNI INVECCHIAMENTO',2,'GG-INV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BRUPR1','01',22,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BRUPR1','01',23,'NUMERO CERTIFICATO',2,'NUMCER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BRUPR1','01',24,'DATA CERTIFICATO',2,'DTACER',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BRUPR1','01',25,'REDEFINES',2,'AMGCER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUPR1','01',26,'ANNO',3,'AAACER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BRUPR1','01',27,'MESE',3,'MMMCER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRUPR1','01',28,'GIORNO',3,'GGGCER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRUPR1','01',29,'DA MOVIMENTARE SEMPRE CON VASCHE (S)',2,'VASOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUPR1','01',30,'DATA INIZIO OBSOLESCENZA',2,'DTAOBS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BRUPR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUPR2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUPR2','01',3,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRUPR2','01',4,'CODICE ISO PAESE',3,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('BRUPR3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUPR3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUPR3','01',3,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRUPR3','01',4,'VARIETA'' - TAB 6.9 (ARU009)',3,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUPR3','01',5,'PERCENTUALE',2,'PERCEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'9(3)V99','',0,'',0,0,'' )
,('BRUPR4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUPR4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUPR4','01',3,'ID PRODOTTO',3,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRUPR4','01',4,'MANIPOLAZIONI - TAB 6.3 (ARU003)',3,'CODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BRURAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRURAG','01',2,'CODICE',2,'CODICE',1,2,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BRURAG','01',3,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BRURAG','01',4,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BRURAG','01',5,'ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',5,'',0,0,'' )
,('BRURAG','01',6,'MASSA VOLUMICA MINIMA',2,'MASMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('BRURAG','01',7,'ID FAMIGLIA UVE',2,'IDFUVE',0,1,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRURAG','01',8,'ID FAMIGLIA VINACCIA',2,'IDFVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRURAG','01',9,'ID FAMIGLIA RASPI',2,'IDFRAS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRURAG','01',10,'ID FAMIGLIA VINACCIA+RASPI',2,'IDFVIR',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRURAG','01',11,'TABELLA OPERAZIONI VINIFICAZIONE AUTOM.',2,'TABOPE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRURAG','01',12,'ELEMENTO',3,'ELEOPE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('BRURAG','01',13,'CODICE OPERAZIONE DI REGISTRO PIGI/SVIN',4,'CODOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BRURAG','01',14,'GIORNI DI INTERVALLO',4,'GG-OPE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BRURAG','01',15,'ID FAMIGLIA OTTENUTA',4,'IDFOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BRURAG','01',16,'FLAG OTTIENI VINACCIA MECCANICA (X)',4,'MECVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRURAG','01',17,'FLAG OTTIENI RASPI MECCANICA (X)',4,'MECRAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRURAG','01',18,'FLAG OTTIENI VINACCIA MANUALE (X)',4,'MANVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRURAG','01',19,'FLAG OTTIENI RASPI MANUALE (X)',4,'MANRAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRURAG','01',20,'FLAG OTTIENI VINACCIA+RASPI MANUALE (X)',4,'MANVIR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRURAG','01',21,'MASSA VOLUMICA FISSA',2,'MASFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('BRURAG','01',22,'ID FAMIGLIA VINO FINITO',2,'IDFVIF',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('BRURFC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRURFC','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,'' )
,('BRURFC','01',3,'CAUSALE OPZIONALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BRURFC','01',4,'CODICE OPERAZIONE TESTATA (SPAZI=TUTTE)',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BRURFC','01',5,'CODICE OPERAZIONE RIGA (SPAZI=TUTTE)',3,'CODCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BRURFC','01',6,'ID FAMIFLIA DI PROVENIENZA',3,'IDFASC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('BRURFC','01',7,'ID FAMIGLIA DI CARICO COLLEGATA',2,'IDFACA',0,1,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('BRURGP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRURGP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRURGP','01',3,'CAUSALE (OPZIONALE)',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BRURGP','01',4,'CODICE OPERAZIONE TESTATA',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BRURGP','01',5,'CODICE OPERAZIONE RIGA',3,'CODCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BRURGP','01',6,'CODICE CAMPO',3,'CODCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BRURGP','01',7,'TABELLA SEQUENZA REGOLE',2,'TABREG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRURGP','01',8,'REGOLA (ATTUALMENTE 3 GESTITE A VIDEO)',3,'REGOLA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',10,'',0,0,'' )
,('BRURGP','01',9,'TABELLA PRODOTTI SCARICO DA CONSIDERARE',2,'TABSCA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRURGP','01',10,'PRODOTTO (ATTUALMENTE GESTITI 3 A VIDEO)',3,'PROSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',10,'',0,0,'' )
,('BRURGP','01',11,'TABELLA MANIPOLAZIONI DA AGGIUNGERE',2,'TABMAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRURGP','01',12,'MANIPOLAZIONE (GESTITE SOLO 2 A VIDEO)',3,'CODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',10,'',0,0,'' )
,('BRURGP','01',13,'CODICE NUMERATORE AUTOMATICO',2,'CODNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BRURGP','01',14,'ATTIVA EVENTUALE PRATICA ENOLOGICA 6 (X)',2,'FLGM06',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRURGP','01',15,'ATTIVA EVENTUALE PRATICA ENOLOGICA 7 (X)',2,'FLGM07',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRURGP','01',16,'ATTIVA EVENTUALE PRATICA ENOLOGICA 8 (X)',2,'FLGM08',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRURGP','01',17,'DECIMALI ARROTONDAMENTO QTA (0-3)',2,'ARRQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('BRUUVE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUUVE','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BRUUVE','01',3,'CODICE REGISTRO (SU RIGA PER AVERE KEY)',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BRUUVE','01',4,'DATA CARICO',3,'DTACAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BRUUVE','01',5,'CODICE ESONERO/DEROGA (UVE PROPRIE)',3,'CODESO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BRUUVE','01',6,'NUMERO CONFERIMENTO (ZERO UVE PROPRIE)',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BRUUVE','01',7,'CODICE RAGGRUPPAMENTO VINIFICAZIONE',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BRUUVE','01',8,'TIPO COMMITTENTE',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BRUUVE','01',9,'CODICE COMMITTENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUUVE','01',10,'MECCANICA (0=NO/1=SI)',3,'FLGMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('BRUUVE','01',11,'CODICE SOCIO (ZERO PER UVE PROPRIE)',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BRUUVE','01',12,'QUANTITA'' CARICO (KG)',2,'QTACAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('BRUUVE','01',13,'DI CUI QTA'' RASPI UVA MECCANICA (KG)',2,'QTARAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('BRUUVE','01',14,'GRADO BABO',2,'GRBABO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BRUUVE','01',15,'MONTEGRADI',2,'MONTEG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('BRUUVE','01',16,'NUMERO DOCUMENTO (SPAZI PER UVE PROPRIE)',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BRUUVE','01',17,'DATA DOCUMENTO (ZERO PER UVE PROPRIE)',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BTBACM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBACM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBACM','01',3,'TIPO RECORD = "CM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BTBACM','01',4,'CODICE CAUSALE',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BTBACM','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BTBACM','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTBACM','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,'' )
,('BTBACM','01',8,'CODICE SALDO',2,'CODSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BTBACM','01',9,'MOVIMENTAZIONE QUANTITA'' (+/-/ )',2,'FLGQTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBACM','01',10,'MOVIMENTAZIONE VALORE (+/-/ )',2,'FLGVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBACM','01',11,'MOVIMENTAZIONE ACQUISTI (S/N)',2,'FLGACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBACM','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BTBACM','01',13,'EX TIPO SALDO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBACM','01',14,'CAUSALE TELEMATIZZAZIOE REG.ZUCCHERI',2,'CAURGT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BTBACM','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('BTBAKK','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBAKK','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBAKK','01',3,'TIPO RECORD = "KK"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('BTBAKK','01',4,'CODICE CAUSALE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'X' )
,('BTBAKK','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTBAKK','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,'' )
,('BTBAKK','01',8,'IMMISSIONE VELOCE S/N',2,'IMMVEL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',9,'TIPO CAUSALE',2,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BTBAKK','01',11,'TIPO MOVIMENTO',2,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',20,'TIPO DARE',2,'TIPDAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',25,'TIPO AVERE',2,'TIPAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',30,'REGISTRO IVA',2,'REGIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBAKK','01',31,'TIPO REGISTRO NORMALE',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',32,'NUMERO REGISTRO NORMALE',3,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BTBAKK','01',33,'TIPO REGISTRO INTRA',2,'TIPINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',34,'NUMERO REGISTRO INTRA',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BTBAKK','01',35,'QUADRATURA IMPONIBILE S/N',2,'QUAIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',36,'QUADRATURA IMPOSTA S/N',2,'QUAIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',37,'EFFETTO SU FATTURE RICEVUTE',2,'EFFRIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',41,'DESCR AGG CONTR AUT DA RAG SOC S/N',2,'DESAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',42,'COMPOSIZIONE PARTITA',2,'TIPPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',45,'EFFETTO SU CALCOLO LIQUIDAZIONE +/-/BLK',2,'EFFLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',46,'EFFETTO SU CALCOLO ACCONTI +/-/BLANK',2,'EFFACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',47,'CAUSALE OBSOLETA S/N',2,'OBSOLE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',48,'DATA PAGAMENTO OBBLIGATORIA S/N',2,'PAGOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',49,'CODICE GRUPPO SOCI',2,'GRUSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',50,'CODICE CONTO SOCI',2,'CONSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',51,'GRUPPO DARE',2,'GRUDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',52,'CONTO DARE',2,'CONDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',53,'SOTTOCONTO DARE',2,'SOTDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BTBAKK','01',54,'GRUPPO AVERE',2,'GRUAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',55,'CONTO AVERE',2,'CONAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',56,'SOTTOCONTO AVERE',2,'SOTAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BTBAKK','01',57,'GRUPPO CONTROPARTITA',2,'GRUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',58,'CONTO CONTROPARTITA',2,'CONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',59,'SOTTOCONTO CONTROPARTITA',2,'SOTCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BTBAKK','01',60,'TIPO REG. (MOVIMENTI COMPOSTI)',2,'TIPSEQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',64,'DATA VALUTA LIBRETTI OBBLIGATORIA S/N',2,'VALOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',65,'SIGLA CAUSALE',2,'SIGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BTBAKK','01',66,'CODICE AGENTE OBBLIGATORIO S/N',2,'AGEOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',67,'CODICE CAUSALE EFFETTI',2,'CAUEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',68,'GRUPPO PORTAFOGLIO EFFETTI',2,'GRUEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',69,'CONTO PORTAFOGLIO EFFETTI',2,'CONEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',70,'SOTTOCONTO PORTAFOGLIO EFFETTI',2,'SOTEFF',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BTBAKK','01',71,'TIPO DOCUMENTO (documenti iva soci)',2,'TIPDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',75,'PRIMA D. A. FOR. SU SECONDA D.A. COSTO',2,'DESFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',76,'STAMPA RICEVUTA S/N',2,'STARIC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',77,'S=CTR CHE DATA REG = DATA PRIMARIA',2,'CTRDAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',78,'GRUPPO/CONTO/SOTTOCONTO IVA',2,'GCSIVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBAKK','01',79,'GRUPPO IVA',3,'GRUIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',80,'CONTO IVA',3,'CONIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',81,'SOTTOCONTO IVA',3,'SOTIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BTBAKK','01',82,'CREAZIONE FATTURE SOCI /S (SOAVE)',2,'CREFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',83,'MOVIMENTO NO IVA',2,'NONIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',84,'GCS IMPORTO IVA',2,'GCSNIV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBAKK','01',85,'GRUPPO IMPORTO IVA',3,'GRUNIV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',86,'CONTO IMPORTO IVA',3,'CONNIV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',87,'SOTTOCONTO IMPORTO IVA',3,'SOTNIV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BTBAKK','01',88,'LETTURA BARCODE S/N',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',89,'TIPO DOCUMENTO PER DOCUMENTALE',2,'DOCDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAKK','01',90,'PAGAMENTO PIU'' PARTITE PAG. CON ABBUONO',2,'PAGMUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',91,'RATEI/RISCONTI AUTOMATICI',2,'RATRIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',92,'STAMPA INTEGRAZIONE REV. CHARGE ITALIA',2,'STINCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',93,'TIPO DOCUMENTO PER SPESOMETRO',2,'TDSPES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BTBAKK','01',94,'EXPORT SU AGYO S/N',2,'EXPAGY',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAKK','01',95,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('BTBAMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBAMA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBAMA','01',3,'TIPO RECORD = "MA"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('BTBAMA','01',4,'CODICE MAGAZZINO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BTBAMA','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'X' )
,('BTBAMA','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTBAMA','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,'' )
,('BTBAMA','01',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTBAMA','01',9,'CODICE CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('BTBAMA','01',10,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTBAMA','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,'' )
,('BTBAMA','01',12,'CODICE REGISTRO COMMERCIALIZZAZIONE VINI',2,'CRCVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTBAMA','01',13,'CODICE REGISTRO COMMERCIALIZZAZIONE SUCC',2,'CRCSUC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTBAMA','01',14,'CODICE REGISTRO CONTRASSEGNI IVA VINI',2,'CRTVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTBAMA','01',15,'CODICE REGISTRO CONTRASSEGNI IVA SUCCHI',2,'CRTSUC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTBAMA','01',16,'CODICE REGISTRO IMBOTTIGLIAMENTO VINI',2,'CRIVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTBAMA','01',17,'CODICE REGISTRO ACCISA VINI CONFEZIONATO',2,'CRAVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTBAMA','01',18,'FLAG MAGAZZINO SPECIALE S/N',2,'FLGSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',19,'TIPO AGG.REG. BOLLE SPACCIO I/D/N',2,'TARBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',20,'TIPO AGG.REG. SCONTRINI SPACCIO I/D/N',2,'TARSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',21,'CODICE REGISTRO ERGA OMNES VINI',2,'CREVIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTBAMA','01',22,'CODICE REGISTRO ACCISA VINI SFUSI',2,'CRASFU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTBAMA','01',23,'CODICE LISTINO',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('BTBAMA','01',24,'CODICE CLIENTE COLLEGATO (ROBOS VALDO)',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BTBAMA','01',25,'GESTITO AD ALVEOLI (S/N)',2,'FLGALV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',26,'CODICE DESTINATARIO CLIENTE',2,'CODDST',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BTBAMA','01',27,'AZIENDA DEL MAGAZZINO',2,'AZIMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BTBAMA','01',28,'REGISTRO CONSIGNMENT STOCK',2,'REGCST',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAMA','01',29,'FLAG LOCALE/REMOTO',2,'LOCREM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',30,'REGISTRO VITIVINICOLO UNICO',2,'REGVUN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTBAMA','01',31,'CODICE COMUNE ISTAT',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BTBAMA','01',32,'TIME STAMP UTLIMA MODIFICA REG.UNICO TEL',2,'TISTRU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBAMA','01',33,'DATA ULTIMA MODIFICA REG.UNICO TEL',3,'DATMRU',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BTBAMA','01',34,'ORA ULTIMA MODIFICA REG.UNICO TEL',3,'ORAMRU',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BTBAMA','01',35,'CODICE LINEA PRODUZIONE PREDEFINITA',2,'LINPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BTBAMA','01',36,'CODICE CAUSALE PRODUZIONE PREDEFINITA',2,'PROPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BTBAMA','01',37,'CREA MOVIMENTI DA ANONIMI (S/N)',2,'CARUPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',38,'CREA MOVIMENTI DA INTESTATI (S/N)',2,'CIRUPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',39,'TIPO AGGIORNAMENTO SFUSI REGISTRO UNICO',2,'FLGSRU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',42,'AGGIORNAMENTO REGISTRO VENDITE CLIENTI',2,'VCRUPV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',46,'PRODOTTO R.U. SU DETTAGLIO BOLLETTE S/N',2,'PRUDET',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBAMA','01',47,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BTBASM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBASM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTBASM','01',3,'TIPO RECORD = "SM"',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BTBASM','01',4,'CODICE SALDO',3,'CODICE',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BTBASM','01',5,'ZERI',3,'ZEROES',0,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('BTBASM','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTBASM','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,'' )
,('BTBASM','01',8,'DESCRIZIONE INTESTAZIONE ALLINEATA A DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BTBASM','01',9,'TIPO SALDO',2,'TIPSAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBASM','01',17,'GESTITO A VALORE S/N',2,'FLGVAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTBASM','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,88,88,0,0,'X(88)','',0,'',0,0,'' )
,('BTMANA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTMANA','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTMANA','01',3,'TIPO RECORD = "NA"',3,'TIPREC',1,1,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'X' )
,('BTMANA','01',4,'CODICE NAZIONE',3,'CODICE',2,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BTMANA','01',5,'ZERI',3,'ZEROES',3,4,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'X' )
,('BTMANA','01',6,'DESCRIZIONE',2,'DESCRI',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTMANA','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,'' )
,('BTMANA','01',8,'PAESE CEE S/N',2,'NAZCEE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTMANA','01',9,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BTMANA','01',10,'FLAG STAMPA DAA S/N',2,'FLGDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTMANA','01',11,'ITALIA (X/ )',2,'FLGITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTMANA','01',12,'SOGGETTA MODELLO INTRA-1 (S/N)',2,'FINTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTMANA','01',13,'SPESE TRASPORTO F.A. INTRASTAT AL LITRO',2,'SPTINT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('BTMANA','01',14,'FLAG STAMPA CMR',2,'FLGCMR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTMANA','01',15,'DESCRIZIONE IN LINGUA',2,'DESLIN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTMANA','01',16,'TABELLA ARRTIBUTI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTMANA','01',17,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('BTMANA','01',18,'CODICE PER AGENZIA DELLE ENTRATE',2,'CODENT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('BTMANA','01',19,'CODICE ISO NUMERICO',2,'ISONUM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BTMANA','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('BTORE3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTORE3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTORE3','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,2,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('BTORE3','01',4,'DATA',3,'DTALAV',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BTORE3','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,'' )
,('BTORE3','01',6,'ANNO',4,'AAALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTORE3','01',7,'MESE',4,'MMMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BTORE3','01',8,'GIORNO',4,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('BTORE3','01',9,'CLASSIFICAZIONE ORE',3,'CLASSE',0,3,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTORE3','01',10,'REDFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTORE3','01',11,'TURNO',4,'FLGTUR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',12,'NOTTURNO',4,'FLGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',13,'STRAORDINARIO',4,'FLGSTR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',14,'FESTIVO',4,'FLGFES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',15,'MALATTIA',4,'FLGMAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',16,'FERIE',4,'FLGFER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',17,'FESTIVO OLTRE 8 ORE',4,'FLGFOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',18,'FERIE NON AUTORIZZATE (NON PIU'' USATO)',4,'FLGFNA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',19,'ALLATTAMENTO',4,'FLGALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',20,'ASSENZA INGIUSTIFICATA',4,'FLGAIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',21,'CASSA INTEGRAZIONE',4,'FLGCIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',22,'CONGEDO MATRIMONIALE',4,'FLGCMA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',23,'DONAZIONE SANGUE',4,'FLGDSA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',24,'INFORTUNIO',4,'FLGIFO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',25,'MATERNITA'' FACOLTATIVA',4,'FLGMFA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',26,'MATERNITA'' OBBLIGATORIA',4,'FLGMOB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',27,'PERMESSI LEGGE 104',4,'FLGLEG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',28,'PERMESSI VARI',4,'FLGPVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',29,'ROL',4,'FLGROL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTORE3','01',30,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('BTORE3','01',31,'CODICE CENTRO DI COSTO',3,'CODCDC',0,4,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BTORE3','01',32,'ORE LAVORATE',2,'ORELAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BTORE3','01',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('BTRUGF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTRUGF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTRUGF','01',3,'CODICE REGISTRO',3,'CODREG',0,1,1,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTRUGF','01',4,'ID FAMIGLIA',3,'IDFAMI',0,0,2,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BTRUGF','01',5,'ANNATA',3,'ANNATA',0,0,3,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BTRUGF','01',6,'ID PRODOTTO',3,'IDPROD',0,2,5,0,0,0,0,0,0,0,'',1,0,7,13,0,0,'9(13) COMP-3','',0,'',0,0,'' )
,('BTRUGF','01',7,'DATA GIACENZA',3,'DTAGIA',0,3,4,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BTRUGF','01',8,'QTA GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V9(3) COMP-3','',0,'',0,0,'' )
,('BTUVE1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BTUVE1','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,'' )
,('BTUVE1','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BTUVE1','01',4,'RAGIONE SOCIALE',2,'DESCRI',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTUVE1','01',5,'ESTENSIONE RAGIONE SOCIALE',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('BTUVE1','01',6,'ATTRIBUTI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('BTUVE1','01',7,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTUVE1','01',10,'GRADO MINIMO',2,'GRAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('BTUVE1','01',11,'CODICE UVA I.G.',2,'CUVAIG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BTUVE1','01',12,'RESA CERTIFICATA PER ETTARO',2,'RESCER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BTUVE1','01',13,'PERCENTUALE TOLLERANZA SUPERO',2,'PERTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BTUVE1','01',14,'FATTORE DI CONVERSIONE QLI/HL',2,'FATCON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BTUVE1','01',15,'PERCENTUALE PER VENDEMMIA MECCANIZZATA',2,'PERMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BTUVE1','01',16,'TIPO UVA',2,'TIPUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTUVE1','01',21,'CODICE UVA PER SUPERI',2,'CUVATV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('BTUVE1','01',22,'RESA MASSIMA TOLLERATA',2,'RESMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9999V99','',0,'',0,0,'' )
,('BTUVE1','01',23,'DESCRIZIONE PER BOLLETTE',2,'DESBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('BTUVE1','01',24,'CODICE D.O./IGT PER AIMA',2,'CODDIA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BTUVE1','01',25,'CODICE TIPOLOGIA VINO PER AIMA',2,'CODTVA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BTUVE1','01',26,'CODICE VITIGNO AIMA',2,'CODVAI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BTUVE1','01',27,'UVA DECLASSAMENTO',2,'UVADEC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BTUVE1','01',28,'CODICE VINIFICAZIONE CCIAA',2,'VCCIAA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTUVE1','01',29,'RESA PER RECIOTO/AMARONE',2,'RESREC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BTUVE1','01',30,'CODICE DELLE D.O. E I.G.T.',2,'CODDOI',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('BTUVE1','01',31,'RESA TOLLERATA (VEDI xModoTolleranzaDoc)',2,'RESTOL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BTUVE1','01',32,'TAVOLA VARIETALE (S/N)',2,'TAVVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTUVE1','01',33,'S=DOC SUPERO/G=DOCG SUPERO',2,'IGTDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTUVE1','01',34,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('BTUVE1','01',35,'CODICE UVA PRIMO SUPERO (RISERVA)',2,'CUSURI',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BTUVE1','01',36,'RESA QLI/HA PRIMO SUPERO (RISERVA)',2,'RESURI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('BTUVE1','01',37,'CODICE OBSOLETO /S',2,'FLGOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BTUVE1','01',38,'UVA DESTINAZIONE IGT DECLASSATA X GRADO',2,'IGTDGC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('BTUVE1','01',39,'UVA BIOLOGICA (S)',2,'FLGBIO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BVETIN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BVETIN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BVETIN','01',3,'CODICE REGISTRO DI COMMERCIALIZZAZIONE',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BVETIN','01',4,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BVETIN','01',5,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BVETIN','01',6,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BVETIN','01',7,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BVETIN','01',8,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BVETIN','01',9,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BVETIN','01',10,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BVETIN','01',11,'ANNATA COMMERCIALIZZAZIONE',2,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BVETIN','01',12,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BVETIN','01',13,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BVETIN','01',14,'CODICE RAGGRUPPAMENTO VINIFICAZIONE',2,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BVETIN','01',15,'CODICE VARIETA''',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BVETIN','01',16,'CODICE COLONNA',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('BVETIN','01',17,'CODICE MANIPOLAZIONE',2,'MANCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('BVETIN','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,38,38,0,0,'X(38)','',0,'',0,0,'' )
,('BVETIN','01',19,'GRADO VASCA',2,'GRDVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('BVETIN','01',20,'FLAG VASCA IN CONTO LAVORO (S)',2,'FLAGCL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BVETRU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BVETRU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BVETRU','01',3,'CODICE REGISTRO DEMATERIALIZZATO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BVETRU','01',4,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('BVETRU','01',5,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('BVETRU','01',6,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('BVETRU','01',7,'STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BVETRU','01',8,'SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('BVETRU','01',9,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('BVETRU','01',10,'ID FAMIGLIA',2,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('BVETRU','01',11,'ANNATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('BVETRU','01',12,'TIPO COMMITTENTE',2,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('BVETRU','01',13,'CODICE COMMITTENTE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('BVETRU','01',14,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('BVETRU','01',15,'DATA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('BVETRU','01',16,'CODICE VARIETA''',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('CDMANA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMANA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMANA','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMANA','01',4,'DATA',3,'DATLAV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMANA','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,'' )
,('CDMANA','01',6,'ANNO',4,'AAALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('CDMANA','01',7,'MESE',4,'MMMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMANA','01',8,'GIORNO',4,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMANA','01',9,'NUMERO PROGRESSIVO',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMANA','01',10,'IMPUTATE ORE (S/N)',2,'FLGANA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMANA','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,66,66,0,0,'X(66)','',0,'',0,0,'' )
,('CDMARF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMARF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMARF','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMARF','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,'' )
,('CDMARF','01',5,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('CDMARF','01',6,'CODICE ARTICOLO GAMMA ORE',2,'ARTGAO',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('CDMARF','01',7,'CODICE ARTICOLO GAMMA IMPORTO',2,'ARTGAI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('CDMCFA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCFA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCFA','01',3,'TIPO CAUSALE',3,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMCFA','01',6,'CODICE CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMCFA','01',7,'DESCRIZIONE CAUSALE',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('CDMCFA','01',8,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('CDMCFA','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('CDMCLI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCLI','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCLI','01',3,'CODICE CLIENTE CIDIEMME',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCLI','01',4,'TABELLA UTENTI',2,'ELEUTE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('CDMCLI','01',5,'NOME UTENTE',3,'NOMUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('CDMCLI','01',6,'DATA INIZIO SPEDIZIONE',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMCLI','01',7,'INDIRIZZO E-MAIL',3,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('CDMCLI','01',8,'SPEDIRE TUTTO S/N',3,'SPEALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMCLI','01',9,'SECONDO TIPO DA SPEDIRE',3,'SPETIP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',5,'',0,0,'' )
,('CDMCLI','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('CDMCO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO1','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,'' )
,('CDMCO1','01',3,'NUMERO COMMESSA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMCO1','01',4,'DESCRIZIONE COMMESSA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMCO1','01',5,'DATA COMMESSA',2,'DATCOM',0,0,0,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMCO1','01',6,'REDEFINES DATA COMMESSA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO1','01',7,'ANNO COMMESSA',3,'AAACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('CDMCO1','01',8,'MESE COMMESSA',3,'MMMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO1','01',9,'GIORNO COMMESSA',3,'GGGCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO1','01',10,'FLAG COMMESSA',2,'FLAGAC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMCO1','01',16,'RIFERIMENTI FATTURA',2,'RIFFAT',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO1','01',17,'NUMERO FATTURA',3,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMCO1','01',18,'DATA FATTURA',3,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMCO1','01',19,'REDEFINES DATA FATTURA',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO1','01',20,'ANNO FATTURA',4,'AAAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('CDMCO1','01',21,'MESE FATTURA',4,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO1','01',22,'GIORNO FATTURA',4,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO1','01',23,'RIFERIMENTO RICHIESTA',2,'RIFRIC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO1','01',24,'RICHIESTA DA',3,'RICHDA',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMCO1','01',25,'RICHIESTA A',3,'RICHAA',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMCO1','01',26,'DATA MASSIMA CONSEGNA',2,'DATMAX',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMCO1','01',27,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO1','01',28,'ANNO MASSIMA CONSEGNA',3,'AAAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('CDMCO1','01',29,'MESE MASSIMA CONSEGNA',3,'MMMMAX',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
('CDMCO1','01',30,'GIORNO MASSIMA CONSEGNA',3,'GGGMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO1','01',31,'IMPORTO FISSO COMMESSA',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('CDMCO1','01',32,'RESPONSABILE COMMESSA',2,'RESCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO1','01',33,'LIVELLO URGENZA',2,'LIVURG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO1','01',34,'TOTALE ORE DA FATTURARE',2,'OREFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('CDMCO1','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,'' )
,('CDMCO1','01',36,'ORE DA FATTURARE',3,'HHHFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO1','01',37,'MIN DA FATTURARE',3,'MINFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO1','01',38,'ESITO OFFERTA (A=ACCETTATA R=RIFIUTATA)',2,'FLGOFF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMCO1','01',39,'DATA ESITO OFFERTA',2,'DTAOFF',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('CDMCO1','01',40,'ATTENZIONE (S)',2,'FLGATT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMCO1','01',41,'TESTATA COMMESSA ATTENZIONE S',2,'TESATT',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMCO1','01',42,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('CDMCO1','01',43,'RIGA COMMESSA ATTENZIONE S',2,'RIGATT',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('CDMCO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'CDMCO1',0,1,'' )
,('CDMCO2','01',3,'NUMERO COMMESSA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMCO2','01',4,'NUMERO RIGA COMMESSA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO2','01',5,'FLAG RIGA ESEGUITA',2,'FLGESE',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMCO2','01',9,'CODICE INCARICATO CDM',2,'CODDIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO2','01',10,'IMPORTO',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('CDMCO2','01',11,'ORE DA FATTURARE',2,'ORESUG',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('CDMCO2','01',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO2','01',13,'ORE SUGGERITE',3,'HHHSUG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO2','01',14,'MINUTI SUGGERITE',3,'MMMSUG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO2','01',15,'FLAG CDMINFORMA',2,'FLGCDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMCO2','01',19,'FLAG FATTO PER TUTTI (S/N)',2,'FLGTUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMCO2','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,78,78,0,0,'X(78)','',0,'',0,0,'' )
,('CDMCO3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO3','01',3,'NUMERO COMMESSA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMCO3','01',4,'NUMERO RIGA COMMESSA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO3','01',5,'NUMERO NOTA RIGA COMMESSA',3,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO3','01',6,'DESCRIZIONE RIGA NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMCO3','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('CDMCO4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO4','01',2,'NUMERO COMMESSA',2,'NUMERO',1,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMCO4','01',3,'CODICE CLIENTE CDM',2,'CODCLI',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO4','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('CDMCO5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO5','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('CDMCO5','01',3,'ULTIMO NUMERO COMMESSA',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMCO5','01',4,'TIPO LAVORO DA PROPORRE CON MARCATEMPO',2,'TLMART',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO5','01',5,'ARTICOLO ORE PER OFFERTE DA COMMESSE',2,'ARTORE',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('CDMCO5','01',6,'ARTICOLO IMPORTO PER OFFERTE DA COMMESSE',2,'ARTIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('CDMCO5','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('CDMCO6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO6','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO6','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO6','01',4,'DATA',3,'DATLAV',0,0,0,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMCO6','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,'' )
,('CDMCO6','01',6,'ANNO',4,'AAALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('CDMCO6','01',7,'MESE',4,'MMMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO6','01',8,'GIORNO',4,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO6','01',9,'NUMERO PROGRESSIVO ORE LAVORATE',3,'NUMPRO',0,0,0,4,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO6','01',10,'NUMERO PROGRESSIVO NOTE',3,'NUMNOT',0,0,0,4,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO6','01',11,'RIGA NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMCO6','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('CDMCO7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO7','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO7','01',3,'NUMERO COMMESSA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMCO7','01',4,'NUMERO RIGA COMMESSA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO7','01',5,'NUMERO NOTA RIGA COMMESSA',3,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO7','01',6,'DESCRIZIONE NOTE INTERNE FATTURAZIONE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMCO7','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('CDMCO8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO8','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO8','01',3,'NUMERO COMMESSA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMCO8','01',4,'CLIENTE AV2000 DESTINATARIO DELL''OFFERTA',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('CDMCO8','01',5,'ATTENZIONE DI',2,'ATTENZ',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('CDMCO8','01',6,'SOLO LE RIGHE',2,'TABSOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO8','01',7,'SOLO LE RIGHE',3,'SOLRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',10,'',0,0,'' )
,('CDMCO8','01',8,'ESLUSE LE RIGHE',2,'TABESC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO8','01',9,'ESCLUSE LE RIGHE',3,'ESCRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',10,'',0,0,'' )
,('CDMCO8','01',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,'' )
,('CDMCO8','01',11,'PROTOCOLLO MAESTRALE',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('CDMCO8','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,104,104,0,0,'X(104)','',0,'',0,0,'' )
,('CDMCO9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO9','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMCO9','01',3,'NUMERO COMMESSA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMCO9','01',4,'NUMERO RIGA COMMESSA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMCO9','01',5,'NUMERO NOTA INTERNA RIGA COMMESSA',3,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMCO9','01',6,'DESCRIZIONE RIGA NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMCO9','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('CDMDET','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMDET','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMDET','01',3,'TIPO CAUSALE',3,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMDET','01',6,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('CDMDET','01',7,'DATA DOCUMENTO',3,'DTADOC',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMDET','01',8,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMDET','01',9,'ANNO DOCUMENTO',4,'ANNODC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMDET','01',10,'MESE DOCUMENTO',4,'MESEDC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'9(2)','',0,'',0,0,'' )
,('CDMDET','01',11,'GIORNO DOCUMENTO',4,'GIORDC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'9(2)','',0,'',0,0,'' )
,('CDMDET','01',12,'NUMERO DOCUMENTO',3,'NUMDOC',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMDET','01',13,'CAUSALE DETTAGLIO FATTURA',3,'CAUDET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMDET','01',14,'IMPORTO DETTAGLIO FATTURA',2,'IMPDET',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,4,0,'9(9)V9(4)','',0,'',0,0,'' )
,('CDMDET','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMFAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMFAT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMFAT','01',3,'TIPO RECORD = "01"',3,'TIPREC',0,0,1,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('CDMFAT','01',4,'DATA DOCUMENTO',3,'DTADOC',0,2,3,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMFAT','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,'' )
,('CDMFAT','01',6,'ANNO DOCUMENTO',4,'ANNODC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMFAT','01',7,'MESE DOCUMENTO',4,'MESEDC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'9(2)','',0,'',0,0,'' )
,('CDMFAT','01',8,'GIORNO DOCUMENTO',4,'GIORDC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'9(2)','',0,'',0,0,'' )
,('CDMFAT','01',9,'NUMERO DOCUMENTO',3,'NUMDOC',0,1,4,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMFAT','01',10,'CODICE CLIENTE',2,'CODCLI',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('CDMFAT','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,122,122,0,0,'X(122)','',0,'',0,0,'' )
,('CDMFAT','HW',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMFAT','HW',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMFAT','HW',3,'TIPO RECORD = "HW"',3,'TIPREC',0,0,1,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMFAT','HW',4,'DATA DOCUMENTO',3,'DTADOC',0,2,3,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMFAT','HW',5,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMFAT','HW',6,'ANNO DOCUMENTO',4,'ANNODC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMFAT','HW',7,'MESE DOCUMENTO',4,'MESEDC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'9(2)','',0,'',0,0,'' )
,('CDMFAT','HW',8,'GIORNO DOCUMENTO',4,'GIORDC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'9(2)','',0,'',0,0,'' )
,('CDMFAT','HW',9,'NUMERO DOCUMENTO',3,'NUMDOC',0,1,4,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMFAT','HW',10,'CODICE CLIENTE',2,'CODCLI',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('CDMFAT','HW',11,'TOTALE FATTURA',2,'TOTFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,4,0,'9(9)V9(4)','',0,'',0,0,'' )
,('CDMFAT','HW',12,'IMPONIBILE FATTURA',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,4,0,'9(9)V9(4)','',0,'',0,0,'' )
,('CDMFAT','HW',13,'NOSTRO MARGINE',2,'NSMARG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,4,0,'9(9)V9(4)','',0,'',0,0,'' )
,('CDMFAT','HW',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('CDMFAT','SW',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMFAT','SW',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMFAT','SW',3,'TIPO RECORD = "SW"',3,'TIPREC',0,0,1,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMFAT','SW',4,'DATA DOCUMENTO',3,'DTADOC',0,2,3,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMFAT','SW',5,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMFAT','SW',6,'ANNO DOCUMENTO',4,'ANNODC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMFAT','SW',7,'MESE DOCUMENTO',4,'MESEDC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'9(2)','',0,'',0,0,'' )
,('CDMFAT','SW',8,'GIORNO DOCUMENTO',4,'GIORDC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'9(2)','',0,'',0,0,'' )
,('CDMFAT','SW',9,'NUMERO DOCUMENTO',3,'NUMDOC',0,1,4,2,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMFAT','SW',10,'CODICE CLIENTE',2,'CODCLI',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('CDMFAT','SW',11,'TOTALE FATTURA',2,'TOTFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,4,0,'9(9)V9(4)','',0,'',0,0,'' )
,('CDMFAT','SW',12,'IMPONIBILE FATTURA',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,4,0,'9(9)V9(4)','',0,'',0,0,'' )
,('CDMFAT','SW',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('CDMOF1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF1','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,'' )
,('CDMOF1','01',3,'NUMERO OFFERTA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMOF1','01',4,'FLAG OFFERTA/ACCETTATA/RIFIUTATA',2,'FLGOAR',0,0,0,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMOF1','01',5,'CODICE CLIENTE',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('CDMOF1','01',6,'DATA OFFERTAA',2,'DATOFF',0,0,1,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMOF1','01',7,'REDEFINES DATA OFFERTA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF1','01',8,'ANNO OFFERTA',3,'AAAOFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('CDMOF1','01',9,'MESE OFFERTA',3,'MMMOFF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMOF1','01',10,'GIORNO OFFERTA',3,'GGGOFF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMOF1','01',11,'VALIDITA''',2,'VALIDI',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('CDMOF1','01',12,'OGGETTO',2,'OGGETT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMOF1','01',13,'ATTENZIONE',2,'ATTENZ',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMOF1','01',14,'RIFERIMENTO',2,'RIFERI',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('CDMOF1','01',15,'CODICE DIPENDENTE',2,'CODDIP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMOF1','01',16,'NOTE INTERNE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMOF1','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,112,112,0,0,'X(112)','',0,'',0,0,'' )
,('CDMOF2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF2','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,'' )
,('CDMOF2','01',3,'NUMERO OFFERTA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMOF2','01',4,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMOF2','01',5,'CODICE ARTICOLO',2,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('CDMOF2','01',6,'QTA OFFERTA',2,'QTAOFF',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('CDMOF2','01',7,'COSTO CDM',2,'COSCDM',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V9(2)','',0,'',0,0,'' )
,('CDMOF2','01',8,'PREZZO OFFERTO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V9(2)','',0,'',0,0,'' )
,('CDMOF2','01',9,'SCONTO %',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('CDMOF2','01',10,'SCONTO PEZZO',2,'SCOPEZ',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('CDMOF2','01',11,'DESCRIZIONE ALTERNATIVA ARTICOLO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('CDMOF2','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('CDMOF3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF3','01',3,'NUMERO OFFERTA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMOF3','01',4,'RIGA ORDINE OFFERTA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMOF3','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,'' )
,('CDMOF3','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,'' )
,('CDMOF3','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,'' )
,('CDMOF3','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,23,23,0,0,'X(23)','',0,'',0,0,'' )
,('CDMOF4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF4','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('CDMOF4','01',3,'ULTIMO NUMERO COMMESSA',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMOF4','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('CDMOF5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF5','01',3,'NUMERO OFFERTA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMOF5','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMOF5','01',5,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMOF5','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('CDMOF6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF6','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMOF6','01',3,'NUMERO OFFERTA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMOF6','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,'' )
,('CDMOF6','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,'' )
,('CDMOF6','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,'' )
,('CDMOF6','01',7,'LOCALITA E PROVINCIA',2,'LOCPRV',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('CDMOF6','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,371,371,0,0,'X(371)','',0,'',0,0,'' )
,('CDMORE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMORE','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMORE','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,0,0,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMORE','01',4,'DATA',3,'DATLAV',0,0,0,1,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMORE','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,'' )
,('CDMORE','01',6,'ANNO',4,'AAALAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('CDMORE','01',7,'MESE',4,'MMMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMORE','01',8,'GIORNO',4,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMORE','01',9,'NUMERO PROGRESSIVO (00 PER STRAORDINARI)',3,'NUMPRO',0,0,0,4,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMORE','01',10,'ORE LAVORATE',2,'ORELAV',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
('CDMORE','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,'' )
,('CDMORE','01',12,'ORE',3,'HH-LAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMORE','01',13,'MINUTI',3,'MM-LAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMORE','01',14,'TIPO LAVORO',2,'TIPLAV',0,1,0,3,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMORE','01',15,'NUMERO COMMESSA',2,'NUMCOM',0,0,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMORE','01',16,'NUMERO RIGA COMMESSA',2,'NUMRGA',0,0,2,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMORE','01',17,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMORE','01',18,'DESCRIZIONE LAVORO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('CDMORE','01',21,'IMPORTO - OBSOLETO, SPOSTATO IN CDMCO2',2,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('CDMORE','01',22,'FLAG + (SI POSSONO FATTURARE PIU'' ORE)',2,'FLGPIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMORE','01',24,'VIAGGI IN KM',2,'VIAGGI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMORE','01',25,'RIMBORSO ( /S/N)',2,'FLGRIM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMORE','01',26,'ORE STRAORDINARI RETRIBUITI (NUMPRO=0)',2,'ORESTD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('CDMORE','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,56,56,0,0,'X(56)','',0,'',0,0,'' )
,('CDMORF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMORF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMORF','01',3,'NUMERO COMMESSA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMORF','01',4,'NUMERO RIGA COMMESSA (0 record testata)',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMORF','01',5,'ORE FATTURATE',2,'OREFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('CDMORF','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,'' )
,('CDMORF','01',7,'ORE FATTURATE',3,'HHHFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMORF','01',8,'MINUTI FATTURATI',3,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMORF','01',9,'IMPORTO FATTURATO',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('CDMORF','01',10,'FATTURATO 0 ORE ( /S/N)',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMORF','01',11,'IMPORTO FISSO',2,'IMPFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('CDMORF','01',12,'ORE FISSE DA FATTURARE',2,'OREFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('CDMORF','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMORF','01',14,'ORE FISSE',3,'HHHFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMORF','01',15,'MIN FISSE',3,'MMMFIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMORF','01',16,'ART.FATTURAZIONE GAMMA (RECORD TESTATA)',2,'ARTFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMORF','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,68,68,0,0,'X(68)','',0,'',0,0,'' )
,('CDMPR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPR1','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,'' )
,('CDMPR1','01',3,'NUMERO COMMESSA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMPR1','01',4,'DESCRIZIONE PROPOSTA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMPR1','01',5,'DATA PROPOSTA',2,'DATPRO',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMPR1','01',6,'REDEFINES DATA PROPOSTA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPR1','01',7,'ANNO PROPOSTA',3,'AAAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('CDMPR1','01',8,'MESE PROPOSTA',3,'MMMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMPR1','01',9,'GIORNO PROPOSTA',3,'GGGPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMPR1','01',10,'IMPORTO FATTURAZIONE PROPOSTA',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('CDMPR1','01',11,'PRIMO TIPO PROPOSTA',2,'TIP001',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMPR1','01',12,'SECONDO TIPO PROPOSTA',2,'TIP002',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMPR1','01',13,'NUMERO ORE DA FATTURARE',2,'NUMORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMPR1','01',14,'NOTE FATTURAZIONE',2,'NOTFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMPR1','01',15,'DATA INVIO',2,'DATINV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMPR1','01',16,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPR1','01',17,'ANNO INVIO',3,'AAAINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMPR1','01',18,'MESE INVIO',3,'MMMINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMPR1','01',19,'GIORNO INVIO',3,'GGGINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMPR1','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('CDMPR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPR2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPR2','01',3,'NUMERO PROPOSTA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMPR2','01',4,'NUMERO NOTA RIGA PROPOSTA',3,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMPR2','01',5,'DESCRIZIONE RIGA NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMPR2','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMPR3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPR3','01',2,'NUMERO COMMESSA',2,'NUMERO',1,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMPR3','01',3,'CODICE CLIENTE CDM',2,'CODCLI',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMPR3','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMPR4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPR4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPR4','01',3,'NUMERO PROPOSTA',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMPR4','01',4,'NUMERO NOTA RIGA PROPOSTA',3,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMPR4','01',5,'DESCRIZIONE RIGA NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMPR4','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMPRO','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPRO','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,'' )
,('CDMPRO','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,'' )
,('CDMPRO','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,'' )
,('CDMPRO','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,'' )
,('CDMPRO','IN',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPRO','IN',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPRO','IN',3,'TIPO RECORD = "IN"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMPRO','IN',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,'' )
,('CDMPRO','IN',5,'ULTIMO NUMERO PROPOSTA',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMPRO','IN',6,'DATA ULTIMA SPEDIZIONE',2,'ULTSPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMPRO','IN',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPRO','IN',8,'ANNO ULTIMA SPEDIZIONE',3,'AAAULT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('CDMPRO','IN',9,'MESE ULTIMA SPEDIZIONE',3,'MMMULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMPRO','IN',10,'GIORNO ULTIMA SPEDIZIONE',3,'GGGULT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMPRO','IN',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,127,127,0,0,'X(127)','',0,'',0,0,'' )
,('CDMPTE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPTE','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPTE','01',3,'NUMERO RIGA',3,'NUMRIG',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMPTE','01',4,'RIGA',2,'DESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMPTE','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('CDMPTR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPTR','01',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMPTR','01',3,'NUMERO RIGA',3,'NUMRIG',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMPTR','01',4,'RIGA',2,'DESRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMPTR','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('CDMTAB','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','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,'' )
,('CDMTAB','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,'' )
,('CDMTAB','00',4,'ZEROES',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMTAB','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('CDMTAB','DI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('CDMTAB','DI',3,'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,'' )
,('CDMTAB','DI',4,'CODICE DIPENDENTE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMTAB','DI',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('CDMTAB','DI',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMTAB','DI',7,'MATRICOLA',2,'NUMMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('CDMTAB','DI',8,'SIGLA IN STAMPE',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMTAB','DI',9,'FILE FIRMA EPS',2,'FFIRMA',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMTAB','DI',10,'POSIZIONE FIRMA OFFERTE COORDINATA X',2,'PFO-CX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('CDMTAB','DI',11,'POSIZIONE FIRMA OFFERTE COORDINATA Y',2,'PFO-CY',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('CDMTAB','DI',12,'SCALA FIRMA OFFERTE',2,'PFO-SC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,4,2,0,'9V99 COMP-3','',0,'',0,0,'' )
,('CDMTAB','DI',13,'FIRMATARIO OFFERTE',2,'FIRMAT',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('CDMTAB','DI',14,'SIGLA MAESTRALE',2,'SIGMAE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('CDMTAB','T1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','T1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','T1',3,'TIPO RECORD = "T1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMTAB','T1',4,'CODICE PRIMO TIPO PROPOSTA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTAB','T1',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('CDMTAB','T1',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,'' )
,('CDMTAB','T1',7,'SIGLA STAMPA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('CDMTAB','T1',8,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('CDMTAB','T1',9,'DESCRIZIONE PER STAMPA',2,'DESSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMTAB','T1',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMTAB','T2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','T2',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','T2',3,'TIPO RECORD = "T2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMTAB','T2',4,'CODICE PRIMO TIPO PROPOSTA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTAB','T2',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('CDMTAB','T2',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,'' )
,('CDMTAB','T2',7,'SIGLA STAMPA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('CDMTAB','T2',8,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('CDMTAB','T2',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('CDMTAB','TL',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','TL',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','TL',3,'TIPO RECORD = "TL"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMTAB','TL',4,'CODICE TIPO LAVORO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMTAB','TL',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('CDMTAB','TL',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,'' )
,('CDMTAB','TL',7,'DESCRIZIONE LAVORO OBBLIGATORIA (S/N)',2,'FLGDES',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMTAB','TL',8,'CODICE CLIENTE OBBLIGATORIO (S/N)',2,'FLGCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMTAB','TL',11,'SIGLA STAMPA',2,'SIGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('CDMTAB','TL',12,'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,'' )
,('CDMTAB','TL',13,'GESTITO FLAG RIMBORSO (S/N)',2,'FLGRIM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('CDMTAB','TL',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,77,77,0,0,'X(77)','',0,'',0,0,'' )
,('CDMTAB','UR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','UR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTAB','UR',3,'TIPO RECORD = "UR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMTAB','UR',4,'LIVELLO URGENZA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTAB','UR',5,'ZEROES',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('CDMTAB','UR',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('CDMTAB','UR',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,'' )
,('CDMTAB','UR',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,73,73,0,0,'X(73)','',0,'',0,0,'' )
,('CDMTEL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTEL','01',2,'CHIAVE PER DATA/ORA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTEL','01',3,'DATA TELEFONATA',3,'DTATEL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('CDMTEL','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,'' )
,('CDMTEL','01',5,'ANNO',4,'AAATEL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('CDMTEL','01',6,'MESE',4,'MMMTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTEL','01',7,'GIORNO',4,'GGGTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTEL','01',8,'ORA TELEFONATA',3,'ORATEL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('CDMTEL','01',9,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTEL','01',10,'ORA',4,'HHHTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTEL','01',11,'MINUTI',4,'MINTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTEL','01',12,'SECONDI',4,'SSSTEL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTEL','01',13,'NUMERO PROGRESSIVO',3,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('CDMTEL','01',14,'DURATA HHMMSS',2,'DURATA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('CDMTEL','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CDMTEL','01',16,'ORE DURATA',3,'HHHDUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTEL','01',17,'MINUTI DURATA',3,'MINDUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTEL','01',18,'SECONDI DURATA',3,'SSSDUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('CDMTEL','01',19,'NUMERO INTERNO',2,'NUMINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMTEL','01',20,'NUMERO LINEA',2,'NUMLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('CDMTEL','01',21,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('CDMTEL','01',27,'NUMERO TELEFONICO CHIAMATO/CHIAMANTE',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('CDMTEL','01',28,'STRINGA CHIAMANTE IN INGRESSO',2,'DESINP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('CDMTEL','01',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,63,63,0,0,'X(63)','',0,'',0,0,'' )
,('CORFAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('CORFAT','01',2,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,999,999,0,0,'X(9999)','',0,'',0,0,'' )
,('ESIXML','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ESIXML','01',2,'RECORD',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,999,999,0,0,'X(9999)','',0,'',0,0,'' )
,('FPCBCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('FPCBCO','01',2,'CODICE COMUNE',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('FPCBCO','01',3,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('FPCBIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('FPCBIC','01',2,'NUMERO BOLLETTA',2,'NUMBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('FPCBIC','01',3,'DATA BOLLETTA',2,'DTABOL',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('FPCBIC','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('FPCBIC','01',5,'GIORNO',3,'GG-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('FPCBIC','01',6,'MESE',3,'MM-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('FPCBIC','01',7,'ANNO',3,'AA-BOL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('FPCBIC','01',8,'ORA ENTRATA',2,'ORAENT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('FPCBIC','01',9,'ORA USCITA',2,'ORAUSC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('FPCBIC','01',10,'CODICE SOCIO',2,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('FPCBIC','01',11,'CODICE UVA',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('FPCBIC','01',12,'CODICE COMUNE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('FPCBIC','01',13,'GRADO BABO',2,'GRADOB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('FPCBIC','01',14,'PH',2,'PHPHPH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('FPCBIC','01',15,'ACIDITA''',2,'ACIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('FPCBIC','01',16,'INDICE MATURAZIONE',2,'INDMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('FPCBIC','01',17,'PESO LORDO',2,'PLORDO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9999V99','',0,'',0,0,'' )
,('FPCBIC','01',18,'TARA',2,'TARAQL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9999V99','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('FPCBIC','01',19,'PESO NETTO',2,'PNETTO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9999V99','',0,'',0,0,'' )
,('FPCBIC','01',20,'CODICE SCELTA',2,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('FPCBIC','01',21,'CODICE IG',2,'CODUIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('FPCBSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('FPCBSC','01',2,'CODICE SCELTA',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('FPCBSC','01',3,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('FPCBSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('FPCBSO','01',2,'CODICE SOCIO',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('FPCBSO','01',3,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('FPCBSO','01',4,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('FPCBSO','01',5,'COMUNE',2,'COMUNE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('FPCBSO','01',6,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('FPCBSO','01',7,'CAP',2,'CAPCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('FPCBSO','01',8,'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,'' )
,('FPCBSO','01',9,'CODICE FISCALE',2,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('FPCBSO','01',10,'UVA CONFERIBILE',2,'ELEUVA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',20,'',0,0,'' )
,('FPCBSO','01',11,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('FPCBSO','01',12,'CODICI COMUNI',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',5,'',0,0,'' )
,('FPCBSO','01',13,'CERTIFICATA',3,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('FPCBUV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('FPCBUV','01',2,'CODICE UVA',2,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('FPCBUV','01',3,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('FPCBUV','01',4,'TIPO UVA',2,'FLGDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('JPVENZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('JPVENZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('JPVENZ','01',3,'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,'' )
,('JPVENZ','01',4,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('JPVENZ','01',5,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('JPVENZ','01',9,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('JPVENZ','01',10,'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,'' )
,('JPVENZ','01',11,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('JPVENZ','01',12,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('JPVENZ','01',13,'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,'' )
,('JPVENZ','01',14,'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,'' )
,('JPVENZ','01',15,'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,'' )
,('JPVENZ','01',16,'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,'' )
,('JPVENZ','01',21,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('JPVENZ','01',22,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('JPVENZ','01',23,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('JPVENZ','01',24,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('JPVENZ','01',25,'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,'' )
,('JPVENZ','01',26,'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,'' )
,('JPVENZ','01',27,'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,'' )
,('JPVENZ','01',28,'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,'' )
,('JPVENZ','01',29,'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,'' )
,('JPVENZ','01',30,'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,'' )
,('JPVENZ','01',44,'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,'' )
,('JPVENZ','01',52,'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,'' )
,('JPVENZ','01',56,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('JPVENZ','01',57,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('JPVENZ','01',58,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('JPVENZ','01',59,'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,'' )
,('JPVENZ','01',60,'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,'' )
,('JPVENZ','01',61,'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,'' )
,('JPVENZ','01',63,'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,'' )
,('JPVENZ','01',64,'TABELLA RECIPIENTI MULTIPLI',3,'TABREC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('JPVENZ','01',65,'ELEMENTO RECIPIENTE',4,'ELEREC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',4,'',0,0,'' )
,('JPVENZ','01',66,'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,'' )
,('JPVENZ','01',67,'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,'' )
,('JPVENZ','01',68,'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,'' )
,('JPVENZ','01',69,'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,'' )
,('JPVENZ','01',70,'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,'' )
,('JPVENZ','01',71,'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,'' )
,('JPVENZ','01',72,'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,'' )
,('JPVENZ','01',73,'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,'' )
,('JPVENZ','01',74,'ACCUMULO PUNTI FIDELITY (MERCE E SCONTO)',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,'' )
,('JPVENZ','01',75,'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,'' )
,('JPVENZ','01',76,'ATTRIBUTI STATISTICI',3,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('JPVENZ','01',77,'CODICE ATTRIBUTO',4,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('JPVENZ','01',78,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,44,44,0,0,'X(44)','',0,'',0,0,'' )
,('JPVENZ','01',79,'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,'' )
,('JPVENZ','01',80,'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,'' )
,('JPVENZ','01',81,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('JPVENZ','01',82,'DESCRIZIONE CONFEZIONE',2,'DESCFZ',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('JPVENZ','01',83,'DESCRIZIONE IVA',2,'DESIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('JPVENZ','01',84,'LOTTI MAGAZZINO SPEDITI',2,'LOTTIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('JPVENZ','01',85,'LOTTO MAGAZZINO SPEDITO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('JPVENZ','01',86,'QUANTITA'' LOTTO MAGAZZINO SPEDITO',3,'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,'' )
,('JPVENZ','01',87,'LOTTO TRACCIABILITA''',2,'LOTTOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('KEOMOV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('KEOMOV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,3,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('KEOMOV','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('KEOMOV','01',4,'CODICE MAGAZZINO',2,'CODMAG',0,1,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('KEOMOV','01',5,'DATA/ORA MOVIMENTO',2,'TEMMOV',0,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('KEOMOV','01',6,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('KEOMOV','01',7,'ORA MOVIMENTO',3,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('KEOMOV','01',8,'ERGA OMNES',2,'ERGOMN',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('KEOMOV','01',9,'CODICE ERGA OMNES',3,'CODERG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('KEOMOV','01',10,'ANNATA ERGA OMNES',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('KEOMOV','01',11,'LOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('KEOMOV','01',12,'NUMERO INTERNO IDONEITA''',3,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('KEOMOV','01',13,'CODICE PRODOTTO (SOLO MOV. SEMPLICI)',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('KEOMOV','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,'' )
,('KEOMOV','01',16,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('KEOMOV','01',17,'LOTTO ARTICOLO',3,'LOTART',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('KEOMOV','01',18,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('KEOMOV','01',19,'STATO IDONEITA'' PRIMA DEL MOVIMEMTO',2,'STEOID',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('KEOMOV','01',20,'STATO IDONEITA'' GENERATO DAL MOVIMENTO',2,'STEPID',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('KEOMOV','01',21,'QUANTITA'' MOVIMENTATA IN LITRI',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V9(3)','',0,'',0,0,'' )
,('KEOMOV','01',22,'NUMERO MOVIMENTO ERGA OMNES GENERATO',2,'NUMMEO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('KEOMOV','01',23,'NUMERO MOVIMENTO COMM. GENERATO',2,'NUMMCO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('KEOMOV','01',24,'NUMERO MOVIMENTO MAGAZZINO GENERATO',2,'NUMMMG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('KEOMOV','01',25,'CODICE COMM. VINO SFUSO ATTO',2,'CCMVSA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('KEOMOV','01',26,'CODICE COMM. VINO CONF. ATTO',2,'CCMVCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('KEOMOV','01',27,'CODICE COMM. VINO SFUSO CERTIFICATO',2,'CCMVSC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('KEOMOV','01',28,'CODICE COMM. VINO CONF. CERTIFICATO',2,'CCMVCC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('KEOMOV','01',29,'CODICE ARTICOLO VINO SFUSO ATTO',2,'CARVSA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('KEOMOV','01',30,'CODICE ARTICOLO VINO CONF. ATTO',2,'CARVCA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('KEOMOV','01',31,'CODICE ARTICOLO VINO SFUSO CERTIFICATO',2,'CARVSC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('KEOMOV','01',32,'CODICE ARTICOLO VINO CONF. CERTIFICATO',2,'CARVCC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('KEOMOV','01',33,'CODICE MANIP. COMM. VINO SFUSO ATTO',2,'MCMVSA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('KEOMOV','01',34,'CODICE MANIP. COMM. VINO SFUSO CERTIFIC.',2,'MCMVSC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('KEOMOV','01',35,'MANIPOLAZIONI IDONEITA''',2,'IDOMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('KEOMOV','01',36,'CODICE COMMERCIALIZZAIZONE VINO GENERICO',2,'CCMVGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('KEOMOV','01',37,'CODICE MANIP. COMM. VINO GENERICO',2,'MCMVGE',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('KEOMOV','01',38,'LOTTO IDONEITA''',2,'IDOLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('KEOMOV','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,87,87,0,0,'X(87)','',0,'',0,0,'' )
,('L03RID','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L03RID','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L03RID','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,'' )
,('L03RID','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L03RID','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L03RID','01',6,'TOTALE BOLLATO NEL PERIODO',2,'TOTBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('L03RID','01',7,'TOTALE PRODOTTO NEL PERIODO',2,'TOTPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('L03RID','01',8,'RIDUZIONE OTTIMALE BOLLE (QTA-1)',2,'TOTOTT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('L03RID','01',9,'RIDUZIONE MAX POSSIBILE PRODUZ. (QTA-2)',2,'TOTMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('L03RID','01',10,'RIDUZIONE APPLICATA BOLLE (QTA-3)',2,'RIDBOL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('L03RID','01',11,'RIDUZIONE APPLICATA PRODUZIONI',2,'RIDPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('L0CV32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L0CV32','01',2,'CODICE VASCA',2,'CODICE',1,2,2,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L0CV32','01',3,'DESCRIZIONE VASCA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L0CV32','01',4,'CODICE STABILIMENTO',2,'CODSTB',0,0,1,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L0CV32','01',5,'CAPACITA'' LITRI',2,'CAPLIT',0,1,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('L0CV32','01',6,'CODICE FAMIGLIA ORIGINE',2,'OLDFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L0CV32','01',7,'CODICE COLORE ORIGINE',2,'OLDCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L0CV32','01',8,'QUANTITA'' CONTENUTA',2,'OLDQTA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,4,0,'S9(9)V9(4) COMP-3','',0,'',0,0,'' )
,('L0CV32','01',9,'AZIENDA ASSEGNATA',2,'NEWAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L0CV32','01',10,'REGISTRO ASSEGNATO',2,'NEWREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L0CV32','01',11,'FAMIGLIA ASSEGNATA',2,'NEWFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L0CV32','01',12,'COLORE ASSEGNATO',2,'NEWCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L0CV32','01',13,'CODICE ASSEGNATO',2,'NEWCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L0CV32','01',14,'ANNATA ASSEGNATA',2,'NEWANN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L0CV32','01',15,'QUANTITA'' ASSEGNATA',2,'NEWQTA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,4,0,'S9(9)V9(4) COMP-3','',0,'',0,0,'' )
,('L0CV33','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L0CV33','01',2,'CHIAVE PER PRIORITA DI ELABORAZIONE',2,'KEY002',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L0CV33','01',3,'PRIORITA'' ELABORAZIONE',3,'NPRIOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L0CV33','01',4,'QUANTITA'' OTTIMALE DA ASSEGNARE',3,'QTAOTT',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,4,0,'S9(9)V9(4)','',0,'',0,0,'' )
,('L0CV33','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,'' )
,('L0CV33','01',6,'CODICE AZIENDA',4,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L0CV33','01',7,'CODICE REGISTRO',4,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L0CV33','01',8,'CODICE VINO',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L0CV33','01',9,'ANNATA VINO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L0CV33','01',10,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L0CV33','01',11,'CODICE COLORE',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L0CV33','01',12,'FAMIGLIA',2,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L0CV33','01',13,'QUANTITA'' REGSITRO',2,'QTACOM',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,4,0,'S9(9)V9(4) COMP-3','',0,'',0,0,'' )
,('L0CV33','01',14,'QUANTITA'' CONFEZIONATO',2,'QTACFZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,4,0,'S9(9)V9(4) COMP-3','',0,'',0,0,'' )
,('L0CV33','01',15,'QUANTITA'' ASSEGNATA',2,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,4,0,'S9(9)V9(4) COMP-3','',0,'',0,0,'' )
,('L0SAPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L0SAPC','01',2,'CODICE AZIENDA',2,'CODAZI',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L0SAPC','01',3,'CODICE CLIENTE',2,'CODCLI',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L0SAPC','01',4,'CODICE VASCA',2,'CODVAS',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L0SAPC','01',5,'RAGIONE SOCIALE CLIENTE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('L0SSCV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L0SSCV','01',2,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L0SSCV','01',3,'QTA DA ELABORARE',2,'QTAELA',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L0SSCV','01',4,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L0SSCV','01',5,'VARIETA''',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L0SSCV','01',6,'ANNATA VARIETA''',2,'ANNVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L0SSCV','01',7,'DATA MOVIMENTO',2,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L0SSCV','01',8,'ORA MOVIMENTO',2,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L0SSCV','01',9,'NUMERO MOVIMENTO',2,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L0SSCV','01',10,'NUMERO ORDINE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L0SSCV','01',11,'CAUSALE MOVIMENTO',2,'CAUMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L0SSCV','01',12,'CODICE AGGIUNTA',2,'CODAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L0SSCV','01',13,'QTA RIFERIMENTO',2,'QTARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('L0SSCV','01',14,'QTA TOTALE',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L0SSCV','01',15,'LIVELLO',2,'LEVELL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L0SSRC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L0SSRC','01',2,'CODICE VARIETA''',2,'CODVAR',1,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L0SSRC','01',3,'CODICE VASCA (ZERO PER RECORD VARIETA'')',2,'CODVAS',2,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L0SSRC','01',4,'MONTECOSTO MEDIO DA PROCEDURA VASCHE',2,'MTCVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L0SSRC','01',5,'GIACENZA DA PROCEDURA VASCHE',2,'GIAVAS',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L0SSRC','01',6,'MONTEVALORE ACQUISTO DA PROCEDURA VASCHE',2,'MTAVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L0SSRC','01',7,'QTA RIFERIMENTO DEL VALORE DI ACQUISTO',2,'QTAACQ',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L0SSRC','01',8,'MONTEPREZZO MEDIO CONTRATTI ASSEGNATI',2,'MTPCON',0,0,0,0,0,0,0,0,0,0,'',1,0,16,17,5,0,'9(11)V9(5)','',0,'',0,0,'' )
,('L0SSRC','01',9,'QUANTITA'' CONTRATTI ASSEGNATA',2,'QTAASS',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L0SSVR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L0SSVR','01',2,'CODICE VARIETA''',2,'CODVAR',1,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L0SSVR','01',3,'CODICE VARIETA''',2,'CODVAS',2,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L0SSVR','01',4,'GIACENZA VASCA',2,'GIAVAS',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L0SSVR','01',5,'VALORE VASCA',2,'COSVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('L0SSVR','01',6,'VALORE ACQUISTO VASCA',2,'ACQVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('L0SSVR','01',7,'QTA RIFERIMENTO DEL VALORE DI ACQUISTO',2,'QTAACQ',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L0SSVR','01',8,'ALMENO 1 VASCA NO TAB CARICHI VEND.( /*)',2,'FLGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L0SSVR','01',9,'ALMENO 1 VASCA BOLLA ACQ.NON VALOR.( /*)',2,'FLGACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L12FOS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L12FOS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L12FOS','01',3,'JOB ID CAMPIONE RICEVUTO',3,'IDFOSS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('L2MOR7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L2MOR7','01',2,'NUMERO RIGA ORDINE',2,'NUMRGA',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L2MOR7','01',3,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L2MOR7','01',4,'CODICE PRODOTTO',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L2MOR7','01',5,'TEMPO LAVORAZIONE',2,'TEMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L2MOR7','01',6,'TEMPERATURA LAVORAZIONE',2,'TMPLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L2MOR7','01',7,'TITOLO GENERICO',2,'TITGEN',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L2MOR7','01',8,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L2MOR7','01',9,'COD. AZIENDA CONTRATTO CLIENTE',2,'AZICLI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L2MOR7','01',10,'NUMERO CONTRATTO CLIENTE',2,'CONCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L2MOR7','01',11,'NUMERO RIGA CONTRATTO CLIENTE',2,'RIGCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('L2MOR7','01',12,'CODICE FORNITORE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L2MOR7','01',13,'COD. AZIENDA CONTRATTO FORNITORE',2,'AZIFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L2MOR7','01',14,'NUMERO CONTRATTO FORNITORE',2,'CONFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L2MOR7','01',15,'NUMERO RIGA CONTRATTO FORNITORE',2,'RIGFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('L2MOR8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L2MOR8','01',2,'NUMERO RIGA ORDINE',2,'NUMRGA',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L2MOR8','01',3,'FLAG TIPO VASCA',2,'FLGVAS',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L2MOR8','01',7,'CODICE VASCA',2,'CODVAS',3,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('L2MOR8','01',8,'CODICE VARIETA'' VINO',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L2MOR8','01',9,'QUNATITA'' LAVORATA IN HL',2,'QTAHLT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('L2MOR8','01',11,'QUANTITA'' PRODOTTO (g/Hl)',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('L2MOR8','01',12,'PERCENTUALE PRODOTTO (%)',2,'PERPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('L2MOR9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L2MOR9','01',2,'NUMERO RIGA ORDINE',2,'NUMRGA',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L2MOR9','01',3,'NUMERO PROGRESSIVO NOTE',2,'NUMPRO',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L2MOR9','01',4,'RIGA NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('L2MORN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L2MORN','01',2,'NUMERO RIGA ORDINE',2,'NUMRGA',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L2MORN','01',3,'NUMERO PROGRESSIVO NOTE',2,'NUMPRO',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L2MORN','01',4,'RIGA NOTE',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('L2MSCM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L2MSCM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L2MSCM','01',3,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('L2MSCM','01',4,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L2MSCM','01',5,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L2MSCM','01',6,'SCORTA',2,'SCOMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,0,0,'9(11) COMP-3','',0,'',0,0,'' )
,('L2MTCE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L2MTCE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L2MTCE','01',3,'UMIDITA''',3,'UMIDIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('L2MTCE','01',4,'COEFFICIENTE',2,'COEFFI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,5,0,'9V9(5)','',0,'',0,0,'' )
,('L2MTMV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L2MTMV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L2MTMV','01',3,'GRADO',3,'GRAMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L2MTMV','01',4,'MASSA VOLUMICA',2,'MASVOL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,4,0,'99V9(4)','',0,'',0,0,'' )
,('L38FOS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L38FOS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L38FOS','01',3,'NUMERO FOSS',3,'NUMFOS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('L38FOS','01',4,'JOB ID CAMPIONE RICEVUTO',3,'IDFOSS',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('L4ACAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4ACAT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4ACAT','01',3,'CODCIE COMUNE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4ACAT','01',4,'SEZIONE',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L4ACAT','01',5,'FOGLIO',3,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4ACAT','01',6,'PARTICELLA',3,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4ACAT','01',7,'SUB PARTICELLA',3,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4ACAT','01',8,'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,'' )
,('L4ACAT','01',9,'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,'' )
,('L4ACAT','01',10,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,4,0,'9(4)V9(4)','',0,'',0,0,'' )
,('L4ACAT','01',11,'TABELLA ATTRIBUTI PARTICELLA',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4ACAT','01',12,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('L4AVAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4AVAR','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4AVAR','01',3,'PROGRESSIVO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4AVAR','01',4,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4AVAR','01',5,'DESCRIZIONE ARTICOLO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L4AVAR','01',6,'UNITA'' DI MISURA',2,'CODUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L4AVAR','01',7,'VALORIZZAZIONE RIMANENZE',2,'VALRIM',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,5,0,'9(8)V9(5)','',0,'',0,0,'' )
,('L4CMPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4CMPC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4CMPC','01',3,'PROGRESSIVO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4CMPC','01',4,'CODICE ARTICOLO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4CMPC','01',5,'DESCRIZIONE ARTICOLO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L4CMPC','01',6,'UNITA'' DI MISURA',2,'CODUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L4CMPC','01',7,'PREZZO CONTRATTO',2,'PRECON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('L4CMPC','01',8,'PREZZO TABELLA',2,'PRETAB',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,5,0,'9(4)V9(5)','',0,'',0,0,'' )
,('L4DIST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4DIST','01',2,'CODICE DIPENDENTE',2,'CODDIP',1,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L4DIST','01',3,'RAGIONE SOCIALE DIPENDENTE',2,'RAGSOC',0,1,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('L4DIST','01',4,'NUMERO MATRICOLA',2,'NUMMAT',0,2,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L4DIST','01',5,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('L4EXPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4EXPR','01',2,'CHIAVE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4EXPR','01',3,'CODICE DIPENDENTE',3,'CODDIP',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L4EXPR','01',4,'DATA',3,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L4EXPR','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,'' )
,('L4EXPR','01',6,'ANNO',4,'AAARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4EXPR','01',7,'MESE',4,'MMMRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L4EXPR','01',8,'GIORNO',4,'GGGRIF',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L4EXPR','01',9,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4EXPR','01',10,'ORE LAVORATE',2,'NUMORE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4FMC2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMC2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMC2','01',3,'ARTICOLO DI TAGLIO PER CREAZIONE MASSA',3,'ARTTAG',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4FMC2','01',4,'ANNATA ARTICOLO TAGLIO',3,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4FMC2','01',5,'LOTTO ARTICOLO TAGLIO',3,'LOTTOS',0,4,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L4FMC2','01',6,'MANIPOLAZIONI ARTICOLO TAGLIO',2,'MANIPI',0,3,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4FMC2','01',7,'QUANTITA'' TAGLIO DEL PRODOTTO',2,'QTATAG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L4FMC2','01',8,'ASCA DI SCARICO PRODOTTO',2,'VASTAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMC2','01',9,'STABILIMENTO',3,'STATAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L4FMC2','01',10,'SETTORE',3,'SETTAG',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
('L4FMC2','01',11,'NUMERO',3,'NUMTAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L4FMC3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMC3','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMC3','01',3,'PROGRESSIVO TABELLA',3,'INDTAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L4FMC3','01',4,'ARTICOLO DI TAGLIO PER CREAZIONE MASSA',3,'ARTTAG',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4FMC3','01',5,'ANNATA ARTICOLO TAGLIO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4FMC3','01',6,'LOTTO ARTICOLO TAGLIO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L4FMC3','01',7,'QUANTITA'' TAGLIO DEL PRODOTTO',2,'QTATAG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L4FMC3','01',8,'ASCA DI SCARICO PRODOTTO',2,'VASTAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMC3','01',9,'STABILIMENTO',3,'STATAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L4FMC3','01',10,'SETTORE',3,'SETTAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L4FMC3','01',11,'NUMERO',3,'NUMTAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L4FMCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMCO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMCO','01',3,'CODICE FAMIGLIA',3,'CODFAM',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4FMCO','01',4,'ANNATA ARTICOLO VENDUTO',3,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4FMCO','01',5,'MANIPOLAZIONE VENDUTA (SOLO SFUSO)',3,'MANIPI',0,5,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4FMCO','01',6,'ARTICOLO VENDUTO',3,'ARTVEN',0,3,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4FMCO','01',7,'LOTTO ARTICOLO VENDUTO',3,'LOTTOS',0,4,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L4FMCO','01',8,'QTA.VENDUTA DEL GIORNO',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L4FMCR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMCR','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMCR','01',3,'FAMIGLIA VENDUTA',3,'FAMVEN',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4FMCR','01',4,'CODICE FAMIGLIA',4,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4FMCR','01',5,'ANNATA ARTICOLO VENDUTO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4FMCR','01',6,'MANIPOLAZIONE VENDUTA (SOLO SFUSO)',4,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4FMCR','01',7,'ARTICOLO VENDUTO',3,'ARTVEN',0,6,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4FMCR','01',8,'LOTTO ARTICOLO VENDUTO',3,'LOTTOS',0,5,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L4FMCR','01',9,'CODICE CONFEZIONE(SOLO PER CONFEZIONATO)',3,'CODCFZ',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4FMCR','01',10,'VOLUME CONFEZIONE',3,'VOLCFZ',0,4,0,0,0,0,0,0,0,0,'',1,0,12,13,3,0,'9(9)V999','',0,'',0,0,'' )
,('L4FMCR','01',11,'ID FAMIGLIA PRD VENDUTO (SOLO X CONF)',3,'IDFAMI',0,2,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('L4FMCR','01',12,'QTA.VENDUTA DEL GIORNO',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L4FMCR','01',13,'ID PRODOTTO ASSEGNATO',2,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('L4GVCC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4GVCC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4GVCC','01',3,'PROGRESSIVO RECORD',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4GVCC','01',4,'CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4GVCC','01',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,'' )
,('L4GVCC','01',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('L4GVCC','01',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4GVCC','01',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('L4GVCC','01',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L4GVCC','01',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,'' )
,('L4GVCC','01',11,'PERSONA DA CONTATTARE',2,'NOMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4GVCC','01',12,'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,'' )
,('L4GVCC','01',13,'CODICE ATTRIBUTO MAIL',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('L4GVCC','01',14,'REVISIONA DATI ANAGRAFICI',2,'FLGREV',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('L4MCON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4MCON','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4MCON','01',3,'NOME FILE',3,'NOMFIL',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4MCON','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L4MCON','01',5,'AREA RECORD',2,'AREARE',0,0,0,0,0,0,0,0,0,0,'',4,0,884,884,0,0,'X(884)','',0,'',0,0,'' )
,('L4MCOV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4MCOV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4MCOV','01',3,'NUMERO RIGA AUT DOC',3,'NUMAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L4MCOV','01',4,'NUMERO RIGA CATASTO',3,'NUMCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L4MCOV','01',5,'CODICE UVA CATASTO',2,'UVACAT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4MCOV','01',6,'DESCRIZIONE UVA CATASTO',2,'DESCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L4MCOV','01',7,'SUPERFICE VITATA CATASTO',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('L4MCOV','01',8,'COMUNE CATASTO',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4MCOV','01',9,'SEZIONE CATASTO',2,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L4MCOV','01',10,'FOGLIO CATASTO',2,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4MCOV','01',11,'PARTICELLA CATASTO',2,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4MCOV','01',12,'SUB PARTICELLA CATASTO',2,'SUBPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4MCOV','01',13,'UNITA'' VITATA AGEA',2,'UVAGEA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4MCOV','01',14,'PRODUZIONE',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L4MTNF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4MTNF','01',2,'CODICE ARTICOLO',2,'CODART',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4MTOD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4MTOD','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4MTOD','01',3,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L4MTOD','01',4,'ARTICOLO',2,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4MTOD','01',5,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L4MTOD','01',6,'QUANTITA'' OMAGGI',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4MTOD','01',7,'QUANTITA'' OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L4PENP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4PENP','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4PENP','01',3,'FINO A PERCENTUALE',3,'FINOAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4PENP','01',4,'PERCENTUALE DA DETRARRE A PROVVIGIONE',2,'PERDET',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L4PENP','01',5,'NUMERATORE DETRAZIONE',2,'NUMDET',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L4PENP','01',6,'DENOMINATORE DETRAZIONE',2,'DENDET',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L4SANO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SANO','01',2,'CHIAVE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SANO','01',3,'NUMERO DESCRIZIONE',3,'NUMDES',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('L4SANO','01',4,'CODICE DESCRIZIONE',3,'CODDES',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4SANO','01',5,'USATA (S/ )',2,'FLGUSA',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L4SANO','01',6,'DESCRIZIONE PARTE DEFINIZIONE ARTICOLO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L4SC29','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SC29','01',2,'CHIAVE DI SELEZIONE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SC29','01',3,'CODICE PROVINCIA',3,'PROSEL',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4SC29','01',4,'CODICE COMUNE',3,'COMSEL',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4SC29','01',5,'FOGLIO',3,'FOGSEL',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4SC29','01',6,'PARTICELLA',3,'PARSEL',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4SC29','01',7,'NUMERO RIGA',3,'RIGSEL',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SC29','01',9,'RECORD ACATA1',2,'RECPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SC29','01',10,'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,'' )
,('L4SC29','01',11,'PROGRESSIVO PARTICELLA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SC29','01',12,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4SC29','01',13,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4SC29','01',14,'CODICE LOCALITA''',3,'CODLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L4SC29','01',15,'NOME VIGNETO',3,'VIGNET',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('L4SC29','01',16,'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,'' )
,('L4SC29','01',17,'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,'' )
,('L4SC29','01',18,'TUTTE LE PARTICELLE DELLA RIGA',3,'ALLPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SC29','01',19,'PARTICELLA (ALLINEAMENTO DX)',4,'PARTIC',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',6,'',0,0,'' )
,('L4SC29','01',20,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SC29','01',21,'PARTICELLA DA 10 CARATTERI (LAVIS)',4,'PART10',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',3,'',0,0,'' )
,('L4SC29','01',22,'CODICE POSSESSO',3,'CODPOS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'X(2)','',0,'',0,0,'' )
,('L4SC29','01',23,'NOME PROPRIETARIO',3,'NOMEPR',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SC29','01',24,'CODICE VITIGNO',3,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4SC29','01',25,'TABELLA ATTRIBUTI',3,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SC29','01',26,'CODICI ATTRIBUTI',4,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('L4SC29','01',27,'TABELLA NUMERI DEFINIBILI',3,'TABNUM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SC29','01',28,'NUMERI DEFINIBILI',4,'NUMDEF',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',10,'',0,0,'' )
,('L4SC29','01',29,'SUPERFICE VITATA',3,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,4,0,'9(5)V9(4) COMP-3','',0,'',0,0,'' )
,('L4SC29','01',30,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4SC29','01',31,'QUANTITA'' CERTIFICATA DOC',3,'QTACER',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('L4SC29','01',32,'FLAG PRODUZIONE ( /N)',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L4SC29','01',33,'SEZIONE CENSUARIA',3,'SEZION',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L4SC29','01',34,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L4SCA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCA1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCA1','01',3,'CHIAVE ORDINAMENTO',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,245,245,0,0,'X(245)','',0,'',0,0,'' )
,('L4SCA1','01',4,'PROGRESSIVO PER UNIVOCITA',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L4SCA1','01',5,'NUMERO RIGA CATASTO',2,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SCAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCAT','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCAT','01',3,'CODICE NUMERICO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('L4SCAT','01',4,'DESCRIZIONE DA 18 PER MASCHERA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('L4SCAT','01',5,'LUNGHEZZA CAMPO PER STAMPA',2,'LUNGHE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L4SCCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCCA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCCA','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,'' )
,('L4SCCA','01',4,'DATA INIZ.SOLO PER ELABORAZIONE DAL AL',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L4SCCA','01',5,'DATA FIN. SOLO PER ELABORAZIONE DAL AL',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L4SCCA','01',6,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SCCA','01',7,'FINO A QTA SOLO PER CHIAVE',3,'KEYFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L4SCCA','01',8,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('L4SCCA','01',9,'SCONTO 1',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCCA','01',10,'SCONTO 2',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCCA','01',11,'SCONTO 3',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCCA','01',12,'SCONTO 4',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCCA','01',13,'FINO A QTA',2,'FINQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('L4SCCA','01',14,'OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4SCCA','01',15,'OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('L4SCCA','01',16,'ARTICOLO OMAGGIO',2,'ARTOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SCCA','01',17,'DESCRIZIONE ARTICOLO OMAGGIO',2,'DESOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L4SCCA','01',18,'ANNO ARTICOLO OMAGGIO',2,'ANNOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SCDB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCDB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCDB','01',3,'CODICE ARTICOLO FINITO',3,'CODART',0,2,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SCDB','01',4,'CODICE COMPONENTE',3,'CODCOM',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SCDB','01',5,'QUANTITA'' PER OGNI ARTICOLO FINITO',2,'QTAPER',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('L4SCDB','01',6,'QTA OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('L4SCDB','01',7,'ANNATA COMPONENTE',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SCDB','01',8,'FLAG STAMPA',2,'FLGSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L4SCDB','01',9,'PERCENTUALE DI SFRIDO',2,'PSFRID',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('L4SCH1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCH1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCH1','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,'' )
,('L4SCH1','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,'' )
,('L4SCHA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCHA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCHA','01',3,'CODICE ATTRIBUTO ORDINAMENTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4SCHA','01',4,'CODICE COMPONENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SCHA','01',5,'QUANTITA'' COMPONENTE',2,'QTACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('L4SCHA','01',6,'COSTO UNITARIO COMPONENTE',2,'COSCOM',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L4SCLA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCLA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SCLA','01',3,'CODICE LISTINO',3,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4SCLA','01',4,'DATA INIZIALE',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L4SCLA','01',5,'DATA FINALE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L4SCLA','01',6,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SCLA','01',7,'PROGRESSIVO CHIAVE',3,'PRGKEY',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L4SCLA','01',8,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('L4SCLA','01',9,'SCONTO 1',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCLA','01',10,'SCONTO 2',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCLA','01',11,'SCONTO 3',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCLA','01',12,'SCONTO 4',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCLA','01',13,'FINO A QTA',2,'FINQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('L4SCLA','01',14,'OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4SCLA','01',15,'OGNI',2,'QTAOGN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'99999','',0,'',0,0,'' )
,('L4SCLA','01',16,'ARTICOLO OMAGGIO',2,'ARTOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SCLA','01',17,'DESCRIZIONE ARTICOLO OMAGGIO',2,'DESOMA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L4SCLA','01',18,'ANNO ARTICOLO OMAGGIO',2,'ANNOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SCLA','01',19,'FINO A % SCONTO',2,'PERSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('L4SCLA','01',20,'% PROVVIGIONE AGENTE DA APPLICARE',2,'PPROVV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCLA','01',21,'FATTORE MOLTIPLICAZIONE AGENTE',2,'FATPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCLA','01',22,'% PROVVIGIONE CAPO AREA',2,'PPROVC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SCLA','01',23,'FATTORE MOLTIPLICAZIONE CAPO AREA',2,'FATPEC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4SDFM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SDFM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SDFM','01',3,'ANNO DICHIARAZIONI',3,'ANNDIC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SDFM','01',4,'MESE DICHIARAZIONI',3,'MESDIC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L4SDFM','01',5,'FORNITORE',3,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4SDFM','01',6,'DATA DICHIARAZIONE',3,'DATDIC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L4SDFM','01',7,'CODICE DICHIARAZIONE',3,'CODDIC',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4SDFM','01',8,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('L4SDFM','01',9,'IMPORTO',2,'IMPMES',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L4SLPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L4SLPR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SLPR','01',3,'TIPOLOGIA ORA DA STAMPARE',3,'TIPORE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('L4SLPR','01',7,'GIORNO',3,'GGGLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L4SLPR','01',8,'ORE LAVORATE',2,'ORELAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4STQG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4STQG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4STQG','01',3,'CODICE CAPO AREA',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L4STQG','01',4,'ATTRIBUTO CLIENTE',3,'ATTCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4STQG','01',5,'CODICE LINEA',3,'CODLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4STQG','01',6,'PROVVIGIONE CAPO AREA',2,'PPROCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L4STQG','01',7,'TABELLA NAZIONI NO PROVVIGIONI',2,'TABNAZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4STQG','01',8,'NAZIONE NO PROVVIGIONI',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('L4SUAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SUAT','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SUAT','01',3,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L4SUAT','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4SUVS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SUVS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SUVS','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4SUVS','01',4,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4SUVS','01',5,'CODICE ZONA',3,'CODZON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4SUVS','01',6,'RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SUVS','01',7,'SUPERFICE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('L4SUVS','01',8,'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,'' )
,('L4SUVS','01',9,'FOGLIO',2,'FOGLIO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4SUVS','01',10,'PARTICELLA',2,'PARUNA',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4SUVS','01',11,'PRODUZIONE /N',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L4SVMJ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SVMJ','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SVMJ','01',3,'AGENTE DEL CLIENTE (PER ORDINAMENTO)',3,'AGECLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('L4SVMJ','01',4,'CODICE CLIENTE',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4SVMJ','01',5,'CODICE ARTICOLO - SPAZI RECORD DATE',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SVMJ','01',6,'ANNATA ARTICOLO - ZERO RECORD DATE',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SVMJ','01',7,'DATA INI VAL. - SOLO RECORD CODART=SPACE',2,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',5,'',0,0,'' )
,('L4SVMJ','01',8,'DATA FIN VAL. - SOLO RECORD CODART=SPACE',2,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',5,'',0,0,'' )
,('L4SVMJ','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',5,'',0,0,'' )
,('L4SVMJ','01',10,'SCONTO 1',2,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',5,'',0,0,'' )
,('L4SVMJ','01',11,'SCONTO 2',2,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',5,'',0,0,'' )
,('L4SVMJ','01',12,'SCONTO 3',2,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',5,'',0,0,'' )
,('L4SVMJ','01',13,'SCONTO 4',2,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',5,'',0,0,'' )
,('L4SVMW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SVMW','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4SVMW','01',3,'CODICE LISTINO',3,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('L4SVMW','01',4,'CODICE ARTICOLO - SPAZI RECORD DATE',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L4SVMW','01',5,'ANNATA ARTICOLO - ZERO RECORD DATE',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L4SVMW','01',6,'DATA INI VAL. - SOLO RECORD CODART=SPACE',2,'DTAVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',10,'',0,0,'' )
,('L4SVMW','01',7,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',10,'',0,0,'' )
,('L4TRPF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4TRPF','01',2,'PRODOTTO',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4TRPF','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,'' )
,('L4TRPF','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,'' )
,('L4TRPF','01',5,'LOTTO',3,'LOTTOS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L4TRPF','01',6,'QTA DA ELABORARE',2,'QTAELA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('L4TRPF','01',7,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('L4TRPF','01',8,'DATA MOVIMENTO',2,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('L4TRPF','01',9,'NUMERO MOVIMENTO',2,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('L4TRPF','01',10,'CAUSALE MOVIMENTO',2,'CAUMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L4TRPF','01',11,'CAUSALE MOVIMENTO',2,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('L4TRPF','01',12,'QTA TOTALE',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('L4TRPF','01',13,'LIVELLO',2,'LEVELL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('L4ZP04','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4ZP04','01',2,'CODICE COMUNE',2,'CODCOM',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4ZP04','01',3,'CODICE FOGLIO',2,'FOGLIO',2,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4ZP04','01',4,'CODICE PARTICELLA',2,'PARTIC',3,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4ZP04','01',5,'SUPERFICIE VITATA',2,'SUPVIT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('L4ZP05','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L4ZP05','01',2,'CODICE COMUNE',2,'CODCOM',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L4ZP05','01',3,'CODICE FOGLIO',2,'FOGLIO',2,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L4ZP05','01',4,'CODICE PARTICELLA',2,'PARTIC',3,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L4ZP05','01',5,'ZONE CONSIGLIERI',2,'CODZON',4,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5BCON','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5BCON','01',2,'CODICE STB (ZERO PER RECORD SOCIO)',2,'CODSTB',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('L5BCON','01',3,'CODICE CONTENITORE',2,'CODCON',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5BCON','01',4,'QTA. CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L5BCON','01',5,'QTA. RESA',2,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L5BCON','01',6,'QTA. RESA VUOTI (E'' UN DI CUI DI QTARES)',2,'RESVUO',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L5COCC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COCC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COCC','01',3,'CODICE ATTRIBUTO PER ORDINAMENTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5COCC','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,'' )
,('L5COCC','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COCC','01',6,'GIACENZA',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COCC','01',7,'QTA. IMPEGNATA CONTRATTI',2,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,3,0,'9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COCC','01',8,'VALORE IMPEGNATO CONTRATTI',2,'VALIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,2,0,'9(12)V99 COMP-3','',0,'',0,0,'' )
,('L5COCC','01',9,'QTA. VENDUTA',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,3,0,'9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COCC','01',10,'VALORE VENDUTO',2,'VALVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,2,0,'9(12)V99 COMP-3','',0,'',0,0,'' )
,('L5COSA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSA','01',3,'CODICE ATTRIBUTO',3,'CODATT',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5COSA','01',4,'DESCRIZIONE COMMERCIALIZZAZIONE',3,'DESCRI',0,3,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5COSA','01',5,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COSA','01',6,'ANNATA',3,'ANNATA',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COSA','01',7,'QUANTITA CARICO LT',2,'QTLCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSA','01',8,'QUANTITA SCARICO LT',2,'QTLSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSA','01',9,'QUANTITA CARICO KG',2,'QTKCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSA','01',10,'QUANTITA SCARICO KG',2,'QTKSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSB','01',3,'DESCRIZIONE CODICE COMM. (RIEP.ALFA)',3,'KEYDES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5COSB','01',4,'2 DESCRIZIONE OPZIONALE (RIEP.ALFA)',3,'KEYDE2',0,0,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
('L5COSB','01',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,'' )
,('L5COSB','01',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,'' )
,('L5COSB','01',7,'COD.MANIPOLAZ.DA STAMPARE SU REGISTRO',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L5COSB','01',8,'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,'' )
,('L5COSB','01',9,'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,'' )
,('L5COSB','01',10,'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,'' )
,('L5COSB','01',11,'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,'' )
,('L5COSB','01',12,'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,'' )
,('L5COSB','01',13,'DESCRIZIONE PER STAMPA BOLLATO',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5COSB','01',14,'SECONDA DESCRIZIONE PER STAMPA BOLLATO',2,'DESCR2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5COSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSC','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COSC','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COSC','01',5,'MANIPOLAZIONI',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L5COSC','01',6,'QUANTITA CARICO KG',2,'QTKCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSC','01',7,'QUANTITA CARICO LT',2,'QTLCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSC','01',8,'QUANTITA SCARICO KG',2,'QTKSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSC','01',9,'QUANTITA SCARICO LT',2,'QTLSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSI','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COSI','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COSI','01',5,'LITRI/CHILI (L/K)',2,'FLAGLK',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5COSI','01',6,'GIACENZA',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSI','01',7,'QTA. IMPEGNATA CONTRATTI CLIENTI',2,'IMPCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,3,0,'9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSI','01',8,'QTA. ORDINATA CONTRATTI FORNITORI',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,3,0,'9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSM','01',2,'CODICE MANIPOLAZIONI',2,'MANIPI',1,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L5COSP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSP','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSP','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COSP','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COSP','01',5,'GIACENZA INIZIALE LT',2,'LT-GII',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSP','01',6,'TOTALE CARICO LT',2,'LT-CAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSP','01',7,'TOTALE SCARICO LT',2,'LT-SCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSP','01',8,'GIACENZA FINALE LT',2,'LT-GIF',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSP','01',9,'GIACENZA INIZIALE KG',2,'KG-GII',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSP','01',10,'TOTALE CARICO KG',2,'KG-CAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSP','01',11,'TOTALE SCARICO KG',2,'KG-SCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSP','01',12,'GIACENZA FINALE KG',2,'KG-GIF',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5COSS','01',3,'DESCRIZIONE COMMERCIALIZZAZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5COSS','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,'' )
,('L5COSS','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5COSS','01',6,'QUANTITA CARICO LT',2,'QTLCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSS','01',7,'QUANTITA SCARICO LT',2,'QTLSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSS','01',8,'QUANTITA CARICO KG',2,'QTKCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5COSS','01',9,'QUANTITA SCARICO KG',2,'QTKSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5CRFA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5CRFA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5CRFA','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5CRFA','01',4,'TIPO PRATICA',3,'TIPPRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5CRFA','01',5,'DATA PRATICA',3,'DATPRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5CRFA','01',6,'CODICE PRATICA',3,'CODPRA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5CRFA','01',7,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5CRFA','01',8,'IMPORTO PRATICA',2,'IMPPRA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L5CRFA','01',9,'PROGRESSIVO PER RILETTURA ASPCAA',2,'RISPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5CRFA','01',10,'N. REGISTRAZIONE PER REWRITE AREGCF',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5CRFA','01',11,'S = REGISTRAZIONE DI INTERESSI',2,'FLGINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5IMBA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5IMBA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5IMBA','01',3,'CODICE REGISTRO IVA',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('L5IMBA','01',4,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5IMBA','01',5,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5IMBA','01',6,'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,'' )
,('L5INVM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5INVM','01',2,'PRODOTTO',2,'PRODOT',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5INVM','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,'' )
,('L5INVM','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5INVM','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5INVM','01',6,'PROGRESSIVO ELEMENTO A VIDEO',2,'PROGRE',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5INVM','01',7,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5INVM','01',8,'GIACENZA DI MAGAZZINO',2,'GIAMAG',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5INVM','01',9,'GIACENZA DA INVENTARIO',2,'GIAINV',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5INVM','01',10,'CHIAVE COMMERCIALIZZAZIONE',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5INVM','01',11,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5INVM','01',12,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5LNPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5LNPR','01',2,'DATA ELABORAZIONE',2,'DTAELA',1,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5LNPR','01',3,'ARTICOLO',2,'CODART',2,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5LNPR','01',4,'ANNATA',2,'ANNATA',3,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5LNPR','01',5,'LOTTO',2,'LOTTOS',4,3,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5LNPR','01',6,'QTA MOV DEL GG (PRIMO RECORD=GIACENZA)',2,'QTAGGG',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,2,0,'S9(12)V99','',0,'',0,0,'' )
,('L5MM1V','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MM1V','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MM1V','01',3,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MM1V','01',4,'CODICE STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5MM1V','01',5,'CODICE SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5MM1V','01',6,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5MM1V','01',7,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MM1V','01',8,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('L5MMO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMO1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMO1','01',3,'NUMERO MOVIMENTO',3,'NUMERO',0,2,2,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5MMO1','01',4,'FLAG 1=SCARICO/2=CARICO/3=LAVORAZIONE',3,'FLAGCS',0,3,3,3,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5MMO1','01',5,'CHIAVE PARTITA/VASCA/DATA',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMO1','01',6,'FLAG P=PARTITA/L=LOTTO',4,'FLAGPL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5MMO1','01',7,'CODICE PARTITA',4,'CODPAR',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
('L5MMO1','01',8,'ANNO PARTITA',5,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5MMO1','01',9,'TIPO PARTITA',5,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5MMO1','01',10,'NUMERO PARTITA',5,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5MMO1','01',11,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMO1','01',12,'ZERI',5,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5MMO1','01',13,'CODICE LOTTO',5,'CODLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5MMO1','01',14,'CHIAVE VASCA/DATA',4,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMO1','01',15,'CODICE VASCA (VUOTO SE LOTTO)',5,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMO1','01',16,'STABILIMENTO',6,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5MMO1','01',17,'SETTORE',6,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5MMO1','01',18,'NUMERO VASCA',6,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5MMO1','01',19,'DATA ORA MOVIMENTO',5,'KEY004',0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMO1','01',20,'DATA E ORA MOVIMENTO',6,'TEMMOV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMO1','01',21,'DATA MOVIMENTO',7,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5MMO1','01',22,'REDEFINES',7,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMO1','01',23,'ANNO',8,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5MMO1','01',24,'MESE',8,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5MMO1','01',25,'GIORNO',8,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5MMO1','01',26,'ORA MOVIMENTO',7,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5MMO1','01',27,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('L5MMO1','01',28,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5MMOV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMOV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMOV','01',3,'CODICE PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMOV','01',4,'ANNO PARTITA',4,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5MMOV','01',5,'TIPO PARTITA',4,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5MMOV','01',6,'NUMERO PARTITA',4,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5MMOV','01',7,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMOV','01',8,'CODICE STABILIMENTO',4,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5MMOV','01',9,'CODICE SETTORE',4,'CODSET',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5MMOV','01',10,'NUMERO',4,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5MMOV','01',11,'ATTRIBUTI STATISTICI',2,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MMOV','01',12,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('L5MNSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MNSC','01',2,'CODICE AGENTE',2,'CODAGE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('L5MNSC','01',3,'CODICE SOGGETTO',2,'CODSOG',2,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5MNSC','01',4,'PROGRESSIVO',2,'PROSOG',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5MNSC','01',5,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MNSC','01',6,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5MNSC','01',7,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5MNSC','01',8,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5MNSC','01',15,'NUMERO SCADENZA (ESPLOSIONE)',2,'NUMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L5MNSC','01',16,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5MNSC','01',17,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MNSC','01',18,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5MNSC','01',19,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5MNSC','01',20,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5MNSC','01',21,'SIGLA CAUSALE REGISTRAZIONE',2,'SIGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5MNSC','01',22,'IMPORTO DARE',2,'IMPDAR',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5MNSC','01',23,'IMPORTO AVERE',2,'IMPAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5MNSC','01',24,'DATA REGISTRAZIONE',2,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5MNSC','01',25,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MNSC','01',26,'ANNO REGISTRAZIONE',3,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5MNSC','01',27,'MESE REGISTRAZIONE',3,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5MNSC','01',28,'GIORNO REGISTRAZIONE',3,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5MNSC','01',29,'NUMERO REGISTRAZIONE',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5MNSC','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,'' )
,('L5MNSC','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,'' )
,('L5MNSC','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,'' )
,('L5MNSC','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,'' )
,('L5MNSC','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,'' )
,('L5MNSC','01',35,'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,'' )
,('L5MNSC','01',36,'NUMERO INTERNO FATTURA',2,'NUMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5MNSC','01',37,'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,'' )
,('L5MNSC','01',38,'TIPO SOGGETTO',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5MNSC','01',39,'FLAG SOLLECITI',2,'SOL001',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5MNSC','01',40,'FLAG NO SOLLECITI',2,'NOSOL1',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5MNSC','01',41,'* = RIGA NON ACCESSIBILE',2,'NONVIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5MNSC','01',42,'DES. AGG 1',2,'DESAG1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5MNSC','01',43,'DES. AGG 2',2,'DESAG2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5MNSC','01',44,'DESCRIZIONE NOTE SCADENZA',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('L5MNSC','01',45,'CODICE NOTE SCADENZA',2,'CODNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5MNSC','01',46,'DATA NOTE SCADENZA',2,'DATNOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5MNSC','01',47,'NUMERO SCADENZA (AREGC3)',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5MNSC','01',48,'PROGRESSIVO SCADENZA (AREGC3)',2,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5MNSC','01',49,'MODALITA PAGAMENTO SCADENZA',2,'PAGSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5MOLM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MOLM','01',2,'CODICE MAGAZZINO',2,'CODMAG',1,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5MOLM','01',3,'NR.RAGGRUP.CHIESTO A VIDEO-0 PER TOT MAG',2,'NUMRAG',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5MOLM','01',4,'NR. MOVIMENTO MAG.- 0 PER TOTALI',2,'NUMMOV',3,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5MOLM','01',5,'NR. RIG. MOV. MAG. - 0 PER TATALI',2,'NUMRIG',4,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5MOLM','01',6,'QTA.MOVIMENTO (GIA'' +/-)',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5MOLM','01',7,'"S" PER MOV.DELLA BOTT (SCARTONAMENTO)',2,'FLGBOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5MSCP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5MSCP','01',2,'CODICE TRATTAMENTO',2,'CODTRA',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5MSCP','01',3,'VOCE TRATTAMENTO',2,'VOCTRA',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5MSCP','01',4,'CODICE PRODOTTO TRATTAMENTO',2,'PROTRA',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5MSCP','01',5,'DESCRIZIONE PRODOTTO TRATTAMENTO',2,'DESPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5MSCP','01',6,'CODICE FORNITORE',2,'CODFOR',4,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5MSCP','01',7,'LOTTO DEL PRODOTTO',2,'LOTTOP',5,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5MSCP','01',8,'DOSAGGIO',2,'DOSAGG',0,0,0,0,0,0,0,0,0,0,'',1,0,16,17,6,0,'9(10)V9(6)','',0,'',0,0,'' )
,('L5PAF4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAF4','01',2,'PROGRESSIVO',2,'NUMERO',1,5,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAF4','01',3,'CODICE FORNITORE',2,'CODFOR',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAF4','01',4,'ANNO PARTITA',2,'ANNPAR',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAF4','01',5,'NUMERO PARTITA',2,'NUMPAR',0,4,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAF4','01',6,'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,'' )
,('L5PAF4','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAF4','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,'' )
,('L5PAF4','01',9,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L5PAF4','01',10,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF4','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF4','01',12,'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,'' )
,('L5PAF4','01',13,'SIGLA OPERAZIONE',2,'SIGOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PAF4','01',14,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAF4','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAF4','01',16,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAF4','01',17,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF4','01',18,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF4','01',19,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAF4','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAF4','01',21,'SCADENZA PAGATA S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAF4','01',22,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAF4','01',23,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5PAF4','01',24,'FLAG SCADENZA BLOCCATA /*',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAF4','01',25,'NUMERO AVVISO',2,'NUMAVV',0,2,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('L5PAF4','01',26,'TIPO CARICAMENTO',2,'TIPAVV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAF5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAF5','01',2,'PROGRESSIVO',2,'NUMERO',1,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAF5','01',3,'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,'' )
,('L5PAF5','01',4,'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,'' )
,('L5PAF5','01',5,'NUMERO PARTITA',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAF5','01',6,'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,'' )
,('L5PAF5','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAF5','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,'' )
,('L5PAF5','01',9,'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,'' )
,('L5PAF5','01',10,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF5','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF5','01',12,'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,'' )
,('L5PAF5','01',13,'SIGLA OPERAZIONE',2,'SIGOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PAF5','01',14,'DATA SCADENZA',2,'DATSCA',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAF5','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAF5','01',16,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAF5','01',17,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF5','01',18,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF5','01',19,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAF5','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,1,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAF5','01',21,'SCADENZA PAGATA S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAF5','01',22,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAF5','01',23,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5PAF5','01',24,'FLAG SCADENZA BLOCCATA /*',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAF6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAF6','01',2,'PROGRESSIVO',2,'NUMERO',1,5,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAF6','01',3,'CODICE FORNITORE',2,'CODFOR',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAF6','01',4,'ANNO PARTITA',2,'ANNPAR',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAF6','01',5,'NUMERO PARTITA',2,'NUMPAR',0,4,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAF6','01',6,'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,'' )
,('L5PAF6','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAF6','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,'' )
,('L5PAF6','01',9,'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,'' )
,('L5PAF6','01',10,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF6','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF6','01',12,'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,'' )
,('L5PAF6','01',13,'SIGLA OPERAZIONE',2,'SIGOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PAF6','01',14,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAF6','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAF6','01',16,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAF6','01',17,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF6','01',18,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAF6','01',19,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAF6','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAF6','01',21,'SCADENZA PAGATA S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAF6','01',22,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAF6','01',23,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5PAF6','01',24,'FLAG SCADENZA BLOCCATA /*',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAF6','01',25,'NUMERO AVVISO',2,'NUMAVV',0,2,0,0,0,0,0,0,0,0,'',4,0,36,36,0,0,'X(36)','',0,'',0,0,'' )
,('L5PAF6','01',26,'TIPO CARICAMENTO',2,'TIPAVV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAGC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGC','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAGC','01',3,'CODICE CLIENTE',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAGC','01',4,'ANNO PARTITA',2,'ANNPAR',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAGC','01',5,'NUMERO PARTITA',2,'NUMPAR',0,3,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAGC','01',6,'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,'' )
,('L5PAGC','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAGC','01',8,'REDEFINES',2,'AMGDOC',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGC','01',9,'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,'' )
,('L5PAGC','01',10,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGC','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGC','01',12,'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,'' )
,('L5PAGC','01',13,'SIGLA OPERAZIONE',2,'SIGOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PAGC','01',14,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAGC','01',15,'REDEFINES',2,'AMGSCA',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGC','01',16,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAGC','01',17,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGC','01',18,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGC','01',19,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAGC','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAGC','01',21,'SCADENZA PAGATA S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAGC','01',22,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAGC','01',23,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5PAGF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGF','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAGF','01',3,'CODICE FORNITORE',2,'CODFOR',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAGF','01',4,'ANNO PARTITA',2,'ANNPAR',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAGF','01',5,'NUMERO PARTITA',2,'NUMPAR',0,3,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAGF','01',6,'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,'' )
,('L5PAGF','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAGF','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,'' )
,('L5PAGF','01',9,'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,'' )
,('L5PAGF','01',10,'MESE DOCUMENTO',3,'MMMDOC',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
('L5PAGF','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGF','01',12,'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,'' )
,('L5PAGF','01',13,'SIGLA OPERAZIONE',2,'SIGOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PAGF','01',14,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAGF','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGF','01',16,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAGF','01',17,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGF','01',18,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGF','01',19,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAGF','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAGF','01',21,'SCADENZA PAGATA S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAGF','01',22,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAGF','01',23,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5PAGF','01',24,'FLAG SCADENZA BLOCCATA /*',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAGF','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5PAGI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGI','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,'' )
,('L5PAGI','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5PAGI','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5PAGI','01',6,'TOTALE GIACENZA',2,'TOTGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5PAGN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGN','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAGN','01',3,'CODICE CLIENTE',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAGN','01',4,'ANNO PARTITA',2,'ANNPAR',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAGN','01',5,'NUMERO PARTITA',2,'NUMPAR',0,3,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAGN','01',6,'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,'' )
,('L5PAGN','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAGN','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,'' )
,('L5PAGN','01',9,'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,'' )
,('L5PAGN','01',10,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGN','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGN','01',12,'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,'' )
,('L5PAGN','01',13,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAGN','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,'' )
,('L5PAGN','01',15,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAGN','01',16,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGN','01',17,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAGN','01',18,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAGN','01',19,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAGN','01',20,'IMPORTO RESIDUO',2,'IMPRES',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAGN','01',21,'SCADENZA PAGATA S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAGN','01',22,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAGN','01',23,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5PAGS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGS','01',2,'PROGRESSIVO',2,'NUMERO',1,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAGS','01',3,'CODICE SOCIO',2,'CODSOC',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAGS','01',4,'SIGLA OPERAZIONE',2,'SIGOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PAGS','01',5,'IMPORTO PAGAMENTO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAGX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGX','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAGX','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,'' )
,('L5PAGX','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5PAGX','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5PAGX','01',6,'TOTALE GIACENZA',2,'TOTGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5PAV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV1','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAV1','01',3,'CODICE CLIENTE/FORNITORE',2,'CODICE',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAV1','01',4,'ANNO PARTITA',2,'ANNPAR',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV1','01',5,'NUMERO PARTITA',2,'NUMPAR',0,3,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAV1','01',6,'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,'' )
,('L5PAV1','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAV1','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,'' )
,('L5PAV1','01',9,'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,'' )
,('L5PAV1','01',10,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV1','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV1','01',12,'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,'' )
,('L5PAV1','01',13,'SIGLA OPERAZIONE',2,'SIGOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PAV1','01',14,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAV1','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV1','01',16,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV1','01',17,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV1','01',18,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV1','01',19,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAV1','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAV1','01',21,'SCADENZA PAGATA S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV1','01',22,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PAV1','01',23,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5PAV1','01',24,'FLAG SCADENZA BLOCCATA /*',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV1','01',26,'SEMPRE IT',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5PAV1','01',27,'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,'' )
,('L5PAV1','01',28,'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,'' )
,('L5PAV1','01',29,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L5PAV1','01',30,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L5PAV1','01',31,'NUMERO C/C',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('L5PAV2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV2','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,5,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5PAV2','01',3,'TIPO RECORD',2,'TIPREC',0,0,1,2,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV2','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODGCS',0,2,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV2','01',5,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV2','01',6,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV2','01',7,'CODICE CLIENTE/FORNITORE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAV2','01',8,'PARTITA',2,'CODPAR',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV2','01',9,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV2','01',10,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAV2','01',11,'CODICE CAUSALE',2,'CODCAU',0,0,0,1,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV2','01',12,'DATA SCADENZA',2,'DATSCA',0,1,0,4,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAV2','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV2','01',14,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV2','01',15,'MESE SCADENZA',3,'MMMSCA',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
('L5PAV2','01',16,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV2','01',17,'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,'' )
,('L5PAV2','01',19,'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,'' )
,('L5PAV2','01',20,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5PAV2','01',21,'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,'' )
,('L5PAV2','01',22,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('L5PAV2','01',23,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5PAV2','01',24,'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,'' )
,('L5PAV2','01',25,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L5PAV2','01',26,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L5PAV2','01',27,'CODICE 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,'' )
,('L5PAV2','01',28,'CONTABILIZZARE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV2','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,'' )
,('L5PAV2','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,'' )
,('L5PAV2','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,'' )
,('L5PAV2','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,'' )
,('L5PAV2','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,'' )
,('L5PAV2','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,'' )
,('L5PAV2','01',35,'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,'' )
,('L5PAV2','01',36,'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,'' )
,('L5PAV3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV3','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,5,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5PAV3','01',3,'TIPO RECORD',2,'TIPREC',0,0,1,2,1,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV3','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODGCS',0,2,2,3,2,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV3','01',5,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV3','01',6,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV3','01',7,'CODICE CLIENTE/FORNITORE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAV3','01',8,'PARTITA',2,'CODPAR',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV3','01',9,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV3','01',10,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAV3','01',11,'CODICE CAUSALE',2,'CODCAU',0,0,0,1,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV3','01',12,'DATA SCADENZA',2,'DATSCA',0,1,0,4,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAV3','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV3','01',14,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV3','01',15,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV3','01',16,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV3','01',17,'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,'' )
,('L5PAV3','01',19,'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,'' )
,('L5PAV3','01',20,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5PAV3','01',21,'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,'' )
,('L5PAV3','01',22,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('L5PAV3','01',23,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5PAV3','01',24,'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,'' )
,('L5PAV3','01',25,'CONTABILIZZARE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV3','01',26,'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,'' )
,('L5PAV3','01',27,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAV3','01',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV3','01',29,'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,'' )
,('L5PAV3','01',30,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV3','01',31,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV3','01',32,'CODICE IBAN',2,'CODIBA',0,0,0,0,3,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV3','01',33,'CODICE ISO (SEMPRE IT)',3,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5PAV3','01',34,'CODICE CIN EURO',3,'CINEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV3','01',35,'CODICE CIN ITALIA',3,'CINITA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV3','01',36,'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,'' )
,('L5PAV3','01',37,'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,'' )
,('L5PAV3','01',38,'NUMERO C/C',3,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('L5PAV5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV5','01',2,'PROGRESSIVO',2,'NUMERO',1,4,2,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAV5','01',3,'CODICE CLIENTE/FORNITORE',2,'CODFOR',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAV5','01',4,'ANNO PARTITA',2,'ANNPAR',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV5','01',5,'NUMERO PARTITA',2,'NUMPAR',0,3,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAV5','01',6,'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,'' )
,('L5PAV5','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAV5','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,'' )
,('L5PAV5','01',9,'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,'' )
,('L5PAV5','01',10,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV5','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV5','01',12,'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,'' )
,('L5PAV5','01',13,'SIGLA OPERAZIONE',2,'SIGOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PAV5','01',14,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAV5','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV5','01',16,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV5','01',17,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV5','01',18,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV5','01',19,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAV5','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,0,1,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAV5','01',21,'SCADENZA PAGATA S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV5','01',22,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAV5','01',23,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5PAV5','01',24,'FLAG SCADENZA BLOCCATA /*',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV6','01',2,'PROGRESSIVO',2,'NUMERO',1,2,0,5,2,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5PAV6','01',3,'TIPO RECORD',2,'TIPREC',0,0,1,2,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV6','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODGCS',0,0,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV6','01',5,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV6','01',6,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV6','01',7,'CODICE CLIENTE/FORNITORE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PAV6','01',8,'PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV6','01',9,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV6','01',10,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PAV6','01',11,'CODICE CAUSALE',2,'CODCAU',0,0,0,1,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV6','01',12,'DATA SCADENZA',2,'DATSCA',0,0,0,4,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PAV6','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PAV6','01',14,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PAV6','01',15,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV6','01',16,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PAV6','01',17,'IMPORTO BONIFICO',2,'IMPBON',0,0,0,0,1,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5PAV6','01',19,'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,'' )
,('L5PAV6','01',20,'INDIRIZZO',2,'INDIRI',0,0,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
('L5PAV6','01',21,'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,'' )
,('L5PAV6','01',22,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('L5PAV6','01',23,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5PAV6','01',24,'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,'' )
,('L5PAV6','01',25,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L5PAV6','01',26,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L5PAV6','01',27,'CODICE 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,'' )
,('L5PAV6','01',28,'CONTABILIZZARE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PAV6','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,'' )
,('L5PAV6','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,'' )
,('L5PAV6','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,'' )
,('L5PAV6','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,'' )
,('L5PAV6','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,'' )
,('L5PAV6','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,'' )
,('L5PAV6','01',35,'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,'' )
,('L5PAV6','01',36,'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,'' )
,('L5PAV6','01',37,'NUMERO PROTOCOLLO',2,'NUMPRO',0,1,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5PRE1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PRE1','01',2,'CODICE SOCIO - TIPELA = 1',2,'CODSOC',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PRE1','01',3,'CODICE UVA',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PREC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PREC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PREC','01',3,'CODICE SOCIO - TIPELA = 1',3,'CODSOC',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PREC','01',4,'RIGA STAMPA SOCIO - TIPELA = 1',3,'PRORIG',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PREC','01',5,'CODICE UVA IN CHIAVE - TIPELA = 2',3,'UVAKEY',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PREC','01',6,'DA CONFERIRE IN BINS (S/ ) - TIPELA = 2',3,'BINKEY',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PREC','01',7,'CODICE UVA',2,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PREC','01',8,'DA CONFERIRE IN BINS (S/ )',2,'FLGBIN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PREC','01',9,'QLI RIVENDICABILI (DA CATASTO)',2,'QLIRIV',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L5PREC','01',10,'QLI RECIOTO/AMARONE (DA CATASTO)',2,'QLIR-A',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L5PREC','01',11,'QLI SCHEDA',2,'QLISCH',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L5PREC','01',12,'QLI 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,'' )
,('L5PREC','01',13,'QLI 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,'' )
,('L5PREC','01',14,'QLI PRENOTATI RITIRABILI FINITO CONF.',2,'QLIPRF',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L5PREC','01',15,'QLI CONFERITI',2,'QLICON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L5PREC','01',16,'DATA ULTIMO CONFERIMENTO',2,'ULTCON',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PREC','01',17,'CODICE CONTENITORE - TIPELA = 1',2,'CODCON',0,1,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PREC','01',18,'COSEGNATI - TIPELA = 1',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PREC','01',19,'RESI - TIPELA = 1',2,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PV01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV01','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PV01','01',3,'CODICE CLIENTE/FORNITORE',2,'CODICE',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PV01','01',4,'ANNO PARTITA',2,'ANNPAR',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV01','01',5,'NUMERO PARTITA',2,'NUMPAR',0,3,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PV01','01',6,'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,'' )
,('L5PV01','01',7,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PV01','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,'' )
,('L5PV01','01',9,'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,'' )
,('L5PV01','01',10,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV01','01',11,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV01','01',12,'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,'' )
,('L5PV01','01',13,'SIGLA OPERAZIONE',2,'SIGOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5PV01','01',14,'DATA SCADENZA',2,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PV01','01',15,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV01','01',16,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV01','01',17,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV01','01',18,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV01','01',19,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PV01','01',20,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PV01','01',21,'SCADENZA PAGATA S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PV01','01',22,'IMPORTO PAGATO',2,'IMPPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5PV01','01',23,'CODICE MODALITA'' PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('L5PV01','01',24,'FLAG SCADENZA BLOCCATA /*',2,'FLGBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PV01','01',25,'DATA PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PV01','01',26,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV01','01',27,'ANNO PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV01','01',28,'MESE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV01','01',29,'GIORNO PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV02','01',2,'PROGRESSIVO',2,'NUMERO',1,4,0,5,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5PV02','01',3,'TIPO RECORD',2,'TIPREC',0,0,1,2,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PV02','01',4,'CODICE GRUPPO/CONTO/SOTTOCONTO',2,'CODGCS',0,2,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV02','01',5,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV02','01',6,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV02','01',7,'CODICE CLIENTE/FORNITORE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PV02','01',8,'PARTITA',2,'CODPAR',0,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV02','01',9,'ANNO PARTITA',3,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV02','01',10,'NUMERO PARTITA',3,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5PV02','01',11,'CODICE CAUSALE',2,'CODCAU',0,0,0,1,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV02','01',12,'DATA SCADENZA',2,'DATSCA',0,1,0,4,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PV02','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV02','01',14,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV02','01',15,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV02','01',16,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV02','01',17,'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,'' )
,('L5PV02','01',19,'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,'' )
,('L5PV02','01',20,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5PV02','01',21,'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,'' )
,('L5PV02','01',22,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('L5PV02','01',23,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5PV02','01',24,'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,'' )
,('L5PV02','01',25,'CODICE ABI',2,'CODABI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L5PV02','01',26,'CODICE CAB',2,'CODCAB',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('L5PV02','01',27,'CODICE 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,'' )
,('L5PV02','01',28,'CONTABILIZZARE /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PV02','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,'' )
,('L5PV02','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,'' )
,('L5PV02','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,'' )
,('L5PV02','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,'' )
,('L5PV02','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L5PV02','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,'' )
,('L5PV02','01',35,'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,'' )
,('L5PV02','01',36,'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,'' )
,('L5PV02','01',38,'CONTO ERARIO',2,'GCSERA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV02','01',39,'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,'' )
,('L5PV02','01',40,'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,'' )
,('L5PV02','01',41,'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,'' )
,('L5PV02','01',42,'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,'' )
,('L5PV02','01',43,'DESAGG LIB',2,'DES001',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5PV02','01',44,'DESAGG LIB',2,'DES002',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5PV02','01',45,'DATA VALUTA LIBRETTO',2,'VALLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5PV06','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV06','01',2,'G/C/S FORNITORE',2,'GCSCON',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV06','01',3,'GRUPPO FORNITORE',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV06','01',4,'CONTO FORNITORE',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV06','01',5,'SOTTOCONTO FORNITORE',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PV06','01',6,'DATA PAGAMENTO',2,'DATPAG',2,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PV06','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,'' )
,('L5PV06','01',8,'ANNO PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV06','01',9,'MESE PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV06','01',10,'GIORNO PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV06','01',11,'NUMERO DOCUMENTO',2,'NUMDOC',4,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5PV06','01',12,'DATA DOCUMENTO',2,'DATDOC',3,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PV06','01',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV06','01',14,'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,'' )
,('L5PV06','01',15,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV06','01',16,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV06','01',17,'DATA SCADENZA',2,'DATSCA',5,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5PV06','01',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5PV06','01',19,'ANNO SCADENZA',3,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5PV06','01',20,'MESE SCADENZA',3,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV06','01',21,'GIORNO SCADENZA',3,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5PV06','01',22,'PROGRESSIVO',2,'PROGRE',6,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5PV06','01',23,'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,'' )
,('L5PV06','01',24,'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,'' )
,('L5PV06','01',25,'CONTABILIZZATA S/N',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5PV06','01',26,'TIPO PAGAMENTO',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5RICC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5RICC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5RICC','01',3,'CODICE ATTRIBUTO PER ORDINAMENTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5RICC','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,'' )
,('L5RICC','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5RICC','01',6,'GIACENZA',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5RICC','01',7,'QTA. IMPEGNATA CONTRATTI VENDITA',2,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,3,0,'9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5RICC','01',8,'QTA. IMPEGNATA CONTRATTI ACQUISTO',2,'QTAIAC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,15,3,0,'9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5RU89','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5RU89','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5RU89','01',3,'ID FAMIGLIA',3,'IDFAMI',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('L5RU89','01',4,'ANNO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5RU89','01',5,'TIPO COMMITTENTE',3,'TIPCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5RU89','01',6,'CODICE COMMITTENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5RU89','01',7,'GIACENZA PRODOTTO',2,'GIAPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('L5RU89','01',8,'GIACENZA PER CALCOLO MASSA VOLUMICA',2,'GIAMSV',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('L5RU89','01',9,'MONTE PER CALCOLO MASSA VOLUMICA',2,'MTMMSV',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,4,0,'S9(12)V9(4)','',0,'',0,0,'' )
,('L5RU89','01',10,'UNITA'' DI MISURA',2,'CODUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5S135','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5S135','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5S135','01',3,'CODICE UVA',3,'CODUVA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5S135','01',4,'CODICE VITIGNO (TERZO ATTRIBUTO)',3,'CODVIT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('L5S135','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,'' )
,('L5S135','01',6,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5S135','01',7,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('L5S135','01',8,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5S135','01',9,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('L5S135','01',10,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('L5S1MG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5S1MG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5S1MG','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,'' )
,('L5S1MG','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5S1MG','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,'' )
,('L5S1MG','01',6,'GIACENZA INIZIALE',2,'TOTGIN',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S1MG','01',7,'TOTTALE CARICHI',2,'TOTCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S1MG','01',8,'TOTTALE IMPEGNATO CARICHI',2,'TOTIMC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S1MG','01',9,'TOTALE SCARICHI',2,'TOTSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S1MG','01',10,'TOTALE IMPEGNATO SCARICHI',2,'TOTIMS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S1MG','01',11,'TOTALE GIACENZA',2,'TOTGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S1MG','01',12,'TOTALE DISPONIBILITA''',2,'TOTDIS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S1MG','01',13,'TOTALE DISPONIBILITA IMMEDIATA',2,'TOTDIF',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S2M1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5S2M1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5S2M1','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,'' )
,('L5S2M1','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5S2MG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5S2MG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5S2MG','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,'' )
,('L5S2MG','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5S2MG','01',5,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5S2MG','01',6,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5S2MG','01',7,'GIACENZA INIZIALE',2,'TOTGIN',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S2MG','01',8,'TOTTALE CARICHI',2,'TOTCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S2MG','01',9,'TOTTALE IMPEGNATO CARICHI',2,'TOTIMC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S2MG','01',10,'TOTALE SCARICHI',2,'TOTSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S2MG','01',11,'TOTALE IMPEGNATO SCARICHI',2,'TOTIMS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S2MG','01',12,'TOTALE GIACENZA',2,'TOTGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S2MG','01',13,'TOTALE DISPONIBILITA''',2,'TOTDIS',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5S2MG','01',14,'TOTALE DISPONIBILITA IMMEDIATA',2,'TOTDIF',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5SACE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SACE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SACE','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5SACE','01',4,'DATA PRATICA',3,'DATPRA',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
('L5SACE','01',5,'CODICE PRATICA',3,'CODPRA',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SACE','01',6,'PROGRESSIVO',3,'PROGRE',0,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5SACE','01',7,'DATA FATTURAZIONE',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5SACE','01',8,'redefines',2,'AAMMGG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SACE','01',9,'ANNO',3,'AAAFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SACE','01',10,'MESE',3,'MMMFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SACE','01',11,'GIORNO',3,'GGGFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SACE','01',12,'IMPORTO PRATICA',2,'IMPPRA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L5SACE','01',13,'N. REGISTRAZIONE (SOLO PER AMMISTRAT.)',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5SACE','01',14,'DATA REGISTRAZIONE FATT ACC/LIQ + 1',2,'DATFAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5SACE','01',15,'NUMERO GIORNI',2,'NUMGIO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SACE','01',16,'IMPORTO ACE',2,'IMPACE',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('L5SAS1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SAS1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SAS1','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,'' )
,('L5SAS1','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SAS1','01',5,'QUANTITA'' DA EVADERE',2,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5SASS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SASS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SASS','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,'' )
,('L5SASS','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SASS','01',5,'NUMERO ORDINE',3,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5SASS','01',6,'NUMERO RIGA ORDINE',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SASS','01',7,'DATA PREVISTA CONSEGNA',2,'DTAPRC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5SASS','01',8,'QUANTITA'' DA EVADERE',2,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('L5SCAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCAV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCAV','01',3,'CODICE ATTRIBUTO',3,'CODATT',0,2,1,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SCAV','01',4,'CODICE VASCA',3,'CODVAS',0,3,3,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5SCAV','01',5,'PRODOTTO/ANNATA',3,'PROANN',0,1,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCAV','01',6,'CODICE PRODOTTO',4,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SCAV','01',7,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SCAV','01',8,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5SCCL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCCL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCCL','01',3,'CODICE ARTICOLO/VUOTO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SCCL','01',4,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('L5SCCL','01',5,'QUANTITA'' RESA',2,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('L5SCCL','01',6,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,12,0,0,'S9(11)','',0,'',0,0,'' )
,('L5SCCL','01',7,'SALDO GIACENZA',2,'SALGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5SCHE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCHE','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCHE','01',3,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5SCHE','01',4,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5SCHE','01',5,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SCHE','01',6,'FLAG 1=SCARICO/2=CARICO/3=LAVORAZIONE',2,'FLAGCS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SCHE','01',7,'FLAG P=PARTITA/L=LOTTO',2,'FLAGPL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SCHE','01',8,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCHE','01',9,'ANNO PARTITA',3,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SCHE','01',10,'TIPO PARTITA',3,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5SCHE','01',11,'NUMERO PARTITA',3,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5SCHE','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCHE','01',13,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SCHE','01',14,'CODICE LOTTO',3,'CODLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5SCHE','01',15,'CODICE VASCA (VUOTO SE LOTTO)',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCHE','01',16,'STABILIMENTO',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5SCHE','01',17,'SETTORE',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5SCHE','01',18,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SCHE','01',19,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('L5SCHE','01',20,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5SCMC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCMC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCMC','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SCMC','01',4,'ANNATA',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SCMC','01',5,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SCMC','01',6,'FLAG MOVIMENTO',3,'FLGMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SCMC','01',7,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SCMC','01',8,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SCMC','01',9,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SCMC','01',10,'QUANTITA PEZZI',2,'QTAPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SCMC','01',11,'QUANTITA GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5SCMC','01',12,'DISPONIBILITA'' PEZZI',2,'DISPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SCMC','01',13,'DISPONIBILITA''',2,'QTADIS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SCMC','01',14,'ORDINATO PEZZI',2,'ORDPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SCMC','01',15,'ORDINATO',2,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SCMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCMP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCMP','01',3,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5SCMP','01',4,'ORA MOVIMENTO',3,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5SCMP','01',5,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5SCMP','01',6,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5SCRS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCRS','01',3,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCRS','01',4,'NUMERO ORIGINE',3,'NUMORI',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SCRS','01',5,'DATA RINUMERAZIONE',3,'DTARIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SCRS','01',6,'ORA RINUMERAZIONE',3,'ORARIN',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SCRS','01',7,'NUMERO NUOVO',2,'NUMNEW',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SCRS','01',8,'=RINUMERA 2=RIEMPIE BUCHI',2,'TIPOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SCV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCV1','01',2,'CODICE ATTRIBUTO PARTITA',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('L5SCV1','01',3,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SCV1','01',4,'GIACENZA HL',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V9(2)','',0,'',0,0,'' )
,('L5SCVC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SCVC','01',2,'CODICE ATTRIBUTO PARTITA',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('L5SCVC','01',3,'CODICE PARTITA',2,'CODPAR',2,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5SCVC','01',4,'CODICE VASCA',2,'CODVAS',3,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5SCVC','01',5,'GIACENZA HL',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V9(2)','',0,'',0,0,'' )
,('L5SDAA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SDAA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SDAA','01',3,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L5SDAA','01',4,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SDAA','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SDAA','01',6,'SALDO PRODUZIONE',2,'SALPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SDAA','01',7,'SALDO GIACENZA',2,'SALGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SDAA','01',8,'SALDO IMPEGNATO SCARICO',2,'SALIMS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SDAA','01',9,'SALDO IMPEGNATO CARICO',2,'SALIMC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SDAA','01',10,'SALDO DISPONIBILITA''',2,'SALDIS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5SDVM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SDVM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SDVM','01',3,'CODICE RAGGRUPPAMENTO COMM.',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SDVM','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,'' )
,('L5SDVM','01',5,'PARTITA SPACES PER RECORD TOTALI',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5SDVM','01',6,'VASCA SPACES PER RECORD TOTALI',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5SDVM','01',7,'GIACENZA MAGAZZINO IN LITRI',2,'GIAMAG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5SDVM','01',8,'QTA IMPEGNATA CON CONTRATTI',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5SDVM','01',9,'GIACENZA VASCHE',2,'GIAVAS',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5SFRI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SFRI','01',2,'NUMERO MOVIMENTO MAGAZZINO',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5SFRI','01',3,'QTA. SCARICO PRODUZIONE DEL MOVIMENTO',2,'QTASCP',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5SITH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITH','01',2,'CODICE CAMPO',2,'CODCAM',1,2,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('L5SITH','01',3,'ORDINE CAMPO IN HELP',2,'ORDCAM',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SITH','01',4,'DESCRIZIONE CAMPO PER HELP',2,'DESCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SITH','01',5,'LUNGHEZZA CAMPO IN CHIAVE',2,'LUNCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SITH','01',6,'DESCRIZIONE PER TESTATA',2,'TESDES',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SITH','01',7,'EVENTUALE DES.AGGIUNTIVA PER TESTATA CSV',2,'TESCSV',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SITO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITO','01',2,'CHIAVE PER FAMIGLIA',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITO','01',3,'CODICE REGISTRO',3,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SITO','01',4,'CODICE FAMIGLIA',3,'CODFAM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5SITO','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SITO','01',6,'TABELLA MANIPOLAZIONI',3,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITO','01',7,'CODICE MANIPOLAZIONE',4,'CODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',8,'',0,0,'' )
,('L5SITO','01',8,'CHIAVE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITO','01',9,'FLAG CLIENTE/FORNITORE',4,'FLAGCF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SITO','01',10,'FLAG CONTRATTO/ORDINE',4,'FLAGOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SITO','01',11,'NUMERO INTERNO DOCUMENTO',4,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('L5SITO','01',12,'NUMERO RIGA DOCUMENTO',4,'RIGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('L5SITO','01',13,'QUANTITA IMPEGNATA',2,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('L5SITO','01',14,'QUANTITA EVASA',2,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,3,0,'S9(12)V999','',0,'',0,0,'' )
,('L5SITO','01',15,'FLAG EVASIONE FORZATA',2,'FLGEVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SITO','01',16,'FATTORE CONVERSIONE UDM',2,'FATTOR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('L5SITV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITV','01',3,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,250,250,0,0,'X(250)','',0,'',0,0,'' )
,('L5SITV','01',4,'NUMERO RECORD (CHIAVE DI L5SITW)',2,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('L5SITV','01',5,'LIVELLO ALBERO (99=DETTAGLIO)',2,'LVTREE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SITV','01',6,'GIACENZA',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('L5SITV','01',7,'IMPEGNATO CARICO',2,'IMPCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('L5SITV','01',8,'IMPEGNATO SCARICO',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('L5SITW','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITW','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITW','01',3,'NUMERO (COLLEGA L5SITV)',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,7,0,0,'9(7) COMP-3','',0,'',0,0,'' )
,('L5SITW','01',4,'CLIENTE/FORNITORE',3,'FLAGCF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SITW','01',5,'ORDINE/CONTRATTOE',3,'FLAGOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SITW','01',6,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('L5SITW','01',7,'NUMERO RIGA',3,'RIGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('L5SITW','01',8,'MANIPOLAZIONI',2,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SITW','01',9,'CODICE MANIPOLAZIONE',3,'CODMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',8,'',0,0,'' )
,('L5SITW','01',10,'IMPEGNATO CARICO',2,'IMPCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('L5SITW','01',11,'IMPEGNATO SCARICO',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,3,0,'S9(12)V999 COMP-3','',0,'',0,0,'' )
,('L5SMCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMCA','01',2,'CODICE CONTENITORE',2,'CODCON',1,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('L5SMCA','01',3,'CODICE STABILIMENTO',2,'CODSTB',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SMCA','01',5,'QTA. CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L5SMCA','01',6,'QTA. RESA',2,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L5SMCA','01',7,'QTA. RESA VUOTI (E'' UN DI CUI DI QTARES)',2,'RESVUO',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L5SMCD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMCD','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMCD','01',3,'COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SMCD','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,'' )
,('L5SMCD','01',5,'CODICE MANIPOLAZIONE',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L5SMCD','01',6,'CODICE CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5SMCD','01',7,'LITRI CARICATI',2,'LTRCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5SMCD','01',8,'LITRI SCARICATI',2,'LTRSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5SMCD','01',9,'CHILIGRAMMI CARICATI',2,'KGRCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5SMCD','01',10,'CHILIGRAMMI SCARICATI',2,'KGRSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5SMCV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMCV','01',2,'CODICE CONTENITORE',2,'CODCON',1,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SMCV','01',3,'CODICE STABILIMENTO',2,'CODSTB',2,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SMCV','01',5,'QTA. CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L5SMCV','01',6,'QTA. RESA',2,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L5SMCV','01',7,'QTA. RESA VUOTI (E'' UN DI CUI DI QTARES)',2,'RESVUO',0,0,0,0,0,0,0,0,0,0,'',1,1,10,11,0,0,'S9(10)','',0,'',0,0,'' )
,('L5SMEM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMEM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMEM','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,'' )
,('L5SMEM','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SMEM','01',5,'PERIODO',2,'ELEPER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',720,'',0,0,'' )
,('L5SMEM','01',6,'NUMERO ELEMENTO',3,'NUMPER',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5SMEM','01',7,'SALDO QTA PERIODO',3,'QTAPER',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5SMMG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMMG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMMG','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,'' )
,('L5SMMG','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SMMG','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SMMG','01',6,'GIACENZA',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',0,'',0,0,'' )
,('L5SMSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMSC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SMSC','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SMSC','01',4,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L5SMSC','01',5,'CODICE ARTICOLO (OPZIONALE)',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SMSC','01',6,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SMSC','01',7,'QUANTITA VENDUTA COMMERCIALIZZAZIONE',2,'QTACOM',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5SMSC','01',8,'QUANTITA VENDUTA STATISTICHE',2,'QTASTA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5SMSC','01',9,'QUANTITA VENDUTA 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,'' )
,('L5SNSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SNSC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SNSC','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('L5SNSC','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,74,74,0,0,'X(74)','',0,'',0,0,'' )
,('L5SNSC','01',5,'AREA IMPORTI',2,'AREAIM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SNSC','01',6,'IMPORTO',3,'IMPORT',0,0,0,0,0,0,0,0,0,0,'',1,1,15,17,2,0,'S9(13)V99','',8,'',0,0,'' )
,('L5SNSC','01',7,'AREA NR DOCUMENTI ELABORATI',2,'AREAND',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SNSC','01',8,'NUMERO DOCUMENTI ELABORATI',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',8,'',0,0,'' )
,('L5SPCO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SPCO','01',2,'CHIAVE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SPCO','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,'' )
,('L5SPCO','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,'' )
,('L5SPCO','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5SPCO','01',6,'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,'' )
,('L5SPCO','01',7,'NUMERO DOCUMENTO ACQUISTO',2,'ACQNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('L5SPCO','01',8,'DATA DOCUMENTO ACQUISTO',2,'ACQDAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SPCO','01',9,'PREZZO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('L5SPCO','01',10,'NOTA MOV ACQUISTO',2,'ACQNO1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SPCO','01',11,'NOTA MOV ACQUISTO',2,'ACQNO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SPCO','01',12,'CLIENTE CHE CE L''HA IN COMODATO',2,'CODCLI',0,1,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5SPCO','01',13,'NUMERO DOCUMENTO CONSEGNA IN COMODATO',2,'CONNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('L5SPCO','01',14,'DATA DOCUMENTO CONSEGNA IN COMODATO',2,'CONDAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SPCO','01',15,'NOTA MOV.CESSIONE',2,'CONNO1',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SPCO','01',16,'NOTA MOV.CESSIONE',2,'CONNO2',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SPMC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SPMC','01',2,'NUMERO ORIGINALE',2,'NUMORI',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SPMC','01',3,'NUMERO CONFERIMENTO',2,'NUMERO',2,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SPMG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SPMG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SPMG','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,'' )
,('L5SPMG','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,'' )
,('L5SPMG','01',5,'LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SPMG','01',6,'DATA MOVIMENTO',3,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SPMG','01',7,'TIPO MOVIMENTO CARICO/SCARICO',3,'TIPMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SPMG','01',8,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5SPMG','01',9,'NUMERO RIGA',3,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SRR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SRR1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SRR1','01',3,'TIPO RIEPILOGO',3,'TIPRIE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SRR1','01',6,'DATA BOLLA',3,'DATBOL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5SRR1','01',7,'TIPO BOLLE',3,'TIPBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SRR1','01',10,'CODICE CAUSALE BOLLA',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5SRR1','01',11,'CODICE CONTRASSEGNO/COMMERCIALIZZAZIONE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5SRR1','01',12,'ANNATA (SOLO COMMERCIALIZZAZIONE)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SRR1','01',13,'LITRI VENDUTI',2,'LITVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('L5SRR1','01',14,'LITRI OMAGGIO',2,'LITOMA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('L5SRR1','01',15,'LITRI PERDITE DI TRASPORTO',2,'LITPTS',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('L5SRR1','01',16,'CHILOGRAMMI VENDUTI',2,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('L5SRR1','01',17,'CHILOGRAMMI OMAGGIO',2,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,3,0,'S9(8)V999','',0,'',0,0,'' )
,('L5SRR1','01',18,'CHILOGRAMMI PERDITE DI TRASPORTO',2,'QTAPTS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('L5SSMD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSMD','01',2,'CHIAVE',2,'KEY001',1,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSMD','01',3,'PRODOTTO',3,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSMD','01',4,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SSMD','01',5,'ANNATA ARTICOLO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SSMD','01',6,'LOTTO ARTICOLO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SSMD','01',7,'TIPO SALDO',3,'TIPSAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SSMD','01',8,'PROGRESSIVO',3,'PROSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SSMD','01',9,'CODICE SALDO',3,'CODSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SSMD','01',10,'QUANTITA'' SALDO',2,'QTASAL',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMD','01',11,'VALORE SALDO',2,'VALSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('L5SSMD','01',12,'UNITA'' DI MISURA',2,'UNIMIS',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SSMG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSMG','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSMG','01',3,'TABELLA ATTRIBUTI ORDINAMENTO STAMPA',3,'TABATT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('L5SSMG','01',4,'FILLER REDEFINES TABATT',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSMG','01',5,'CODICI ATTRIBUTO PER ORDINAMENTO',4,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',3,'',0,0,'' )
,('L5SSMG','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,'' )
,('L5SSMG','01',7,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SSMG','01',8,'LOTTO (OPZIONALE)',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SSMG','01',9,'GIACENZA INIZIALE',2,'TOTGIN',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMG','01',10,'TOTTALE CARICHI',2,'TOTCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMG','01',11,'TOTTALE IMPEGNATO CARICHI',2,'TOTIMC',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMG','01',12,'TOTALE SCARICHI',2,'TOTSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMG','01',13,'TOTALE IMPEGNATO SCARICHI',2,'TOTIMS',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMG','01',14,'TOTALE GIACENZA',2,'TOTGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMG','01',15,'TOTALE DISPONIBILITA''',2,'TOTDIS',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMG','01',16,'TOTALE DISPONIBILITA IMMEDIATA',2,'TOTDIF',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSML','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSML','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,'' )
,('L5SSML','01',3,'CODICE ATTRIBUTO ORDINAMENTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SSML','01',4,'CHIAVE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSML','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SSML','01',6,'ANNATA ARTICOLO',4,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SSML','01',7,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SSML','01',8,'COD.MAG(ZERO SE NO MOSTRA GIAC.SEPARATE)',4,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SSML','01',9,'GIACENZA INIZIALE',2,'TOTGIN',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSML','01',10,'TOTTALE CARICHI',2,'TOTCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSML','01',11,'TOTTALE IMPEGNATO CARICHI',2,'TOTIMC',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSML','01',12,'TOTALE SCARICHI',2,'TOTSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSML','01',13,'TOTALE IMPEGNATO SCARICHI',2,'TOTIMS',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSML','01',14,'TOTALE GIACENZA',2,'TOTGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSML','01',15,'TOTALE DISPONIBILITA''',2,'TOTDIS',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSML','01',16,'TOTALE DISPONIBILITA IMMEDIATA',2,'TOTDIF',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L5SSMS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSMS','01',3,'PRODOTTO',3,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSMS','01',4,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SSMS','01',5,'ANNATA ARTICOLO',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SSMS','01',6,'LOTTO ARTICOLO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SSMS','01',7,'TIPO SALDO',3,'TIPSAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SSMS','01',8,'CODICE SALDO',3,'CODSAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SSMS','01',9,'QUANTITA'' SALDO',2,'QTASAL',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMS','01',10,'VALORE SALDO',2,'VALSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5SSMX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSMX','01',2,'UNITA'' DI MISURA',2,'UNIMIS',1,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SSMX','01',3,'TIPO SALDO',2,'TIPSAL',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SSMX','01',4,'PROGRESSIVO',2,'PROSAL',3,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SSMX','01',5,'CODICE SALDO',2,'CODSAL',4,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SSMX','01',6,'QUANTITA'' SALDO',2,'QTASAL',0,0,0,0,0,0,0,0,0,0,'',1,1,14,16,3,0,'S9(11)V999','',0,'',0,0,'' )
,('L5SSMX','01',7,'VALORE SALDO',2,'VALSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('L5SSO1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSO1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSO1','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,'' )
,('L5SSO1','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SSO1','01',5,'LOTTO',3,'LOTTON',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5SSO1','01',6,'GIACENZA AD OGGI',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5SSO1','01',7,'GIACENZA AD OGGI WISE CARTONI',2,'GWISEC',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('L5SSO1','01',8,'GIACENZA AD OGGI WISE PALETTE',2,'GWISEP',0,0,0,0,0,0,0,0,0,0,'',1,1,9,10,0,0,'S9(9)','',0,'',0,0,'' )
,('L5SSO2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSO2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSO2','01',3,'CODICE ARTICOLO COMPONENTE',3,'CODCMP',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SSO2','01',4,'ANNATA COMPONENTE',3,'ANNCMP',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SSO2','01',5,'GIACENZA AD OGGI',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,9,0,0,'S9(8)','',0,'',0,0,'' )
,('L5SSO2','01',6,'ORDINATO AD OGGI',2,'ORDOGG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('L5SSO2','01',7,'ORDINATO 13 GIORNI',2,'ORDI13',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',13,'',0,0,'' )
,('L5SSO2','01',8,'ORDINATO A TEMPO INDETERMINATO',2,'ORDITI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('L5SSO2','01',9,'ORDINATO FORNITORI OGGI',2,'ORFOGG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('L5SSO2','01',10,'ORDINATO FORNITORI 13 GG',2,'ORFO13',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',13,'',0,0,'' )
,('L5SSO2','01',11,'ORDINATO FORNITORI TEMPO INDETERMINATO',2,'ORFOTI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('L5SSOS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSOS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSOS','01',3,'PRODOTTO FINITO',3,'PROFIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSOS','01',4,'ATTRIBUTI ORDINAMENTO',4,'TABATT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SSOS','01',5,'CODICE ATTRIBUTO COLORE',5,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',2,'',0,0,'' )
,('L5SSOS','01',6,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SSOS','01',7,'ANNATA ARTICOLO',4,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SSOS','01',8,'GIACENZA AD OGGI AV2000 - NO CMP',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,8,9,0,0,'S9(8)','',0,'',0,0,'' )
,('L5SSOS','01',9,'GIACENZA AD OGGI WISE CARTONI - NO CMP',2,'GWISEC',0,0,0,0,0,0,0,0,0,0,'',1,1,8,9,0,0,'S9(8)','',0,'',0,0,'' )
,('L5SSOS','01',10,'GIACENZA AD OGGI WISE PALETTE - NO CMP',2,'GWISEP',0,0,0,0,0,0,0,0,0,0,'',1,1,8,9,0,0,'S9(8)','',0,'',0,0,'' )
,('L5SSOS','01',11,'ORDINATO AD OGGI - NO CMP',2,'ORDOGG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('L5SSOS','01',12,'ORDINATO 13 GIORNI - NO CMP',2,'ORDI13',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',13,'',0,0,'' )
,('L5SSOS','01',13,'ORDINATO A TEMPO INDETERMINATO - NO CMP',2,'ORDITI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('L5STAG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STAG','01',2,'CODICE VOCE ANALISI',2,'CODVOC',1,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('L5STAG','01',3,'VALORE PIU'' RECENTE PER OGNI VASCA',2,'VALVOC',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,5,0,'9(8)V9(5)','',7,'',0,0,'' )
,('L5STAG','01',4,'DATA ANALISI',2,'DTAANA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',7,'',0,0,'' )
,('L5STAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STAV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STAV','01',3,'CODICE CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5STAV','01',4,'DATA E ORA MOVIMENTO',3,'TEMMOV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STAV','01',5,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5STAV','01',6,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STAV','01',7,'ANNO MOVIMENTO',5,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5STAV','01',8,'MESE MOVIMENTO',5,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5STAV','01',9,'GIORNO MOVIMENTO',5,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5STAV','01',10,'ORA MOVIMENTO',4,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STAV','01',11,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5STAV','01',12,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5STAV','01',13,'TIPO SOGGETTO C=CLIENTE F = FORNITORE',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5STAV','01',14,'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,'' )
,('L5STAV','01',15,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STAV','01',16,'ANNO PARTITA',3,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5STAV','01',17,'TIPO PARTITA',3,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STAV','01',18,'NUMERO PARTITA',3,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5STAV','01',19,'CODICE VASCA (VUOTO SE LOTTO)',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STAV','01',20,'STABILIMENTO',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STAV','01',21,'SETTORE',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STAV','01',22,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5STAV','01',23,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('L5STAV','01',24,'CODICE PRODOTTO DA ANAGRAFICA PARTITA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STAV','01',25,'ANNATA PRODOTTO DA ANAGRAFICA PARTITA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STCC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STCC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STCC','01',3,'COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STCC','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,'' )
,('L5STCC','01',5,'CODICE MANIPOLAZIONE',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L5STCC','01',6,'CODICE CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5STCC','01',7,'LITRI CARICATI',2,'LTRCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5STCC','01',8,'LITRI SCARICATI',2,'LTRSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5STCC','01',9,'CHILIGRAMMI CARICATI',2,'KGRCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5STCC','01',10,'CHILIGRAMMI SCARICATI',2,'KGRSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5STCH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STCH','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STCH','01',3,'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,'' )
,('L5STCH','01',4,'DATA MOVIMENTO',3,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5STCH','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,'' )
,('L5STCH','01',6,'ANNO MOVIMENTO',4,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STCH','01',7,'MESE MOVIMENTO',4,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5STCH','01',8,'GIORNO MOVIMENTO',4,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5STCH','01',9,'NUMERO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5STCH','01',10,'NUMERO RIGA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STCH','01',11,'TIPO SOGGETTO',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5STCH','01',12,'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,'' )
,('L5STCH','01',13,'NUMERO INTERNO FATTURA',2,'NUMFAT',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
('L5STCH','01',14,'QUANTITA'' CONSEGNATA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('L5STCH','01',15,'QUANTITA'' RESA',2,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('L5STFS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STFS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STFS','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STFS','01',4,'DATA PRATICA',3,'DATPRA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5STFS','01',5,'CODICE PRATICA',3,'CODPRA',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STFS','01',6,'PROGRESSIVO',3,'PROGRE',0,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STFS','01',7,'TIPO PRATICA',2,'TIPPRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5STFS','01',10,'DATA FATTURAZIONE',2,'DATFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5STFS','01',11,'IMPORTO PRATICA',2,'IMPPRA',0,2,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('L5STFS','01',12,'N. REGISTRAZIONE (SOLO PER AMMISTRAT.)',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5STGP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STGP','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STGP','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('L5STGP','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,110,110,0,0,'X(110)','',0,'',0,0,'' )
,('L5STGP','01',5,'NUMERO GIACENZE',2,'NRGIA1',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('L5STGP','01',6,'NUMERO BOLLE',2,'NRBOL1',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('L5STGP','01',7,'GG GIACENZA',2,'GGGIA1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STGP','01',8,'NUMERO RESI',2,'NRRES1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STGP','01',9,'NUMERO RICONSEGNE',2,'NRRIC1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STGP','01',10,'NUMERO GIACENZE',2,'NRGIA2',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('L5STGP','01',11,'NUMERO BOLLE',2,'NRBOL2',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('L5STGP','01',12,'GG GIACENZA',2,'GGGIA2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STGP','01',13,'NUMERO RESI',2,'NRRES2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STGP','01',14,'NUMERO RICONSEGNE',2,'NRRIC2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STMC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STMC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STMC','01',3,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5STMC','01',4,'COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STMC','01',5,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STMC','01',6,'CODICE MANIPOLAZIONE',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('L5STMC','01',7,'LITRI CARICATI',2,'LTRCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5STMC','01',8,'LITRI SCARICATI',2,'LTRSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5STMC','01',9,'CHILIGRAMMI CARICATI',2,'KGRCAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5STMC','01',10,'CHILIGRAMMI SCARICATI',2,'KGRSCA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,3,0,'S9(9)V999 COMP-3','',0,'',0,0,'' )
,('L5STMI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STMI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STMI','01',3,'CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5STMI','01',4,'ATTRIBUTO ARTICOLO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5STMI','01',5,'QTA IMBOTTIGLIATA',2,'QTAIMB',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('L5STMI','01',6,'QTA PERSA',2,'QTAPER',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('L5STMI','01',7,'QTA TOTALE',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,3,0,'S9(10)V999 COMP-3','',0,'',0,0,'' )
,('L5STMM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STMM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STMM','01',3,'TIPO RECORD (1=DETTAGLIO, 2=RIEPILOGO)',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('L5STMM','01',4,'CHIAVE COSTRUITA',3,'CHIAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('L5STMM','01',5,'QTA PRIMO PERIODO',2,'QUANT1',0,0,0,0,0,0,0,0,0,0,'',1,1,9,18,3,0,'S9(13)V999 COMP-3','',0,'',0,0,'' )
,('L5STMM','01',6,'IMPORTO PRIMO PERIODO',2,'IMPOR1',0,0,0,0,0,0,0,0,0,0,'',1,1,9,18,3,0,'S9(13)V999 COMP-3','',0,'',0,0,'' )
,('L5STMM','01',7,'QTA SECONDO PERIODO',2,'QUANT2',0,0,0,0,0,0,0,0,0,0,'',1,1,9,18,3,0,'S9(13)V999 COMP-3','',0,'',0,0,'' )
,('L5STMM','01',8,'IMPORTO SECONDO PERIODO',2,'IMPOR2',0,0,0,0,0,0,0,0,0,0,'',1,1,9,18,3,0,'S9(13)V999 COMP-3','',0,'',0,0,'' )
,('L5STSI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STSI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STSI','01',3,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5STSI','01',4,'ANNATA',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5STSI','01',5,'FLAG MOVIMENTO',3,'FLGMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5STSI','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,'' )
,('L5STSI','01',7,'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,'' )
,('L5STSI','01',8,'COLORE',2,'COLORE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5STSI','01',9,'QUANTITA PEZZI',2,'QTAPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5STSI','01',10,'QUANTITA GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,3,0,'S9(11)V999 COMP-3','',0,'',0,0,'' )
,('L5STSI','01',11,'DISPONIBILITA'' PEZZI',2,'DISPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5STSI','01',12,'DISPONIBILITA''',2,'QTADIS',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5STSI','01',13,'ORDINATO PEZZI',2,'ORDPEZ',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5STSI','01',14,'ORDINATO',2,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5STVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVA','01',2,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVA','01',3,'STABILIMENTO VASCA',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STVA','01',4,'SETTORE VASCA',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STVA','01',5,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STVA','01',6,'QTA DA ELABORARE',2,'QTAELA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5STVA','01',7,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5STVA','01',8,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5STVA','01',9,'DATA MOVIMENTO',2,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('L5STVA','01',10,'ORA MOVIMENTO',2,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('L5STVA','01',11,'NUMERO MOVIMENTO',2,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('L5STVA','01',12,'CAUSALE MOVIMENTO',2,'CAUMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5STVA','01',13,'QTA TOTALE',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5STVA','01',14,'LIVELLO',2,'LEVELL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('L5STVC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVC','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,'' )
,('L5STVC','01',4,'DATA E ORA MOVIMENTO',3,'TEMMOV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVC','01',5,'DATA MOVIMENTO',4,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5STVC','01',6,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVC','01',7,'ANNO MOVIMENTO',5,'AA-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5STVC','01',8,'MESE MOVIMENTO',5,'MM-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5STVC','01',9,'GIORNO MOVIMENTO',5,'GG-MOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5STVC','01',10,'ORA MOVIMENTO',4,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5STVC','01',11,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5STVC','01',12,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5STVC','01',13,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5STVC','01',14,'CODICE PARTITA',2,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVC','01',15,'ANNO PARTITA',3,'ANNOPA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5STVC','01',16,'TIPO PARTITA',3,'TIPOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STVC','01',17,'NUMERO PARTITA',3,'NUMEPA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5STVC','01',18,'CODICE VASCA (VUOTO SE LOTTO)',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVC','01',19,'STABILIMENTO',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STVC','01',20,'SETTORE',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STVC','01',21,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L5STVC','01',22,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,5,11,2,0,'S9(7)V99 COMP-3','',0,'',0,0,'' )
,('L5STVC','01',23,'CODICE PRODOTTO DA ANAGRAFICA PARTITA',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STVC','01',24,'ANNATA PRODOTTO DA ANAGRAFICA PARTITA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STVI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVI','01',2,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5STVI','01',3,'STABILIMENTO VASCA',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STVI','01',4,'SETTORE VASCA',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5STVI','01',5,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5STVI','01',6,'QTA DA ELABORARE',2,'QTAELA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5STVI','01',7,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5STVI','01',8,'DATA MOVIMENTO',2,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('L5STVI','01',9,'ORA MOVIMENTO',2,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('L5STVI','01',10,'NUMERO MOVIMENTO',2,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('L5STVI','01',11,'CAUSALE MOVIMENTO',2,'CAUMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5STVI','01',12,'TIPO LAVAGGIO',2,'TIPLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5STVI','01',13,'QTA TOTALE',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5STVI','01',14,'LIVELLO',2,'LEVELL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('L5SV32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SV32','01',2,'ATTRIBUTO ARTICOLO',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SV32','01',3,'CODICE ARTICOLO',2,'CODART',2,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SV32','01',4,'ANNATA ARTICOLO',2,'ANNATA',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SV32','01',5,'PROGRESSIVO COMPONENTI',2,'NRCOMP',4,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SV32','01',6,'TABELLA GIACENZE PER MAGAZZINO',2,'TABMAG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SV32','01',7,'GIACENZA PER MAGAZZINO SOLO PER NRCOMP 0',3,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,5,0,'S9(11)V9(5)','',10,'',0,0,'' )
,('L5SV32','01',8,'ARTICOLO COMPONENTE SOLO NRCOMP > 0',2,'CMPART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SV32','01',9,'ANNATA COMPONENTE SOLO NRCOMP > 0',2,'CMPANN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SV32','01',10,'NR COMPONENTI SOLO NRCOMP > 0',2,'CMPQTA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('L5SV32','01',11,'VALORE UNITARIO ARTICOLO',2,'VALUNI',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,5,0,'S9(11)V9(5)','',0,'',0,0,'' )
,('L5SVAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SVAR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SVAR','01',3,'CODICE MAGAZZINO',3,'CODMAG',0,4,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SVAR','01',4,'PRODOTTO',3,'PRODOT',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SVAR','01',5,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SVAR','01',6,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SVAR','01',7,'LOTTO',4,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5SVAR','01',8,'TIPO SALDO',3,'TIPSAL',0,2,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SVAR','01',10,'CODICE SALDO',3,'CODSAL',0,3,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SVAR','01',11,'QUANTITA''',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,'' )
,('L5SVAR','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,'' )
,('L5SVIM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SVIM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SVIM','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,'' )
,('L5SVIM','01',4,'NUMERO PAGINA DI STAMPA (DA 9 COLONNE)',3,'PAGINA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SVIM','01',5,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5SVIM','01',6,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5SVIM','01',7,'NUMERO MOVIMENTO',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5SVIM','01',8,'NUMERO RIGA MOVIMENTO',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5SVIM','01',9,'INDICE VUOTO ASSOLUTO',3,'INDVUO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SVIM','01',10,'INDICE VUOTO NELLA PAGINA',3,'INDPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SVIM','01',11,'CONSEGNATI',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,'' )
,('L5SVIM','01',12,'RESI',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,'' )
,('L5SVMP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SVMP','01',2,'CODICE ARTICOLO',2,'CODART',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SVMP','01',3,'ANNATA ARTICOLO',2,'ANNATA',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SVMP','01',4,'CODICE MAGAZZINO',2,'CODMAG',3,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5SVMP','01',5,'QUANTITA'' PRODOTTA',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5SVMP','01',6,'COSTO STANDARD',2,'VAL001',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5SVMP','01',7,'COSTO MEDIO',2,'VAL002',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5SVMP','01',8,'ULTIMO COSTO',2,'VAL003',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5SVR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SVR1','01',2,'ATTRIBUTO ARTICOLO',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SVR1','01',3,'CODICE ARTICOLO',2,'CODART',2,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SVR1','01',4,'ANNATA ARTICOLO',2,'ANNATA',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SVR1','01',5,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5SVR1','01',6,'VALORE TOTALE',2,'VALTOT',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('L5SVR1','01',7,'V=PREZZO DA VENDITE',2,'FLGVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5SVRR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SVRR','01',2,'ATTRIBUTO ARTICOLO',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5SVRR','01',3,'CODICE ARTICOLO',2,'CODART',2,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SVRR','01',4,'ANNATA ARTICOLO',2,'ANNATA',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5SVRR','01',5,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5SVVP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5SVVP','01',2,'CODICE VUOTO',2,'CODVUO',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5SVVP','01',3,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('L5SVVP','01',4,'IMPORTO',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5TF92','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TF92','01',2,'CHIAVE ARTICOLO+DATA',2,'KEY002',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TF92','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,'' )
,('L5TF92','01',4,'CODICE CONTRASSEGNO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5TF92','01',5,'CHIAVE DATA',3,'KEY003',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TF92','01',6,'NUMERO AUTORIZZAZIONE',4,'NUMAUT',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5TF92','01',7,'DATA MOVIMENTO',4,'DATMOV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5TF92','01',8,'REDEFINES',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TF92','01',9,'ANNO MOVIMENTO',5,'AAAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5TF92','01',10,'MESE MOVIMENTO',5,'MMMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5TF92','01',11,'GIORNO MOVIMENTO',5,'GGGMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5TF92','01',12,'CHIAVE PRINCIPALE',4,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TF92','01',13,'NUMERO RIGA',5,'NRRIGA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5TF92','01',14,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,7,14,0,0,'S9(13) COMP-3','',0,'',0,0,'' )
,('L5TF92','01',15,'DESCRIZIONE ARTICOLO',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5TF92','01',16,'DESCRIZIONE CONTRASSEGNO',2,'DESCON',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5TF92','01',17,'RIFERIMENTO ORDINE',2,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5TF92','01',18,'QUANTITA'' ORDINE DI RIFERIMENTO',2,'QTARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('L5TF92','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5TFSS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TFSS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TFSS','01',3,'CODICE TAPPO',3,'CODTAP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('L5TFSS','01',4,'QUANTITA CARICO',2,'QTACAR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5TFSS','01',5,'QUANTITA IMBOTTIGLIATA',2,'QTAIMB',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
,('L5TFSS','01',6,'QUANTITA SCARICO',2,'QTASCA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,15,2,0,'S9(11)V99 COMP-3','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L5TRMO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TRMO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TRMO','01',3,'DATA REGISTRAZIONE',3,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5TRMO','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,'' )
,('L5TRMO','01',5,'ANNO REGISTRAZIONE',4,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5TRMO','01',6,'MESE REGISTRAZIONE',4,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5TRMO','01',7,'GIORNO REGISTRAZIONE',4,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5TRMO','01',8,'NUMERO REGISTRAZIONE',3,'NUMREG',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5TRMO','01',9,'NUMERO RIGA REGISTRAZIONE',3,'NUMRIG',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5TRMO','01',10,'FLAG TIPO RIGA A/B/C',3,'FLGRIG',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5TRMO','01',11,'SIGLA CAUSALE',2,'SIGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5TRMO','01',12,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5TRMO','01',13,'D/A DARE AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5TRMO','01',14,'CODICE GRUPPO CONTO SOTTOCONTO',2,'CODGCS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5TRMO','01',15,'CODICE GRUPPO',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5TRMO','01',16,'CODICE CONTO',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5TRMO','01',17,'CODICE SOTTOCONTO',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L5TRMO','01',18,'DESCRIZIONE CONTO',2,'DESCON',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('L5TRMO','01',19,'FLAG TRAVASO  /S',2,'FLGTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5TRMO','01',20,'NUOVA DATA REGISTRAZIONE',2,'NEWDAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5VADB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADB','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADB','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,'' )
,('L5VADB','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,'' )
,('L5VADB','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VADC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADC','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,'' )
,('L5VADC','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,'' )
,('L5VADC','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VADD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADD','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADD','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,'' )
,('L5VADD','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,'' )
,('L5VADD','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VADE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADE','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,'' )
,('L5VADE','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,'' )
,('L5VADR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADR','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VADR','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,'' )
,('L5VADR','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,'' )
,('L5VAPM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VAPM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VAPM','01',3,'CODICE PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VAPM','01',4,'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,'' )
,('L5VAPM','01',5,'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,'' )
,('L5VAPM','01',6,'DATA REGISTRAZIONE',3,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L5VAPM','01',7,'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,'' )
,('L5VAPM','01',8,'NUMERO RIGA REGISTRAZIONE',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5VAPM','01',9,'FLAG TIPO RIGA A/B/C/D/E/F',3,'FLGRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VAPM','01',10,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VAPM','01',11,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L5VAPM','01',12,'D/A DARE AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VAPM','01',13,'DESCRIZIONE AGGIUNTIVA 1',2,'DESAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5VAPM','01',14,'NUOVO ANNO PARTITA',2,'NEWANN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VAPM','01',15,'NUOVO NUMERO PARTITA',2,'NEWNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('L5VD32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VD32','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VD32','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,'' )
,('L5VD32','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,'' )
,('L5VD63','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VD63','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VD63','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,'' )
,('L5VD63','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,'' )
,('L5VD6X','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VD6X','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,'' )
,('L5VD6X','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,'' )
,('L5VD6X','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VD6X','01',5,'INDICE DISTINTA',3,'INDDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5VD6X','01',6,'TIPO CODICE (SPAZIO/C)',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VD6X','01',7,'CODICE COMPONENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5VD6X','01',8,'ANNATA COMPONENTE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VD6X','01',9,'QUANTITA'' COMPONENTE',2,'QTACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('L5VD6X','01',10,'PREZZO DA ANAGRAFICA UNITARIO',2,'PRE001',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',11,'PREZZO DA ANAGRAFICA TOTALE',2,'VAL001',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',12,'COSTO STANDARD UNITARIO',2,'PRE002',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',13,'COSTO STANDARD TOTALE',2,'VAL002',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',14,'COSTO MEDIO UNITARIO',2,'PRE003',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',15,'COSTO MEDIO TOTALE',2,'VAL003',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',16,'ULTIMO COSTO UNITARIO',2,'PRE004',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',17,'ULTIMO COSTO TOTALE',2,'VAL004',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',18,'VAL. DA ANAG. PROD.FIN. O C.MED. COMP.U',2,'PRE005',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',19,'VAL. DA ANAG. PROD.FIN. O C.MED. COMP.T',2,'VAL005',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',20,'F.I.F.O. UNITARIO',2,'PRE006',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',21,'F.I.F.O. TOTALE',2,'VAL006',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',22,'PREZZO MODO DI VALORIZZAZIONE 7',2,'PRE007',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',23,'VALORE MODO DI VALORIZZAZIONE 7',2,'VAL007',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',24,'QTA USATA IN PRODUZIONI (FIFO 079)',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('L5VD6X','01',25,'TOT.VALORE QTA USATA IN PROD.(FIFO 079)',2,'VALPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,5,0,'S9(11)V9(5)','',0,'',0,0,'' )
,('L5VD6X','01',26,'TIPO PREZZO V=DA VENDITE',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VD6X','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,165,165,0,0,'X(165)','',0,'',0,0,'' )
,('L5VD6X','01',28,'CODICE ATTRIBUTO',2,'CODATT',0,1,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5VDBA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VDBA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VDBA','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,'' )
,('L5VDBA','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,'' )
,('L5VDBB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VDBB','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
('L5VDBB','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,'' )
,('L5VDBB','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,'' )
,('L5VDBX','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VDBX','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VDBX','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,'' )
,('L5VDBX','01',4,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VDBX','01',5,'INDICE DISTINTA',3,'INDDIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5VDBX','01',6,'TIPO CODICE (SPAZIO/C)',3,'TIPCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VDBX','01',7,'CODICE COMPONENTE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5VDBX','01',8,'ANNATA COMPONENTE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VDBX','01',9,'QUANTITA'' COMPONENTE',2,'QTACOM',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('L5VDBX','01',10,'PREZZO DA ANAGRAFICA UNITARIO',2,'PRE001',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',11,'PREZZO DA ANAGRAFICA TOTALE',2,'VAL001',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',12,'COSTO STANDARD UNITARIO',2,'PRE002',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',13,'COSTO STANDARD TOTALE',2,'VAL002',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',14,'COSTO MEDIO UNITARIO',2,'PRE003',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',15,'COSTO MEDIO TOTALE',2,'VAL003',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',16,'ULTIMO COSTO UNITARIO',2,'PRE004',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',17,'ULTIMO COSTO TOTALE',2,'VAL004',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',18,'VAL. DA ANAG. PROD.FIN. O C.MED. COMP.U',2,'PRE005',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',19,'VAL. DA ANAG. PROD.FIN. O C.MED. COMP.T',2,'VAL005',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',20,'F.I.F.O. UNITARIO',2,'PRE006',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',21,'F.I.F.O. TOTALE',2,'VAL006',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',22,'PREZZO MODO DI VALORIZZAZIONE 7',2,'PRE007',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',23,'VALORE MODO DI VALORIZZAZIONE 7',2,'VAL007',0,0,0,0,0,0,0,0,0,0,'',1,1,10,12,5,0,'S9(5)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',24,'QTA USATA IN PRODUZIONI (FIFO 079)',2,'QTAPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('L5VDBX','01',25,'TOT.VALORE QTA USATA IN PROD.(FIFO 079)',2,'VALPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,16,18,5,0,'S9(11)V9(5)','',0,'',0,0,'' )
,('L5VDBX','01',26,'TIPO PREZZO V=DA VENDITE',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VDBX','01',27,'TIPO VALORIZZAZIONE (Soave)',2,'TIPCAL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5VDBX','01',28,'CODICE ERRORE VALORIZZAZIONE',2,'CODERR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5VDBX','01',29,'CODICE SPIEGAZIONE VALORIZZAZIONE',2,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5VDBX','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,162,162,0,0,'X(162)','',0,'',0,0,'' )
,('L5VG38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VG38','01',2,'CODICE ARTICOLO',2,'CODART',1,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5VG38','01',3,'CONSIDERATI IN CALC.DISP. (0=SI ,1=NO)',2,'FLGDIS',2,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('L5VG38','01',4,'DATA IN CHIAVE PER ORDINAMENTO',2,'DATKEY',3,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5VG38','01',5,'NUMERO MOVIMENTO',2,'NUMMOV',4,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5VG38','01',6,'NUMERO RIGA MOVIMENTO',2,'NUMRGA',5,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VG38','01',7,'NUMERO DOCUMENTO',2,'NUMDOC',6,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('L5VG38','01',8,'GIACENZA ALLA DATA ELABORAZIONE',2,'GIACEN',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5VG38','01',9,'DISPONIBILITA'' ALLA DATA ELABORAZIONE',2,'DISPON',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5VG38','01',10,'DATA MOVIMENTO',2,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5VG38','01',11,'DATA DOCUMENTO',2,'DTADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L5VG38','01',12,'DESCRIZIONE MOVIMENTO',2,'DESCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5VG38','01',13,'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,'' )
,('L5VG38','01',14,'QUANTITA'' MOVIMENTO',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5VG38','01',15,'QUANTITA'' DA SOMMARE ALLA DISP',2,'QTADIS',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5VG38','01',16,'STATO BLOCCO .RES AL MOMENTO DEL CARICO',2,'STSBLO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VG38','01',17,'ORDINE RISERVATO DA PICKING (S)',2,'FLGRIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L5VR32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VR32','01',2,'ATTRIBUTO ARTICOLO',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5VR32','01',3,'CODICE ARTICOLO',2,'CODART',2,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5VR32','01',4,'ANNATA ARTICOLO',2,'ANNATA',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VR32','01',5,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',10,'',0,0,'' )
,('L5VR63','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VR63','01',2,'ATTRIBUTO ARTICOLO',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L5VR63','01',3,'CODICE ARTICOLO',2,'CODART',2,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L5VR63','01',4,'ANNATA ARTICOLO',2,'ANNATA',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VR63','01',5,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,12,14,3,0,'S9(9)V999','',10,'',0,0,'' )
,('L5VRCM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VRCM','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VRCM','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,'' )
,('L5VRCM','01',4,'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,'' )
,('L5VRCM','01',5,'CODICE LOTTO',3,'NLOTTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('L5VRCM','01',6,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('L5VSMA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VSMA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VSMA','01',3,'ANNO COMPETENZA',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5VSMA','01',5,'ANNATA ARTICOLO',3,'ANNART',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5VSMA','01',6,'NUMERO MOV DI MAGAZZINO (0 PER TOTALI)',3,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L5VSMA','01',7,'RIGA MOV DI MAGAZZINO (0 PER TOTALI)',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5VSMA','01',8,'QUANTITA'' DA SALDO (SOLO PER MOV = 0)',2,'QTASAL',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5VSMA','01',9,'VALORE DA SALDO (SOLO PER MOV = 0)',2,'VALSAL',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5VSMA','01',10,'QUANTITA'' MOVIMENTATA (SOLO PER MOV = 0)',2,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5VSMA','01',11,'VALORE MOVIMENTATO (SOLO PER MOV = 0)',2,'VALMOV',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L5VSVC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VSVC','01',2,'CODICE VASCA',2,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VSVC','01',3,'STABILIMENTO VASCA',3,'STAVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5VSVC','01',4,'SETTORE VASCA',3,'SETVAS',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('L5VSVC','01',5,'NUMERO VASCA',3,'NUMVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L5VSVC','01',6,'QTA DA ELABORARE',2,'QTAELA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5VSVC','01',7,'GIACENZA',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5VSVC','01',8,'DATA MOVIMENTO',2,'DTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('L5VSVC','01',9,'ORA MOVIMENTO',2,'ORAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,6,0,0,'9(6) COMP-3','',0,'',0,0,'' )
,('L5VSVC','01',10,'NUMERO MOVIMENTO',2,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,6,10,0,0,'9(10) COMP-3','',0,'',0,0,'' )
,('L5VSVC','01',11,'CAUSALE MOVIMENTO',2,'CAUMOV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L5VSVC','01',12,'QTA TOTALE',2,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('L5VSVC','01',13,'LIVELLO',2,'LEVELL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,0,0,'9(4) COMP-3','',0,'',0,0,'' )
,('L5VVUO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VVUO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L5VVUO','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,'' )
,('L5VVUO','01',4,'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,'' )
,('L5VVUO','01',5,'ANNO MOVIMENTO',3,'ANNOMV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('L5VVUO','01',6,'MESE MOVIMENTO',3,'MESEMV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L5VVUO','01',7,'QUANTITA'' CONSEGNATA',2,'QUANTC',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('L5VVUO','01',8,'QUANTITA'' RESA',2,'QUANTR',0,0,0,0,0,0,0,0,0,0,'',1,1,7,8,0,0,'S9(7)','',0,'',0,0,'' )
,('L6BIES','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6BIES','01',2,'TIPO CONTO',2,'ATTPAS',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6BIES','01',5,'CODICE GRUPPO',2,'CODGRU',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L6BIES','01',6,'CODCIE CONTO',2,'CODCON',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('L6BIES','01',7,'CODICE SOTTOCONTO',2,'CODSOT',4,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L6BIES','01',8,'TIPO CONTO (C/F/S/A)',2,'TIPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6BIES','01',9,'IMPORTO',2,'IMPCON',0,0,0,0,0,0,0,0,0,0,'',1,1,13,14,0,2,'S9(13)','S9(11)V99',0,'',0,0,'' )
,('L6BIL1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6BIL1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6BIL1','01',3,'TIPO CONTO',3,'ATTPAS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6BIL1','01',6,'CODICE GRUPPO',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L6BIL1','01',7,'CODICE CONTO',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L6BIL1','01',8,'CODICE SOTTOCONTO',3,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L6BIL1','01',9,'TIPO CONTO (C/F/S/A)',2,'TIPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6BIL1','01',10,'IMPORTO',2,'IMPCON',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L6BILE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6BILE','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6BILE','01',3,'TIPO CONTO',3,'ATTPAS',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6BILE','01',6,'CODICE RAGRUPPAMENTO CENTRI C/R',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('L6BILE','01',7,'CODICE CENTRO COSTO/RICAVO',3,'CODCEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('L6BILE','01',8,'CODICE SOTTOCONTO',3,'CODSOT',0,4,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L6BILE','01',9,'PROGRESSIVO (PER CHIAVI DUPLICATE)',3,'PROGRE',0,5,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L6BILE','01',10,'GRUPPO PIANO DEI CONTI',2,'CODGRU',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L6BILE','01',11,'CONTO PIANO DEI CONTI',2,'CODCON',0,3,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L6BILE','01',12,'TIPO CONTO (C/F/S/A)',2,'TIPCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6BILE','01',13,'IMPORTO',2,'IMPCON',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('L6SCLA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6SCLA','01',2,'CODICE ARTICOLO',2,'CODART',1,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('L6SCLA','01',3,'CODICE FORNITORE',2,'CODFOR',2,3,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L6SCLA','01',4,'DATA INIZIO VALIDITA'' LISTINO FORNITORE',2,'DTAINI',3,4,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L6SCLA','01',5,'DATA FINE VALIDITA'' LISTINO FORNITORE',2,'DTAFIN',4,5,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('L6SCLA','01',6,'PREZZO LISTINO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('L6SCLA','01',7,'SCONTI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6SCLA','01',8,'SCONTO 1',3,'SCONT1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L6SCLA','01',9,'SCONTO 2',3,'SCONT2',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L6SCLA','01',10,'SCONTO 3',3,'SCONT3',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L6SCLA','01',11,'SCONTO 4',3,'SCONT4',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('L6SCLA','01',12,'PREZZO AL NETTO DEGLI SCONTI',2,'PRENET',0,2,0,0,0,0,0,0,0,0,'',1,0,11,12,5,0,'9(6)V9(5)','',0,'',0,0,'' )
,('L6SSOD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6SSOD','01',2,'CODICE CONFERENTE',2,'DATREG',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L6SSOD','01',3,'TIPO REGISTRAZIONE',2,'TIPREG',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6SSOD','01',6,'NUMERO REGISTRAZIONE',2,'NUMREG',3,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L6SSOD','01',7,'NUMERO RIGA REGISTRAZIONE',2,'NUMRIG',4,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L6STMO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6STMO','01',2,'CODICE CONFERENTE',2,'DATREG',1,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L6STMO','01',3,'TIPO REGISTRAZIONE',2,'TIPREG',2,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6STMO','01',6,'NUMERO REGISTRAZIONE',2,'NUMREG',3,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L6STMO','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6TRMO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6TRMO','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6TRMO','01',3,'DATA REGISTRAZIONE',3,'DATREG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('L6TRMO','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,'' )
,('L6TRMO','01',5,'ANNO REGISTRAZIONE',4,'AAAREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L6TRMO','01',6,'MESE REGISTRAZIONE',4,'MMMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L6TRMO','01',7,'GIORNO REGISTRAZIONE',4,'GGGREG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('L6TRMO','01',8,'NUMERO REGISTRAZIONE',3,'NUMREG',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('L6TRMO','01',9,'NUMERO RIGA REGISTRAZIONE',3,'NUMRIG',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('L6TRMO','01',10,'FLAG TIPO RIGA A/B/C',3,'FLGRIG',0,3,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6TRMO','01',11,'SIGLA CAUSALE',2,'SIGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('L6TRMO','01',12,'IMPORTO RIGA',2,'IMPRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('L6TRMO','01',13,'D/A DARE AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6TRMO','01',14,'CODICE GRUPPO CONTO SOTTOCONTO',2,'CODGCS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('L6TRMO','01',15,'CODICE GRUPPO',3,'GRURIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L6TRMO','01',16,'CODICE CONTO',3,'CONRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('L6TRMO','01',17,'CODICE SOTTOCONTO',3,'SOTRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('L6TRMO','01',18,'DESCRIZIONE CONTO',2,'DESCON',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('L6TRMO','01',19,'FLAG TRAVASO  /S',2,'FLGTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('L6TRMO','01',20,'NUOVA DATA REGISTRAZIONE',2,'NEWDAT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('LA0101','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LA0101','01',2,'GRADO LIMITE',2,'GRALIM',1,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('LA0101','01',3,'COEFFICENTE',2,'COEFFI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,2,0,'9V99','',0,'',0,0,'' )
,('LA0101','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('LA0103','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LA0103','01',2,'CODICE SCELTA',2,'CODSCE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LA0103','01',3,'CODICE UVA',2,'CODUVA',2,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LA0103','01',4,'CODICE SCALETTA',2,'CODSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('LA0103','01',5,'GRADO DI RIFERIMENTO',2,'GRARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('LA0103','01',6,'PREZZO A GRADO',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',0,'',0,0,'' )
,('LA0103','01',7,'PREZZO A QUINTALE',2,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,3,'9(5)','99V999',0,'',0,0,'' )
,('LA0103','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('LA0110','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LA0110','01',2,'CHIAVE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('LA0110','01',3,'CODICE CONFERENTE',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LA0110','01',4,'CODICE SOCIETA''',3,'CODSCT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('LA0110','01',6,'TIPO SCELTA',3,'TIPSCE',0,0,0,1,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('LA0110','01',9,'CODICE SCELTA',3,'CODSCE',0,0,1,2,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LA0110','01',10,'CODICE UVA',3,'CODUVA',0,0,2,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('LA0110','01',11,'TIPO PAGAMENTO',2,'TIPPAG',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('LA0110','01',15,'CODICE BANCA',2,'CODBAN',0,2,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('LA0110','01',16,'QUANTITA'' CONFERITA',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LA0110','01',17,'MONTEGRADI CONFERITO',2,'MONCON',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('LA0110','01',18,'PERCENTUALE DI PARTECIPAZIONE',2,'PERPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('LA0110','01',19,'QUANTITA'' CONFERITA PARTECIPAZIONE',2,'QTAPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('LA0110','01',20,'MONTEGRADI CONFERITO PARTECIPAZIONE',2,'MONPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,3,0,'9(8)V999','',0,'',0,0,'' )
,('LA0110','01',21,'GRADO MEDIO RIGA',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('LA0110','01',22,'PREZZO A GRADO',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',0,'',0,0,'' )
,('LA0110','01',23,'PREZZO A QUINTALE',2,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',0,'',0,0,'' )
,('LA0110','01',24,'VALORE RIGA',2,'VALRIG',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LA0110','01',25,'VALORE PARTECIPAZIONE',2,'VALPAR',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,2,0,'S9(9)V99','',0,'',0,0,'' )
,('LA0110','01',26,'IMPONIBILE ARROTONDATO',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('LA0110','01',27,'ANTICIPI PRECEDENTI',2,'IMPANT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('LA0110','01',28,'IMPONIBILE NETTO',2,'IMPNET',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('LA0110','01',29,'IMPORTO IVA',2,'IMPIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
,('LA0110','01',30,'IMPORTO FATTURA',2,'IMPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,2,'9(11)','9(9)V99',0,'',0,0,'' )
go
