DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`multipleInventoryHistory`(
	vItemFk INT)
BEGIN
	DECLARE vDateInventory DATETIME;
	SELECT inventoried INTO vDateInventory FROM config;

END$$
DELIMITER ;

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`absoluteInventoryHistory`(
	vItemFk INT, vWarehouse INT, vDate DATETIME)
BEGIN
	DECLARE vCalculatedInventory INT;
	SET vCalculatedInventory = 0;

END$$
DELIMITER ;

GRANT EXECUTE ON PROCEDURE vn.absoluteInventoryHistory TO buyer;
GRANT EXECUTE ON PROCEDURE vn.multipleInventoryHistory TO buyer;
