CREATE TABLE llx_rete_conceptoxdoc (
  rowid int(11) NOT NULL,
  fk_rete_concepto int(11) NOT NULL,
  cuenta varchar(30) NOT NULL,
  proceso varchar(30) NOT NULL,
  debe tinyint(1) DEFAULT NULL,
  haber tinyint(1) DEFAULT NULL,
  code varchar(12) NOT NULL,
  documento varchar(50) NOT NULL,
  PRIMARY KEY (fk_rete_concepto, cuenta, proceso)
)
ENGINE = INNODB;