7199-devToTest_2316 #2287
|
@ -2,8 +2,8 @@ DELIMITER $$
|
||||||
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`agencyVolume`()
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`agencyVolume`()
|
||||||
BEGIN
|
BEGIN
|
||||||
/**
|
/**
|
||||||
* Calcula y presenta información sobre volúmenes de expediciones y empaques
|
* Calculates and presents information on shipment and packaging volumes
|
||||||
* para agencias que no son propias durante un período específico.
|
* for agencies that are not owned for a specific period.
|
||||||
*/
|
*/
|
||||||
DECLARE vStarted DATETIME DEFAULT util.VN_CURDATE();
|
DECLARE vStarted DATETIME DEFAULT util.VN_CURDATE();
|
||||||
DECLARE vEnded DATETIME DEFAULT util.dayEnd(util.VN_CURDATE());
|
DECLARE vEnded DATETIME DEFAULT util.dayEnd(util.VN_CURDATE());
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
REVOKE EXECUTE ON PROCEDURE `agencia_volume` FROM `agency`;
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`agencyVolume`()
|
||||||
GRANT EXECUTE ON PROCEDURE `agencyVolume` TO `agency`;
|
BEGIN
|
||||||
|
END;
|
||||||
|
|
||||||
REVOKE EXECUTE ON PROCEDURE `account_conciliacion_add` FROM `financial`;
|
REVOKE EXECUTE ON PROCEDURE `vn2008`.`agencia_volume` FROM `agency`;
|
||||||
GRANT EXECUTE ON PROCEDURE `addAccountConciliation` TO `financial`;
|
GRANT EXECUTE ON PROCEDURE `vn`.`agencyVolume` TO `agency`;
|
||||||
|
|
||||||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`addAccountReconciliation`()
|
||||||
|
BEGIN
|
||||||
|
END;
|
||||||
|
|
||||||
|
REVOKE EXECUTE ON PROCEDURE `vn2008`.`account_conciliacion_add` FROM `financial`;
|
||||||
|
GRANT EXECUTE ON PROCEDURE `vn`.`addAccountReconciliation` TO `financial`;
|
||||||
|
|
Loading…
Reference in New Issue