-- phpMyAdmin SQL Dump
-- version 5.1.1deb3+bionic1
-- https://www.phpmyadmin.net/
--
-- Servidor: localhost:3306
-- Tiempo de generación: 29-05-2024 a las 15:14:35
-- Versión del servidor: 5.7.42-0ubuntu0.18.04.1
-- Versión de PHP: 7.4.33

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Base de datos: `wapidian_doli`
--

-- --------------------------------------------------------

--
-- Estructura de tabla para la tabla `llx_aimefacturadian_invoicetax`
--

CREATE TABLE `llx_aimefacturadian_invoicetax` (
  `rowid` int(11) NOT NULL,
  `tms` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `fk_user` int(11) NOT NULL,
  `fk_facture` int(11) NOT NULL,
  `fk_facturedet` int(11) NOT NULL,
  `fk_product` int(11) NOT NULL,
  `base` double(24,8) NOT NULL,
  `fk_tasa` int(11) NOT NULL,
  `porcentajevalor` double(24,8) NOT NULL,
  `valor` double(24,8) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Índices para tablas volcadas
--

--
-- Indices de la tabla `llx_aimefacturadian_invoicetax`
--
ALTER TABLE `llx_aimefacturadian_invoicetax`
  ADD PRIMARY KEY (`rowid`),
  ADD KEY `idx_facturedet_fk_facture` (`fk_facture`),
  ADD KEY `idx_facturedet_fk_product` (`fk_product`),
  ADD KEY `idx_aime_fk_facture` (`fk_facture`),
  ADD KEY `idx_aime_fk_product` (`fk_product`);

--
-- AUTO_INCREMENT de las tablas volcadas
--

--
-- AUTO_INCREMENT de la tabla `llx_aimefacturadian_invoicetax`
--
ALTER TABLE `llx_aimefacturadian_invoicetax`
  MODIFY `rowid` int(11) NOT NULL AUTO_INCREMENT;

--
-- Restricciones para tablas volcadas
--

--
-- Filtros para la tabla `llx_aimefacturadian_invoicetax`
--
ALTER TABLE `llx_aimefacturadian_invoicetax`
  ADD CONSTRAINT `fk_aime_fk_facture` FOREIGN KEY (`fk_facture`) REFERENCES `llx_facture` (`rowid`),
  ADD CONSTRAINT `fk_aime_fk_product` FOREIGN KEY (`fk_product`) REFERENCES `llx_product` (`rowid`);
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
