documento_linhas_d10	CREATE TABLE `documento_linhas_d10` (
  `IDX` int(11) NOT NULL auto_increment,
  `lnh_f` int(5) default NULL,
  `cor` int(5) default NULL,
  `num_doc` int(11) default NULL,
  `codigo` char(16) default NULL,
  `designacao` char(42) default NULL,
  `unidade` char(8) default NULL,
  `com_iva` char(2) default NULL,
  `quantidade` double default NULL,
  `preco_unit` double default NULL,
  `desc1` double default NULL,
  `desc_1` double default NULL,
  `desc2` double default NULL,
  `desc_2` double default NULL,
  `iva` double default NULL,
  `valor` double default NULL,
  `ult_custo` double default NULL,
  `custo_medio` double default NULL,
  `armazem` int(5) default NULL,
  `grupo` int(5) default NULL,
  `ext` int(5) default NULL,
  `flg` char(2) default NULL,
  `sem_stk` char(2) default NULL,
  `m_qtd` double default NULL,
  `m_altura` double default NULL,
  `m_largura` double default NULL,
  `m_extra` double default NULL,
  `preco_serv` double default NULL,
  `d_val` date default NULL,
  `n_enc` int(11) default NULL,
  `linha_enc` int(5) default NULL,
  `qtd_por_emb` double default NULL,
  `guia_n` int(11) default NULL,
  `tp_enc` char(2) default NULL,
  `serie` char(21) default NULL,
  `arm2` int(11) default NULL,
  `serdoc` char(7) default NULL,
  `tpdoc` int(5) default NULL,
  `miva` int(11) default NULL,
  `tpdoc2` int(11) default NULL,
  `idx2` int(11) default NULL,
  `qtd2` double default NULL,
  `rsv` char(33) default NULL,
  PRIMARY KEY  (`IDX`),
  UNIQUE KEY `documento_linhas_D10_1` (`serdoc`,`num_doc`,`lnh_f`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1	;
1	5	0	0		fatura			1	135.1	0	0	0	0	23	135.1	0	0	0	0	0			0	0	0	0	0	0000-00-00	0	0	0	0			0	A	0	0	0	0	0		;
8	5	0	1		FT n§ 25362 - Desengordurante			2	35	0	0	0	0	23	70	0	0	0	0	0			0	0	0	0	0	0000-00-00	0	0	0	0			0	A	0	0	0	0	0		;
9	10	0	1		¢leo Corte			1	65.1	0	0	0	0	23	65.1	0	0	0	0	0			0	0	0	0	0	0000-00-00	0	0	0	0			0	A	0	0	0	0	0		;
10	15	0	1		FT n§ 25472-Massa MÆos			1	30.6	0	0	0	0	23	30.6	0	0	0	0	0			0	0	0	0	0	0000-00-00	0	0	0	0			0	A	0	0	0	0	0		;
11	20	0	1		Brilho			1	40.3	0	0	0	0	23	40.3	0	0	0	0	0			0	0	0	0	0	0000-00-00	0	0	0	0			0	A	0	0	0	0	0		;
