INSERT INTO dbo.ZFILE3_01 VALUES
('ANUOI2','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,'' )
,('ANUOI2','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,'' )
,('ANUOIM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANUOIM','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,'' )
,('ANUOIM','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,'' )
,('ANUOIM','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,'' )
,('ANUOIM','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,'' )
,('ANUOIM','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,'' )
,('ANUOIM','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,'' )
,('ANUOIM','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,'' )
,('ANUOIM','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,'' )
,('ANUOIM','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,'' )
,('ANVAG1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVAG1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVAG1','01',3,'CODICE AGGIUNTA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANVAG1','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,'' )
,('ANVAG1','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,106,106,0,0,'X(106)','',0,'',0,0,'' )
,('ANVAGG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVAGG','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVAGG','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,'' )
,('ANVAGG','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANVAGG','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,'' )
,('ANVAGG','01',6,'VOLUME DI RIFERIMENTO H/L',2,'VOLRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVAGG','01',7,'STRINGA UNITA'' DI MISURA',2,'STRUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('ANVAGG','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('ANVANL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANL','01',2,'NUMERO ANALISI',2,'NUMANA',1,5,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVANL','01',3,'TIPO OGGETTO',2,'FLGOBJ',2,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVANL','01',7,'CODICE OGGETTO',2,'CODOBJ',3,2,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANVANL','01',8,'RIDEFINIZIONE PER VASCA',2,'REDVAS',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANL','01',9,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ANVANL','01',10,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('ANVANL','01',11,'RIDEFINIZIONE PER CAMPIONE',2,'REDCAM',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANL','01',12,'CODICE CAMPIONE',3,'CODCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVANL','01',13,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ANVANL','01',14,'RIDEFINIZIONE PER PRODUZIONE',2,'REDPRO',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANL','01',15,'CODICE PRODUZIONE',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVANL','01',16,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('ANVANL','01',17,'DATA ANALISI',2,'DTAANA',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVANL','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANL','01',19,'ANNO',3,'AA-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANVANL','01',20,'MESE',3,'MM-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVANL','01',21,'GIORNO',3,'GG-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVANL','01',22,'ORA',2,'ORAANA',0,4,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVANL','01',23,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,57,57,0,0,'X(57)','',0,'',0,0,'' )
,('ANVANN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANN','01',3,'NUMERO ANALISI',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVANN','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVANN','01',5,'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,'' )
,('ANVANN','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,26,26,0,0,'X(26)','',0,'',0,0,'' )
,('ANVANR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANR','01',3,'NUMERO ANALISI',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVANR','01',4,'CODICE VOCE ANALISI',3,'CODVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVANR','01',5,'VOCE ANALISI (GESTITI 5 DECIMALI)',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,1,9,18,6,0,'S9(10)V9(6) COMP-3','',0,'',0,0,'' )
,('ANVANR','01',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,'' )
,('ANVANT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANT','01',2,'CHIAVE PER ARTICOLO',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANT','01',3,'DATA-ORA ANALISI',3,'TEMANA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANT','01',4,'DATA ANALISI',4,'DTAANA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVANT','01',5,'FILLER',4,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVANT','01',6,'ANNO',5,'AA-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANVANT','01',7,'MESE',5,'MM-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVANT','01',8,'GIORNO',5,'GG-ANA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVANT','01',9,'ORA ANALISI',4,'ORAANA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVANT','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,'' )
,('ANVANT','01',11,'NUMERO ANALISI',5,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVANT','01',12,'TIPO ANALISI',2,'TIPANA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVANT','01',13,'FLAG COPIATA ( /S)',2,'FLGCOP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVANT','01',14,'COPIATA DA NUMERO ANALISI',2,'NUMCOP',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVANT','01',15,'DATA INSERIMENTO ANALISI',2,'DTAINS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVANT','01',16,'ORA INSERIMENTO ANALISI',2,'ORAINS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVANT','01',17,'DATA ULTIMA MODIFICA ANALISI',2,'DTAMOD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVANT','01',18,'ORA ULTIMA MODIFICA ANALISI',2,'ORAMOD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVANT','01',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('ANVAT1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVAT1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVAT1','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVAT1','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVAT1','01',5,'CODICE VOCE',2,'CODVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVAT1','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,'' )
,('ANVATI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVATI','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVATI','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVATI','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANVATI','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,'' )
,('ANVATI','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('ANVATT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVATT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVATT','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,'' )
,('ANVATT','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANVATT','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,'' )
,('ANVATT','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('ANVCAU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVCAU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVCAU','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,'' )
,('ANVCAU','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANVCAU','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,'' )
,('ANVCAU','01',6,'GESTITE VASCHE SCARICO (N/1/M)',2,'VASSCA',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
('ANVCAU','01',7,'GESTITE VASCHE CARICO (N/1/M)',2,'VASCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVCAU','01',8,'GESTITE AGGIUNTE (S/N)',2,'FLGAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVCAU','01',9,'GESTITE LAVORAZIONI (S/N)',2,'FLGLAV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVCAU','01',10,'FILLER EX LOTTO IMBOTTIGLIAMENTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVCAU','01',11,'PULIZIA IN ORDINE LAVORAZIONE (S/N)',2,'FLGPUL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVCAU','01',12,'PROVENIENZA MOVIMENIT DI CARICO (A/V)',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVCAU','01',15,'FLAG MOVIMENTO DA ORDINE ( /N)',2,'FLGMDO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVCAU','01',16,'TIPO ELABORAZIOEN TAGLIO TRACCIABILITA''',2,'ELATRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVCAU','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,67,67,0,0,'X(67)','',0,'',0,0,'' )
,('ANVCVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVCVA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVCVA','01',3,'CODICE VARIETA''',3,'CODVAR',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVCVA','01',4,'ANNATA (PER ADESSO SEMPRE ZERO)',3,'ANNATA',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVCVA','01',5,'COSTO VALIDO DAL',3,'VALINI',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVCVA','01',6,'COSTO VALIDO AL',3,'VALFIN',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVCVA','01',7,'COSTO LT.DA SOMMARE A VALORE ACQUISTO',2,'AGGGLT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ANVCVA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('ANVCVR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVCVR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVCVR','01',3,'DATA COSTO',3,'DTACOS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVCVR','01',4,'CODICE VARIETA'' - SPAZI PER REC.DTA RIP',3,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVCVR','01',5,'ANNATA (PER ADESSO SEMPRE ZERO)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVCVR','01',6,'COSTO A LITRO',2,'COSTLT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ANVCVR','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,93,93,0,0,'X(93)','',0,'',0,0,'' )
,('ANVCVV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVCVV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVCVV','01',3,'CODICE VARIETA''',3,'CODVAR',0,3,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVCVV','01',4,'ANNATA (PER ADESSO SEMPRE ZERO)',3,'ANNATA',0,4,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVCVV','01',5,'COSTO VALIDO DAL',3,'VALINI',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVCVV','01',6,'COSTO VALIDO AL',3,'VALFIN',0,2,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVCVV','01',7,'COSTO A LITRO',2,'COSTLT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ANVCVV','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('ANVFOR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVFOR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVFOR','01',3,'CODICE VASCA',3,'CODVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ANVFOR','01',4,'CODICE AZIENDA FORZATA',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ANVFOR','01',5,'CODICE REGISTRO FORZATO',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVFOR','01',6,'CODICE COMMERCIALIZZAZIONE FORZATO',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVFOR','01',7,'ANNATA COMMERCIALIZZAZIONE FORZATA',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVFOR','01',8,'QUANTITA'' FORZATA (OPZIONALE)',2,'QTAGIA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVFOR','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('ANVLAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVLAV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVLAV','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,'' )
,('ANVLAV','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANVLAV','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,'' )
,('ANVLAV','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('ANVLNK','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVLNK','01',2,'CODICE PERSONALE',2,'CODPER',1,2,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVLNK','01',3,'STABILIMENTO/REPARTO',2,'STBREP',2,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVLNK','01',4,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVLNK','01',5,'CODICE REPARTO',3,'CODREP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVLNK','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,58,58,0,0,'X(58)','',0,'',0,0,'' )
,('ANVLOC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVLOC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVLOC','01',3,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVLOC','01',4,'CODICE REPARTO SPAZI PER DEFINIZIONE STB',3,'CODREP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVLOC','01',5,'CODICE UBICAZIONE SPAZI PER DEF REP STB',3,'CODUBI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVLOC','01',6,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('ANVLOC','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,'' )
,('ANVLOC','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('ANVMV1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV1','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,'' )
,('ANVMV1','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,'' )
,('ANVMV1','01',4,'NUMERO ORDINE DI LAVORAZIONE',2,'NUMORD',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVMV1','01',5,'CAUSALE MOVIMENTO',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANVMV1','01',6,'LOCALIZZAZIONE',2,'LOCALI',0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV1','01',7,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVMV1','01',8,'CODICE REPARTO',3,'CODREP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVMV1','01',9,'CODICE UBICAZIONE',3,'CODUBI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVMV1','01',10,'RESPONSABILE',2,'CODRES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVMV1','01',11,'DATA ORA INIZIO MOVIMENTO',2,'TEMINI',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV1','01',12,'DATA INIZIO',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVMV1','01',13,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV1','01',14,'ANNO INIZIO',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANVMV1','01',15,'MESE INIZIO',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVMV1','01',16,'GIORNO INIZIO',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVMV1','01',17,'ORA INIZIO',3,'ORAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVMV1','01',18,'DATA E ORA FINALE',2,'TEMFIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV1','01',19,'DATA FINE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVMV1','01',20,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV1','01',21,'ANNO FINE',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANVMV1','01',22,'MESE FINE',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVMV1','01',23,'GIORNO FINE',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVMV1','01',24,'ORA FINE',3,'ORAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVMV1','01',25,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,122,122,0,0,'X(122)','',0,'',0,0,'' )
,('ANVMV2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,3,4,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV2','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,'' )
,('ANVMV2','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,'' )
,('ANVMV2','01',5,'DATA ORA INIZIO MOVIMENTO',2,'TEMINI',0,1,2,3,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV2','01',6,'DATA INIZIO',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVMV2','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV2','01',8,'ANNO INIZIO',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANVMV2','01',9,'MESE INIZIO',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVMV2','01',10,'GIORNO INIZIO',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVMV2','01',11,'ORA INIZIO',3,'ORAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVMV2','01',12,'CODICE VASCA',2,'CODVAS',0,0,1,2,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ANVMV2','01',13,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVMV2','01',18,'DATI CARICO E SCARICO',2,'DATICS',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
('ANVMV2','01',19,'VARIETA''',3,'DATVAR',0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV2','01',20,'CODICE VARIETA'' PER VACSHE DI CARICO',4,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVMV2','01',21,'ANNATA VARIETA''',4,'ANNVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVMV2','01',22,'QUANTITA'' MOVIMENTATA IN LITRI',3,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ANVMV2','01',23,'DATI AGGIUNTA',2,'DATIAA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV2','01',24,'CODICE AGGIUNTA',3,'CODAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANVMV2','01',25,'CODICE ARTICOLO AGGIUNTO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ANVMV2','01',26,'QUANTITA'' DI RIFERIMENTO',3,'QTARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ANVMV2','01',27,'QUANTITA'' EFFETTIVA',3,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ANVMV2','01',28,'LOTTO',3,'DESLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANVMV2','01',29,'DATI LAVORAZIONE',2,'DATILL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV2','01',30,'CODICE LAVORAZIONE',3,'CODLAV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANVMV2','01',31,'DATI LOTTO PER ORA NON GESTITI',2,'DATLOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMV2','01',32,'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,'' )
,('ANVMV2','01',33,'CODICE ARTICOLO',3,'LOTART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ANVMV2','01',34,'QTA PER CALCOLO AGGIUNTE',2,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ANVMV2','01',35,'NUMERO BOLLA DI ACQUISTO SE ACQUISTO',2,'NUMACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVMV2','01',36,'RIGA BOLLA DI ACQUISTO SE ACQUISTO',2,'RIGACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVMV2','01',37,'VARIETA'' ORIGINE FACOLTATIVA SE ACQUISTO',2,'VARORI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVMV2','01',38,'AZIENDA BOLLA ACQUISTO',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('ANVMV2','01',39,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('ANVMVD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMVD','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMVD','01',3,'NUMEOR MOVIMENTO',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVMVD','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,'' )
,('ANVMVD','01',5,'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,'' )
,('ANVMVD','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ANVMVN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMVN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMVN','01',3,'NUMEOR MOVIMENTO',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVMVN','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,'' )
,('ANVMVN','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANVMVN','01',6,'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,'' )
,('ANVMVN','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ANVMVS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMVS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMVS','01',3,'NUMEOR MOVIMENTO',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVMVS','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,'' )
,('ANVMVS','01',5,'CODICE PERSONALE INCARICATO',2,'SQUINC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVMVS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('ANVMVT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMVT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVMVT','01',3,'NUMEOR MOVIMENTO',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVMVT','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,'' )
,('ANVMVT','01',5,'CODICE PERSONALE INCARICATO',2,'SQUINC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVMVT','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('ANVOR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR1','01',3,'NUMERO ORDINE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVOR1','01',4,'DATA IMMISSIONE ORDINE',2,'DTAORD',0,1,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVOR1','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,'' )
,('ANVOR1','01',6,'ANNO',3,'AAAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVOR1','01',7,'MESE',3,'MMMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVOR1','01',8,'GIORNO',3,'GGGORD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVOR1','01',9,'CAUSALE MOVIMENTO',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANVOR1','01',10,'LOCALIZZAZIONE',2,'LOCALI',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR1','01',11,'CODICE STABILIMENTO',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVOR1','01',12,'CODICE REPARTO',3,'CODREP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVOR1','01',13,'CODICE UBICAZIONE',3,'CODUBI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVOR1','01',14,'RESPONSABILE',2,'CODRES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVOR1','01',15,'DATA ORA INIZIO MOVIMENTO',2,'TEMINI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR1','01',16,'DATA INIZIO',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVOR1','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,'' )
,('ANVOR1','01',18,'ANNO INIZIO',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANVOR1','01',19,'MESE INIZIO',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVOR1','01',20,'GIORNO INIZIO',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVOR1','01',21,'ORA INIZIO',3,'ORAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVOR1','01',22,'DATA E ORA FINALE',2,'TEMFIN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR1','01',23,'DATA FINE',3,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVOR1','01',24,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR1','01',25,'ANNO FINE',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANVOR1','01',26,'MESE FINE',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVOR1','01',27,'GIORNO FINE',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVOR1','01',28,'ORA FINE',3,'ORAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVOR1','01',29,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,134,134,0,0,'X(134)','',0,'',0,0,'' )
,('ANVOR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR2','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,'' )
,('ANVOR2','01',3,'NUMERO ORDINE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVOR2','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,'' )
,('ANVOR2','01',5,'DATA ORA INIZIO ORDINE',2,'TEMINI',0,1,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR2','01',6,'DATA INIZIO',3,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVOR2','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR2','01',8,'ANNO INIZIO',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('ANVOR2','01',9,'MESE INIZIO',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVOR2','01',10,'GIORNO INIZIO',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('ANVOR2','01',11,'ORA INIZIO',3,'ORAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('ANVOR2','01',12,'CODICE VASCA ZERO PER RECORDS TIPRIG = V',2,'CODVAS',0,0,1,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('ANVOR2','01',13,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('ANVOR2','01',18,'DATI SCARICO',2,'DATICS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR2','01',19,'QUANTITA'' MOVIMENTATA IN LITRI',3,'QTAMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('ANVOR2','01',20,'DATI AGGIUNTA',2,'DATIAA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR2','01',21,'CODICE AGGIUNTA',3,'CODAGG',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANVOR2','01',22,'CODICE ARTICOLO AGGIUNTO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ANVOR2','01',23,'QUANTITA'' DI RIFERIMENTO',3,'QTARIF',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,2,0,'9(5)V99','',0,'',0,0,'' )
,('ANVOR2','01',24,'QUANTITA'' EFFETTIVA',3,'QTATOT',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('ANVOR2','01',25,'LOTTO',3,'DESLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('ANVOR2','01',26,'DATI LAVORAZIONE',2,'DATILL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR2','01',27,'CODICE LAVORAZIONE',3,'CODLAV',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANVOR2','01',28,'DATI LOTTO PER ORA NON GESTITI',2,'DATLOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR2','01',29,'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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ANVOR2','01',30,'CODICE ARTICOLO',3,'LOTART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('ANVOR2','01',31,'DATI LAVAGGIO ATTREZZATURE',2,'DATVVV',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVOR2','01',32,'CODICE ATTREZZATURA',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANVOR2','01',33,'CODICE TIPO LAVAGGIO',3,'CODTIP',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('ANVOR2','01',34,'QTA PER CALCOLO AGGIUNTE',2,'QTACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('ANVOR2','01',35,'CODICE VARIETA'' - VASCHE-DEST-ORDINI = S',2,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVOR2','01',36,'ANNATA VARIETA'' - VASCHE-DEST-ORDINI = S',2,'ANNVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVOR2','01',37,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('ANVORD','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVORD','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVORD','01',3,'NUMERO ORDINE',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVORD','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,'' )
,('ANVORD','01',5,'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,'' )
,('ANVORD','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('ANVORN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVORN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVORN','01',3,'NUMERO ORDINE',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVORN','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,'' )
,('ANVORN','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('ANVORN','01',6,'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,'' )
,('ANVORN','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('ANVORS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVORS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVORS','01',3,'NUMERO ORDINE',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVORS','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,'' )
,('ANVORS','01',5,'CODICE PERSONALE INCARICATO',2,'SQUINC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVORS','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('ANVORT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVORT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVORT','01',3,'NUMERO ORDINE',3,'NUMERO',0,2,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVORT','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,'' )
,('ANVORT','01',5,'CODICE PERSONALE INCARICATO',2,'SQUINC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVORT','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('ANVPAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVPAR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVPAR','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVPAR','01',4,'COD.STABILIMENTO DA PROPORRE IN ORD/MOV',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVPAR','01',5,'COD.REPARTO DA PROPORRE IN ORD/MOV',2,'CODREP',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVPAR','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,108,108,0,0,'X(108)','',0,'',0,0,'' )
,('ANVPAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVPAV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVPAV','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVPAV','01',4,'DATA ARRIVO BOLLA INIZIALE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVPAV','01',5,'DATA ARRIVO BOLLA FINALE',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVPAV','01',6,'AZIENDE BOLLE D''ACUISTO DA ELABORARE',2,'AZIACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',4,'',0,0,'' )
,('ANVPAV','01',7,'DATA PARTENZA GESTIONE',2,'DTAPAR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('ANVPAV','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('ANVPRO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVPRO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVPRO','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('ANVPRO','01',4,'ULTIMO NUMERO MOVIMENTO VASCHE',2,'NUMMOV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVPRO','01',5,'ULTIMO NUMERO ORDINE VASCHE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVPRO','01',6,'ULTIMO NUMERO ANALISI',2,'NUMANA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('ANVPRO','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('ANVRCC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVRCC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVRCC','01',3,'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,'' )
,('ANVRCC','01',4,'CODICE VOCE ANALISI',3,'CODVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVRCC','01',5,'LIMITE RANGE INIZIALE',2,'LIMINI',0,2,0,0,0,0,0,0,0,0,'',1,1,16,18,6,0,'S9(10)V9(6)','',0,'',0,0,'' )
,('ANVRCC','01',6,'LIMITE RANGE FINALE',2,'LIMFIN',0,3,0,0,0,0,0,0,0,0,'',1,1,16,18,6,0,'S9(10)V9(6)','',0,'',0,0,'' )
,('ANVRCC','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,46,46,0,0,'X(46)','',0,'',0,0,'' )
,('ANVRVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVRVA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVRVA','01',3,'CODICE VARIETA''',3,'CODVAR',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVRVA','01',4,'CODICE VOCE ANALISI',3,'CODVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVRVA','01',5,'LIMITE RANGE INIZIALE',2,'LIMINI',0,2,0,0,0,0,0,0,0,0,'',1,1,16,18,6,0,'S9(10)V9(6)','',0,'',0,0,'' )
,('ANVRVA','01',6,'LIMITE RANGE FINALE',2,'LIMFIN',0,3,0,0,0,0,0,0,0,0,'',1,1,16,18,6,0,'S9(10)V9(6)','',0,'',0,0,'' )
,('ANVRVA','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('ANVSC1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVSC1','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVSC1','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,'' )
,('ANVSC1','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,'' )
,('ANVSC1','01',5,'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,'' )
,('ANVSC1','01',6,'CODICE COMMERCIALIZZAZIONE',2,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVSC1','01',7,'TIPO ANALISI',2,'TIPANA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVSC1','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,86,86,0,0,'X(86)','',0,'',0,0,'' )
,('ANVSC2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVSC2','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVSC2','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,'' )
,('ANVSC2','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,'' )
,('ANVSC2','01',5,'CODICE VOCE ANALISI',3,'CODVOC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVSC2','01',6,'VALORE ANALISI',2,'VALORE',0,0,0,0,0,0,0,0,0,0,'',1,1,9,18,6,0,'S9(10)V9(6) COMP-3','',0,'',0,0,'' )
,('ANVSC2','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,89,89,0,0,'X(89)','',0,'',0,0,'' )
,('ANVSC3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVSC3','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVSC3','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,'' )
,('ANVSC3','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,'' )
,('ANVSC3','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVSC3','01',6,'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,'' )
,('ANVSC3','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('ANVSC4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVSC4','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVSC4','01',3,'CODICE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVSC4','01',4,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('ANVSC4','01',5,'RIGA NOTE COMMENTO FISSO',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('ANVSC4','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('ANVTIP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVTIP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('ANVTIP','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,'' )
,('ANVTIP','01',4,'DESCRIZIONE ESTESA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('ANVTIP','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,'' )
,('ANVTIP','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,76,76,0,0,'X(76)','',0,'',0,0,'' )
,('AOBAGE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOBAGE','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOBAGE','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AOBAGE','01',4,'NUMERO ATTRIBUTO CLIENTI',2,'NATTCL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOBAGE','01',5,'ATTRIBUTI CLIENTI',2,'ATTCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('AOBAGE','01',7,'NUMERO ATTRIBUTO LINEA',2,'NATTL1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOBAGE','01',8,'ATTRIBUTI LINEA',2,'ATTLI1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',3,'',0,0,'' )
,('AOBAGE','01',9,'NUMERO ATTRIBUTO TABELLA LINEA',2,'NATL11',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOBAGE','01',10,'TABELLA LINEA',2,'ELELI1',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('AOBAGE','01',11,'PRIMO ATTRIBUTO TABELLA LINEA',3,'ATTL11',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AOBAGE','01',12,'SECONDO ATTRIBUTO TABELLA LINEA',3,'ATTL12',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AOBAGE','01',13,'TERZO ATTRIBUTO TABELLA LINEA',3,'ATTL13',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AOBAGE','01',14,'LITRI TABELLA LINEA',3,'LITLI1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AOBAGE','01',15,'PREMIO TABELLA LINEA',3,'IMPLI1',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('AOBAGE','01',16,'PREMIO A BOTTIGLIA TABELLA LINEA',3,'BOLLI1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,3,'9(6)','999V999',0,'',0,0,'' )
,('AOBAGE','01',17,'LITRI TOTALI LINEA',2,'LITTO1',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AOBAGE','01',18,'PREMIO TOTALE LINEA',2,'IMPTO1',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('AOBAGE','01',19,'CLIENTI SERVITI LINEA',2,'CLILI1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AOBAGE','01',20,'PREMIO SU CLIENTI SERVITI LINEA',2,'IMPCL1',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('AOBAGE','01',22,'NUMERO ATTRIBUTO LINEA',2,'NATTL2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOBAGE','01',23,'ATTRIBUTI LINEA',2,'ATTLI2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',3,'',0,0,'' )
,('AOBAGE','01',24,'CLIENTI SERVITI LINEA',2,'CLILI2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AOBAGE','01',25,'PREMIO SU CLIENTI SERVITI LINEA',2,'IMPCL2',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('AOBAGE','01',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('AOD056','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOD056','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AOD056','01',3,'QUINTALI CONFERITI DOC',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AOD056','01',4,'IMPORTO TOTALE ADDEBITO',2,'IMPADD',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AOD056','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AOF32C','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOF32C','01',2,'CODICE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('AOF32C','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,'' )
,('AOF32C','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,'' )
,('AOF32C','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,82,82,0,0,'X(82)','',0,'',0,0,'' )
,('AOF32P','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOF32P','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOF32P','01',3,'NR. ATTRIBUTO ART. SCHEDA TECNICA',2,'NUMSCT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOF32P','01',4,'COD. ATTRIBUTO ART. SCHEDA TECNICA SI',2,'CODSCT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AOF32P','01',5,'NR. ATTRIBUTO ART. SCHEDA SICUREZZA',2,'NUMSIC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOF32P','01',6,'COD. ATTRIBUTO ART. SCHEDA SICUREZZA SI',2,'CODSIC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AOF32P','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AOF32S','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOF32S','01',2,'ANNO SOLARE',2,'ANNSOL',1,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AOF32S','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,'' )
,('AOF32S','01',4,'CODICE FORNITORE',2,'CODFOR',3,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AOF32S','01',5,'TIPO SCHEDA',2,'TIPSCH',4,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AOF32S','01',8,'NUMERO ORDINE DI STAMPA TESTO',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOF32S','01',9,'DATA RICEZIONE SCHEDA',2,'DATRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('AOF32S','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',0,'',0,0,'' )
,('AOF32T','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOF32T','01',2,'TIPO TESTO',2,'TIPTES',1,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AOF32T','01',7,'PROGRESSIVO RIGA TESTO',2,'PROGRE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AOF32T','01',8,'TESTO',2,'DESTES',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('AOF32T','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('AOFFC1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC1','01',3,'KEY CLI AAA PRO ART',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC1','01',4,'RAGRUPPAMENTO CLI AAA PRO',4,'RAGCAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC1','01',5,'CODICE CLIENTE',5,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AOFFC1','01',6,'ANNO OFFERTA',5,'AAAOFF',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOFFC1','01',7,'NUMERO PROGRESSIVO',5,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOFFC1','01',8,'CODICE ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AOFFC1','01',9,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOFFC1','01',10,'DATA INIZIO OFFERTA',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOFFC1','01',11,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC1','01',12,'ANNO INIZIO',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOFFC1','01',13,'MESE INIZIO',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC1','01',14,'GIORNO INIZIO',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC1','01',15,'DATA FINE OFFERTA',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOFFC1','01',16,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC1','01',17,'ANNO FINE',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOFFC1','01',18,'MESE FINE',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC1','01',19,'GIORNO FINE',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC1','01',20,'DESCRIZIONE PROMOZIONE',3,'DESPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AOFFC1','01',21,'QUANTITA'' IMPEGNATA',2,'QTAIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AOFFC1','01',22,'IMPORTO OFFERTA',2,'IMPOFF',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AOFFC1','01',23,'PAGATO S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AOFFC1','01',24,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOFFC2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC2','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC2','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,'' )
,('AOFFC2','01',4,'DATA INIZIO OFFERTA',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOFFC2','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,'' )
,('AOFFC2','01',6,'ANNO INIZIO',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOFFC2','01',7,'MESE INIZIO',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC2','01',8,'GIORNO INIZIO',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC2','01',9,'DATA FINE OFFERTA',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOFFC2','01',10,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC2','01',11,'ANNO FINE',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOFFC2','01',12,'MESE FINE',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC2','01',13,'GIORNO FINE',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC2','01',14,'FATTURATO IMPEGNATO',2,'FATIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AOFFC2','01',15,'IMPORTO OFFERTA',2,'IMPOFF',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AOFFC2','01',16,'PAGATO S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AOFFC2','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('AOFFC3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC3','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC3','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AOFFC3','01',4,'DATA INIZIO OFFERTA',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOFFC3','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,'' )
,('AOFFC3','01',6,'ANNO INIZIO',4,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOFFC3','01',7,'MESE INIZIO',4,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC3','01',8,'GIORNO INIZIO',4,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC3','01',9,'DATA FINE OFFERTA',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOFFC3','01',10,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOFFC3','01',11,'ANNO FINE',4,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOFFC3','01',12,'MESE FINE',4,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC3','01',13,'GIORNO FINE',4,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AOFFC3','01',14,'PERCENTUALE DI SCONTO',2,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AOFFC3','01',15,'IMPORTO OFFERTA',2,'IMPOFF',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,2,'9(13)','9(11)V99',0,'',0,0,'' )
,('AOFFC3','01',16,'PAGATO S/N',2,'FLGPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AOFFC3','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AON056','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AON056','01',2,'CODICE CONFERENTE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AON056','01',3,'NUMERO RIQUADRI DOC',2,'RIQDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AON056','01',4,'NUMERO RIQUADRI IGT',2,'RIQIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AON056','01',5,'IMPORTO RIQUADRO',2,'IMPQUA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AON056','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AONDCP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AONDCP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AONDCP','01',3,'NUMERO PRIMO ATTRIBUTO',3,'NUM001',0,2,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AONDCP','01',4,'NUMERO SECONDO ATTRIBUTO',3,'NUM002',0,3,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AONDCP','01',5,'CODICE PRIMO ATTRIBUTO',3,'COD001',0,4,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AONDCP','01',6,'CODICE SECONDO ATTRIBUTO',3,'COD002',0,5,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AONDCP','01',7,'CODICE ONERE',3,'CODONE',0,1,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AONDCP','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AONS56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AONS56','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AONS56','01',3,'CODICE CONFERENTE',3,'CODICE',0,2,4,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AONS56','01',4,'ANNO VENDEMMIA',3,'ANNATA',0,1,3,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AONS56','01',5,'TIPO ONERE 1/2',3,'TIPONE',0,3,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AONS56','01',6,'CAUSALE CONTABILE',3,'CODCAU',0,4,2,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AONS56','01',7,'QUINTALI CONFERITI DOC',2,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,2,0,'9(7)V99','',0,'',0,0,'' )
,('AONS56','01',8,'IMPORTO TOTALE ADDEBITO',2,'IMPADD',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AONS56','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('AORAST','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORAST','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORAST','01',3,'NUMERO POSIZIONE ARTICOLO',3,'NUMPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORAST','01',4,'CODICE ARTICOLO',3,'CODART',0,1,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORAST','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AORCA0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA0','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA0','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AORCA0','01',4,'NUMERO PROGRESSIVO ORDINE CANTINA',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORCA0','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',0,'',0,0,'' )
,('AORCA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA1','01',2,'CODICE CAUSALE',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORCA1','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,'' )
,('AORCA1','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,'' )
,('AORCA1','01',5,'TIPO CAUSALE',2,'TIPCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORCA1','01',10,'RICHIESTO PRODOTTO (S/N)',2,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORCA1','01',11,'RICHIESTA QTA/PERCENT. (S/N)-FLGPRO="S"',2,'FLGQOP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORCA1','01',12,'RICHIESTA TEMPO LAVORAZIONE (S/N)',2,'FLGTEM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORCA1','01',13,'RICHIESTA TEMPERATURA (S/N)',2,'FLGTMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORCA1','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('AORCA2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA2','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,'' )
,('AORCA2','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORCA2','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA2','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORCA2','01',6,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORCA2','01',7,'RICHIESTA QTA/PERCENTUALE (Q/P /)',2,'FLGUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORCA2','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,103,103,0,0,'X(103)','',0,'',0,0,'' )
,('AORCA3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA3','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,'' )
,('AORCA3','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORCA3','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA3','01',5,'CODICE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORCA3','01',6,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORCA3','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,104,104,0,0,'X(104)','',0,'',0,0,'' )
,('AORCA4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA4','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,'' )
,('AORCA4','01',3,'RAGIONE SOCIALE',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORCA4','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA4','01',5,'CODICE PERSONALE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORCA4','01',6,'RAGIONE SOCIALE SUCCINTA',2,'RAGSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AORCA4','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,89,89,0,0,'X(89)','',0,'',0,0,'' )
,('AORCA5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA5','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,'' )
,('AORCA5','01',3,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORCA5','01',4,'CHIAVE PRINCIPALE',3,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA5','01',5,'CODICE PERSONALE',4,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORCA5','01',6,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORCA5','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,104,104,0,0,'X(104)','',0,'',0,0,'' )
,('AORCA6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA6','01',2,'NUMERO ORDINE',2,'NUMERO',1,2,3,2,2,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORCA6','01',3,'DATA IMMIOSSIONE',2,'DTAIMM',0,1,2,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORCA6','01',4,'REDEFINES DTAIMM',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA6','01',5,'ANNO IMMISSIONE',3,'AAAIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORCA6','01',6,'MESE IMMISSIONE',3,'MMMIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORCA6','01',7,'GIORNO IMMISSIONE',3,'GGGIMM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORCA6','01',8,'URGENTE SI/NO (S/N)',2,'FLGURG',0,0,1,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORCA6','01',9,'REPARTO',2,'CODREP',0,0,0,1,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORCA6','01',10,'DATA PREVISTA LAVORAZIONE',2,'DTAPRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORCA6','01',11,'REDEFINES DTAPRE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA6','01',12,'ANNO PREVISTA LAVORAZIONE',3,'AAAPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORCA6','01',13,'MESE PREVISTA LAVORAZIONE',3,'MMMPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORCA6','01',14,'GIORNO PREVISTA LAVORAZIONE',3,'GGGPRE',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
('AORCA6','01',15,'PERSONALE INCARICATO',2,'PERINC',0,0,0,0,1,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORCA6','01',16,'TABELLA SQUADRA INCARICATI',2,'TABINC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA6','01',17,'SQUADRA INCARICATA',3,'SQUINC',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',10,'',0,0,'' )
,('AORCA6','01',18,'DATA INIZIO EFFETTIVA',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORCA6','01',19,'REDEFINES DTAINI',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA6','01',20,'ANNO INIZIO EFFETTIVO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORCA6','01',21,'MESE INIZIO EFFETTIVO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORCA6','01',22,'GIORNO INIZIO EFFETTIVO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORCA6','01',23,'ORA INIZIO EFFETTIVA',2,'ORAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AORCA6','01',24,'DATA FINE EFFETTIVA',2,'DTAFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORCA6','01',25,'REDEFINES DTAFIN',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA6','01',26,'ANNO FINE EFFETTIVO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORCA6','01',27,'MESE FINE EFFETTIVO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORCA6','01',28,'GIORNO FINE EFFETTIVO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORCA6','01',29,'ORA FINE EFFETTIVA',2,'ORAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AORCA6','01',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,129,129,0,0,'X(129)','',0,'',0,0,'' )
,('AORCA7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA7','01',2,'NUMERO ORDINE',2,'NUMERO',1,2,2,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORCA7','01',3,'NUMERO RIGA ORDINE',2,'NUMRGA',2,3,3,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORCA7','01',4,'CODICE CAUSALE',2,'CODCAU',0,1,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORCA7','01',5,'CODICE PRODOTTO',2,'CODPRO',0,0,1,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORCA7','01',6,'TEMPO LAVORAZIONE',2,'TEMLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AORCA7','01',7,'TEMPERATURA LAVORAZIONE',2,'TMPLAV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AORCA7','01',8,'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,'' )
,('AORCA7','01',9,'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,'' )
,('AORCA7','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,'' )
,('AORCA7','01',11,'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,'' )
,('AORCA7','01',12,'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,'' )
,('AORCA7','01',13,'CODICE 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,'' )
,('AORCA7','01',14,'CODICE 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,'' )
,('AORCA7','01',15,'NUMERO RIGA CONTRATTO CLIENTE',2,'RIGCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORCA7','01',16,'NUMERO RIGA CONTRATTO FORNITORE',2,'RIGFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORCA7','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('AORCA8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA8','01',2,'NUMERO ORDINE',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORCA8','01',3,'NUMERO RIGA ORDINE',2,'NUMRGA',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORCA8','01',4,'FLAG TIPO VASCA',2,'FLGVAS',3,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORCA8','01',8,'CODICE VASCA',2,'CODVAS',4,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('AORCA8','01',9,'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,'' )
,('AORCA8','01',11,'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,'' )
,('AORCA8','01',13,'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,'' )
,('AORCA8','01',14,'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,'' )
,('AORCA8','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,31,31,0,0,'X(31)','',0,'',0,0,'' )
,('AORCA9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCA9','01',2,'NUMERO ORDINE',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORCA9','01',3,'NUMERO RIGA ORDINE',2,'NUMRGA',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORCA9','01',4,'NUMERO PROGRESSIVO NOTE',2,'NUMPRO',3,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORCA9','01',5,'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,'' )
,('AORCA9','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORCAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORCAN','01',2,'NUMERO ORDINE',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORCAN','01',3,'NUMERO RIGA ORDINE',2,'NUMRGA',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORCAN','01',4,'NUMERO PROGRESSIVO NOTE',2,'NUMPRO',3,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORCAN','01',5,'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,'' )
,('AORCAN','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDF1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','01',9,'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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'',0,0,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','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,'' )
,('AORDF1','01',19,'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,'' )
,('AORDF1','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,'' )
,('AORDF1','01',21,'ANNO',3,'AA-MAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF1','01',22,'MESE',3,'MM-MAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF1','01',23,'GIORNO',3,'GG-MAX',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF1','01',25,'CODICE MAGAZZINO ARRIVO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF1','01',26,'MODALITA'' DI PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AORDF1','01',27,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AORDF1','01',28,'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,'' )
,('AORDF1','01',29,'PORTO',2,'CODPOR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORDF1','01',30,'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,'' )
,('AORDF1','01',31,'CODICE VALUTA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORDF1','01',32,'SCONTO PAGAMENTO',2,'SCOPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AORDF1','01',33,'SCONTI COMMERCIALI',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF1','01',34,'SCONTI COMMERCIALI',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AORDF1','01',35,'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,'' )
,('AORDF1','01',36,'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,'' )
,('AORDF1','01',37,'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,'' )
,('AORDF1','01',38,'CODICE OPERATORE',2,'CODOPE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AORDF1','01',39,'CODICE DESCR. AGG. PAGAMENTO',2,'CODDAP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORDF1','01',40,'CODICE REFERENTE INTERNO CANTINA',2,'CODPER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('AORDF1','01',41,'CODICE REPARTO',2,'CODREP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('AORDF1','01',42,'CONTROLLO SPECIALE',2,'CONSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,3,0,0,'999 COMP-3','',0,'',0,0,'' )
,('AORDF1','01',43,'SECONDO MAGAZZINO DA AGGIORNARE (BOLLA)',2,'CODMA2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF1','01',44,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,64,64,0,0,'X(64)','',0,'',0,0,'' )
,('AORDF2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','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,'' )
,('AORDF2','00',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AORDF2','00',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDF2','00',5,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF2','00',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('AORDF2','LC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','LC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','LC',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,'' )
,('AORDF2','LC',4,'TIPO RECORD = MZ',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDF2','LC',5,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF2','LC',6,'LUOGO CONSEGNA',2,'LUOGOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDF2','LC',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('AORDF2','MZ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','MZ',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','MZ',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,'' )
,('AORDF2','MZ',4,'TIPO RECORD = MZ',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDF2','MZ',5,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF2','MZ',6,'DESCRIZIONE AGENTE',2,'AMEZZO',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDF2','MZ',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('AORDF2','QR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','QR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','QR',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,'' )
,('AORDF2','QR',4,'TIPO RECORD = QR',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDF2','QR',5,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF2','QR',6,'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,'' )
,('AORDF2','QR',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,21,21,0,0,'X(21)','',0,'',0,0,'' )
,('AORDF2','RA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','RA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','RA',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,'' )
,('AORDF2','RA',4,'TIPO RECORD = RA',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDF2','RA',5,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF2','RA',6,'NUMERO RIFERIMENTO ACCORDO FORNITURA',2,'NUMRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORDF2','RA',7,'DATA ACCORDO FORNITURA',2,'DATFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORDF2','RA',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('AORDF2','RI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','RI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF2','RI',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,'' )
,('AORDF2','RI',4,'TIPO RECORD = RI',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDF2','RI',5,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDF2','RI',6,'DATA INIZIALE RITIRO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORDF2','RI',7,'DATA FINALE RITIRO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORDF2','RI',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('AORDF4','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','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,'' )
,('AORDF4','00',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,'' )
,('AORDF4','00',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDF4','00',5,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDF4','00',9,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','00',10,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDF4','00',11,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDF4','00',12,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AORDF4','00',13,'RIGA CONTRATTO (SOLO RIGHE MERCE)',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','00',14,'FILLER',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,116,116,0,0,'X(116)','',0,'',0,0,'' )
,('AORDF4','DD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','DD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','DD',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,'' )
,('AORDF4','DD',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDF4','DD',5,'TIPO RIGA = "D"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDF4','DD',6,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','DD',7,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDF4','DD',8,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','DD',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AORDF4','DD',10,'RIGA CONTRATTO',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','DD',11,'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,'' )
,('AORDF4','DD',12,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AORDF4','DD',13,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','DD',14,'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,'' )
,('AORDF4','DD',15,'QUANTITA'' RIGA',3,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('AORDF4','DD',16,'QUANTITA'' RIGA EVASA',3,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('AORDF4','DD',17,'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,'' )
,('AORDF4','DD',18,'MANIPOLAZIONI',3,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('AORDF4','DD',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,'' )
,('AORDF4','DD',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,'' )
,('AORDF4','DD',24,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,17,5,0,'9(11)V9(5) COMP-3','',0,'',0,0,'' )
,('AORDF4','DD',25,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','DD',26,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AORDF4','DD',27,'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,'' )
,('AORDF4','DD',28,'CODICE COMMERCCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','DD',29,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','DD',30,'DATA CONSEGNA',3,'DTAPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('AORDF4','DD',31,'DESCRIZIONE ALTERNATIVA ARTICOLO',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDF4','DD',32,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORDF4','II',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','II',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','II',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,'' )
,('AORDF4','II',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDF4','II',5,'TIPO RIGA = "I"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDF4','II',6,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','II',7,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDF4','II',8,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','II',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AORDF4','II',10,'ZERI',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','II',11,'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,'' )
,('AORDF4','II',12,'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,'' )
,('AORDF4','II',13,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AORDF4','II',14,'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,'' )
,('AORDF4','II',15,'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,'' )
,('AORDF4','II',16,'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,'' )
,('AORDF4','II',17,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,68,68,0,0,'X(68)','',0,'',0,0,'' )
,('AORDF4','MM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','MM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','MM',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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AORDF4','MM',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDF4','MM',5,'TIPO RIGA = "M"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDF4','MM',6,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','MM',7,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDF4','MM',8,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','MM',9,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AORDF4','MM',10,'RIGA CONTRATTO',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','MM',11,'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,'' )
,('AORDF4','MM',12,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AORDF4','MM',13,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF4','MM',14,'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,'' )
,('AORDF4','MM',15,'QUANTITA'' RIGA',3,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('AORDF4','MM',16,'QUANTITA'' RIGA EVASA',3,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('AORDF4','MM',17,'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,'' )
,('AORDF4','MM',18,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,17,5,0,'9(11)V9(5) COMP-3','',0,'',0,0,'' )
,('AORDF4','MM',19,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF4','MM',20,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AORDF4','MM',21,'SCONTO LITRO',3,'SCOLTR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,8,2,0,'9(5)V99 COMP-3','',0,'',0,0,'' )
,('AORDF4','MM',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,'' )
,('AORDF4','MM',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,'' )
,('AORDF4','MM',24,'DATA CONSEGNA',3,'DTAPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('AORDF4','MM',25,'DESCRIZIONE ALTERNATIVA ARTICOLO',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDF4','MM',26,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('AORDF5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDF5','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,'' )
,('AORDF5','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDF5','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,'' )
,('AORDF5','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,'' )
,('AORDF5','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,'' )
,('AORDF5','01',13,'FLAG COMMENTI IN MAG/COMM',2,'FLGMEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDF5','01',14,'FILLER',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('AORDFU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDFU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDFU','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,'' )
,('AORDFU','01',4,'LUOGO CONSEGNA',2,'LUOGOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDFU','01',5,'DESCRIZIONE AGENTE',2,'AMEZZO',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDFU','01',6,'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,'' )
,('AORDFU','01',7,'NUMERO RIFERIMENTO ACCORDO FORNITURA',2,'NUMRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORDFU','01',8,'DATA ACCORDO FORNITURA',2,'DATFOR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDFU','01',9,'DATA INIZIALE RITIRO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDFU','01',10,'DATA FINALE RITIRO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDFU','01',11,'BARCODE ARCHIVIAZIONE DOCUMENTALE',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('AORDFU','01',12,'NUMERO RDA',2,'NUMRDA',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORDFU','01',13,'OGGETTO (DA RDA)',2,'OGGETT',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AORDFU','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,14,14,0,0,'X(14)','',0,'',0,0,'' )
,('AORDFZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDFZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDFZ','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,'' )
,('AORDFZ','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,'' )
,('AORDFZ','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,'' )
,('AORDFZ','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,'' )
,('AORDFZ','01',10,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDFZ','01',11,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDFZ','01',12,'RIGA CONTRATTO (SOLO RIGHE MERCE)',2,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDFZ','01',13,'DATI',2,'RECORD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDFZ','01',14,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AORDFZ','01',15,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDFZ','01',16,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AORDFZ','01',17,'QUANTITA'' RIGA',3,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('AORDFZ','01',18,'QUANTITA'' RIGA EVASA',3,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('AORDFZ','01',19,'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,'' )
,('AORDFZ','01',20,'TAB.MANIPOLAZIONI O COMBINAZIONE MANIP.',3,'MANIPI',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AORDFZ','01',21,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDFZ','01',22,'MANIPOLAZIONI',4,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('AORDFZ','01',23,'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,'' )
,('AORDFZ','01',24,'TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDFZ','01',28,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,17,5,0,'9(11)V9(5) COMP-3','',0,'',0,0,'' )
,('AORDFZ','01',29,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDFZ','01',30,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AORDFZ','01',31,'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,'' )
,('AORDFZ','01',32,'CODICE COMMERCCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDFZ','01',33,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDFZ','01',34,'DATA CONSEGNA',3,'DTAPRC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('AORDFZ','01',35,'DESCRIZIONE ALTERNATIVA ARTICOLO',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDFZ','01',36,'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,'' )
,('AORDFZ','01',37,'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,'' )
,('AORDFZ','01',38,'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,'' )
,('AORDFZ','01',39,'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,'' )
,('AORDFZ','01',40,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,74,74,0,0,'X(74)','',0,'',0,0,'' )
,('AORDI1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI1','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,'' )
,('AORDI2','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI2','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,'' )
,('AORDI2','00',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,'' )
,('AORDI2','00',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI2','00',5,'NUMERO RECORD',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI2','00',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('AORDI2','QR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI2','QR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI2','QR',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,'' )
,('AORDI2','QR',4,'TIPO RECORD = "QR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI2','QR',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI2','QR',6,'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,'' )
,('AORDI2','QR',7,'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,'' )
,('AORDI2','QR',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X(1)','',0,'',0,0,'' )
,('AORDI2','RO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI2','RO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI2','RO',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,'' )
,('AORDI2','RO',4,'TIPO RECORD = "RO"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI2','RO',5,'NUMERO RECORD = ZERO',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI2','RO',6,'RIFERIMENTO ORDINE CLIENTE',2,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDI2','RO',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,'' )
,('AORDI2','RO',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,'' )
,('AORDI2','RO',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,'' )
,('AORDI2','RO',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,'' )
,('AORDI2','RO',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,'' )
,('AORDI2','RO',12,'SPONDA IDRAULICA ( /S)',2,'FLGSPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI2','RO',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,'' )
,('AORDI2','RO',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORDI3','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI3','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,'' )
,('AORDI3','00',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,'' )
,('AORDI3','00',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,180,180,0,0,'X(180)','',0,'',0,0,'' )
,('AORDI3','CT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI3','CT',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI3','CT',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,'' )
,('AORDI3','CT',4,'TIPO RECORD = "CT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','CT',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,'' )
,('AORDI3','CT',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,'' )
,('AORDI3','CT',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,'' )
,('AORDI3','CT',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,'' )
,('AORDI3','CT',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','CT',10,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','CT',11,'ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AORDI3','CT',12,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AORDI3','CT',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AORDI3','DS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI3','DS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI3','DS',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,'' )
,('AORDI3','DS',4,'TIPO RECORD = "DS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','DS',5,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDI3','DS',6,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDI3','DS',7,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AORDI3','DS',8,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDI3','DS',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','DS',10,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AORDI3','DS',11,'ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AORDI3','DS',12,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AORDI3','DS',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AORDI3','LC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI3','LC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI3','LC',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,'' )
,('AORDI3','LC',4,'TIPO RECORD = "LC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','LC',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,'' )
,('AORDI3','LC',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,'' )
,('AORDI3','LC',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,'' )
,('AORDI3','LC',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,'' )
,('AORDI3','LC',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','LC',10,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','LC',11,'ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AORDI3','LC',12,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AORDI3','LC',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AORDI3','TR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI3','TR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI3','TR',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,'' )
,('AORDI3','TR',4,'TIPO RECORD = "TR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','TR',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,'' )
,('AORDI3','TR',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,'' )
,('AORDI3','TR',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,'' )
,('AORDI3','TR',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,'' )
,('AORDI3','TR',9,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','TR',10,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI3','TR',11,'ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AORDI3','TR',12,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AORDI3','TR',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('AORDI4','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','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,'' )
,('AORDI4','00',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,'' )
,('AORDI4','00',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDI4','00',5,'NUMERO COMPONENTE',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI4','00',6,'TIPO RIGA',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI4','00',11,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','00',12,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDI4','00',13,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDI4','00',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,'' )
,('AORDI4','00',15,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AORDI4','00',16,'RIGA CONTRATTO (SOLO RIGHE MERCE)',3,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','00',17,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,147,147,0,0,'X(147)','',0,'',0,0,'' )
,('AORDI4','DD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','DD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','DD',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,'' )
,('AORDI4','DD',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDI4','DD',5,'ZERI',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI4','DD',6,'TIPO RIGA = "D"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI4','DD',7,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','DD',8,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDI4','DD',9,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','DD',10,'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,'' )
,('AORDI4','DD',11,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AORDI4','DD',12,'RIGA CONTRATTO',3,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','DD',13,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDI4','DD',14,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AORDI4','DD',15,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','DD',16,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AORDI4','DD',17,'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,'' )
,('AORDI4','DD',18,'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,'' )
,('AORDI4','DD',19,'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,'' )
,('AORDI4','DD',20,'MANIPOLAZIONI',3,'MANIPO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',5,'',0,0,'' )
,('AORDI4','DD',21,'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,'' )
,('AORDI4','DD',22,'TIPO PREZZO',3,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI4','DD',26,'PREZZO UNITARIO',3,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,5,0,'9(8)V9(5) COMP-3','',0,'',0,0,'' )
,('AORDI4','DD',27,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','DD',28,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AORDI4','DD',29,'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,'' )
,('AORDI4','DD',30,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AORDI4','DD',31,'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,'' )
,('AORDI4','DD',32,'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,'' )
,('AORDI4','DD',33,'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,'' )
,('AORDI4','DD',34,'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,'' )
,('AORDI4','DD',35,'CODICE COMMERCCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','DD',36,'ANNATA COMMERCCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','DD',37,'NUMERO INTERNO IDONEITA'' USATA',3,'CODIDO',0,0,0,0,0,0,0,0,0,0,'',1,0,5,13,0,0,'X(5) COMP-X','',0,'',0,0,'' )
,('AORDI4','DD',38,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,24,24,0,0,'X(24)','',0,'',0,0,'' )
,('AORDI4','II',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','II',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','II',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,'' )
,('AORDI4','II',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDI4','II',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI4','II',6,'TIPO RIGA = "I"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI4','II',7,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','II',8,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDI4','II',9,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','II',10,'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,'' )
,('AORDI4','II',11,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AORDI4','II',12,'ZERI',3,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','II',13,'FLAG PROVENIENZA MOVIMENTO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI4','II',14,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDI4','II',15,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AORDI4','II',16,'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,'' )
,('AORDI4','II',17,'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,'' )
,('AORDI4','II',18,'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,'' )
,('AORDI4','II',19,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AORDI4','II',20,'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,'' )
,('AORDI4','II',21,'QUANTITA'' PER CALCOLO IMPORTO ORDINATO',3,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,1,11,13,5,0,'S9(6)V9(5)','',0,'',0,0,'' )
,('AORDI4','II',22,'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,'' )
,('AORDI4','II',23,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,68,68,0,0,'X(68)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AORDI4','MM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','MM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','MM',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,'' )
,('AORDI4','MM',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDI4','MM',5,'NUMERO COMPONENTE RIGA (CONF. MISTE)',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI4','MM',6,'TIPO RIGA = "M"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI4','MM',7,'PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','MM',8,'ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDI4','MM',9,'ANNATA',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','MM',10,'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,'' )
,('AORDI4','MM',11,'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,'' )
,('AORDI4','MM',12,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDI4','MM',13,'RIGA CONTRATTO',3,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','MM',14,'FLAG CONFEZIONE MISTA ( /1/2)',3,'FLGCFM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI4','MM',19,'DESCRIZIONE ALTERNATIVA',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDI4','MM',20,'CODICE IVA',3,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AORDI4','MM',21,'CONFEZIONE/RECIPIENTE',3,'CODCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','MM',22,'NUMERO CONFEZIONI/RECIPIENTI',3,'NUMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AORDI4','MM',23,'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,'' )
,('AORDI4','MM',24,'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,'' )
,('AORDI4','MM',25,'QUANTITA VENDITA',3,'QTAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AORDI4','MM',26,'QUANTITA VENDITA EVASA',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,'' )
,('AORDI4','MM',27,'QUANTITA OMAGGI',3,'QTAOMA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AORDI4','MM',28,'QUANTITA'' OMAGGI EVASA',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,'' )
,('AORDI4','MM',29,'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,'' )
,('AORDI4','MM',30,'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,'' )
,('AORDI4','MM',31,'GRADO',3,'GRADOH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,5,2,0,'99V99 COMP','',0,'',0,0,'' )
,('AORDI4','MM',32,'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,'' )
,('AORDI4','MM',46,'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,'' )
,('AORDI4','MM',54,'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,'' )
,('AORDI4','MM',57,'SCONTI COMMERCIALI',3,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','MM',58,'SCONTO COMMERCIALE',4,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('AORDI4','MM',59,'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,'' )
,('AORDI4','MM',60,'PROVVIGIONE AGENTE',3,'PPRAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AORDI4','MM',61,'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,'' )
,('AORDI4','MM',62,'EX PESO LORO MAI USATO',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AORDI4','MM',63,'EX PESO NETTO MAI USATO',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AORDI4','MM',64,'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,'' )
,('AORDI4','MM',65,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','MM',66,'ANNATA COMMERCIALIZZAZIONE',3,'ANNCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','MM',67,'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,'' )
,('AORDI4','MM',68,'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,'' )
,('AORDI4','VV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','VV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','VV',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,'' )
,('AORDI4','VV',4,'NUMERO RECORD',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDI4','VV',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI4','VV',6,'TIPO RIGA = "V"',2,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI4','VV',7,'CODICE PRODOTTO',2,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI4','VV',8,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDI4','VV',9,'ANNATA ARTICOLO (ZERI)',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDI4','VV',10,'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,'' )
,('AORDI4','VV',11,'FILLER SPORCO A ZERI (EX LOTTO NUMERICO)',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('AORDI4','VV',12,'ZERI',3,'RIGCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI4','VV',13,'PROVENIENZA MOVIMENTO',3,'FLGPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI4','VV',16,'QUANTITA'' CONSEGNATA',3,'QTACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AORDI4','VV',17,'QUANTITA'' CONSEGNATA FRANCO ARRIVO',3,'QTACFA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AORDI4','VV',18,'QUANTITA'' RESA',3,'QTARES',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AORDI4','VV',19,'CAUZIONE UNITARIA',3,'CAUUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,14,2,0,'9(11)V99 COMP-3','',0,'',0,0,'' )
,('AORDI4','VV',20,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,124,124,0,0,'X(124)','',0,'',0,0,'' )
,('AORDI5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI5','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI5','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,'' )
,('AORDI5','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI5','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,'' )
,('AORDI5','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,'' )
,('AORDI5','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,'' )
,('AORDI5','01',13,'RIPORTA IN BOLLA ( /N)',2,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI5','01',14,'RIPORTA IN FATTURA ( /N)',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI5','01',15,'STAMPA SU ORDINE ( /N)',2,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI5','01',16,'GENERA COMMENTI SU MAG/COM',2,'FLGMEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI5','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AORDI6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI6','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI6','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,'' )
,('AORDI6','01',4,'RIGA NOTA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI6','01',5,'RIGA DI NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('AORDI6','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AORDI7','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI7','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI7','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,'' )
,('AORDI7','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI7','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,'' )
,('AORDI7','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,'' )
,('AORDI7','01',12,'RIGA DI TESTO',2,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('AORDI7','01',13,'RIPORTA IN BOLLA ( /N)',2,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI7','01',14,'RIPORTA IN FATTURA ( /N)',2,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI7','01',15,'STAMPA SU ORDINE ( /N)',2,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDI7','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('AORDI8','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI8','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,'' )
,('AORDI8','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,'' )
,('AORDI8','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,'' )
,('AORDI8','01',5,'ZERI',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI8','01',6,'NUMERO PROGRESSIVO CAMPIONE',2,'NUMPRO',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORDI8','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,166,166,0,0,'X(166)','',0,'',0,0,'' )
,('AORDI9','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI9','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI9','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,'' )
,('AORDI9','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',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
('AORDI9','01',5,'PROGRESSIVO LOTTO',3,'NUMLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDI9','01',6,'CHIAVE PER ARTICOLO/LOTTO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDI9','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,'' )
,('AORDI9','01',8,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDI9','01',9,'LOTTO SPEDITO',3,'LOTTOS',0,1,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AORDI9','01',10,'FILLER A SPAZI PER POSSIBILI AMPLIAMENTI',3,'SPACES',0,2,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AORDI9','01',11,'QUANTITA'' LOTTO',2,'QTALOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('AORDI9','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('AORDIA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIA','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,'' )
,('AORDIA','01',4,'NUMERO RIGA NOTA',3,'NUMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDIA','01',5,'TESTO RIGA',2,'RIGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('AORDIA','01',6,'CODICE NOTA TABELLARE',2,'CODNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORDIA','01',7,'DATA NOTA',2,'DATNOT',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIA','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIA','01',9,'ANNO NOTA',3,'AAANOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDIA','01',10,'MESE NOTA',3,'MMMNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIA','01',11,'GIORNO NOTA',3,'GGGNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIA','01',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDIB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIB','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,'' )
,('AORDIB','01',4,'DATA BLOCCO',2,'DATBLO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIB','01',5,'DATA FORZATURA',2,'DATFOR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIB','01',6,'UTENTE FORZATURA',2,'UTEFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AORDIB','01',7,'DATA SBLOCCO',2,'DATSBL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIB','01',8,'UTENTE SBLOCCO',2,'UTESBL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AORDIB','01',9,'PERCENTUALE FUORI FIDO',2,'PEROUT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('AORDIB','01',10,'IMPORTO OLTRE FIDO',2,'IMPOUT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('AORDIB','01',11,'NUMERO INSOLUTI',2,'NUMINS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIB','01',12,'IMPORTO INSOLUTI',2,'IMPINS',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('AORDIB','01',13,'SCADUTO OLTRE GIORNI',2,'SCAOLT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORDIB','01',14,'TOTALE SCADUTO OLTRE GIORNI',2,'IMPOLT',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('AORDIB','01',15,'PERCENTUALE FUORI MEDIA',2,'PERFME',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('AORDIB','01',16,'IMPORTO FUORI MEDIA',2,'IMPFME',0,0,0,0,0,0,0,0,0,0,'',1,0,10,11,2,0,'9(8)V99','',0,'',0,0,'' )
,('AORDIC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIC','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,'' )
,('AORDIC','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIC','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,'' )
,('AORDIC','01',6,'CHIAVE PER ART/FUN/AGE/CLI',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIC','01',7,'CODICE COMMERCIALIZZAZIONE',3,'CODCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIC','01',8,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIC','01',9,'CHIAVE PER DATA ORDINE',3,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIC','01',10,'DATA ORDINE',4,'DTAORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIC','01',11,'FUNZIONARIO',2,'CODFUN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORDIC','01',12,'AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AORDIC','01',13,'CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AORDIC','01',14,'QUANTITA'' ORDINATA IN LITRI',2,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AORDIC','01',15,'IMPORTO NETTO',2,'IMPNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AORDIC','01',16,'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,'' )
,('AORDIC','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AORDID','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDID','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDID','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,'' )
,('AORDID','01',4,'DATA BLOCCO',2,'DATBLO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDID','01',5,'DATA FORZATURA',2,'DATFOR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDID','01',6,'UTENTE FORZATURA',2,'UTEFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AORDID','01',7,'DATA SBLOCCO',2,'DATSBL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDID','01',8,'UTENTE SBLOCCO',2,'UTESBL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AORDID','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,51,51,0,0,'X(51)','',0,'',0,0,'' )
,('AORDIE','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIE','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIE','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,'' )
,('AORDIE','01',4,'PROGRESSIVO RIGA',3,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIE','01',5,'CAUSALE',2,'DIDMSG',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AORDIE','01',6,'ARTICOLO',2,'DIDART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDIE','01',7,'CODICE COMMERCIALIZZAZIONE',2,'DIDCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIE','01',8,'ANNATA',2,'DIDANN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIE','01',9,'TOTALE ORDINATO',2,'TOTORD',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,2,0,'S9(12)V99 COMP-3','',0,'',0,0,'' )
,('AORDIE','01',10,'TOTALE BUDGET',2,'TOTBUD',0,0,0,0,0,0,0,0,0,0,'',1,1,8,16,2,0,'S9(12)V99 COMP-3','',0,'',0,0,'' )
,('AORDIE','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('AORDIF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIF','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,'' )
,('AORDIF','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIF','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,'' )
,('AORDIF','01',6,'CHIAVE PER ART/FUN/AGE/CLI',2,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIF','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,'' )
,('AORDIF','01',8,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIF','01',9,'CHIAVE PER DATA',3,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIF','01',10,'DATA ORDINE',4,'DTAORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIF','01',11,'FUNZIONARIO',2,'CODFUN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORDIF','01',12,'AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,5,0,0,'9(5) COMP-3','',0,'',0,0,'' )
,('AORDIF','01',13,'CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('AORDIF','01',14,'QUANTITA'' ORDINATA',2,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AORDIF','01',15,'IMPORTO NETTO',2,'IMPNET',0,0,0,0,0,0,0,0,0,0,'',1,1,8,17,2,0,'S9(13)V99 COMP-3','',0,'',0,0,'' )
,('AORDIF','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,31,31,0,0,'X(31)','',0,'',0,0,'' )
,('AORDIG','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIG','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIG','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,'' )
,('AORDIG','01',4,'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,'' )
,('AORDIG','01',5,'RIGA NOTA',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIG','01',6,'RIGA DI NOTE',2,'ANNOTA',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('AORDIG','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,73,73,0,0,'X(73)','',0,'',0,0,'' )
,('AORDIH','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIH','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIH','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,'' )
,('AORDIH','01',4,'CODICE SSCC PREPARATO',3,'CODSSC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AORDIH','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDII','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDII','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDII','01',3,'NUMERO INTERNO ORDINE',3,'NUMORD',0,0,1,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORDII','01',4,'CHIAVE PER SSCC',3,'KEY002',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDII','01',5,'CODICE SSCC PREPARATO',4,'CODSSC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AORDII','01',6,'CODICE ARTICOLO',4,'CODART',0,0,2,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDII','01',7,'ANNATA ARTICOLO',4,'ANNATA',0,0,3,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDII','01',8,'LOTTO ARTICOLO',4,'LOTTOS',0,0,4,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AORDII','01',9,'QUANTITA ASSEGNATA ALLA PALETTA MISTA',2,'QTAASS',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('AORDII','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('AORDIL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,3,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIL','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,'' )
,('AORDIL','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIL','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,'' )
,('AORDIL','01',6,'PROGRESSIVO LOTTO',3,'NUMLOT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIL','01',7,'CHIAVE PER ARTICOLO/LOTTO',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIL','01',8,'CODICE ARTICOLO',3,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDIL','01',9,'ANNATA ARTICOLO',3,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIL','01',10,'LOTTO SPEDITO',3,'LOTTOS',0,1,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDIL','01',11,'EX CAMPO SPACES DA 12',3,'OLDSPA',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIL','01',12,'DATA SCADENZA',4,'DTASCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIL','01',13,'FILLER A SPAZI PER POSSIBILI AMPLIAMENTI',4,'SPACES',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AORDIL','01',14,'QUANTITA'' LOTTO',2,'QTALOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('AORDIL','01',15,'QUANTITA'' EVASA',2,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AORDIL','01',16,'ID PRODOTTO REG VITIVINICOLO',2,'IDPROD',0,0,0,0,0,0,0,0,0,0,'',1,0,13,13,0,0,'9(13)','',0,'',0,0,'' )
,('AORDIL','01',17,'QUANTITA'' LOTTO FORZATURA SU SYSTORE',2,'QTAFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('AORDIM','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIM','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIM','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,'' )
,('AORDIM','01',4,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIM','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,'' )
,('AORDIM','01',6,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDIM','01',7,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIM','01',8,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIM','01',9,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('AORDIM','01',10,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('AORDIM','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AORDIP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIP','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,'' )
,('AORDIP','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,'' )
,('AORDIP','01',5,'NUMERO COMPONENTE (PER ADESSO SEMPRE 0)',3,'NUMCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIP','01',6,'CODICE PROMOZIONE (GESTITO X(10))',3,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AORDIP','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,134,134,0,0,'X(134)','',0,'',0,0,'' )
,('AORDIQ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIQ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIQ','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,'' )
,('AORDIQ','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIQ','01',5,'FLAG PARTENZA/ARRIVO (P/A)',3,'FLAGPA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDIQ','01',6,'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,'' )
,('AORDIQ','01',7,'QUANTITA'' EVASA LOTTO',2,'QTAVAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,11,3,0,'9(7)V9(3) COMP-3','',0,'',0,0,'' )
,('AORDIR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIR','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,2,2,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIR','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,'' )
,('AORDIR','01',4,'RIFERIMENTO ORDINE DEL CLIENTE',2,'RIFCLI',0,1,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIR','01',5,'NUMERO ORDINE DEL CLIENTE',3,'NUMCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORDIR','01',6,'DATA ORDINE DEL CLIENTE',3,'DATCLI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIR','01',7,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIR','01',8,'ANNO',4,'AAACLI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AORDIR','01',9,'MESE',4,'MMMCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIR','01',10,'GIORNO',4,'GGGCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDIR','01',11,'RIFERIMENTO ORDINE DELL''AGENTE',2,'RIFAGE',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIR','01',12,'NUMERO ORDINE DELL''AGENTE',3,'NUMAGE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AORDIR','01',13,'DATA ORDINE DELL''AGENTE',3,'DATAGE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIR','01',14,'N. CONTRATTO QUADRO',2,'CONEDI',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AORDIR','01',15,'DATA INIZIO VALIDITA'' CONTRATTO QUADRO',2,'INIEDI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIR','01',16,'DATA FINE VALIDITA'' CONTRATTO QUADRO',2,'FINEDI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIR','01',17,'NUMERO DOCUMENTO ORIGINALE DEL CLIENTE',2,'NUMORI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('AORDIR','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,33,33,0,0,'X(33)','',0,'',0,0,'' )
,('AORDIS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIS','01',3,'NUMERO INTERNO ORDINE',3,'NUMORD',0,4,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AORDIS','01',4,'RIGA ORDINE DI RIFERIMENTO',3,'NUMRIG',0,5,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDIS','01',5,'NUMERO SSCC',3,'CODSSC',0,1,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('AORDIS','01',6,'LOTTO SPEDITO',3,'LOTTOS',0,2,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDIS','01',7,'FILLER A SPAZI PER POSSIBILI AMPLIAMENTI',3,'SPACES',0,3,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AORDIS','01',8,'QUANTITA'' LOTTO',2,'QTALOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,12,2,0,'9(9)V99 COMP-3','',0,'',0,0,'' )
,('AORDIS','01',9,'DATA SCADENZA',2,'DTASCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDIS','01',10,'QUANTITA'' EVASA LOTTO',2,'QTAEVA',0,0,0,0,0,0,0,0,0,0,'',1,1,6,13,2,0,'S9(9)V99 COMP-3','',0,'',0,0,'' )
,('AORDIT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIT','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIT','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,'' )
,('AORDIT','01',4,'FILLER EX SPESE TR. DETTAGLIATE ORDINE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('AORDIT','01',6,'COSTO FORFETTARIO PER INTERO ORDINE',2,'COSFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AORDIT','01',7,'CONSEGNA CANTINA FORFETTARIA',2,'CANFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('AORDIT','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('AORDIU','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIU','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIU','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,'' )
,('AORDIV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIV','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,'' )
,('AORDIV','01',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDIV','01',9,'RAGIONE SOCIALE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDIV','01',10,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDIV','01',11,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AORDIV','01',12,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('AORDIV','01',13,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDIV','01',14,'CODICE ISO',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AORDIV','01',15,'VECCHIO CODICE ACCISA -> AORDIV-01ACCISA',2,'OLDACC',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('AORDIV','01',16,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('AORDIV','01',17,'ISCRIZIONE ALBO',2,'ISCALB',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDIV','01',18,'CODICE ACCISA',2,'ACCISA',0,0,0,0,0,0,0,0,0,0,'',4,0,18,18,0,0,'X(18)','',0,'',0,0,'' )
,('AORDIV','01',19,'TIPO DESTINAZIONE (T015 AG. DOGANE)',2,'CDT015',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDIV','01',20,'EX UFFDES (DOGANA USCITA CEE)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AORDIV','01',21,'CODICE ICQRF',2,'CICQRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AORDIV','01',22,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('AORDIZ','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIZ','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDIZ','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,'' )
,('AORDPN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDPN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDPN','01',3,'CODICE MAGAZZINO PUNTO VENDITA',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDPN','01',4,'DATA ORDINE',3,'DTAORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDPN','01',5,'NUMERO RIGA NOTE',3,'NUMRGA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDPN','01',6,'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,'' )
,('AORDPN','01',7,'TESTO',3,'RIGNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('AORDPN','01',8,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('AORDPV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDPV','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDPV','01',3,'CODICE MAGAZZINO PUNTO VENDITA',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDPV','01',4,'DATA ORDINE',3,'DTAORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AORDPV','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,'' )
,('AORDPV','01',6,'ANNO',4,'AA-ORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDPV','01',7,'MESE',4,'MM-ORD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDPV','01',8,'GIORNO',4,'GG-ORD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('AORDPV','01',9,'PRODOTTO',3,'PRODOT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AORDPV','01',10,'ARTICOLO',4,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AORDPV','01',11,'ANNATA',4,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('AORDPV','01',12,'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,'' )
,('AORDPV','01',13,'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,'' )
,('AORDPV','01',14,'GIA TRASFERITO ALLA SEDE (S/ )',3,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDPV','01',15,'EVASO (S/ ) CREATO ORDINE TRASFERIMENTO',3,'FLGEVA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('AORDPV','01',16,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,64,64,0,0,'X(64)','',0,'',0,0,'' )
,('AOREDI','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','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,'' )
,('AOREDI','00',3,'NUMERO INTERNO ORDINE CIDIEMME',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOREDI','00',4,'RIPETE TIPRIG',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','00',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','00',6,'P.IVA O CODICE DEST. ORDINE',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','00',7,'P.IVA O CODICE EMITTENTE ORDINE',2,'CLIORD',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','00',8,'STRINGA UNIVOCA DI IDENTIFICAZIONE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','00',9,'DATA ORDINE AAAAMMGG',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','00',10,'TIPOLOGIA ORDINE (TAB. C00)',2,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','00',11,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','00',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,848,848,0,0,'X(848)','',0,'',0,0,'' )
,('AOREDI','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','01',3,'NUMERO ORDINE CDM',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOREDI','01',4,'RIPETE TIPREG',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','01',6,'P.IVA O CODICE DEST. ORDINE',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','01',7,'P.IVA O CODICE EMITTENTE ORDINE',2,'CLIORD',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','01',8,'STRINGA UNIVOCA DI IDENTIFICAZIONE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',9,'DATA ORDINE AAAAMMGG',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','01',10,'TIPOLOGIA ORDINE (TAB. C00)',2,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','01',11,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',12,'ORA PREPARAZIONE ORDINE (HHMM)',2,'ORAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','01',13,'CODIFICA CAMPO ORDFOR (TAB. C01)',2,'QLFFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','01',14,'RAGIONE SOCIALE DESTINATARIO ORDINE',2,'RAGFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',15,'VIA E N. CIVICO DESTINATARIO ORDINE',2,'VIAFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',16,'CAP DESTINATARIO ORDINE',2,'CAPFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AOREDI','01',17,'LOCALITA'' DESTINATARIO ORDINE',2,'LOCFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',18,'PROVINCIA DESTINATARIO ORDINE',2,'PROFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',19,'NAZIONE DESTINATARIO ORDINE (TAB. C13)',2,'NAZFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',20,'CODIFICA CAMPO CLIORD (TAB. C01)',2,'QLFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','01',21,'RAGIONE SOCIALE EMITTENTE ORDINE',2,'RAGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',22,'VIA E N. CIVICO EMITTENTE ORDINE',2,'VIAORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',23,'CAP EMITTENTE ORDINE',2,'CAPORD',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AOREDI','01',24,'LOCALITA'' EMITTENTE ORDINE',2,'LOCORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',25,'PROVINCIA EMITTENTE ORDINE',2,'PROORD',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',26,'NAZIONE EMITTENTE ORDINE (TAB. C13)',2,'NAZORD',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',27,'P.IVA O CODICE INTESTATARIO FATTURA',2,'CLIFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','01',28,'CODIFICA CAMPO CLIFAT (TAB. C01)',2,'QLFFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','01',29,'RAGIONE SOCIALE INTESTATARIO FATTURA',2,'RAGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',30,'VIA E N. CIVICO INTESTATARIO FATTURA',2,'VIAFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',31,'CAP INTESTATARIO FATTURA',2,'CAPFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AOREDI','01',32,'LOCALITA'' INTESTATARIO FATTURA',2,'LOCFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',33,'PROVINCIA INTESTATARIO FATTURA',2,'PROFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',34,'NAZIONE INTESTATARIO FATTURA (TAB. C13)',2,'NAZFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',35,'P.IVA O CODICE DESTINATARIO MERCE',2,'CLIMER',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','01',36,'CODIFICA CAMPO CLIMER (TAB. C01)',2,'QLFMER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','01',37,'RAGIONE SOCIALE DESTINATARIO FATTURA',2,'RAGMER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',38,'VIA E N. CIVICO DESTINATARIO MERCE',2,'VIAMER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',39,'CAP DESTINATARIO MERCE',2,'CAPMER',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AOREDI','01',40,'LOCALITA'' DESTINATARIO MERCE',2,'LOCMER',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',41,'PROVINCIA DESTINATARIO MERCE',2,'PROMER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',42,'NAZIONE DESTINATARIO MERCE (TAB. C13)',2,'NAZMER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',43,'P.IVA O CODICE PUNTO CONSEGNA',2,'CLICON',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','01',44,'CODIFICA CAMPO CLICON (TAB. C01)',2,'QLFCON',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','01',45,'RAGIONE SOCIALE PUNTO CONSEGNA',2,'RAGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',46,'VIA E N. CIVICO PUNTO CONSEGNA',2,'VIACON',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',47,'CAP PUNTO CONSEGNA',2,'CAPCON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('AOREDI','01',48,'LOCALITA'' PUNTO CONSEGNA',2,'LOCCON',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',49,'PROVINCIA PUNTO CONSEGNA',2,'PROCON',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',50,'NAZIONE PUNTO CONSEGNA (TAB. C13)',2,'NAZCON',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',51,'P.IVA O CODICE TRASPORTATORE',2,'FORTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','01',52,'CODIFICA CAMPO FORTRA (TAB. C01)',2,'QLFTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','01',53,'RAGIONE SOCIALE TRASPORTATORE',2,'RAGTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',54,'VIA E N. CIVICO TRASPORTATORE',2,'VIATRA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',55,'CAP TRASPORTATORE',2,'CAPTRA',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
('AOREDI','01',56,'LOCALITA'' TRASPORTATORE',2,'LOCTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','01',57,'PROVINCIA TRASPORTATORE',2,'PROTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',58,'NAZIONE TRASPORTATORE (TAB. C13)',2,'NAZTRA',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','01',59,'NUMERO PROPOSTA ORDINE DI RIFERIMENTO',2,'NUMPRP',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AOREDI','01',60,'NUMERO PROMOZIONE DI RIFERIMENTO',2,'NUMPRM',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('AOREDI','01',61,'IDENTIFICATIVO MESSAGGIO',2,'IDNMSG',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('AOREDI','01',62,'DATA TRASMISSIONE DOCUMENTO',2,'DATTXD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','01',63,'ORA TRASMISSIONE DOCUMENTO (HHMM)',2,'ORATXD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','01',64,'DATA RICEZIONE DOCUMENTO',2,'DATRXD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','01',65,'ORA RICEZIONE DOCUMENTO (HHMM)',2,'ORARXD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','02',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','02',3,'NUMERO INTERNO ORDINE CDM',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOREDI','02',4,'RIPETE TIPREC',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','02',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','02',6,'P.IVA O CODICE DEST. ORDINE',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','02',7,'P.IVA O CODICE EMITTENTE ORDINE',2,'CLIORD',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','02',8,'STRINGA UNIVOCA DI IDENTIFICAZIONE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','02',9,'DATA ORDINE AAAAMMGG',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','02',10,'TIPOLOGIA ORDINE (TAB. C00)',2,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','02',11,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','02',12,'DATA RICHIESTA CONSEGNA',2,'DATRIC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','02',13,'ORA RICHIESTA CONSEGNA (HHMM)',2,'ORARIC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','02',14,'DATA CONSEGNA TASSATIVA',2,'DATTAS',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','02',15,'ORA CONSEGNA TASSATIVA (HHMM)',2,'ORATAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','02',16,'DATA MINIMA DI CONSEGNA (NON PRIMA DEL)',2,'DATMIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','02',17,'ORA MINIMA DI CONSEGNA',2,'ORAMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','02',18,'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,'' )
,('AOREDI','02',19,'ORA MASSIMA CONSEGNA',2,'ORAMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','02',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,800,800,0,0,'X(800)','',0,'',0,0,'' )
,('AOREDI','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','03',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','03',3,'NUMERO INTERNO ORDINE CDM',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOREDI','03',4,'RIPETE TIPREC',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','03',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','03',6,'P.IVA O CODICE DEST. ORDINE',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','03',7,'P.IVA O CODICE EMITTENTE ORDINE',2,'CLIORD',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','03',8,'STRINGA UNIVOCA DI IDENTIFICAZIONE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','03',9,'DATA ORDINE AAAAMMGG',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','03',10,'TIPOLOGIA ORDINE (TAB. C00)',2,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','03',11,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','03',12,'PROGRESSIVO',2,'PRGREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','03',13,'TIPO DI COMMENTO (TAB. C15)',2,'TIPNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','03',14,'TESTO LIBERO (5 ELEMENTI)',2,'TESLIB',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',5,'',0,0,'' )
,('AOREDI','03',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,494,494,0,0,'X(494)','',0,'',0,0,'' )
,('AOREDI','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','04',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','04',3,'NUMERO INTERNO ORDINE CDM',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOREDI','04',4,'RIPETE TIPREC',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','04',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','04',6,'P.IVA O CODICE DEST. ORDINE',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','04',7,'P.IVA O CODICE EMITTENTE ORDINE',2,'CLIORD',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','04',8,'STRINGA UNIVOCA DI IDENTIFICAZIONE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','04',9,'DATA ORDINE AAAAMMGG',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','04',10,'TIPOLOGIA ORDINE (TAB. C00)',2,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','04',11,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','04',12,'PROGRESSIVO RATE PAGAMENTO',2,'PRGREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','04',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,'' )
,('AOREDI','04',14,'DATA RIFERIMENTO',2,'DATRIF',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','04',15,'CODIFICA DATA INIZIO CALCOLO (TAB. C02)',2,'TIPRIF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','04',16,'GIORNI DILAZIONE',2,'GIODIL',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','04',17,'MODALITA'' DILAZIONE (TAB. C03)',2,'MODDIL',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','04',18,'PERCENTUALE PER RATA',2,'PERRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('AOREDI','04',19,'IMPORTO RATA',2,'IMPRAT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('AOREDI','04',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,800,800,0,0,'X(800)','',0,'',0,0,'' )
,('AOREDI','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','05',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','05',3,'NUMERO INTERNO ORDINE CDM',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOREDI','05',4,'RIPETE TIPREC',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','05',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','05',6,'P.IVA O CODICE DEST. ORDINE',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','05',7,'P.IVA O CODICE EMITTENTE ORDINE',2,'CLIORD',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','05',8,'STRINGA UNIVOCA DI IDENTIFICAZIONE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','05',9,'DATA ORDINE AAAAMMGG',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','05',10,'TIPOLOGIA ORDINE (TAB. C00)',2,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','05',11,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','05',12,'TIPO PAGAMENTO (TAB. C04)',2,'TIPPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','05',13,'MODALITA'' PAGAMENTO (TAB. C05)',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','05',14,'CONDIZIONI SPEDIZIONE (TAB. C08)',2,'CNDPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','05',15,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('AOREDI','05',16,'DESCRIZIONE PAGAMENTO',2,'DESPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','05',17,'ABI+CAB+C/C',2,'BANPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','05',18,'FACTORING',2,'FACPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','05',19,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,724,724,0,0,'X(724)','',0,'',0,0,'' )
,('AOREDI','06',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','06',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','06',3,'NUMERO INTERNO ORDINE CDM',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOREDI','06',4,'RIPETE TIPREC',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','06',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','06',6,'P.IVA O CODICE DEST. ORDINE',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','06',7,'P.IVA O CODICE EMITTENTE ORDINE',2,'CLIORD',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','06',8,'STRINGA UNIVOCA DI IDENTIFICAZIONE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','06',9,'DATA ORDINE AAAAMMGG',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','06',10,'TIPOLOGIA ORDINE (TAB. C00)',2,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','06',11,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','06',12,'PROGRESSIVO RIGA',2,'IDRORD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','06',13,'CODICE IMBALLO (TRADE UNIT) (CARTONE)',2,'CODATU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','06',14,'CODICE ARTICOLO (BRIK/BOTTIGLIA)',2,'CODACU',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','06',15,'CODIFICA CAMPO CODACU (TAB. C06)',2,'QLFACU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','06',16,'DESCRIZIONE ARTICOLO FORNITORE',2,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',3,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('AOREDI','06',17,'RIFERIMENTO LOTTO',2,'RIFLOT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','06',18,'QUANTITA'' ORDINATA',2,'QTAORD',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('AOREDI','06',19,'UNITA'' MISURA QTA ORDINATA (TAB. C07)',2,'UMSORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','06',20,'PREZZO UNITARIO NETTO',2,'PREUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('AOREDI','06',21,'TIPO PREZZO (TAB. C14)',2,'TIPPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','06',22,'NUMERO UNITA'' DI PREZZO',2,'NUMUNI',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('AOREDI','06',23,'UNITA'' DI MISURA UNITA'' PREZZO (TAB.C07)',2,'UMSPRE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','06',24,'RIFERIMENTO CONTRATTO',2,'RIFCNT',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','06',25,'RIFERIMENTO PROMOZIONE',2,'RIFPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','06',26,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('AOREDI','06',27,'CODIFICA CAMPO CODATU (TAB. C06)',2,'QLFATU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','06',28,'PEZZI PER CARTONE',2,'QTAIMB',0,0,0,0,0,0,0,0,0,0,'',1,0,15,15,0,0,'9(15)','',0,'',0,0,'' )
,('AOREDI','06',29,'UNITA'' DI MISURA QTAIMB (TAB. C07)',2,'UMSIMB',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','06',30,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,439,439,0,0,'X(439)','',0,'',0,0,'' )
,('AOREDI','07',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','07',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','07',3,'NUMERO INTERNO ORDINE CDM',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOREDI','07',4,'RIPETE TIPREC',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','07',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','07',6,'P.IVA O CODICE DEST. ORDINE',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','07',7,'P.IVA O CODICE EMITTENTE ORDINE',2,'CLIORD',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','07',8,'STRINGA UNIVOCA DI IDENTIFICAZIONE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','07',9,'DATA ORDINE AAAAMMGG',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','07',10,'TIPOLOGIA ORDINE (TAB. C00)',2,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','07',11,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','07',12,'INDICATORE SEQUENZA DI CALCOLO',2,'PRGREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','07',13,'CODIFICA SCONTO (TAB. C09)',2,'QLFMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','07',14,'DESCRIZIONE SCONTO',2,'DESSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','07',15,'TIPO SCONTO (TAB. C10)',2,'QLFSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('AOREDI','07',16,'PERCENTUALE SCONTO',2,'SCOPER',0,0,0,0,0,0,0,0,0,0,'',1,0,7,8,4,0,'999V9(4)','',0,'',0,0,'' )
,('AOREDI','07',17,'VALORE SCONTO',2,'SCOVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('AOREDI','07',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,780,780,0,0,'X(780)','',0,'',0,0,'' )
,('AOREDI','08',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','08',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AOREDI','08',3,'NUMERO INTERNO ORDINE CDM',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('AOREDI','08',4,'RIPETE TIPREC',3,'TIPRIG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','08',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('AOREDI','08',6,'P.IVA O CODICE DEST. ORDINE',2,'ORDFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','08',7,'P.IVA O CODICE EMITTENTE ORDINE',2,'CLIORD',0,0,0,0,0,0,0,0,0,0,'',4,0,17,17,0,0,'X(17)','',0,'',0,0,'' )
,('AOREDI','08',8,'STRINGA UNIVOCA DI IDENTIFICAZIONE',2,'NUMORD',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('AOREDI','08',9,'DATA ORDINE AAAAMMGG',2,'DATORD',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('AOREDI','08',10,'TIPOLOGIA ORDINE (TAB. C00)',2,'TIPORD',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','08',11,'TIPO RECORD',2,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('AOREDI','08',12,'TIPO QTA DI CONTROLLO (TAB. C35)',2,'TIPCNT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','08',13,'QUANTITA'' DI CONTROLLO',2,'QTACNT',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,3,0,'9(12)V999','',0,'',0,0,'' )
,('AOREDI','08',14,'UNITA'' DI MISURA QTACNT (TAB. C07)',2,'UMSCNT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('AOREDI','08',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,827,827,0,0,'X(827)','',0,'',0,0,'' )
,('AP0212','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AP0212','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,'' )
,('AP0212','01',3,'GRADO MEDIO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AP0212','01',4,'PREZZO GRUPPO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',10,'',0,0,'' )
,('AP0212','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('AP9712','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('AP9712','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,'' )
,('AP9712','01',3,'GRADO MEDIO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('AP9712','01',4,'PREZZO GRUPPO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',10,'',0,0,'' )
,('AP9712','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('APA101','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA101','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,'' )
,('APA101','01',3,'CODICE RAGRUPPAMENTO UVE',2,'CODRAG',2,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APA101','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,'' )
,('APA101','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,'' )
,('APA101','01',6,'PREZZO A GRADO',2,'PREGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('APA101','01',7,'PREZZO AL QUINTALE',2,'PREQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('APA101','01',8,'PREZZO PER CATEGORIA',2,'PRECAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,3,0,'999V999','',0,'',0,0,'' )
,('APA101','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APA102','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA102','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA102','01',3,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APA102','01',4,'CODICE RAGRUPPAMENTO UVE',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APA102','01',5,'GRADO',3,'GRACON',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('APA102','01',6,'PREZZO AL QUINTALE',2,'IMPQLE',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,3,0,'S9(4)V999','',0,'',0,0,'' )
,('APA102','01',7,'PREZZO A GRADO',2,'IMPGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,3,0,'S9(4)V999','',0,'',0,0,'' )
,('APA102','01',8,'PREZZO PER CATEGORIA',2,'IMPCAT',0,0,0,0,0,0,0,0,0,0,'',1,1,7,9,3,0,'S9(4)V999','',0,'',0,0,'' )
,('APA102','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APA104','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA104','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA104','01',3,'CODICE SCELTA',3,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APA104','01',4,'CODICE RAGRUPPAMENTO UVE',3,'CODRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APA104','01',5,'CATEGORIA SPAZIO VALIDO X PROG. QUAL.',3,'CODCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APA104','01',6,'PERC. PROG. QUALITA''',2,'PER001',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APA104','01',7,'PERC. CATEGORIA',2,'PER002',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APA104','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APA152','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA152','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA152','01',3,'UVA DA TRATTARE COME PROSECCO',3,'UVAPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('APA152','01',4,'RAGRUPPAMENTO PER STAMPA',2,'RAGSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APA152','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('APA196','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA196','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA196','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APA196','01',4,'STAMPA CIRCOLARE IN MANUTENZIONE CLI',2,'STACLI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APA196','01',5,'STAMPA CIRCOLARE IN MANUTENZIONE FOR',2,'STAFOR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APA196','01',6,'STAMPA CIRCOLARE IN MANUTENZIONE SOCI',2,'STASOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APA196','01',7,'DATA INIZIO ST. AVVISO INVIO CIRC (CLI)',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APA196','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,83,83,0,0,'X(83)','',0,'',0,0,'' )
,('APA312','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APA312','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,'' )
,('APA312','01',3,'GRADO MEDIO',2,'GRAMED',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APA312','01',4,'PREZZO GRUPPO',2,'PREZZO',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,3,'9(7)','9(4)V999',10,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APA312','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('APAA02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAA02','01',2,'CODICE ATTRIBUTO',2,'CODATT',1,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAA02','01',3,'GRADO MEDIO CALCOLATO',2,'GRACAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAA02','01',4,'EVENTUALE GRADO MEDIO MANUALE',2,'GRAMAN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAA02','01',5,'PUNTI GRADO MEDIO DOC',2,'PUNDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('APAA02','01',6,'% DI VARIAZIONE PUNTI OTTENUTI DOC',2,'PERDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('APAA02','01',7,'PUNTI GRADO MEDIO IGT',2,'PUNIGT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('APAA02','01',8,'% DI VARIAZIONE PUNTI OTTENUTI IGT',2,'PERIGT',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('APAA02','01',9,'PUNTI GRADO MEDIO TAVOLA',2,'PUNTAV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('APAA02','01',10,'% DI VARIAZIONE PUNTI OTTENUTI TAVOLA',2,'PERTAV',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('APAA02','01',11,'FILLER',2,'FINNER',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('APAA79','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAA79','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAA79','01',3,'ZERO',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAA79','01',4,'CAUSALE CONTABILE AUTOFATTURA',2,'CODAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',5,'GCS AUTOFATTURA',2,'GCSAUT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAA79','01',6,'GRUPPO AUTOFATTURA',3,'GRUAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',7,'CONTO AUTOFATTURA',3,'CONAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',8,'SOTTOCONTO AUTOFATTURA',3,'SOTAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAA79','01',9,'CAUSALE CONTABILE FATTURA',2,'CODFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',10,'G/C/S FATTURA',2,'GCSFAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAA79','01',11,'GRUPPO FATTURA',3,'GRUFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',12,'CONTO FATTURA',3,'CONFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',13,'SOTTOCONTO FATTURA',3,'SOTFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAA79','01',14,'CAUSALE CONTABILE ASSEGNO',2,'CAUASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',15,'CAUSALE CONTABILE BONIFICO',2,'CAUBON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',16,'GRUPPO CAPITALE DA VERSARE',2,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',17,'CONTO CAPITALE DA VERSARE',2,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',18,'CAUSALE DETRAZIONE CAPITALE SOCIALE',2,'CAUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAA79','01',19,'TIPO CALCOLO IVA',2,'TIPCAL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAA79','01',20,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,199,199,0,0,'X(199)','',0,'',0,0,'' )
,('APAAAL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAAAL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAAAL','01',3,'DESCRIZIONE POSIZIONE DI LAVORO',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAAAL','01',4,'CODICE AZIENDA',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAAAL','01',5,'CODICE MAGAZZINO DI STOCCAGGIO',2,'MAGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAAAL','01',6,'CODICE MAGAZZINO A TERRA',2,'MAGTER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAAAL','01',7,'CAUSALE CARICO MAGAZZINO',2,'CAUCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('APAAAL','01',8,'CAUSALE SCARICO MAGAZZINO',2,'CAUSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('APAAAL','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,456,456,0,0,'X(456)','',0,'',0,0,'' )
,('APAB97','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAB97','01',2,'CODICE STABILIMENTO',2,'CODSTA',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAB97','01',3,'ACQUIRENTE',2,'ACQDES',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('APAB97','01',4,'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,'' )
,('APAB97','01',5,'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,'' )
,('APAB97','01',6,'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,'' )
,('APAB97','01',7,'PROVINCIA ACQUIRENTE',2,'ACQPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAB97','01',8,'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,'' )
,('APAB97','01',9,'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,'' )
,('APAB97','01',10,'DESTINATARIO',2,'DESDES',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('APAB97','01',11,'INDIRIZZO DESTINATARIO',2,'DESIND',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAB97','01',12,'CAP DESTINATARIO',2,'DESCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('APAB97','01',13,'LOCALITA DESTINATARIO',2,'DESLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAB97','01',14,'PROVINCIA DESTINATARIO',2,'DESPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAB97','01',15,'TELEFONO DESTINATARIO',2,'DESTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APAB97','01',16,'P.IVA DESTINATARIO',2,'DESPIV',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('APAB97','01',17,'INDIRIZZO DI CONSEGNA',2,'INDCON',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('APAB97','01',18,'DICITURA CORPO BOLLA',2,'DICCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',3,'',0,0,'' )
,('APABA1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APABA1','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APABA1','01',3,'TIPO RECORD = "A1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APABA1','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APABA1','01',5,'NUMERO ATTRIBUTO CONTRATTI DI VENDITA',2,'NUM005',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APABA1','01',6,'ATTRIBUTI CONTRATTI DI VENDITA',2,'ATT005',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('APABA1','01',7,'NUMERO ATTR. VARIAZIONE VENDITE AA PREC.',2,'NUM006',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APABA1','01',8,'CAUSALI BOLLA CONTRATTI DA SCARTARE',2,'BOLVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',5,'',0,0,'' )
,('APABA1','01',9,'CAUSALI CONTRATTI ACQUISTO DA SCARTARE',2,'CONACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',5,'',0,0,'' )
,('APABA1','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,42,42,0,0,'X(42)','',0,'',0,0,'' )
,('APABAT','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APABAT','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APABAT','01',3,'TIPO RECORD = "AT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APABAT','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APABAT','01',6,'NUMERO ATTRIBUTO BUDGET',2,'NUM001',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APABAT','01',7,'NUMERO ATTRIBUTO CONTRATTI DI GREZZO',2,'NUM002',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APABAT','01',8,'ATTRIBUTI CONTRATTI DI GREZZO',2,'ATT002',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('APABAT','01',9,'NUMERO ATTRIBUTO STATISTICHE BOTTIGLIE',2,'NUM003',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APABAT','01',10,'ATTRIBUTI STATISTICHE BOTTIGLIE',2,'ATT003',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('APABAT','01',12,'VARIAZIONE GRADO',2,'VARGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('APABAT','01',13,'VARIAZIONE PREZZI IN PERCENTUALE',2,'VARPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('APABAT','01',14,'NUMERO ATTRIBUTO STATISTICHE AA PREC.',2,'NUM004',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APABAT','01',15,'ATTRIBUTI VENDITE ANNO PRECEDENTE',2,'ATT004',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('APABAT','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('APAC79','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAC79','01',2,'CODICE VITIGNO',2,'CODVIT',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAC79','01',3,'NUMERO ATTRIBUTO CONFERIMENTI',2,'NUMATT',2,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAC79','01',4,'CODICE ATTRIBUTO CONFERIMENTI',2,'CODATT',3,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAC79','01',5,'PREMIO A QUINTALE',2,'PREMIO',0,0,0,0,0,0,0,0,0,0,'',1,1,6,8,3,0,'S999V999','',0,'',0,0,'' )
,('APAC79','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('APACFS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APACFS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APACFS','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APACFS','01',4,'CAUSALE FATTURA PRATICHE CATASTALI',2,'CAUCAT',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APACFS','01',5,'CAUSALE FATTURA PRATICHE AMMINISTRATIVE',2,'CAUAMM',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APACFS','01',6,'ANNO VENDEMMIA PAGAMENTI FATTURE SOCI',2,'ANNVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APACFS','01',7,'CAUSALE CONTABILE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APACFS','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('APAEAP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEAP','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEAP','01',3,'TIPO RECORD = "AP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APAEAP','01',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEAP','01',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAEAP','01',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('APAEAP','01',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAEAP','01',9,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APAEAP','01',10,'ATTRIBUTO OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEAP','01',12,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAEAP','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,237,237,0,0,'X(237)','',0,'',0,0,'' )
,('APAEAR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEAR','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEAR','01',3,'TIPO RECORD = "AR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAEAR','01',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEAR','01',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAEAR','01',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('APAEAR','01',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAEAR','01',9,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APAEAR','01',10,'ATTRIBUTO OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEAR','01',12,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAEAR','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,237,237,0,0,'X(237)','',0,'',0,0,'' )
,('APAEAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEAV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEAV','01',3,'TIPO RECORD = "AV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAEAV','01',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEAV','01',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAEAV','01',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('APAEAV','01',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAEAV','01',9,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APAEAV','01',10,'ATTRIBUTO OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEAV','01',12,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAEAV','01',14,'CERTIFICATA GRANDINE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('APAEAV','01',15,'PERCENTUALE TOLLERANZA GRANDINE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('APAEAV','01',16,'GRANDINATA DA APPLICARE (S/N)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEAV','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,226,226,0,0,'X(226)','',0,'',0,0,'' )
,('APAECL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAECL','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAECL','01',3,'TIPO RECORD = "CL"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAECL','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAECL','01',5,'ELEMENTO TABELLA',2,'ELECAU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',14,'',0,0,'' )
,('APAECL','01',6,'CODICE CAUSALE',3,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAECL','01',7,'EFFETTO CAUSALE +/-',3,'SEGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAECL','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,216,216,0,0,'X(216)','',0,'',0,0,'' )
,('APAECP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAECP','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAECP','01',3,'TIPO RECORD = "CP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAECP','01',4,'NUMERO CONFIGURAZIONE',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAECP','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAECP','01',6,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAECP','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,'' )
,('APAECP','01',8,'CODICE STABILIMENTO',2,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAECP','01',9,'CODICI PESE',2,'CODMPX',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',2,'',0,0,'' )
,('APAECP','01',10,'CODICI MISURATORI',2,'CODMGR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',9,'',0,0,'' )
,('APAECP','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,216,216,0,0,'X(216)','',0,'',0,0,'' )
,('APAEDS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEDS','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEDS','01',3,'TIPO RECORD = "DS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAEDS','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAEDS','01',5,'TABELLA FLAGS PRODUTTORE',2,'TABFLG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEDS','01',6,'ELEMENTO FLAG',3,'ELEFLG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',145,'',0,0,'' )
,('APAEDS','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,'' )
,('APAEDS','01',8,'BLOCCO ACCONTI S/N',3,'BLOACC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEDS','01',9,'BLOCCO LIQUIDAZIONE S/N',3,'BLOLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEDS','01',10,'EX BLOCCO CONTRIBUTO CEE S/N',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEDS','01',11,'EX BLOCCO FINANZIAMENTO IMPIANTI S/N',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEDS','01',12,'EX STAMPA LIBRO SOCI S/N',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEDS','01',13,'EX DA SCARTARE IN REGOLAM. VENDEMMIA S/N',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEDS','01',14,'EX STAMPA DICHIARAZIONI DI RACCOLTA S/N',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEDS','01',15,'EX STAMPA CATASTINO SOCI S/N',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEDS','01',16,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,137,137,0,0,'X(137)','',0,'',0,0,'' )
,('APAEDV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEDV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEDV','01',3,'TIPO RECORD = "DV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAEDV','01',4,'NUMERO VALORE',3,'NUMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEDV','01',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAEDV','01',6,'DESCRIZIONE VALORE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAEDV','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,'' )
,('APAEDV','01',8,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('APAEDV','01',9,'VALORE OBBLIGATORIO S/N',2,'VALOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEDV','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,235,235,0,0,'X(235)','',0,'',0,0,'' )
,('APAENA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAENA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAENA','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APAENA','01',4,'PERCENTUALE ENASARCO AGENTE',2,'PERAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('APAENA','01',5,'PERCENTUALE ENASARCO AZIENDA',2,'PERAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('APAENA','01',6,'PERCENTUALE RITENUTA',2,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('APAENA','01',7,'PERCENTUALE IMPONIBILE X CALC. RITENUTA',2,'PERIMP',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('APAENA','01',8,'CODICE IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAENA','01',9,'MINIMALE MONOMANDATARI',2,'MINMON',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('APAENA','01',10,'MINIMALE PLURIMANDATARI',2,'MINPLU',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('APAENA','01',11,'MASSIMALE MONOMANDATARI',2,'MASMON',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('APAENA','01',12,'MASSIMALE PLURIMANDATARI',2,'MASPLU',0,0,0,0,0,0,0,0,0,0,'',1,0,13,14,2,0,'9(11)V99','',0,'',0,0,'' )
,('APAENA','01',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('APAEPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEPC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEPC','01',3,'TIPO RECORD = "PC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAEPC','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAEPC','01',5,'MODO GESTIONE ZONE RACCOLTA',2,'FLGZON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPC','01',6,'MODO GESTIONE LOCALITA''',2,'FLGLOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPC','01',7,'MODO GESTIONE NOME CAMPO',2,'FLGCAM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPC','01',11,'CONTROLLO SUP. CON DET.CATASTO S/N',2,'FLGCAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPC','01',12,'NUMERO PARTICELLE GESTITE (1/6)',2,'FLGPAR',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
('APAEPC','01',13,'NUMERO PARTICELLE GESTITE',2,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'S',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAEPC','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('APAEPC','01',15,'POSIZIONE CODICE PRODOTTO',2,'VISPRD',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',16,'POSIZIONE CODICE ZONA',2,'VISZON',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',17,'POSIZIONE CODICE LOCALITA''',2,'VISLOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',18,'POSIZIONE CODICE CAMPO',2,'VISCAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',19,'POSIZIONE CODICE COMUNE',2,'VISCOM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',20,'POSIZIONE FOGLIO/PARTICELLA',2,'VISFOG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',21,'POSIZIONE CODICE POSSESSO',2,'VISPOS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',22,'POSIZIONE CODICE VARIETA''',2,'VISVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',23,'EX POSIZIONE SUPERFICE VITATA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',24,'POSIZIONE SUPERFICE',2,'VISSUP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',25,'EX POSIZIONE QUINTALI CERTIFICATI',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',26,'POSIZIONE FLAG PRODUZIONE',2,'VISPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',27,'EX NUMERO DEFINIBILE ANNO IMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',28,'EX ATTRIBUTO TIPO IMPIANTO',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',29,'POSIZIONE NOME PROPRIETARIO',2,'VISNMP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',30,'POSIZIONE NUMERI DEFINIBILI E ATTRIBUTI',2,'VISNDA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAEPC','01',31,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,440,440,0,0,'X(440)','',0,'',0,0,'' )
,('APAEPR','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEPR','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAEPR','01',3,'TIPO RECORD = "PR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAEPR','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAEPR','01',5,'VISUA SITUAZIONE PRODUTTORE PESE S/N',2,'SITCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',6,'STABILIMENTO SOCI OBBLIGATORIO S/N',2,'FLGOSS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',7,'STABILIMENTO CONFERIMENTI OBBLIG. S/N',2,'FLGOSC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',8,'TIPO NUMERAZIONE BOLLETTE',2,'FLGNUM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',11,'FLAG STAMPA GRADO IN BOLLETTA (S/N)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',12,'MASSIMO ERRORE % TARA -> TARA MEDIA',2,'MAXERT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAEPR','01',13,'FLAG SPOSTAMENTO DECLASSATO TAVOLA/I.G.',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',14,'GRADO MINIMO PER SCELTA OBBLIGATORIA',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('APAEPR','01',15,'CODICE BLOCCO BOLLE CONFERIMENTO',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAEPR','01',16,'PROGRAMMA STAMPA BOLLA CONFERIMENTO',2,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APAEPR','01',17,'RISTAMPA SEMPRE ALLA TARA (S/N)',2,'RISTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',18,'ABILITATE MODIFICHE ALLA TARA (S/N)',2,'MODTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',19,'GESTIONE OLTRE TOLLERANZA AD NN (S/N)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',20,'FLAG STAMPA LOCALITA'' IN BOLLETTA S/N/C',2,'STALOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',21,'TOLLERANZA FILE FONDI (GRANDINE) (S/N)',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAEPR','01',22,'NUMERO ATTRIBUTO PARTICELLE GRANDINATE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAEPR','01',23,'NUMERO ATTRIBUTO SOCI 2078',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAEPR','01',24,'CODICE ATTRIBUTO SOCI 2078',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('APAEPR','01',25,'UMIDITA'' MINIMA',2,'UMIMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAEPR','01',26,'IMPURITA'' MINIMA',2,'IMPMIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAEPR','01',27,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,243,243,0,0,'X(243)','',0,'',0,0,'' )
,('APAG08','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAG08','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,'' )
,('APAG08','01',3,'PERCENTUALE DETRAZIONE',2,'PERDET',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,1,0,'999V9','',0,'',0,0,'' )
,('APAG08','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('APAGAN','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGAN','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGAN','01',3,'CODICE PAGAMENTO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('APAGAN','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,5,5,0,0,'X(5)','',0,'',0,0,'' )
,('APAGBO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGBO','01',2,'CHIAVE PRINCIPALE',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGBO','01',3,'NUMERO PROGRESSIVO',3,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAGBO','01',4,'TIPO RECORD',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAGBO','01',11,'GRUPPO/CONTO/SOTTOCONTO',3,'CODGCS',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGBO','01',12,'GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGBO','01',13,'CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGBO','01',14,'SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAGBO','01',15,'DATA SCADENZA',3,'DATSCA',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGBO','01',16,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGBO','01',17,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGBO','01',18,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGBO','01',19,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGBO','01',20,'PARTITA',3,'CODPAR',0,4,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGBO','01',21,'ANNO PARTITA',4,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGBO','01',22,'NUMERO PARTITA',4,'NUMPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('APAGBO','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,'' )
,('APAGBO','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,'' )
,('APAGBO','01',25,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGBO','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,'' )
,('APAGBO','01',27,'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,'' )
,('APAGBO','01',28,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGBO','01',29,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGBO','01',30,'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,'' )
,('APAGBO','01',31,'CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGBO','01',32,'CONTABILIZZATO /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAGBO','01',34,'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,'' )
,('APAGBO','01',35,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAGBO','01',36,'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,'' )
,('APAGBO','01',37,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('APAGBO','01',38,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAGBO','01',39,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGBO','01',40,'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,'' )
,('APAGBO','01',41,'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,'' )
,('APAGBO','01',42,'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,'' )
,('APAGBO','01',43,'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,'' )
,('APAGBO','01',44,'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,'' )
,('APAGBO','01',45,'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,'' )
,('APAGBO','01',46,'BANCA INTERNA PREVALENTE FORNITORE',2,'BANINT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAGBO','01',47,'CODICE ISO (SEMPRE IT)',2,'CODISO',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAGBO','01',48,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,22,22,0,0,'X(22)','',0,'',0,0,'' )
,('APAGDL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGDL','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGDL','01',3,'CODICE AGENTE',3,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('APAGDL','01',4,'DATA DOCUMENTO',3,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGDL','01',5,'REDEFINES',3,'AMGDOC',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGDL','01',6,'PERIODO RIFERIMENTO DOCUMENTO',4,'PERIOD',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGDL','01',7,'ANNO IVA DOCUMENTO',5,'AAADOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APAGDL','01',8,'MESE IVA DOCUMENTO',5,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',9,'GIORNO IVA DOCUMENTO',4,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',10,'NUMERO DOCUMENTO',3,'NUMDOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APAGDL','01',13,'TIPO SOGGETTO',2,'TIPSOG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAGDL','01',17,'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,'' )
,('APAGDL','01',18,'CODICE VALUTA',2,'VALUTA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAGDL','01',19,'CAMBIO DEL GIORNO (*CAMBIO)',2,'CAMBIO',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,3,0,'9(6)V999','',0,'',0,0,'' )
,('APAGDL','01',20,'IMPORTO DOCUMENTO',2,'IMPDOC',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('APAGDL','01',21,'RESIDUO DA PAGARE DAL CLIENTE',2,'IMPRES',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('APAGDL','01',22,'IMPONIBILE',2,'IMPONI',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('APAGDL','01',23,'PROVVIGIONI',2,'IMPPRO',0,0,0,0,0,0,0,0,0,0,'',1,1,13,15,2,0,'S9(11)V99','',0,'',0,0,'' )
,('APAGDL','01',24,'DATA FATTURA PAGAMENTO',2,'DATPAG',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGDL','01',25,'REDEFINES',2,'AMGPAG',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGDL','01',26,'ANNO FATTURA PAGAMENTO',3,'AAAPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGDL','01',27,'MESE FATTURA PAGAMENTO',3,'MMMPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',28,'GIORNO FATTURA PAGAMENTO',3,'GGGPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',29,'DATA VALUTA CAMBIO',2,'DATVAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGDL','01',30,'REDEFINES',2,'AMGVAL',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGDL','01',31,'ANNO VALUTA CAMBIO',3,'AAAVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGDL','01',32,'MESE VALUTA CAMBIO',3,'MMMVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',33,'GIORNO VALUTA CAMBIO',3,'GGGVAL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',34,'CAMBIO IN EURO (/CAMBIO)',2,'CAMEUR',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('APAGDL','01',35,'DATA STORNO',2,'DATSTO',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGDL','01',36,'REDEFINES',2,'AMGSTO',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGDL','01',37,'ANNO',3,'AAASTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGDL','01',38,'MESE',3,'MMMSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',39,'GIORNO',3,'GGGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',40,'DATA RIACCREDITO',2,'DATRIA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGDL','01',41,'REDEFINES',2,'AMGRIA',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGDL','01',42,'ANNO',3,'AAARIA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGDL','01',43,'MESE',3,'MMMRIA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',44,'GIORNO',3,'GGGRIA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGDL','01',45,'CODICE FORNITORE ASSEGNATO ALL''AGENTE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAGDL','01',46,'TIPO LIQUIDAZIONE PROVVIGIONI I/M',2,'TIPLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAGRB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGRB','01',2,'CHIAVE PRINCIPALE',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGRB','01',3,'NUMERO PROGRESSIVO',3,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAGRB','01',4,'TIPO RECORD',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAGRB','01',7,'GRUPPO/CONTO/SOTTOCONTO',3,'CODGCS',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGRB','01',8,'GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGRB','01',9,'CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGRB','01',10,'SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAGRB','01',11,'DATA SCADENZA',3,'DATSCA',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGRB','01',12,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGRB','01',13,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGRB','01',14,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGRB','01',15,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGRB','01',16,'PARTITA',3,'CODPAR',0,4,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGRB','01',17,'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,'' )
,('APAGRB','01',18,'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,'' )
,('APAGRB','01',19,'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,'' )
,('APAGRB','01',20,'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,'' )
,('APAGRB','01',21,'DATA DOCUMENTO',2,'DATDOC',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGRB','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,'' )
,('APAGRB','01',23,'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,'' )
,('APAGRB','01',24,'MESE DOCUMENTO',3,'MMMDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGRB','01',25,'GIORNO DOCUMENTO',3,'GGGDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGRB','01',26,'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,'' )
,('APAGRB','01',27,'CAUSALE CONTABILE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGRB','01',28,'CONTABILIZZATO /S',2,'FLGCON',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAGRB','01',30,'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,'' )
,('APAGRB','01',31,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAGRB','01',32,'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,'' )
,('APAGRB','01',33,'LOCALITA''',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('APAGRB','01',34,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAGRB','01',35,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGRB','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,'' )
,('APAGRB','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,'' )
,('APAGRB','01',38,'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,'' )
,('APAGRB','01',39,'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,'' )
,('APAGRB','01',40,'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,'' )
,('APAGRB','01',41,'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,'' )
,('APAGRB','01',42,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,27,27,0,0,'X(27)','',0,'',0,0,'' )
,('APAGSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGSO','01',2,'CHIAVE PRINCIPALE',2,'KEY003',0,0,1,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGSO','01',3,'NUMERO PROGRESSIVO',3,'NUMERO',1,0,0,2,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAGSO','01',4,'TIPO RECORD',3,'TIPREC',0,1,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAGSO','01',9,'GRUPPO/CONTO/SOTTOCONTO',3,'CODGCS',0,2,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGSO','01',10,'GRUPPO',4,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGSO','01',11,'CONTO',4,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGSO','01',12,'SOTTOCONTO',4,'CODSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAGSO','01',13,'DATA SCADENZA',3,'DATSCA',0,3,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGSO','01',14,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGSO','01',15,'ANNO SCADENZA',4,'AAASCA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGSO','01',16,'MESE SCADENZA',4,'MMMSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGSO','01',17,'GIORNO SCADENZA',4,'GGGSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGSO','01',18,'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,'' )
,('APAGSO','01',19,'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,'' )
,('APAGSO','01',20,'BANCA AZIENDALE DI APPOGGIO',2,'BANAPP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAGSO','01',22,'CODICE BANCA',2,'CODBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGSO','01',23,'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,'' )
,('APAGSO','01',24,'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,'' )
,('APAGSO','01',25,'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,'' )
,('APAGSO','01',26,'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,'' )
,('APAGSO','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,'' )
,('APAGSO','01',28,'CHIAVE INVIO',2,'KEYINV',0,0,0,1,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGSO','01',29,'DATA INVIO',3,'DATINV',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGSO','01',30,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGSO','01',31,'ANNO INVIO',4,'AAAINV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAGSO','01',32,'MESE INVIO',4,'MMMINV',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
('APAGSO','01',33,'GIORNO INVIO',4,'GGGINV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAGSO','01',34,'BANCA INVIO',3,'BANINV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAGSO','01',35,'PROGRESSIVO INVIO',3,'PROINV',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAGSO','01',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,100,100,0,0,'X(100)','',0,'',0,0,'' )
,('APAGVA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGVA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGVA','01',3,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAGVA','01',4,'RAGIONE SOCIALE NOMINATIVO',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APAGVA','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('APAGVB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGVB','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAGVB','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAGVB','01',4,'DATA INIZIO GESTIONE',2,'INIGES',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAGVB','01',5,'CAUSALE SCARICO BANCALI SPEDITI',2,'CMASBC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('APAGVB','01',6,'CAUSALE SCARICO BANCALI SSCC SVANITI',2,'CMSBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('APAGVB','01',7,'CAUSALE CARICO BANCALI SSCC SVANITI',2,'CMCBAN',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('APAIDC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAIDC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAIDC','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAIDC','01',4,'PERCENTUALE BASE SU TOTALE PROVVIGIONI',2,'PERBAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAIDC','01',5,'PRIMA PERCENTUALE DA AGGIUNGERE',2,'ADD001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAIDC','01',6,'ANNO DAL QUALE AGGIUNGERE',2,'ANN001',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAIDC','01',7,'SECONDA PERCENTUALE DA AGGIUNGERE',2,'ADD002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAIDC','01',8,'ANNO DAL QUALE AGGIUNGERE',2,'ANN002',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAIDC','01',9,'MASSIMALE ANNUO AGENTI INDUSTRIA',2,'IMPMAS',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('APAIDC','01',10,'DATA INI RAPP. AGENTI INDUSTRIA',2,'DATIND',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAIDC','01',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,557,557,0,0,'X(557)','',0,'',0,0,'' )
,('APAL01','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL01','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APAL01','01',3,'NUMERO ATTRIBUTO UVE',2,'ATTUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL01','01',4,'PRIMO NUMERO ATTR. CONFERIMENTI',2,'ATTCO1',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL01','01',5,'SECONDO NUMERO ATTR. CONFERIMENTI',2,'ATTCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL01','01',6,'Numero attributo conferimenti FOSS',2,'ATTFOS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL01','01',7,'N. ISCRIZIONE ALBO SOC. COOPERATIVE',2,'NUMISC',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('APAL01','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,60,60,0,0,'X(60)','',0,'',0,0,'' )
,('APAL02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL02','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL02','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL02','01',4,'N. ATTR. CONFERIMENTI X PROV. UVE',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL02','01',5,'N. ATTR. CONFERIMENTI PER ZONA',2,'NUMZON',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL02','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,92,92,0,0,'X(92)','',0,'',0,0,'' )
,('APAL09','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL09','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APAL09','01',3,'NUMERO ATTRIBUTO SOCIO COMMENTI FATTURE',2,'ATTSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL09','01',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('APAL11','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL11','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL11','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAL11','01',4,'IMPONIFILE MINIMO FATTURE',2,'MINFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('APAL11','01',5,'IMPORTO MINIMO CORRISPETTIVI',2,'MINCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('APAL11','01',6,'CAUSALI CONTABILI NOTE VARIAZIONE',2,'CAUNOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',30,'',0,0,'' )
,('APAL11','01',7,'CAUSALI CONTABILI DA NON ESTRARRE',2,'CAUNOE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',20,'',0,0,'' )
,('APAL11','01',8,'ALIQUOTE IVA NO ESTRAZIONE',2,'IVANOE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',20,'',0,0,'' )
,('APAL11','01',9,'DATA INIZIO ELABORAZIONE CORRISPETTIVI',2,'INICOR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAL11','01',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL11','01',11,'ANNO INIZIO ELABORAZIONE CORRISPETIVI',3,'AAACOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAL11','01',12,'MESE INIZIO ELABORAZIONE CORRISPETIVI',3,'MMMCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL11','01',13,'GIORNO INIZIO ELABORAZIONE CORRISPETIVI',3,'GGGCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL11','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,192,192,0,0,'X(192)','',0,'',0,0,'' )
,('APAL12','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL12','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL12','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAL12','01',4,'IMPONI. MINIMO FATTURE (NON USATO)',2,'MINFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('APAL12','01',5,'IMPORTO MINIMO CORRISPETTIVI',2,'MINCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('APAL12','01',6,'CAUSALI CONTABILI DA NON ESTRARRE',2,'CAUNOE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',20,'',0,0,'' )
,('APAL12','01',7,'ALIQUOTE IVA NO ESTRAZIONE',2,'IVANOE',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',20,'',0,0,'' )
,('APAL12','01',8,'CODICI PAG. NO ESTRAZIONE P.VENDITA',2,'PAGNOE',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',10,'',0,0,'' )
,('APAL12','01',9,'ALIQUOTE IVA NO ALLEGATO (SOAVE !!!!)',2,'IVANO1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',20,'',0,0,'' )
,('APAL12','01',10,'CAUSALI CONTABILI AUTOFATTURE SOCI',2,'CAUAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',10,'',0,0,'' )
,('APAL12','01',11,'CAUSALI CONTABILI FATTURE REVERSE CHARGE',2,'CAURCH',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',10,'',0,0,'' )
,('APAL12','01',12,'CLIENTI AUTOFATTURA',2,'CLIAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',10,'',0,0,'' )
,('APAL12','01',13,'NUMERO ATTRIBUTO CLIENTI ASSOCIAZIONI',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL12','01',14,'CODICE ATTRIBUTO CLIENTI ASSOCIAZIONI',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAL12','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,95,95,0,0,'X(95)','',0,'',0,0,'' )
,('APAL16','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL16','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL16','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL16','01',4,'ANNI ROTAZIONE FINANZIAMENTO',2,'ANNROT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL16','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('APAL17','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL17','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APAL17','01',3,'COEFFICENTE PREZZO',2,'COEPRE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('APAL17','01',4,'COEFFICENTE INCENTIVO',2,'COEINC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,4,1,0,'99V9','',0,'',0,0,'' )
,('APAL23','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL23','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL23','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL23','01',4,'N. ATTRIBUTO CONFERIMENTI PREZZI QLE',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL23','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,192,192,0,0,'X(192)','',0,'',0,0,'' )
,('APAL35','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL35','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL35','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL35','01',4,'VENDEMMIA DA LIQUIDARE',2,'VENLIQ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAL35','01',5,'CAUSALE FATTURA',2,'CAUFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAL35','01',6,'CAUSALE AUTOFATTURA',2,'CAUAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAL35','01',7,'CAUSALE NOTA FATTURA',2,'CAUNFA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAL35','01',8,'CAUSALE NOTA AUTOFATTURA',2,'CAUNAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAL35','01',9,'CAUSALE PAGAMENTO',2,'CAUPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAL35','01',10,'GRUPPO/CONTO/SOTTOCONTO COSTO',2,'GCSCOS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL35','01',11,'GRUPPO COSTO',3,'GRUCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAL35','01',12,'CONTO COSTO',3,'CONCOS',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
('APAL35','01',13,'SOTTOCONTO COSTO',3,'SOTCOS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL35','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,57,57,0,0,'X(57)','',0,'',0,0,'' )
,('APAL38','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL38','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APAL38','01',3,'NUMERO PUNTI PER GRADO',2,'NUPUGR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL38','01',4,'NUMERO ATTRIBUTO PER "GRUPPI PER LIQUID"',2,'ATTGRL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL38','01',5,'NUMERO ATTRIBUTO PARTICELLA "CLASSIFICA"',2,'ATTCLA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL38','01',6,'TIPO ELABORAZIONE 1/2',2,'TIPELA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAL38','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('APAL52','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL52','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL52','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL52','01',4,'N. ATTRIBUTO UVE PER RAGRUPPAMENTO LIQ.',2,'NUMRAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL52','01',5,'CODICE ATTRIBUTO UVE PROSECCO',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAL52','01',6,'N. ATTRIBUTO CONFERIMENTI BASE SPUMANTE',2,'NUMBAS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL52','01',7,'CODICE ATTRIBUTO CONFERIMENTI B.SPUMANTE',2,'CODBAS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAL52','01',8,'N. ATTRIBUTO PARTICELLE PROG. QUALITA''',2,'NUMPGQ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL52','01',9,'CODICE ATTRIBUTO PARTICELLE PROG. QUAL.',2,'CODPGQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAL52','01',10,'QUINTALI DA PAGARE A ETTARO PROG. QUAL.',2,'RESPGQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAL52','01',11,'CODICE UVA PROSECCO DOC',2,'UVADOC',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',5,'',0,0,'' )
,('APAL52','01',12,'PERCENTUALE DI TAGLIO',2,'PERDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAL52','01',13,'CODICI UVA BACCA BIANCA ATTI A DOC',2,'UVAATT',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',15,'',0,0,'' )
,('APAL52','01',15,'CODICI UVA DA TRATTARE COME PROSECCO',2,'UVAPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',15,'',0,0,'' )
,('APAL52','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APAL56','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL56','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL56','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL56','01',4,'N. ATTRIBUTO UVE PER FAMIGLIA',2,'NUMFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL56','01',5,'N. ATTR. CONFERIMENTI X RITOCCO GRADO',2,'NUMRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL56','01',6,'N. ATTR. CONFERIMENTI BOLLE PAGATE A QLE',2,'NUMQLE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL56','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('APAL61','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL61','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL61','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL61','01',4,'N. ATTRIBUTO UVE PER FAMIGLIA',2,'NUMFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL61','01',5,'NUMERO ATTRIBUTO CONF. PER LISTINO',2,'NUMLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL61','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('APAL63','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL63','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APAL63','01',3,'NUMERO ATTRIBUTO PER "GRUPPI PER LIQUID"',2,'ATTGRL',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL67','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL67','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APAL67','01',3,'NUMERO ATTRIBUTO CONFERIMENTI PEN GRADO',2,'NUMPGR',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL67','01',4,'NUMERO ATTRIBUTO CONFERIMENTI PREMIO 1',2,'NUMPR1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL67','01',5,'CODICE ATTR. CONFERIMENTO PREMIO 1',2,'CODPR1',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAL67','01',6,'PERCENTUALE PAGAMENTO NN NO PREMIO 1',2,'PERRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAL76','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL76','01',2,'CHIAVE DI ZERI',2,'ZEROES',1,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APAL76','01',3,'NUMERO ATTRIBUTO UVE',2,'ATTUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL76','01',4,'NUMERO ATTRIBUTO CONFERIMENTI CASSETTE',2,'NUMCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL76','01',5,'CODICE ATTRIBUTO CONFERIMENTI CASSETTE',2,'ATTCAS',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAL76','01',6,'NUMERO ATTRIBUTO ELABORAZIONE GRADO',2,'NUMGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL76','01',7,'NUMERO ATTRIBUTO VARIAZIONE',2,'NUMVAR',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APAL76','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,144,144,0,0,'X(144)','',0,'',0,0,'' )
,('APAL79','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL79','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL79','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL79','01',4,'SCAGLIONE DA GRADO A GRADO',2,'ELETAB',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('APAL79','01',5,'GRADO INIZIALE',3,'GRAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAL79','01',6,'GRADO FINALE',3,'GRAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAL79','01',7,'SCOSTAMENTO TRA SCAGLIONI DAL PIU'' ALTO',2,'IMPDIF',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('APAL79','01',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('APAL89','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL89','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAL89','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL89','01',4,'N. ATTRIBUTO UVE PER FAMIGLIA ACCONTO',2,'NUMFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL89','01',5,'N. ATTRIBUTO UVE X FAMIGLIA LIQUIDAZIONE',2,'NFAMLI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL89','01',6,'N. ATTRIBUTO RIGHE CATASTO PROG. QUALITA',2,'NUMAPQ',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAL89','01',7,'COD. ATTRIBUTO RIGHE CATASTO PR. QUALITA',2,'CODAPQ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAL89','01',8,'CODICE SCELTA CONFERIMENTI PROG. QUALITA',2,'SCEPQL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAL89','01',9,'SOCIO INIZIALE CALCOLO ACC/LIQ',2,'SOCINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAL89','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,176,176,0,0,'X(176)','',0,'',0,0,'' )
,('APALID','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APALID','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APALID','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APALID','01',4,'CAUSALI MAGAZZINO SCARICO LOTTI',2,'CAUMAG',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',10,'',0,0,'' )
,('APALID','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,174,174,0,0,'X(174)','',0,'',0,0,'' )
,('APAM32','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAM32','01',2,'CHIAVE (TUTTI ZERI)',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAM32','01',3,'CAUSALE CONTABILE AUTOFATTURA',2,'CODAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',4,'G/C/S AUTOFATTURA',2,'GCSAUT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAM32','01',5,'GRUPPO AUTOFATTURA',3,'GRUAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',6,'CONTO AUTOFATTURA',3,'CONAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',7,'SOTTOCONTO AUTOFATTURA',3,'SOTAUT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAM32','01',8,'CAUSALE CONTABILE FATTURA',2,'CODFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',9,'G/C/S FATTURA',2,'GCSFAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAM32','01',10,'GRUPPO FATTURA',3,'GRUFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',11,'CONTO FATTURA',3,'CONFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',12,'SOTTOCONTO FATTURA',3,'SOTFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAM32','01',13,'CAUSALE CONTABILE PAGAMENTO',2,'CODASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',14,'CAUSALE CONTABILE AUTOFINANZIAMENTO',2,'CAUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',15,'GRUPPO LIBRETTI',2,'GRUFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',16,'CONTO LIBRETTI',2,'CONFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAM32','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('APAMSC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAMSC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAMSC','01',3,'DESCRIZIONE POSIZIONE DI LAVORO',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAMSC','01',4,'CODICE AZIENDA',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAMSC','01',5,'CODICE MAGAZZINO DI STOCCAGGIO',2,'MAGSTO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAMSC','01',6,'CODICE MAGAZZINO A TERRA',2,'MAGTER',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
('APAMSC','01',7,'CAUSALE CARICO MAGAZZINO - PICKING',2,'CAUCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('APAMSC','01',8,'CAUSALE SCARICO MAGAZZINO - PICKING',2,'CAUSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('APAMSC','01',9,'CAU.CARICO MAG.- CREAZIONE SSCC MISTO',2,'CAMCAR',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('APAMSC','01',10,'CAU.SCARICO MAG.- CREAZIONE SSCC MISTO',2,'CAMSCA',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'XXXX','',0,'',0,0,'' )
,('APAMSC','01',11,'NUMERO STAMPANTE PER STAMPA SSCC',2,'STSSCC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAMSC','01',12,'NUMERO COPIE STAMPA SSCC',2,'NCSSCC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAMSC','01',14,'EVASIONE PARZIALE SSCC IN PICK. (S/N)',2,'EVAPAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAMSC','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,443,443,0,0,'X(443)','',0,'',0,0,'' )
,('APAN02','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAN02','01',2,'CHIAVE = PAR',2,'CODICE',1,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAN02','01',3,'QUOTA PARTECIPAZIONE SOCIO',2,'QUOSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,2,'9(5)','999V99',0,'',0,0,'' )
,('APAN02','01',4,'QUOTA PARTECIPAZIONE FAMILIARE',2,'QUOFAM',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,2,'9(5)','999V99',0,'',0,0,'' )
,('APAN02','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,987,987,0,0,'X(987)','',0,'',0,0,'' )
,('APAP58','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAP58','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAP58','01',3,'CHIAVE A ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAP58','01',4,'SCELTE CHE INDIVIDUANO LA MECCANICA',2,'CODSCE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',8,'',0,0,'' )
,('APAP58','01',5,'NUMERO ATTRIBUTO DA VISUALIZZARE',2,'ATTVIS',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAP58','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,99,99,0,0,'X(99)','',0,'',0,0,'' )
,('APAP76','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAP76','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAP76','01',3,'CHIAVE A ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAP76','01',4,'NUMERO ATTR. CONF. VEND. MECCANICA',2,'NATMEC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAP76','01',5,'CODICE ATTR. CONF. VEND. MECCANICA',2,'CATMEC',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APAP76','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('APAPAV','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPAV','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPAV','01',3,'CODICE RAMO AZIENDA',3,'CODRAM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAPAV','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('APAPAV','01',5,'RAGRUPPA REG. CONTABILI X CAUSALE/BANCA',2,'FLGREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAPAV','01',6,'CAUSALE OPZIONE 1',2,'CAU001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPAV','01',7,'CAUSALE OPZIONE 2',2,'CAU002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPAV','01',8,'CAUSALE OPZIONE 3',2,'CAU003',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPAV','01',9,'CAUSALE OPZIONE 4',2,'CAU004',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPAV','01',10,'CAUSALE OPZIONE 5',2,'CAU005',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPAV','01',11,'CAUSALE OPZIONE 6',2,'CAU006',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPAV','01',12,'CAUSALE OPZIONE 8',2,'CAU008',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPAV','01',13,'CAUSALE OPZIONE 9',2,'CAU009',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPAV','01',14,'GRUPPO CONTO SOTTOCONTO ERARIO',2,'GCSERA',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPAV','01',15,'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,'' )
,('APAPAV','01',16,'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,'' )
,('APAPAV','01',17,'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,'' )
,('APAPAV','01',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,128,128,0,0,'X(128)','',0,'',0,0,'' )
,('APAPCA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPCA','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPCA','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAPCA','01',4,'N. ATTRIBUTO CLIENTE',2,'NATCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAPCA','01',5,'N. ATTRIBUTO ARTICOLO',2,'NATART',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAPPC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPPC','01',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPPC','01',3,'CODICE STABILIMENTO (ZERO = TUTTI)',3,'CODSTB',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAPPC','01',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAPPC','01',5,'BLOCCO NUMERAZIONE PULIZIA CISTERNE',2,'BLOCCO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAPPC','01',6,'ex - NUMERO STAMPANTE',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAPPC','01',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,139,139,0,0,'X(139)','',0,'',0,0,'' )
,('APAPR0','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR0','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR0','01',3,'CHIAVE DI ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAPR0','01',4,'NUMERO PROGRESSIVO PROPOSTA ACQUISTO',2,'NUMPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPR0','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,34,34,0,0,'X(34)','',0,'',0,0,'' )
,('APAPR1','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR1','01',2,'NUMERO INTERNO',2,'NUMERO',1,2,3,3,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPR1','01',3,'DATA IMMISSIONE',2,'DATIMM',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAPR1','01',4,'DATA CONSEGNA RICHIESTA',2,'DATCON',0,1,2,2,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAPR1','01',5,'UTENTE CHE HA INSERITO LA SCHEDA',2,'NOMUTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APAPR1','01',6,'CODICE FORNITORE',2,'CODFOR',0,0,1,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APAPR1','01',8,'CODICE REPARTO',2,'CODREP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('APAPR1','01',9,'STATO',2,'FLGSTA',0,0,0,1,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAPR1','01',14,'EVENTUALE CONTRATTO DI RIFERIMENTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPR1','01',15,'BARCODE PER ARCHIVIAZIONE DOCUMENTALE',2,'BARCOD',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAPR1','01',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,122,122,0,0,'X(122)','',0,'',0,0,'' )
,('APAPR2','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR2','01',2,'NUMERO INTERNO PROPOSTA',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPR2','01',3,'DATI FORNITORE IN ALTERNATIVA AL CODICE',2,'DATIFO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR2','01',4,'RAGIONE SOCIALE',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APAPR2','01',5,'INDIRIZZO',3,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAPR2','01',6,'CAP',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('APAPR2','01',7,'LOCALITA''',3,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APAPR2','01',8,'PROVINCIA',3,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAPR2','01',9,'CODICE FISCALE/P.IVA',3,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('APAPR2','01',10,'NUMERO TELEFONO',3,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APAPR2','01',11,'NUMERO FAX',3,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APAPR2','01',12,'INDIRIZZO E-MAIL',3,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APAPR2','01',13,'PERSONA DA CONTATTARE',3,'CONTAT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAPR2','01',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,146,146,0,0,'X(146)','',0,'',0,0,'' )
,('APAPR3','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR3','01',2,'NUMERO INTERNO PROPOSTA',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPR3','01',3,'NUMERO PROGRESSIVO ARTICOLO',2,'NUMART',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPR3','01',4,'CODICE ARTICOLO - FACOLTATIVO',2,'CODART',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APAPR3','01',5,'DATI ARTICOLO IN ALTERNATIVA AL CODICE',2,'DATART',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR3','01',6,'DESCRIZIONE',3,'DESART',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAPR3','01',7,'SIGLA UNITA'' DI MISURA',3,'SIGUDM',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAPR3','01',8,'ANNATA ARTICOLO',2,'ANNATA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPR3','01',9,'QUANTITA'' RICHIESTA ARTICOLO',2,'QTAART',0,0,0,0,0,0,0,0,0,0,'',1,0,14,15,5,0,'9(9)V9(5)','',0,'',0,0,'' )
,('APAPR3','01',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,121,121,0,0,'X(121)','',0,'',0,0,'' )
,('APAPR4','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR4','01',2,'NUMERO INTERNO PROPOSTA',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPR4','01',3,'NUMERO PROGRESSIVO ARTICOLO',2,'NUMART',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPR4','01',4,'NUMERO PROGRESSIVO NOTA',2,'NUMNOT',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPR4','01',5,'NOTA (USATI 30 CARATTERI)',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APAPR4','01',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,52,52,0,0,'X(52)','',0,'',0,0,'' )
,('APAPR5','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR5','01',2,'NUMERO INTERNO PROPOSTA',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPR5','01',3,'NUMERO PROGRESSIVO PREVENTIVO',2,'NUMPRE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPR5','01',4,'DATA RICHIESTA PREVENTIVO',2,'DATPRE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAPR5','01',5,'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,'' )
,('APAPR5','01',6,'DATI FORNITORE IN ALTERNATIVA AL CODICE',2,'DATIFO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR5','01',7,'RAGIONE SOCIALE',3,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APAPR5','01',8,'INDIRIZZO',3,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAPR5','01',9,'CAP',3,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('APAPR5','01',10,'LOCALITA',3,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APAPR5','01',11,'PROVINCIA',3,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAPR5','01',12,'CODICE FISCALE',3,'CODFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('APAPR5','01',13,'NUMERO TELEFONO',3,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APAPR5','01',14,'NUMERO FAX',3,'NUMFAX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APAPR5','01',15,'E-MAIL',3,'E-MAIL',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APAPR5','01',16,'ALLA CORTESE ATTENZIONE DI',2,'ALLACA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APAPR5','01',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,328,328,0,0,'X(328)','',0,'',0,0,'' )
,('APAPR6','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPR6','01',2,'NUMERO INTERNO PROPOSTA',2,'NUMERO',1,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPR6','01',3,'NUMERO PROGRESSIVO PREVENTIVO',2,'NUMPRE',2,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPR6','01',4,'NUMERO PROGRESSIVO NOTA',2,'NUMNOT',3,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPR6','01',5,'NOTA',2,'DESNOT',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('APAPR6','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,'' )
,('APAPRL','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPRL','01',2,'NUMERO ORDINE FORNITORE',2,'NUMORD',1,3,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPRL','01',3,'NUMERO INTERNO PROPOSTA',2,'NUMPRO',0,1,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APAPRL','01',4,'NUMERO INTERNO PREVENTIVO',2,'NUMPRE',0,2,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPRL','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,176,176,0,0,'X(176)','',0,'',0,0,'' )
,('APAPRO','PR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPRO','PR',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPRO','PR',3,'TIPO RECORD = "AT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAPRO','PR',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAPRO','PR',5,'SCONTO MASSIMO',2,'SCOMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APAPRO','PR',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,141,141,0,0,'X(141)','',0,'',0,0,'' )
,('APAPSO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPSO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPSO','01',3,'GRUPPO FORNITORI',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPSO','01',4,'CONTO FORNITORI',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APAPSO','01',5,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('APAPSO','01',6,'PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPSO','01',7,'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,'' )
,('APAPSO','01',8,'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,'' )
,('APAPSO','01',9,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAPSO','01',10,'NUMERO IVA FATTURA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APAPSO','01',11,'DATA IVA FATTURA',2,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APAPSO','01',12,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('APAPSO','01',13,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('APAPSO','01',14,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAPSO','01',15,'MODALITA'' DI PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('APAPSO','01',16,'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,'' )
,('APAPSO','01',17,'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,'' )
,('APAPSO','01',18,'REGOSTRO IVA',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAPSO','01',19,'TIPO REGISTRO',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APAPSO','01',20,'CODICE REGISTRO',3,'NNRIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAPSO','01',21,'CODICE VENDEMMIA',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAB','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAB','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,'' )
,('APARAB','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,'' )
,('APARAB','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,'' )
,('APARAB','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,'' )
,('APARAB','A1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAB','A1',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAB','A1',3,'TIPO RECORD = "A1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAB','A1',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,'' )
,('APARAB','A1',5,'NUMERO ATTRIBUTO CONTRATTI DI VENDITA',2,'NUM005',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAB','A1',6,'ATTRIBUTI CONTRATTI DI VENDITA',2,'ATT005',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('APARAB','A1',7,'NUMERO ATTR. VARIAZIONE VENDITE AA PREC.',2,'NUM006',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAB','A1',8,'CAUSALI BOLLA CONTRATTI DA SCARTARE',2,'BOLVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',5,'',0,0,'' )
,('APARAB','A1',9,'CAUSALI CONTRATTI ACQUISTO DA SCARTARE',2,'CONACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',5,'',0,0,'' )
,('APARAB','A1',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAB','AT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAB','AT',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAB','AT',3,'TIPO RECORD = "AT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAB','AT',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,'' )
,('APARAB','AT',6,'NUMERO ATTRIBUTO BUDGET',2,'NUM001',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAB','AT',7,'NUMERO ATTRIBUTO CONTRATTI DI GREZZO',2,'NUM002',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAB','AT',8,'ATTRIBUTI CONTRATTI DI GREZZO',2,'ATT002',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('APARAB','AT',9,'NUMERO ATTRIBUTO STATISTICHE BOTTIGLIE',2,'NUM003',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAB','AT',10,'ATTRIBUTI STATISTICHE BOTTIGLIE',2,'ATT003',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('APARAB','AT',12,'VARIAZIONE GRADO',2,'VARGRA',0,0,0,0,0,0,0,0,0,0,'',1,1,4,6,2,0,'S99V99','',0,'',0,0,'' )
,('APARAB','AT',13,'VARIAZIONE PREZZI IN PERCENTUALE',2,'VARPRE',0,0,0,0,0,0,0,0,0,0,'',1,1,2,3,0,0,'S99','',0,'',0,0,'' )
,('APARAB','AT',14,'NUMERO ATTRIBUTO STATISTICHE AA PREC.',2,'NUM004',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAB','AT',15,'ATTRIBUTI VENDITE ANNO PRECEDENTE',2,'ATT004',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',20,'',0,0,'' )
,('APARAB','AT',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('APARAC','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAC','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAC','01',3,'GRUPPO CLIENTI',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAC','01',4,'CONTO CLIENTI',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAC','01',5,'CODICE CLIENTE (ZERO = TUTTI)',3,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('APARAC','01',6,'PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAC','01',7,'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,'' )
,('APARAC','01',8,'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,'' )
,('APARAC','01',9,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAC','01',10,'NUMERO IVA FATTURA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APARAC','01',11,'DATA IVA FATTURA',2,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAC','01',12,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('APARAC','01',13,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('APARAC','01',14,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAC','01',15,'MODALITA'' DI PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APARAC','01',16,'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,'' )
,('APARAC','01',17,'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,'' )
,('APARAC','01',18,'REGISTRO IVA',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAC','01',19,'TIPO REGISTRO',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAC','01',20,'NUMERO REGISTRO',3,'NNRIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAC','01',21,'NUMERO REGISTRAZIONE FATTURA',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAC','01',22,'DATA ELABORAZIONE',2,'DATELA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAF','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAF','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAF','01',3,'GRUPPO FORNITORI',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAF','01',4,'CONTO FORNITORI',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAF','01',5,'CODICE FORNITORI',3,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('APARAF','01',6,'PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAF','01',7,'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,'' )
,('APARAF','01',8,'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,'' )
,('APARAF','01',9,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAF','01',10,'NUMERO IVA FATTURA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APARAF','01',11,'DATA IVA FATTURA',2,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAF','01',12,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('APARAF','01',13,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('APARAF','01',14,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAF','01',15,'MODALITA'' DI PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('APARAF','01',16,'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,'' )
,('APARAF','01',17,'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,'' )
,('APARAF','01',18,'REGOSTRO IVA',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAF','01',19,'TIPO REGISTRO',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAF','01',20,'CODICE REGISTRO',3,'NNRIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAF','01',21,'NUMERO REGISTRAZIONE FATTURA',2,'NUMREG',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAP','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAP','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAP','01',3,'GRUPPO FORNITORI',3,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAP','01',4,'CONTO FORNITORI',3,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAP','01',5,'CODICE SOCIO',3,'CODSOC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'AANCL1',1,1,'' )
,('APARAP','01',6,'PARTITA',3,'CODPAR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAP','01',7,'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,'' )
,('APARAP','01',8,'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,'' )
,('APARAP','01',9,'DATA SCADENZA',3,'DATSCA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAP','01',10,'NUMERO IVA FATTURA',2,'NUMIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APARAP','01',11,'DATA IVA FATTURA',2,'DTAIVA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAP','01',12,'TOTALE DOCUMENTO',2,'TOTDOC',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('APARAP','01',13,'IMPORTO SCADENZA',2,'IMPSCA',0,0,0,0,0,0,0,0,0,0,'',1,0,11,12,2,0,'9(9)V99','',0,'',0,0,'' )
,('APARAP','01',14,'DARE/AVERE',2,'DARAVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAP','01',15,'MODALITA'' DI PAGAMENTO',2,'MODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'ATBAMP',1,1,'' )
,('APARAP','01',16,'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,'' )
,('APARAP','01',17,'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,'' )
,('APARAP','01',18,'REGOSTRO IVA',2,'CODREG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAP','01',19,'TIPO REGISTRO',3,'TIPREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAP','01',20,'CODICE REGISTRO',3,'NNRIVA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAS','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAS','02',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAS','02',3,'TIPO RECORD = "02"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAS','02',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,'' )
,('APARAS','02',5,'NUMERO MASSIMO CONFERENTI DELEGANTI',2,'NUMDEL',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APARAS','02',6,'NUMERO VOTAZIONI',2,'NUMVOT',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APARAS','02',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,143,143,0,0,'X(143)','',0,'',0,0,'' )
,('APARAZ','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','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,'' )
,('APARAZ','00',3,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'X(2)','',0,'',0,0,'' )
,('APARAZ','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,'' )
,('APARAZ','00',5,'RECORD',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,145,145,0,0,'X(145)','',0,'',0,0,'' )
,('APARAZ','AA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AA',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AA',3,'TIPO RECORD = "AA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','AA',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','AA',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','AA',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('APARAZ','AA',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','AA',9,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APARAZ','AA',10,'ATTRIBUTO OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','AA',12,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','AA',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('APARAZ','AC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AC',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AC',3,'TIPO RECORD = "AC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','AC',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','AC',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','AC',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('APARAZ','AC',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','AC',9,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APARAZ','AC',10,'ATTRIBUTO OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','AC',12,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','AC',14,'CODICE GRAFICA MODULI LASER',2,'CODGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','AC',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,94,94,0,0,'X(94)','',0,'',0,0,'' )
,('APARAZ','AF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AF',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AF',3,'TIPO RECORD = "AF"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','AF',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','AF',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','AF',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('APARAZ','AF',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','AF',9,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APARAZ','AF',10,'ATTRIBUTO OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','AF',12,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','AF',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,96,96,0,0,'X(96)','',0,'',0,0,'' )
,('APARAZ','AG',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AG',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AG',3,'TIPO RECORD = "AG"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','AG',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','AG',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','AG',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APARAZ','AG',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','AG',9,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APARAZ','AG',10,'ATTRIBUTO OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','AG',12,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','AG',14,'CODICE LISTINO SE FUNZIONARIO VENDITA',2,'CODLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','AG',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,93,93,0,0,'X(93)','',0,'',0,0,'' )
,('APARAZ','AP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AP',3,'TIPO RECORD = "AP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','AP',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,'' )
,('APARAZ','AP',5,'VENDEMMIA',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','AP',6,'CARTELLA OUTPUT COMUNICAZIONE PALMARE',2,'DIROUT',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','AP',7,'CARTELLA INPUT COMUNICAZIONE PALMARE',2,'DIRINP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','AP',8,'NUMERO ATTRIBUTO GESTITO',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','AP',9,'CARTELLA DI LAVORO COSTRUZIONE MESSAGGI',2,'DIRTMP',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','AP',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('APARAZ','AS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','AS',3,'TIPO RECORD = "AS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','AS',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,'' )
,('APARAZ','AS',5,'NUMERO MASSIMO CONFERENTI DELEGANTI',2,'NUMDEL',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APARAZ','AS',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,144,144,0,0,'X(144)','',0,'',0,0,'' )
,('APARAZ','B1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','B1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','B1',3,'TIPO RECORD = "J1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','B1',4,'FINO ALLA DATA',3,'FINOAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','B1',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','B1',6,'VALORE PUNTO',2,'VALPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('APARAZ','B1',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,140,140,0,0,'X(140)','',0,'',0,0,'' )
,('APARAZ','BE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','BE',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','BE',3,'TIPO RECORD = "JE"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','BE',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,'' )
,('APARAZ','BE',5,'LISTINI PER CALCOLO PUNTI',2,'TABLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',5,'',0,0,'' )
,('APARAZ','BE',6,'NR. ATT. CLI. PER SCONTO A PEZZO SI',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','BE',7,'CODICE ATTRIBUTO CLI. PER SCONTO PEZZO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','BE',8,'CAPACITA'' RECIPIENTE ART. INIZIALE',2,'CAPINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('APARAZ','BE',9,'CAPACITA'' RECIPIENTE ART. FINALE',2,'CAPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('APARAZ','BE',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',0,'',0,0,'' )
,('APARAZ','CA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CA',3,'TIPO RECORD = "CA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','CA',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','CA',5,'STAMPA D/D CHIUSURA STATO PATRIMONIALE',2,'STMOPA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','CA',6,'CAUSALE GIRO A P.P. CONTI ECONOMICI',2,'CAU001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',7,'GIRO A P. P. CONTI ECONOMICI',2,'GCS001',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','CA',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CA',9,'GRUPPO GIRO A P.P. CONTI ECONOMICI',3,'GRU001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',10,'CONTO GIRO A P.P. CONTI ECONOMICI',3,'CON001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',11,'SOTTOCONTO GIRO A P.P. CONTI ECONOMICI',3,'SOT001',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','CA',12,'CAUSALE REGISTRAZIONE UTILE ESERCIZIO',2,'CAU002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',13,'REGISTRAZIONE UTILE ESERCIZIO',2,'GCS002',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','CA',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CA',15,'GRUPPO REGISTRAZIONE UTILE ESERCIZIO',3,'GRU002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',16,'CONTO REGISTRAZIONE UTILE ESERCIZIO',3,'CON002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',17,'SOTTOCONTO REGISTRAZIONE UTILE ESERCIZIO',3,'SOT002',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','CA',18,'CAUSALE REGISTRAZIONE PERDITA ESERCIZIO',2,'CAU003',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',19,'REGISTRAZIONE PERDITA ESERCIZIO',2,'GCS003',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','CA',20,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CA',21,'GRUPPO REGISTRAZIONE PERDITA ESERCIZIO',3,'GRU003',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',22,'CONTO REGISTRAZIONE PERDITA ESERCIZIO',3,'CON003',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',23,'SOTTOCONTO REG. PERDITA ESERCIZIO',3,'SOT003',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','CA',24,'CAUSALE CHIUSURA CONTI PATRIMONIALI',2,'CAU004',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',25,'CHIUSURA CONTI PATRIMONIALI',2,'GCS004',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','CA',26,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CA',27,'GRUPPO CHIUSURA CONTI PATRIMONIALI',3,'GRU004',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',28,'CONTO CHIUSURA CONTI PATRIMONIALI',3,'CON004',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',29,'SOTTOCONTO CHIUSURA CONTI PATRIMONIALI',3,'SOT004',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','CA',30,'CAUSALE APERTURA CONTI PATRIMONIALI',2,'CAU005',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',31,'APERTURA CONTI PATRIMONIALI',2,'GCS005',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','CA',32,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CA',33,'GRUPPO APERTURA CONTI PATRIMONIALI',3,'GRU005',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',34,'CONTO APERTURA CONTI PATRIMONIALI',3,'CON005',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','CA',35,'SOTTOCONTO APERTURA CONTI PATRIMONIALI',3,'SOT005',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','CA',36,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,54,54,0,0,'X(54)','',0,'',0,0,'' )
,('APARAZ','CC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CC',3,'TIPO RECORD = "CC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','CC',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,'' )
,('APARAZ','CC',5,'CODICE CAUSALE DA BYPASSARE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',14,'',0,0,'' )
,('APARAZ','CC',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,89,89,0,0,'X(89)','',0,'',0,0,'' )
,('APARAZ','CF',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CF',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CF',3,'TIPO RECORD = "CF"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','CF',4,'CODICE COMMENTO FISSO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('APARAZ','CF',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','CF',6,'ELEMENTO COMMENTO',2,'RAREAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',4,'',0,0,'' )
,('APARAZ','CF',7,'RIGA COMMENTO',3,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','CF',8,'RIPORTA IN BOLLA  /N',3,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','CF',9,'RIPORTA IN FATTURA  /N',3,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','CF',10,'RIPORTA IN ORDINE  /N',3,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','CF',11,'AREA FLAGS MAG/COMMERC',2,'AREAMC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CF',12,'GENERA COMMENTO IN MAG./COMM. /S',3,'FLGMEC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',4,'',0,0,'' )
,('APARAZ','CF',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,9,9,0,0,'X(9)','',0,'',0,0,'' )
,('APARAZ','CI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CI',3,'TIPO RECORD = "CI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','CI',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,'' )
,('APARAZ','CI',5,'DATA ULTIMA ELABORAZIONE',2,'DTAELA',0,0,0,0,0,0,0,0,0,0,'',5,0,6,6,0,0,'D6','',0,'',0,0,'' )
,('APARAZ','CI',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APARAZ','CI',7,'ANNO',3,'ANNELA',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('APARAZ','CI',8,'MESE',3,'MESELA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','CI',9,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('APARAZ','CI',10,'CAUSALE NOTA ACCREDITO',2,'CAUACC',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','CI',11,'CAUSALE ACQUISTI FORNITORI',2,'CAUACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','CI',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,117,117,0,0,'X(117)','',0,'',0,0,'' )
,('APARAZ','CL',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CL',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CL',3,'TIPO RECORD = "CL"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','CL',4,'CODICE COMMENTO FISSO',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('APARAZ','CL',5,'PROGRESSIVO',3,'PROGRE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','CL',6,'ELEMENTO COMMENTO',2,'RAREAT',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CL',7,'RIGA COMMENTO',3,'RTESTO',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('APARAZ','CL',8,'RIPORTA IN BOLLA  /N',3,'FLGBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','CL',9,'RIPORTA IN FATTURA  /N',3,'FLGFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','CL',10,'RIPORTA IN ORDINE  /N',3,'FLGORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','CL',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,70,70,0,0,'X(70)','',0,'',0,0,'' )
,('APARAZ','CP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CP',3,'TIPO RECORD = "CP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','CP',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','CP',5,'ELEMENTO DEFINIZIONE',2,'ELEMEN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',8,'',0,0,'' )
,('APARAZ','CP',6,'DESCRIZIONE',3,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APARAZ','CP',7,'POSIZIONE',3,'POSINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','CP',8,'LUNGHEZZA',3,'LUNGHE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APARAZ','CP',9,'SOLO ART. CHE RISPETTANO DEFINIZIONE S/N',2,'CTRCOD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','CT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CT',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','CT',3,'TIPO RECORD = "CT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','CT',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,'' )
,('APARAZ','CT',5,'CODICE AZIENDA COLEGATA (CANTINA)',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','CT',6,'CODICE CLIENTE AZIENDA COLLEGATA',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','CT',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,137,137,0,0,'X(137)','',0,'',0,0,'' )
,('APARAZ','D1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','D1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','D1',3,'TIPO RECORD = "D1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','D1',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,'' )
,('APARAZ','D1',5,'MINISTERO PRIMA RIGA',2,'MINST1',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('APARAZ','D1',6,'MINISTERO SECONDA RIGA',2,'MINST2',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('APARAZ','D1',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,55,55,0,0,'X(55)','',0,'',0,0,'' )
,('APARAZ','D2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','D2',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','D2',3,'TIPO RECORD = "D2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','D2',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,'' )
,('APARAZ','D2',5,'ISPETTORATO',2,'ISPETT',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('APARAZ','D2',6,'UFFICIO',2,'UFFICI',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('APARAZ','D2',7,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,45,45,0,0,'X(45)','',0,'',0,0,'' )
,('APARAZ','D2',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('APARAZ','D3',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','D3',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','D3',3,'TIPO RECORD = "D3"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','D3',4,'MAGAZZINO 00 = TUTTI',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','D3',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','D3',6,'DESCRIZIONE AZIENDA',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APARAZ','D3',7,'RAGIONE SOCIALE AZIENDA',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('APARAZ','D3',8,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,16,16,0,0,'X(16)','',0,'',0,0,'' )
,('APARAZ','D3',9,'REGISTRO IMPRESE',2,'REGIMP',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('APARAZ','D3',10,'NUMERO TELEFONOE',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APARAZ','D3',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,28,28,0,0,'X(28)','',0,'',0,0,'' )
,('APARAZ','DA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','DA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','DA',3,'TIPO RECORD = "DA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','DA',4,'CODICE NAZIONE (ISO)',3,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','DA',5,'CODICE PRODOTTO ACCISA',3,'PROACC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','DA',6,'FINO A GRADO',3,'GRAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APARAZ','DA',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','DA',8,'IMPORTO ACCISA',2,'IMPACC',0,0,0,0,0,0,0,0,0,0,'',1,0,15,16,4,0,'9(11)V9(4)','',0,'',0,0,'' )
,('APARAZ','DA',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,130,130,0,0,'X(130)','',0,'',0,0,'' )
,('APARAZ','DC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','DC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','DC',3,'TIPO RECORD = "DC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','DC',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','DC',5,'TABELLA FLAGS CLIENTE',2,'TABFLG',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','DC',6,'ELEMENTO FLAG',3,'ELEFLG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',145,'',0,0,'' )
,('APARAZ','DC',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','DC',8,'01 FATTURA RIEPILOGATIVA S/N',3,'FATRIE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',9,'02 STAMPA AGENTE IN FATTURA S/N',3,'STAAGE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',10,'03 SPESE INCASSO S/N',3,'SPEINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',11,'04 INVIO SOLLECITI S/N',3,'INVSOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',12,'05 SOGGETTO CAUZIONI S/N',3,'SOGCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',13,'06 RIFERIMENTO ORDINE OBBLIGATORIO S/N',3,'RIFORD',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',14,'07 BLOCCO FATTURAZIONE S/N',3,'BLOFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',15,'08 STAMPA ALLEGATI S/N',3,'STAALL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',16,'09 LISTINO PUNTO VENDITA S/N',3,'LISPVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',17,'10 STAMPA DESTINATARIO IN FATTURA S/N',3,'DESFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',18,'11 STAMPA PREZZO IN BOLLA S/N',3,'PRZBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',19,'12 DESTINATARIO COME IND. SPED. FATTURE',3,'DESISF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',20,'13 FATTURAZIONE MENSILE',3,'FATMEN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',21,'14 BOLLO SU CAUZIONI',3,'BOLCAU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',22,'15 SOGGETTO CALCOLO VUOTI',3,'SOGVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',23,'16 BLOCCO CONTRATTI ORDINI BOLLE',3,'BLOCOB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',24,'17 STAMPA LOTTO IN BOLLA',3,'STALOT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',25,'18 STAMPA LOTTO IN FATTURA',3,'LOTFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',26,'19 STAMPA EAN BOTTIGLIA DDT/FATT.',3,'STAEAB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',27,'20 STAMPA EAN CARTONE DDT/FATT.',3,'STAEAC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',28,'21 RIF.CONTRATTO IN COMMENTI FATTURA',3,'RFCFAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','DC',29,'FILLER',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,124,124,0,0,'X(124)','',0,'',0,0,'' )
,('APARAZ','EC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','EC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','EC',3,'TIPO RECORD = "EC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APARAZ','EC',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,'' )
,('APARAZ','EC',5,'CODICE DI COLLEGAMENTO',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('APARAZ','EC',6,'GRUPPO DI COLLEGAMENTO',3,'GRUCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','EC',7,'CONTO DI COLLEGAMENTO',3,'CONCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','EC',8,'CODICE DI COLLEGAMENTO PRODUTTORI',2,'CODPRO',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','EC',9,'GRUPPO DI COLLEGAMENTO PRODUTTORI',3,'GRUPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','EC',10,'CONTO DI COLLEGAMENTO PRODUTTORI',3,'CONPRO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','EC',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('APARAZ','EQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','EQ',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','EQ',3,'TIPO RECORD = "EQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','EQ',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,'' )
,('APARAZ','EQ',5,'CODICE CAUSALE DOCO DA CREARE',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','EQ',6,'CODICE CLIENTE EQUIPE PER CANTINA',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','EQ',7,'CAUSALI PRODUZIONE COINVOLTE',2,'CAUPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',8,'',0,0,'' )
,('APARAZ','EQ',8,'UTENTI DA MESSAGGIARE',2,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',3,'',0,0,'' )
,('APARAZ','EQ',9,'filler',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,7,7,0,0,'X(7)','',0,'',0,0,'' )
,('APARAZ','ES',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','ES',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','ES',3,'TIPO RECORD = "ES"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','ES',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,'' )
,('APARAZ','ES',5,'NUMERO ATTRIBUTO PRODOTTI ENOLOGICI',2,'NUMAPE',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','ES',6,'CODICE ATTRIBUTO PRODOTTI ENOLOGICI INI',2,'APEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','ES',7,'CODICE ATTRIBUTO PRODOTTI ENOLOGICI FIN',2,'APEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','ES',8,'DATA INIZIO AGGIORNAMENTI',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','ES',9,'MAGAZZINO GESTITI',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',10,'',0,0,'' )
,('APARAZ','ES',10,'PERCORSO EXPORT',2,'PATHEX',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APARAZ','ES',11,'CAUSALE MAGAZZINO CONSUMO P.E.',2,'CAUCPE',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',0,'',0,0,'' )
,('APARAZ','ES',12,'PERCORSO IMPORT CONSUMI P.E.',2,'PATHIM',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APARAZ','ES',13,'DATA INIZIO AGGIORNAMENTO CONSUMI P.E.',2,'DTACPE',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','ES',14,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,57,57,0,0,'X(57)','',0,'',0,0,'' )
,('APARAZ','FC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','FC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','FC',3,'TIPO RECORD = "FC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','FC',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,'' )
,('APARAZ','FC',5,'GRUPPO',2,'CODGRU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('APARAZ','FC',6,'CONTO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('APARAZ','FC',7,'TIPO CLIENTE (ATTRIBUTO 1)',2,'TIPCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','FC',8,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','FC',9,'PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('APARAZ','FC',10,'STATO GIURIDICO (F/G)',2,'STAGIU',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','FC',11,'CODICE NAZIONE',2,'CODNAZ',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','FC',12,'CODICE ATTRIBUTO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('APARAZ','FC',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,91,91,0,0,'X(91)','',0,'',0,0,'' )
,('APARAZ','I1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','I1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','I1',3,'TIPO RECORD = "I1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','I1',4,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','I1',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','I1',6,'PRIMA RIGA',2,'AUTCO1',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('APARAZ','I1',7,'SECONDA RIGA',2,'AUTCO2',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('APARAZ','I1',8,'TERZA RIGA',2,'AUTCO3',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('APARAZ','I1',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','I2',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','I2',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','I2',3,'TIPO RECORD = "I2"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','I2',4,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','I2',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','I2',6,'PRIMA RIGA',2,'GARAN1',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('APARAZ','I2',7,'SECONDA RIGA',2,'GARAN2',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('APARAZ','I2',8,'TERZA RIGA',2,'GARAN3',0,0,0,0,0,0,0,0,0,0,'',4,0,48,48,0,0,'X(48)','',0,'',0,0,'' )
,('APARAZ','I2',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','I3',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','I3',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','I3',3,'TIPO RECORD = "I3"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','I3',4,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','I3',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','I3',6,'PAESE DI SPEDIZIONE',2,'PAESPE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','I3',7,'LUOGO DI SPEDIZIONE',2,'LUOSPE',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','I3',8,'CODICE CLIENTE CONSORZIO',2,'CODCON',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','I3',9,'DURATA DEL TRASPORTO',2,'DURATA',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARAZ','I3',10,'SECONDO CODICE CLIENTE CONSORZIO',2,'CODCO2',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','I3',11,'TERZO CODICE CLIENTE CONSORZIO',2,'CODCO3',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','I3',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,37,37,0,0,'X(37)','',0,'',0,0,'' )
,('APARAZ','IB',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','IB',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','IB',3,'TIPO RECORD = "IB"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','IB',4,'MODULO DI STAMPA',3,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','IB',5,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','IB',6,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','IB',7,'RAGIONE SOCIALE AZIENDA',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APARAZ','IB',8,'INDIRIZZO',2,'INDIRI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APARAZ','IB',9,'CAP',2,'CODCAP',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('APARAZ','IB',10,'LOCALITA',2,'LOCALI',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APARAZ','IB',11,'PROVINCIA',2,'PROVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','IB',12,'PARTITA IVA',2,'PARIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,11,11,0,0,'X(11)','',0,'',0,0,'' )
,('APARAZ','IB',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('APARAZ','IC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','IC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','IC',3,'TIPO RECORD = "IC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','IC',4,'MODULO DI STAMPA',3,'MODULO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','IC',5,'CODICE MAGAZZINO',3,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','IC',6,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','IC',7,'RAGIONE SOCIALE BREVE',2,'RAGSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APARAZ','IC',8,'NUMERO TELEFONO',2,'NUMTEL',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APARAZ','IC',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,105,105,0,0,'X(105)','',0,'',0,0,'' )
,('APARAZ','IM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','IM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','IM',3,'TIPO RECORD = "IM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','IM',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APARAZ','IM',5,'DATA INIZIO LETTURA MOVIMENTI MAGAZZINO',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','IM',6,'ATTRIBUTO ARTICOLI CATEGORIA',2,'ATTCAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','IM',7,'ATTRIBUTO ARTICOLI LINEA',2,'ATTLIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','IM',8,'CAUSALI USATE PER OMAGGI',2,'CAUMSM',0,0,0,0,0,0,0,0,0,0,'',4,0,4,4,0,0,'X(4)','',5,'',0,0,'' )
,('APARAZ','IM',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,113,113,0,0,'X(113)','',0,'',0,0,'' )
,('APARAZ','J1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','J1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','J1',3,'TIPO RECORD = "J1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','J1',4,'FINO ALLA DATA',3,'FINOAL',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','J1',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','J1',6,'VALORE PUNTO',2,'VALPUN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('APARAZ','J1',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,140,140,0,0,'X(140)','',0,'',0,0,'' )
,('APARAZ','JE',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','JE',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','JE',3,'TIPO RECORD = "JE"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','JE',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','JE',5,'LISTINI PER CALCOLO PUNTI',2,'TABLIS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',5,'',0,0,'' )
,('APARAZ','JE',6,'NR. ATT. CLI. PER SCONTO A PEZZO SI',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','JE',7,'CODICE ATTRIBUTO CLI. PER SCONTO PEZZO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','JE',8,'CAPACITA'' RECIPIENTE ART. INIZIALE',2,'CAPINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('APARAZ','JE',9,'CAPACITA'' RECIPIENTE ART. FINALE',2,'CAPFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('APARAZ','JE',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',0,'',0,0,'' )
,('APARAZ','LI',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','LI',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','LI',3,'TIPO RECORD = "LI"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','LI',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','LI',5,'DATA INIZIO PERIODO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','LI',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','LI',7,'ANNO INIZIO PERIODO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','LI',8,'MESE INIZIO PERIODO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','LI',9,'GIORNO INIZIO PERIODO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','LI',10,'DATA FINE PERIODO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','LI',11,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','LI',12,'ANNO FINE PERIODO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','LI',13,'MESE FINE PERIODO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','LI',14,'GIORNO FINE PERIODO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','LI',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,129,129,0,0,'X(129)','',0,'',0,0,'' )
,('APARAZ','LS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','LS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','LS',3,'TIPO RECORD = "LS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','LS',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','LS',5,'VALORE AZIONE',2,'VALAZI',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,2,'9(7)','9(5)V99',0,'',0,0,'' )
,('APARAZ','LS',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,138,138,0,0,'X(138)','',0,'',0,0,'' )
,('APARAZ','LV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','LV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','LV',3,'TIPO RECORD = "LV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','LV',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','LV',5,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEPER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('APARAZ','LV',6,'PERCENTUALE INTERESSI',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APARAZ','LV',7,'DATA INIZIO CALCOLO',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('APARAZ','LV',8,'DATA FINE CALCOLO',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('APARAZ','LV',9,'PERCENTUALE RITENUTA DI ACCONTO',2,'PERRIT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APARAZ','LV',10,'PERCENTUALE SPESE GENERALI',2,'PERSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APARAZ','LV',11,'IMPORTO SPESE PER OPERAZIONE',2,'SPEOPE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,2,'9(5)','999V99',0,'',0,0,'' )
,('APARAZ','LV',12,'DEPOSITO MASSIMO CONSENTITO SU LIBRETTI',2,'MAXDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,2,'9(9)','9(7)V99',0,'',0,0,'' )
,('APARAZ','LV',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,39,39,0,0,'X(39)','',0,'',0,0,'' )
,('APARAZ','M1',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','M1',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','M1',3,'TIPO RECORD = "M1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','M1',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','M1',5,'CODICE COMMENTO FISSO MANCANZA C.FIS.',2,'COMCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,10,10,0,0,'X(10)','',0,'',0,0,'' )
,('APARAZ','M1',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,135,135,0,0,'X(135)','',0,'',0,0,'' )
,('APARAZ','MP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','MP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','MP',3,'TIPO RECORD = "MP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','MP',4,'TESTATA/PIEDE (T/P)',3,'FLAGTP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','MP',5,'NUMERO RIGA',3,'NUMRIG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','MP',6,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('APARAZ','MP',7,'TESTO',2,'RIGTES',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('APARAZ','MP',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('APARAZ','MQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','MQ',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','MQ',3,'TIPO RECORD = "MQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','MQ',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','MQ',5,'CARTELLA (obsoleto usato da BALLOTTI)',2,'DIRLAV',0,0,0,0,0,0,0,0,0,0,'',4,0,50,50,0,0,'X(50)','',0,'',0,0,'' )
,('APARAZ','MQ',6,'MAGAZZINO DI CARICO WISE (PER CONTROLLO)',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','MQ',7,'BAIE GESTITE WISE',2,'NRBAIE',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APARAZ','MQ',8,'MAGAZZINBO TERROSSA PER CONTROLLO',2,'MAGTER',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','MQ',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,90,90,0,0,'X(90)','',0,'',0,0,'' )
,('APARAZ','MV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','MV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','MV',3,'TIPO RECORD = "MV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','MV',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','MV',5,'CODICE IVA PER CAUZIONI',2,'IVACAU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','MV',6,'CODICE IVA BOLLO CAUZIONI',2,'IVABCZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','MV',7,'TABELLA BOLLO CAUZIONI VUOTI',2,'TABBCZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','MV',8,'ELEMENTO BOLLO CAUZIONI VUOTI',3,'ELEBCZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',3,'',0,0,'' )
,('APARAZ','MV',9,'SCAGLIONE BOLLO',4,'SCABCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('APARAZ','MV',10,'IMPORTO BOLLO',4,'IMPBCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,5,10,2,0,'9(7)V99 COMP-3','',0,'',0,0,'' )
,('APARAZ','MV',11,'NUMERO ATTRIBUTO CANALE CLIENTE',2,'NRATTC',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','MV',12,'TIPO CREAZIONE FATTURE DA BOLLE',2,'FLGCRF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','MV',16,'ANNATA INIZIALE',2,'ANNINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('APARAZ','MV',17,'ANNATA FINALE',2,'ANNFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9999','',0,'',0,0,'' )
,('APARAZ','MV',18,'CAUSALE ORDINI DI DEFAULT',2,'CAUORD',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','MV',19,'CAUSALE BOLLE DI DEFAULT',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','MV',20,'TIPO CREAZIONE FATTURE SPACCIO',2,'FLGCFS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','MV',22,'CAUSALE DI DEFAULT ORDINI FORNITORI',2,'CAUORF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','MV',23,'CAUSALE DI DEFAULT ACQUISTI',2,'CAUACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','MV',24,'PESO UNITARIO PALETTA',2,'PESPAL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,6,2,0,'999V99 COMP-3','',0,'',0,0,'' )
,('APARAZ','MV',25,'MESI PER CONSIDERARE NUOVO IL CLIENTE',2,'MMNCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APARAZ','MV',26,'MESI PER CONSIDERARE NUOVO IL NOMINATIVO',2,'MMNNOM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','MV',27,'CODICE ARTICOLO SPESE TRASPORTO',2,'ARTSPT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APARAZ','MV',28,'CAUSALE DEFAULT CREAZIONE XAB DA DAA',2,'XABDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','MV',29,'CAUSALE DEFAULT CREAZIONE DOCO DA DAA',2,'DOCDAA',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','MV',30,'CAUS. FATTURA PROFORMA X CREAZ. DA BOLLA',2,'FATPRF',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','MV',31,'PERIODO ESTRAZIONE INTRA-STAT M/T',2,'PESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','MV',32,'NR. ATT. CLIENTI PER GRAFICA MODULI VEND',2,'NUMGRA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','MV',33,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','MV',34,'NUMERO ATT. CLIENTI PER PROVVIGIONI',2,'ATTPRV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','MV',35,'CODICE IVA NON IMPONIBILE ART 8',2,'IVAAR8',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','MV',36,'NUMERO GIORNI DIFF. AMMESSI TRA DATE',2,'GGDTBL',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','MV',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'X(3)','',0,'',0,0,'' )
,('APARAZ','NA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','NA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','NA',3,'TIPO RECORD = "NA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','NA',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','NA',5,'NR. ATTRIBUTO CLI. USATO PER CATEGEGORIA',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','NA',6,'CODICE ATTRIBUTO PER CLI. NO SCONTO',2,'CODANS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','NA',7,'CODICE ATTRIBUTO PER CLI. SCONTO %',2,'CODASP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','NA',8,'CODICE ATTRIBUTO PER CLI. SCONTO MERCE',2,'CODASM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','NA',9,'COD.ATTRIBUTO PER CLI. SCONTO PERSONALE',2,'CODAPE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','NA',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,131,131,0,0,'X(131)','',0,'',0,0,'' )
,('APARAZ','NP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','NP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','NP',3,'TIPO RECORD = "NP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','NP',4,'UTENTE (ZERI = DEFAULT)',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('APARAZ','NP',5,'GRUPPO NOMINATIVI CHE NON PAGANO',2,'GGGNNP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','NP',6,'CONTO NOMINATIVI CHE NON PAGANO',2,'CCCNNP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','NP',7,'GRUPPO/CONTO/SOTTOCONTO CASSA',2,'GCSCAS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','NP',8,'GRUPPO CASSA',3,'GGGCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','NP',9,'CONTO CASSA',3,'CCCCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','NP',10,'SOTTOCONTO CASSA',3,'SSSCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','NP',11,'CAUSALE CONTABILE NOM. CHE NON PAGANO',2,'CAUNPG',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','NP',12,'NOMINATIVI CHE NON PAGANO S/N',2,'GESNOM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','NP',13,'SOCI CHE NON PAGANO S/N',2,'GESSOC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','NP',14,'CAUSALE CONTABILE ADDEBITO SOCI',2,'CAUADD',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','NP',15,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','NP',16,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,109,109,0,0,'X(109)','',0,'',0,0,'' )
,('APARAZ','NR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','NR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','NR',3,'TIPO RECORD = "NR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','NR',4,'NUMERO NEGOZIO REMOTO DA AGGIORNARE',3,'NUMERO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','NR',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,0,'9(9)','',0,'',0,0,'' )
,('APARAZ','NR',8,'DESCRIZIONE (SPAZI PER RECORD 000)',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APARAZ','NR',9,'PERCORSO CARTELLA DEDICATA (I/O)',2,'PERCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APARAZ','NR',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,85,85,0,0,'X(85)','',0,'',0,0,'' )
,('APARAZ','OC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','OC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','OC',3,'TIPO RECORD = "OC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','OC',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','OC',5,'CODICE AGENTE',2,'CODAGE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','OC',6,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','OC',7,'NUMERO CONTRATTO',2,'NUMCON',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','OC',8,'FILLER',2,'FILELR',0,0,0,0,0,0,0,0,0,0,'',4,0,126,126,0,0,'X(126)','',0,'',0,0,'' )
,('APARAZ','OV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','OV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','OV',3,'TIPO RECORD = "OV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','OV',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','OV',5,'LIMITE COLLI PER DETT.ETICHETTE SCHEDA V',2,'LIMCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('APARAZ','OV',6,'CAU BOLLA DA PROPORRE IN CREA BOLL.DA SV',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','OV',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,132,132,0,0,'X(132)','',0,'',0,0,'' )
,('APARAZ','PA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PA',3,'TIPO RECORD = "PA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PA',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','PA',5,'ELEMENTO PER CALCOLO INTERESSI',2,'ELEPER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',6,'',0,0,'' )
,('APARAZ','PA',6,'PERCENTUALE INTERESSI',3,'PERINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APARAZ','PA',7,'DATA INIZIO CALCOLO',3,'DATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('APARAZ','PA',8,'DATA FINE CALCOLO',3,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,5,8,0,0,'9(8) COMP-3','',0,'',0,0,'' )
,('APARAZ','PA',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('APARAZ','PC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',3,'TIPO RECORD = "PC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PC',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','PC',5,'NUMERO PROT. FORNITORI AUTOMATICO S/N',2,'PROAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','PC',6,'CODICE NAZIONE PRESCELTO PER ITALIA',2,'NAZITA',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','PC',7,'IVA VENDITE',2,'IVAVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','PC',8,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',9,'GRUPPO IVA VENDITE',3,'GRUVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',10,'CONTO IVA VENDITE',3,'CONVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',11,'SOTTOCONTO IVA VENDITE',3,'SOTVEN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','PC',12,'IVA ACQUISTI',2,'IVAACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','PC',13,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',14,'GRUPPO IVA ACQUISTI',3,'GRUACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',15,'CONTO IVA ACQUISTI',3,'CONACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',16,'SOTTOCONTO IVA ACQUISTI',3,'SOTACQ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','PC',17,'IVA CORRISPETTIVI',2,'IVACOR',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','PC',18,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',19,'GRUPPO IVA CORRISPETTIVI',3,'GRUCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',20,'CONTO IVA CORRISPETTIVI',3,'CONCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',21,'SOTTOCONTO IVA CORRISPETTIVI',3,'SOTCOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','PC',22,'IVA INDEDUCIBILE',2,'IVAIND',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','PC',23,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',24,'GRUPPO IVA INDEDUCIBILE',3,'GRUIND',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',25,'CONTO IVA INDEDUCIBILE',3,'CONIND',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',26,'SOTTOCONTO IVA INDEDUCIBILE',3,'SOTIND',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','PC',27,'IVA VENDITE SU ACQ. INTRA',2,'IVAINT',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','PC',28,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',29,'GRUPPO IVA VENDITE SU ACQ. INTRA',3,'GRUINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',30,'CONTO IVA VENDITE SU ACQ. INTRA',3,'CONINT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APARAZ','PC',31,'SOTTOCONTO IVA VENDITE SU ACQ. INTRA',3,'SOTINT',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','PC',32,'% INTERESSI PASSIVI LIQUIDAZIONE TRIM.',2,'PERTRI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APARAZ','PC',33,'CODICE VENDEMMIA CORRENTE',2,'VENCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','PC',34,'LIBRETTI DI DEPOSITO',2,'LIBDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APARAZ','PC',35,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',36,'GRUPPO LIBRETTI DI DEPOSITO',3,'GRULIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',37,'CONTO LIBRETTI DI DEPOSITO',3,'CONLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',38,'CODICE RACCOLTA CORRENTE',2,'RACCOR',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','PC',39,'NUMERO ATTRIBUTO FORNITORI TRIBUTO 770',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PC',40,'DATA LIMITE INIZIALE REGISTRAZ. CONTAB',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','PC',41,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',42,'ANNO INIZIALE',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',43,'MESE INIZIALE',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PC',44,'GIORNO INIZIALE',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PC',45,'DATA LIMITE FINALE IMMISSIONE REG. CONT.',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','PC',46,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PC',47,'ANNO FINALE',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PC',48,'MESE FINALE',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PC',49,'GIORNO FINALE',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PC',50,'PRIMO SCAGLIONE RIMESSE DIRETTE IN SCAD',2,'GGSCA1',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','PC',51,'SECONDO SCAGLIONE RIMESSE DIRETTE SCAD.',2,'GGSCA2',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','PC',52,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,29,29,0,0,'X(29)','',0,'',0,0,'' )
,('APARAZ','PM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PM',3,'TIPO RECORD = "PM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PM',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','PM',5,'GIORNO CHIUSURA ESERCIZIO',2,'GIORCH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PM',6,'MESE CHIUSURA ESERCIZIO',2,'MESECH',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PM',7,'NUMEROD DECIMALI CALCOLO SFRIDI',2,'SFRIDI',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APARAZ','PM',8,'CAUSALE PRODUZIONE',2,'CAUPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','PM',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PM',10,'CONSIDERA IMPEGNATO CARICO IN CALCOLO',2,'DISORC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','PM',12,'CONSIDERA IMPEGNATO SCARICO IN CALCOLO',2,'DISORF',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','PM',14,'DATA PARTENZA GESTIONE MAGAZZINO',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','PM',15,'VIS. ART.OBSOLETI IN HELP ARTICOLO (S/N)',2,'HLPOBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','PM',16,'DATA INIZIO TRACCIABILITA'' SU BOLLE',2,'DTATRA',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','PM',17,'NUMERO ATTRIBUTO USATO PER MAGAZZINO',2,'ATTMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PM',18,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,109,109,0,0,'X(109)','',0,'',0,0,'' )
,('APARAZ','PO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PO',3,'TIPO RECORD = "PO"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PO',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','PO',5,'NR ATTRIBUTO X CREAZIONE COMMENTO FISSO',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PO',6,'COD ATTRIBUTO X CREAZIONE COMMENTO FISSO',2,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','PO',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,140,140,0,0,'X(140)','',0,'',0,0,'' )
,('APARAZ','PP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PP',3,'TIPO RECORD = "PP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PP',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','PP',5,'ABILITATO INSERIMENTO MANUALE PESO S/N',2,'FLGMAN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','PP',6,'SCAMBIO AUTOMATICO PESA TARA/LORDO/TARA',2,'FLGSCP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','PP',7,'SCAMBIO AUTOMATICO PESA DESTRA/SIN.',2,'FLGSDS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','PP',8,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,142,142,0,0,'X(142)','',0,'',0,0,'' )
,('APARAZ','PR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PR',3,'TIPO RECORD = "PR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PR',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','PR',5,'RICHIESTA CODICE RACCOLTA',2,'SKIPRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','PR',6,'RACCOLTA DI DEFAULT',2,'RACDEF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','PR',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,141,141,0,0,'X(141)','',0,'',0,0,'' )
,('APARAZ','PS',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PS',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PS',3,'TIPO RECORD = "PS"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PS',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','PS',5,'CONTO UVE',2,'GCCUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APARAZ','PS',6,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PS',7,'GRUPPO UVE',3,'GRUUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',8,'CONTO UVE',3,'CONUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',9,'CONTO LIBRETTI',2,'GCLIBR',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APARAZ','PS',10,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PS',11,'GRUPPO LIBRETTI DEPOSITO',3,'GRULIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',12,'CONTO LIBRETTI DEPOSITO',3,'CONLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',13,'CONTO CASSA',2,'GCSCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,14,14,0,0,'9(14)','',0,'',0,0,'' )
,('APARAZ','PS',14,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PS',15,'GRUPPO CASSA',3,'GRUCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',16,'CONTO CASSA',3,'CONCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',17,'SOTTOCONTO CASSA',3,'SOTCAS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','PS',18,'CAUSALE PRELIEVO DA CONTO UVE ASSEGNO',2,'PREUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',19,'CAUSALE DEPOSITO SU CONTO UVE',2,'DEPUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',20,'CAUSALE GIRO FRA TIPI DEPOSITO',2,'GIRDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',21,'CAUSALE PRELIEVO DA LIBRETTI',2,'PRELIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',22,'CAUSALE DEPOSITO SU LIBRETTI',2,'DEPLIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',23,'CAUSALE GIRO DA CONTO UVE A LIBRETTI',2,'UVELIB',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',24,'CAUSALE GIRO DA LIBRETTI A CONTO UVE',2,'LIBUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',25,'CAUSALE SALDO VENDEMMIA CON ASSEGNO',2,'VENASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',26,'CAUSALE GIRO SALDO A VENDEMMIA SUCCESSIV',2,'VENGIR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',27,'DEPOSITO MASSIMO CONSENTITO SU LIBRETTI',2,'MAXDEP',0,0,0,0,0,0,0,0,0,0,'',1,0,9,9,0,2,'9(9)','9(7)V99',0,'',0,0,'' )
,('APARAZ','PS',28,'CAUSALE STORNO MOVIMENTO DARE',2,'STODAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',29,'CAUSALE STORNO MOVIMENTO AVERE',2,'STOAVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',30,'CAUSALE PAGAMENTO ACCONTO CON ASSEGNO',2,'ACCASS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',31,'CAUSALE PAGAMENTO ACCONTO CON GIRO',2,'ACCGIR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',32,'CONTO CAPITALE SOCIALE',2,'GCCAPS',0,0,0,0,0,0,0,0,0,0,'',1,0,8,8,0,0,'9(8)','',0,'',0,0,'' )
,('APARAZ','PS',33,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PS',34,'GRUPPO CAPITALE SOCIALE',3,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',35,'CONTO CAPITALE SOCIALE',3,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',36,'PRELIEVO DA CONTO UVE CON BONIFICO',2,'UVEBON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',37,'PRELIEVO DA LIBRETTI CON BONIFICO',2,'LIBBON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PS',38,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,38,38,0,0,'X(38)','',0,'',0,0,'' )
,('APARAZ','PT',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PT',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
('APARAZ','PT',3,'TIPO RECORD = "PT"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PT',4,'CODICE TIPO VINCOLO',3,'CODVIN',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PT',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','PT',6,'DATA INIZIO VINCOLO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','PT',7,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PT',8,'ANNO INIZIO VINCOLO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PT',9,'MESE INIZIO VINCOLO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PT',10,'GIORNO INIZIO VINCOLO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PT',11,'DATA FINE VINCOLO',2,'DATFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','PT',12,'REDEFINES',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PT',13,'ANNO FINE VINCOLO',3,'AAAFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PT',14,'MESE FINE VINCOLO',3,'MMMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PT',15,'GIORNO FINE VINCOLO',3,'GGGFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PT',16,'ELEMENTO PERCENTUALE',2,'RIGPER',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',5,'',0,0,'' )
,('APARAZ','PT',17,'PERCENTUALE',3,'ELEPER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APARAZ','PT',18,'DATA INIZIALE ELEMENTO',3,'ELEINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','PT',19,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PT',20,'ANNO INIZIALE ELEMENTO',4,'AAEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PT',21,'MESE INIZIALE ELEMENTO',4,'MMEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PT',22,'GIORNO INIZIALE ELEMENTO',4,'GGEINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PT',23,'DATA FINALE ELEMENTO',3,'ELEFIN',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','PT',24,'REDEFINES',3,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PT',25,'ANNO FINALE ELEMENTO',4,'AAEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','PT',26,'MESE FINALE ELEMENTO',4,'MMEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PT',27,'GIORNO FINALE ELEMENTO',4,'GGEFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','PV',3,'TIPO RECORD = "PV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PV',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','PV',5,'RICHIESTA CODICE VENDEMMIA',2,'SKIPVE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','PV',6,'VENDEMMIA DI DEFAULT',2,'VENDEF',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','PV',7,'VENDEMMIA PER CONFERIMENTO AUTOMATICO',2,'VENAUT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','PV',8,'HOST IP STRUMENTO ICT (LETTORE BADGE)',2,'IPHICT',0,0,0,0,0,0,0,0,0,0,'',4,0,20,20,0,0,'X(20)','',0,'',0,0,'' )
,('APARAZ','PV',9,'PORTA IP STRUMENTO ICT (LETTORE BADGE)',2,'IPPICT',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('APARAZ','PV',10,'CODICE STRUMENTO PESA TARA',2,'PESTAR',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','PV',11,'STAMPANTE BOLLETTA TARA',2,'CODSTA',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','PV',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,109,109,0,0,'X(109)','',0,'',0,0,'' )
,('APARAZ','QM',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','QM',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','QM',3,'TIPO RECORD = "QM"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','QM',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','QM',5,'STRINGA COMANDO CONNESSIONE MYSQL',2,'MYSQLC',0,0,0,0,0,0,0,0,0,0,'',4,0,80,80,0,0,'X(80)','',0,'',0,0,'' )
,('APARAZ','QM',6,'NUMERO ATTRIBUTO ARTICOLI IDFAMIGLIA',2,'ATTMAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','QM',7,'DATA INIZIO AGGIORNAMENTO AQCUISTI 3S',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','QM',8,'MAGAZZINO DA MOVIMENTARE 1',2,'CODMG1',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','QM',9,'MAGAZZINO DA MOVIMENTARE 2',2,'CODMG2',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','QM',10,'MAGAZZINO DA MOVIMENTARE 3',2,'CODMG3',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','QM',11,'TABELLA FAMIGLIE ACQUISTI TABELLA CARICO',2,'TABFAM',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','QM',12,'CODICE FAMIGLIA ACQUISTI TABELLA CARICO',3,'FAMCAR',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',10,'',0,0,'' )
,('APARAZ','QM',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,19,19,0,0,'X(19)','',0,'',0,0,'' )
,('APARAZ','QQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','QQ',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','QQ',3,'TIPO RECORD = "QQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','QQ',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','QQ',5,'CODICE CLIENTE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',24,'',0,0,'' )
,('APARAZ','QQ',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','RG',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','RG',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','RG',3,'TIPO RECORD = "RG"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','RG',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','RG',5,'CODICE CLIENTE INIZIALE',2,'CLIINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','RG',6,'CODICE CLIENTE FINALE',2,'CLIFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','RG',7,'NOMINATIVO INIZIALE',2,'NOMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','RG',8,'NOMINATIVO FINALE',2,'NOMFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','RG',9,'NUMERO INTERNO PUNTO VENDITA INIZIALE',2,'BPVINI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','RG',10,'NUMERO INTERNO PUNTO VENDITA FINALE',2,'BPVFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','RG',11,'NUMERO INTERNO CLIENTI ESTERO INIZIALE',2,'ESTINI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','RG',12,'NUMERO INTERNO CLIENTI ESTERO FINALE',2,'ESTFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','RG',13,'NUMERO INTERNO BOLLA INIZIALE',2,'BOLINI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','RG',14,'NUMERO INTERNO BOLLA FINALE',2,'BOLFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','RG',15,'NUMERO INTERNO FATTURA INIZIALE',2,'FATINI',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','RG',16,'NUMERO INTERNO FATTURA FINALE',2,'FATFIN',0,0,0,0,0,0,0,0,0,0,'',1,0,10,10,0,0,'9(10)','',0,'',0,0,'' )
,('APARAZ','RG',17,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,49,49,0,0,'X(49)','',0,'',0,0,'' )
,('APARAZ','SC',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SC',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SC',3,'TIPO RECORD = "SC"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','SC',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','SC',5,'CODICE DI COLLEGAMENTO',2,'CODCOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',12,'',0,0,'' )
,('APARAZ','SC',6,'GRUPPO DI COLLEGAMENTO',3,'GRUCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SC',7,'CONTO DI COLLEGAMENTO',3,'CONCOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SC',8,'CODICE DI COLLEGAMENTO FORNITORI',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SC',9,'GRUPPO DI COLLEGAMENTO FORNITORI',3,'GRUFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SC',10,'CONTO DI COLLEGAMENTO FORNITORI',3,'CONFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SC',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,41,41,0,0,'X(41)','',0,'',0,0,'' )
,('APARAZ','SD',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SD',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SD',3,'TIPO RECORD = "SD"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','SD',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','SD',5,'PERCORSO CARTELLA BACKUP',2,'BACKUP',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APARAZ','SD',6,'PERCORSO CARTELLA SCAMBIO DATI CON SEDE',2,'PEROUT',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APARAZ','SD',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,65,65,0,0,'X(65)','',0,'',0,0,'' )
,('APARAZ','SP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SP',3,'TIPO RECORD = "SP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','SP',4,'UTENTE (ZERI = DEFAULT)',3,'UTENTE',0,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('APARAZ','SP',5,'LIMITE LITRI CONFEZIONATI OBBLIGO BOLLA',2,'LIMCFZ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('APARAZ','SP',6,'LIMITE LITRI SFUSI OBBLIGO BOLLA',2,'LIMSFU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,7,2,0,'9(4)V99','',0,'',0,0,'' )
,('APARAZ','SP',7,'CODICE CAUSALE CONTABILE ADDEBITO SOCI',2,'CAUCON',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',8,'GRUPPO/CONTO UVE ADDEBITO SOCI',2,'GCCUVE',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SP',10,'GRUPPO',3,'GGGUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APARAZ','SP',11,'CONTO',3,'CCCUVE',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',12,'ANNO PARTITA',2,'ANNPAR',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',14,'GRUPPO/CONTO/SOTTOCONTO CAUZIONI',2,'GCSCAU',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SP',15,'GRUPPO CAUZIONI',3,'GGGCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',16,'CONTO CAUZIONI',3,'CCCCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',17,'SOTTOCONTO CAUZIONI',3,'SSSCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','SP',18,'CODICE IVA CAUZIONI',2,'IVACAU',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','SP',19,'GRUPPO/CONTO/SOTTOCONTO BOLLO CAUZIONI',2,'GCSBCZ',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SP',20,'GRUPPO BOLLO CAUZIONI',3,'GGGBCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',21,'CONTO BOLLO CAUZIONI',3,'CCCBCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',22,'SOTTOCONTO BOLLO CAUZIONI',3,'SSSBCZ',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','SP',23,'CODICE IVA BOLLO CAUZIONI',2,'IVABCZ',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','SP',24,'GRUPPO/CONTO/SOTTOCONTO RICAVO DEFAULT',2,'GCSRIC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SP',26,'GRUPPO RICAVO DEFAULT',3,'GGGRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',27,'CONTO RICAVO DEFAULT',3,'CCCRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',28,'SOTTOCONTO RICAVO DEFAULT',3,'SSSRIC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','SP',29,'TIPO AGGIORNAMENTO REGISTRI DA BOLLE',2,'TARBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',33,'TIPO AGGIORNAMENTO REGISTRI DA SCONTRINI',2,'TARSCO',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',37,'CAUSALE BOLLETTA DI DEFAULT',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','SP',38,'NUMERO STAMPANTE DI DEFAULT',2,'NUMSTP',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','SP',39,'IMPUTAZIONE PREZZO BLOCCATA (S/N)',2,'FLGIPR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',40,'IMPUTAZIONE SCONTI MERCE BLOCCATA (S/N)',2,'FLGISM',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',41,'IMPUTAZIONE MOV.VALORE BLOCCATA (S/N)',2,'FLGIMV',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',42,'NUMERO STAMPANTE SCONTRINI (SE DIVERSA)',2,'NSTSCO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','SP',43,'TABELLA RECIPIENTI MULTIPLI',2,'TABREC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','SP',44,'CODICE RECIPIENTE',3,'CODREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',4,'',0,0,'' )
,('APARAZ','SP',45,'GRUPPO RICAVO DI DEFAULT',2,'GRURIC',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARAZ','SP',46,'NUMERO STAMPANTE FATTURE ACCOMPAGNATORIE',2,'NSTFAT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','SP',47,'CAUSALE DEFAULT PER CLIENTE CON FATTURA',2,'CAUCLI',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','SP',48,'COLLEGAMENTO REG. CASSA ATTIVO (S/N)',2,'SCOFIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',49,'IMPUTAZIONE CAUSALE BLOCCATA (S/N)',2,'FLGICB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',50,'AMMESSA IMPUTAZIONE BOLLE A SOCI (S/N)',2,'FLGIBS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',51,'AMMESSA IMPUTAZIONE BOLLE A CLIENTI (S/N',2,'FLGIBC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',52,'AMMESSA MANUTENZIONE ANAGR.CLIENTI (S/N)',2,'FLGMNC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',53,'UNICO MAGAZZINO AMMESSO (0=TUTTI)',2,'MAGUNO',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','SP',54,'MAGAZZINO PER HELP NOMINATIVI PV',2,'MAGNPV',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','SP',55,'IMPUTAZIONE CODICE AGENTE BLOCCATA (S/N)',2,'FLGIAG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',56,'SALTA VIDEATA TESTATA (S/N)',2,'SKIPTE',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',57,'POSIZIONE FINESTRA RTCLIS (Normal/High)',2,'RTCLIS',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',58,'CHIEDERE SEMPRE RECIPIENTE (S/N) (!)',2,'SEMREC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',59,'IN VIDEATA COMPONENTI CONF.MISTA',2,'CURCMP',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',61,'BLOCCO IMPUTAZIONE TIPO NOMINATIVO (S/N)',2,'FLGITN',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',62,'PROPONI ANNATA PIU''VECCHIA CON GIAC. S/N',2,'FLGPRA',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',63,'PROPONI LOTTO PIU'' VECCHIO CON GIAC. S/N',2,'FLGPRL',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',64,'LIMITE MASSIMO LITRI BOLLETTA',2,'LIMMAX',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARAZ','SP',65,'TIPO INCASSO (GESTITO CON PARAMETRO)',2,'TIPINC',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','SP',66,'GESTITA VENDITA CON PALMARE (S/N)',2,'PALMAR',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','TA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','TA',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','TA',3,'TIPO RECORD = "TA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','TA',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','TA',5,'CODICE AZIENDA DESTINAZIONE MERCE',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','TA',6,'CODICE CLIENTE AZIENDA DESTINAZIONE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','TA',7,'CAUSALE ACQUISTO AZIENDA DESTINAZIONE',2,'CAUACQ',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','TA',8,'CODICE FORNITORE AZIENDA DESTINAZIONE',2,'CODFOR',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','TA',9,'CODICE REFERENTE AZIENDA DESTINAZIONE',2,'CODPER',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('APARAZ','TA',10,'CODICE REPARTO AZIENDA DESTINAZIONE',2,'CODREP',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'9(3)','',0,'',0,0,'' )
,('APARAZ','TA',11,'CODICE MAGAZZINO AZIENDA DESTINAZIONE',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARAZ','TA',12,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,115,115,0,0,'X(115)','',0,'',0,0,'' )
,('APARAZ','TP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','TP',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','TP',3,'TIPO RECORD = "TP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','TP',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','TP',5,'MAX T1 ACCETTATA',2,'MAX-T1',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APARAZ','TP',6,'TABELLETOLLERANZA PESATE',2,'TABTOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','TP',7,'ELEMENTI TABELLA',3,'ELETOL',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',7,'',0,0,'' )
,('APARAZ','TP',8,'FINO A VOLUME IN ml',4,'VOLTTA',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,0,'9(5)','',0,'',0,0,'' )
,('APARAZ','TP',9,'ERRORE MAX TOLLERATO (% VOLUME)',4,'TTERRP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',0,'',0,0,'' )
,('APARAZ','TP',10,'ERRORE MAX TOLLERATO ml',4,'TTERRV',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,2,0,'999V99','',0,'',0,0,'' )
,('APARAZ','TP',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,43,43,0,0,'X(43)','',0,'',0,0,'' )
,('APARAZ','TR',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','TR',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','TR',3,'TIPO RECORD = "TR"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','TR',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','TR',5,'CODICE AZIENDA VINICOLA',2,'CODAZI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','TR',6,'CODICE CLIENTE AZIENDA TRIANGOLAZIONE',2,'CODCLI',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARAZ','TR',10,'CLIENTE TRIANGOLARE OBBLIGATORIO S/N',2,'CTROBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARAZ','TR',11,'CAUSALE BOLLA DA CREARE IN VINICOLA',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','TR',12,'TABELLA SCONTI DA AGGIUNGERE (SE > ZERO)',2,'SCONTI',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','TR',13,'SCONTO DA AGGIUNGERE SE > ZERO',3,'SCONTO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,5,2,0,'99V99','',4,'',0,0,'' )
,('APARAZ','TR',14,'CAUSALI CANTINA PER LE QUALI TRIANGOLARE',2,'CAUTRN',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',5,'',0,0,'' )
,('APARAZ','TR',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,72,72,0,0,'X(72)','',0,'',0,0,'' )
,('APARAZ','VQ',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','VQ',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','VQ',3,'TIPO RECORD = "VQ"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','VQ',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','VQ',5,'PERCORSO DIRECTORY ARCHIVI VASCHE VB',2,'PERDIR',0,0,0,0,0,0,0,0,0,0,'',4,0,40,40,0,0,'X(40)','',0,'',0,0,'' )
,('APARAZ','VQ',6,'CAUSALE PRODUZIONE AUTOMATICA',2,'CAUPRO',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APARAZ','VQ',7,'DATA INIZIO SCAMBIO DATI CONFEZIONAMENTI',2,'DTAINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','VQ',8,'DATA INIZIO SCAMBIO DATI ACQUISTI FRUTTA',2,'DTAAFR',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARAZ','VQ',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,81,81,0,0,'X(81)','',0,'',0,0,'' )
,('APARAZ','VU',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','VU',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','VU',3,'TIPO RECORD = "V1"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','VU',4,'NUMERO RECORD (1/2/3)',3,'NUMREC',0,0,0,0,0,0,0,0,0,0,'',1,0,1,1,0,0,'9','',0,'',0,0,'' )
,('APARAZ','VU',5,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,11,11,0,0,'9(11)','',0,'',0,0,'' )
,('APARAZ','VU',6,'CODICE ARTICOLO VUOTO',2,'CODVUO',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',8,'',0,0,'' )
,('APARAZ','VU',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,25,25,0,0,'X(25)','',0,'',0,0,'' )
,('APARAZ','VV',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARAZ','VV',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
go
INSERT INTO dbo.ZFILE3_01 VALUES
('APARAZ','VV',3,'TIPO RECORD = "VV"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARAZ','VV',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARAZ','VV',5,'VENDEMMIA PRELIEVO VINIFICAZIONE',2,'CODVEN',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
,('APARAZ','VV',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,142,142,0,0,'X(142)','',0,'',0,0,'' )
,('APARBA','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','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,'' )
,('APARBA','00',3,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARBA','00',4,'TIPO RECORD',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBA','00',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,187,187,0,0,'X(187)','',0,'',0,0,'' )
,('APARBA','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','01',3,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARBA','01',4,'TIPO RECORD = 01',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBA','01',5,'TASSO',2,'PERTAS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('APARBA','01',6,'IMPORTO FIDO MILIONI LIRE/MIGLIAIA EURO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARBA','01',7,'TIPO UTILIZZO',2,'TIPUTI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARBA','01',10,'TIPO MATURAZIONE',2,'TIPMAT',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARBA','01',13,'NUMERO GIORNI BANCA',2,'NUMGGG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARBA','01',14,'SPESE',2,'IMPSPE',0,0,0,0,0,0,0,0,0,0,'',1,0,5,5,0,2,'9(5)','999V99',0,'',0,0,'' )
,('APARBA','01',15,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,167,167,0,0,'X(167)','',0,'',0,0,'' )
,('APARBA','02',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','02',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','02',3,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARBA','02',4,'TIPO RECORD = 02',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBA','02',5,'TASSO',2,'PERTAS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('APARBA','02',6,'IMPORTO FIDO MILIONI LURE/MIGLIAIA EURO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARBA','02',7,'TIPO UTILIZZO',2,'TIPUTI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARBA','02',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('APARBA','03',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','03',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','03',3,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARBA','03',4,'TIPO RECORD = 03',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBA','03',5,'TASSO',2,'PERTAS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('APARBA','03',6,'IMPORTO FIDO MILIONI LIRE/MIGLIAIA EURO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARBA','03',7,'TIPO UTILIZZO',2,'TIPUTI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARBA','03',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('APARBA','04',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','04',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','04',3,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARBA','04',4,'TIPO RECORD = 04',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBA','04',5,'TASSO',2,'PERTAS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('APARBA','04',6,'IMPORTO FIDO MILIONI LIRE/MIGLIAIA EURO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARBA','04',7,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,176,176,0,0,'X(176)','',0,'',0,0,'' )
,('APARBA','05',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','05',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','05',3,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARBA','05',4,'TIPO RECORD = 05',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBA','05',5,'TASSO',2,'PERTAS',0,0,0,0,0,0,0,0,0,0,'',1,0,5,6,3,0,'99V999','',0,'',0,0,'' )
,('APARBA','05',6,'IMPORTO FIDO MILIONI LIRE/MIGLIAIA EURO',2,'IMPFID',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARBA','05',7,'TIPO UTILIZZO',2,'TIPUTI',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARBA','05',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,175,175,0,0,'X(175)','',0,'',0,0,'' )
,('APARBA','CO',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','CO',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','CO',3,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARBA','CO',4,'TIPO RECORD = CO',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBA','CO',5,'CONTO',2,'ELECON',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',10,'',0,0,'' )
,('APARBA','CO',6,'GRUPPO/CONTO/SOTTOCONTO',3,'GCSBAN',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','CO',7,'GRUPPO',4,'GRUBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARBA','CO',8,'CONTO',4,'CONBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARBA','CO',9,'SOTTOCONTO',4,'SOTBAN',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARBA','CO',10,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,47,47,0,0,'X(47)','',0,'',0,0,'' )
,('APARBA','KK',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','KK',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBA','KK',3,'CODICE BANCA',3,'CODICE',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARBA','KK',4,'TIPO RECORD = KK',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBA','KK',5,'CODICE CAUSALE',2,'CODCAU',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',10,'',0,0,'' )
,('APARBA','KK',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,147,147,0,0,'X(147)','',0,'',0,0,'' )
,('APARBV','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBV','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,'' )
,('APARBV','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,'' )
,('APARBV','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,'' )
,('APARBV','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,'' )
,('APARBV','CA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBV','CA',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBV','CA',3,'TIPO RECORD = "CA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBV','CA',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARBV','CA',5,'CAUSALE OPZIONE 1',2,'CAU001',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARBV','CA',6,'CAUSALE OPZIONE 2',2,'CAU002',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARBV','CA',7,'CAUSALE OPZIONE 3',2,'CAU003',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARBV','CA',8,'CAUSALE OPZIONE 4',2,'CAU004',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARBV','CA',9,'CAUSALE OPZIONE 5',2,'CAU005',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARBV','CA',10,'CAUSALE OPZIONE 9',2,'CAU009',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARBV','CA',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,121,121,0,0,'X(121)','',0,'',0,0,'' )
,('APARBV','PA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBV','PA',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARBV','PA',3,'TIPO RECORD = "PA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARBV','PA',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARBV','PA',5,'RAGRUPPAMENTO REGISTRAZIONI X CAU/BANCA',2,'FLGREG',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARBV','PA',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,144,144,0,0,'X(144)','',0,'',0,0,'' )
,('APARCS','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARCS','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARCS','01',3,'ZERO',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARCS','01',4,'NUMERO QUOTE PER ETTARO',2,'QUOETT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',5,'VALORE QUOTA',2,'VALQUO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',6,'IMPORTO SOVRAPREZZO QUOTE',2,'IMPSOV',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('APARCS','01',7,'SUPERFICIE SU CUI APPLICARE SOV. INTERO',2,'SUPINT',0,0,0,0,0,0,0,0,0,0,'',1,0,9,10,4,0,'9(5)V9(4)','',0,'',0,0,'' )
,('APARCS','01',8,'TASSA AMMISSIONE',2,'TASAMM',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('APARCS','01',9,'ANNO PARTENZA VERSAMENTI SE NUOVO SOCIO',2,'PARVER',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',10,'GRUPPO SOTTOSCRIZIONE',2,'GRUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',11,'CONTO SOTTOSCRIZIONE',2,'CONSOT',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
('APARCS','01',12,'GRUPPO CAPITALE',2,'GRUCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',13,'CONTO CAPITALE',2,'CONCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',14,'GCS RISERVA',2,'GCSRIS',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARCS','01',15,'GRUPPO RISERVA',3,'GRURIS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',16,'CONTO RISERVA',3,'CONRIS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',17,'SOTTOCONTO RISERVA',3,'SOTRIS',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARCS','01',18,'CAUSALE SOTTOSCRIZIONE CAPITALE',2,'CAUSOT',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',19,'CAUSALE SOVRAPREZZO QUOTE',2,'CAUSOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',20,'CAUSALE TASSA AMMISSIONE',2,'CAUTAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',21,'CAUSALE LIBRO SOCI NUOVO SOCIO',2,'CLSNUO',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',22,'ANNOTAZIONE NUOVO SOCIO',2,'NOTLSN',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('APARCS','01',23,'CAUSALE LIBRO SOCI AUMENTO SUP.',2,'CLSAUM',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',24,'ANNOTAZIONE AUMENTO SUPERFICIE',2,'NOTLSA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('APARCS','01',25,'CAUSALE CONTABILE PAG. CAP. SOCIALE',2,'PAGCAP',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',26,'CAUSALE CONTABILE PAG. SOV. QUOTE',2,'PAGSOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',27,'CAUSALE CONTABILE PAG. TASSA AMM.',2,'PAGTAS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',28,'CAUSALE L.SOCI PAG. CAP. SOCIALE',2,'CLSPAG',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',29,'NOTE PAGAMENTO',2,'NOTLPA',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('APARCS','01',31,'IMPORTO FONDO SOLIDARIETA'' PER ETTARO',2,'IMPSOL',0,0,0,0,0,0,0,0,0,0,'',1,0,8,9,2,0,'9(6)V99','',0,'',0,0,'' )
,('APARCS','01',32,'G/C/S RISERVA PER RECESSO',2,'GCSREC',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARCS','01',33,'GRUPPO RISERVA PER RECESSO',3,'GRUREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',34,'CONTO RISERVA PER RECESSO',3,'CONREC',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',35,'SOTTOCONTO RISERVA PER RECESSO',3,'SOTREC',0,0,0,0,0,0,0,0,0,0,'',1,0,6,6,0,0,'9(6)','',0,'',0,0,'' )
,('APARCS','01',36,'CAUSALE CONTABILE REC. CAP. SOCIALE',2,'CAURCS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',37,'CAUSALE CONTABILE REC. DA SOTTOSCTIVERE',2,'CAURSO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',38,'CAUSALE CONT. TRASF. CAP. SOCIALE',2,'CAUTCS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',39,'CAUSALE CONT. TRASF. DA SOTTOSCRIVERE',2,'CAUTSO',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',40,'CAU L. SOCI RECESSO CAP. SOCIALE',2,'CLSRCS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',41,'NOTA RECESSO CAP. SOCIALE',2,'NOTRCS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('APARCS','01',42,'CAU L. SOCI RECESSO DA VERSARE',2,'CLSRDV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',43,'NOTA RECESSO DA VERSARE',2,'NOTRDV',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('APARCS','01',44,'CAU L. SOCI TRASF DA CAP SOCIALE',2,'CLSDCS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',45,'NOTA TRASF DA CAP SOCIALE',2,'NOTDCS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('APARCS','01',46,'CAU L. SOCI TRASF DA DA SOTTOSCRIVERE',2,'CLSDDV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',47,'NOTA TRASF DA DA VERSARE',2,'NOTDDV',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('APARCS','01',48,'CAU L SOCI TRASF A CAPITALE SOCIALE',2,'CLSACS',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',49,'NOTA TRASF A CAPITALE SOCIALE',2,'NOTACS',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('APARCS','01',50,'CAU L. SOCI TRASF A DA VERSARE',2,'CLSADV',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARCS','01',51,'NOTA TRASF A DA VERSARE',2,'NOTADV',0,0,0,0,0,0,0,0,0,0,'',4,0,35,35,0,0,'X(35)','',0,'',0,0,'' )
,('APARCS','01',52,'CAUSALE CONTABILE FONDO SOLIDARIETA''',2,'CAUSOL',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',54,'GRUPPO SOVRAPREZZO QUOTE',2,'GRUSOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',55,'CONTO SOVRAPREZZO QUOTE',2,'CONSOV',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',56,'CAUSALE SOTTOSS. SOVRAPREZZO AZIONI',2,'CAUTSS',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCS','01',57,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,184,184,0,0,'X(184)','',0,'',0,0,'' )
,('APARCT','PA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARCT','PA',2,'CHIAVE',2,'KEY001',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARCT','PA',3,'TIPO RECORD = "PA"',3,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARCT','PA',4,'ZERI',3,'ZEROES',2,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARCT','PA',5,'DATA INIZIO',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARCT','PA',6,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'S',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARCT','PA',7,'ANNO INIZIO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARCT','PA',8,'MESE INIZIO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARCT','PA',9,'GIORNO INIZIO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARCT','PA',10,'CODICI IVA',2,'CODIVA',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',20,'',0,0,'' )
,('APARCT','PA',11,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,118,118,0,0,'X(118)','',0,'',0,0,'' )
,('APARDO','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARDO','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARDO','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARDO','01',4,'DATA INIZIO GESTIONE DOCUMENTALE',2,'DATINI',0,0,0,0,0,0,0,0,0,0,'',5,0,8,8,0,0,'D8','',0,'',0,0,'' )
,('APARDO','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,'' )
,('APARDO','01',6,'ANNO INIZIO',3,'AAAINI',0,0,0,0,0,0,0,0,0,0,'',1,0,4,4,0,0,'9(4)','',0,'',0,0,'' )
,('APARDO','01',7,'MESE INIZIO',3,'MMMINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARDO','01',8,'GIORNO INIZIO',3,'GGGINI',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARDO','01',9,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,339,339,0,0,'X(339)','',0,'',0,0,'' )
,('APAREA','PA',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAREA','PA',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAREA','PA',3,'TIPO RECORD = "PA"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAREA','PA',4,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APAREA','PA',5,'CODICE CAUSALE BOLLA ACQUISTO',2,'CAUBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APAREA','PA',6,'ARTICOLO BOLLA ACQUISTO FINO A CH. ES.',2,'ARTBOL',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APAREA','PA',7,'CODICE CAUSALE BOLLA RESO FORNITORE',2,'CAURES',0,0,0,0,0,0,0,0,0,0,'',4,0,8,8,0,0,'X(8)','',0,'',0,0,'' )
,('APAREA','PA',8,'ARTICOLO BOLLA RESO FORN. FINO A CH ES',2,'ARTRES',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APAREA','PA',9,'CODICE MAGAZZINO',2,'CODMAG',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APAREA','PA',10,'CODICE PAGAMENTO',2,'CODPAG',0,0,0,0,0,0,0,0,0,0,'',4,0,6,6,0,0,'X(6)','',0,'',0,0,'' )
,('APAREA','PA',11,'ARTICOLO BOLLA OLTRE CHIUSURA ESERCIZIO',2,'ARTOLT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APAREA','PA',12,'ARTICOLO RESO OLTRE CHIUSURA ESERCIZIO',2,'RESOLT',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APAREA','PA',13,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,61,61,0,0,'X(61)','',0,'',0,0,'' )
,('APAREB','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APAREB','01',2,'STABILIMENTO',2,'CODSTB',1,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APAREB','01',3,'NUMERO STAMPANTE ETICHETTE',2,'STPETI',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APAREB','01',4,'NUMERO ATTRIBUTO CONFERIMENTO',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARED','01',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARED','01',2,'CHIAVE PRINCIPALE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARED','01',3,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,12,12,0,0,'9(12)','',0,'',0,0,'' )
,('APARED','01',4,'NUMERO ATTRIBUTO ARTICOLO',2,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARED','01',5,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,200,200,0,0,'X(200)','',0,'',0,0,'' )
,('APARES','00',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARES','00',2,'TIPO RECORD',2,'TIPREC',1,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARES','00',3,'CODICE',2,'CODICE',2,0,0,0,0,0,0,0,0,0,'',4,0,12,12,0,0,'X(12)','',0,'',0,0,'' )
,('APARES','00',4,'FILLER',2,'FILLER',0,0,0,0,0,0,0,0,0,0,'',4,0,145,145,0,0,'X(145)','',0,'',0,0,'' )
,('APARES','AP',1,'RECORD',1,'',0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARES','AP',2,'CHIAVE',2,'KEY001',1,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,0,'','',0,'',0,0,'' )
,('APARES','AP',3,'TIPO RECORD = "AP"',3,'TIPREC',0,0,0,0,0,0,0,0,0,0,'',4,0,2,2,0,0,'XX','',0,'',0,0,'' )
,('APARES','AP',4,'NUMERO ATTRIBUTO',3,'NUMATT',0,0,0,0,0,0,0,0,0,0,'',1,0,2,2,0,0,'99','',0,'',0,0,'' )
,('APARES','AP',5,'CODICE ATTRIBUTO',3,'CODATT',0,0,0,0,0,0,0,0,0,0,'',1,0,3,3,0,0,'999','',0,'',0,0,'' )
,('APARES','AP',7,'ZERI',3,'ZEROES',0,0,0,0,0,0,0,0,0,0,'',1,0,7,7,0,0,'9(7)','',0,'',0,0,'' )
,('APARES','AP',8,'DESCRIZIONE',2,'DESCRI',0,0,0,0,0,0,0,0,0,0,'',4,0,30,30,0,0,'X(30)','',0,'',0,0,'' )
,('APARES','AP',9,'DESCRIZIONE SUCCINTA',2,'DESSUC',0,0,0,0,0,0,0,0,0,0,'',4,0,15,15,0,0,'X(15)','',0,'',0,0,'' )
,('APARES','AP',10,'ATTRIBUTO OBBLIGATORIO S/N',2,'ATTOBB',0,0,0,0,0,0,0,0,0,0,'',4,0,1,1,0,0,'X','',0,'',0,0,'' )
,('APARES','AP',12,'INTESTAZIONE ALLINEAMENTO DX',2,'DESINT',0,0,0,0,0,0,0,0,0,0,'',4,0,3,3,0,0,'XXX','',0,'',0,0,'' )
go
