// Product Suppliers : Add wholesale price management for each supplier

This commit is contained in:
dSevere
2011-11-28 17:16:39 +00:00
parent 01c2498f69
commit e96deb1865
6 changed files with 107 additions and 42 deletions

View File

@@ -2241,6 +2241,8 @@ CREATE TABLE `PREFIX_product_supplier` (
`id_product_attribute` int(11) UNSIGNED NOT NULL DEFAULT '0',
`id_supplier` int(11) UNSIGNED NOT NULL,
`product_supplier_reference` varchar(32) DEFAULT NULL,
`product_supplier_price_te` decimal(20,6) NOT NULL DEFAULT '0.000000',
`id_currency` int(11) unsigned NOT NULL,
PRIMARY KEY (`id_product_supplier`),
UNIQUE KEY `id_product` (`id_product`,`id_product_attribute`,`id_supplier`)
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;