19 lines
510 B
MySQL
19 lines
510 B
MySQL
|
|
||
|
DROP procedure IF EXISTS `hedera`.`myBasket_calcCatalogFromItem`;
|
||
|
DELIMITER $$
|
||
|
CREATE DEFINER=`root`@`%` PROCEDURE `hedera`.`myBasket_calcCatalogFromItem`(vItem INT)
|
||
|
BEGIN
|
||
|
/**
|
||
|
* Gets the availability and prices for the given item
|
||
|
* using current user basket parameters.
|
||
|
*
|
||
|
* @table tmp.item(itemFk)
|
||
|
* @return tmp.ticketCalculateItem
|
||
|
* @return tmp.ticketComponentPrice
|
||
|
* @return tmp.ticketComponent
|
||
|
* @return tmp.ticketLot
|
||
|
*/
|
||
|
CALL order_calcCatalogFromItem(myBasket_getId(), vItem);
|
||
|
END$$
|
||
|
DELIMITER ;
|