20 lines
540 B
SQL
20 lines
540 B
SQL
|
|
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
|
|
* @return tmp.zoneGetShipped
|
|
*/
|
|
CALL order_calcCatalogFromItem(myBasket_getId(), vItem);
|
|
END$$
|
|
DELIMITER ;
|