feat: refs #7893 Created waste_addSalesLauncher #2972

Merged
guillermo merged 3 commits from 7893-waste_addSales into dev 2024-09-18 05:40:18 +00:00
2 changed files with 7 additions and 0 deletions
Showing only changes of commit fa5ace677c - Show all commits

View File

@ -4,6 +4,12 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `bs`.`waste_addSales`(
vDateTo DATE
)
BEGIN
/**
guillermo marked this conversation as resolved Outdated

cal posar una descripcio perque hem canviat el funcionatment del proc

cal posar una descripcio perque hem canviat el funcionatment del proc
* Recalcula las mermas de un periodo.
*
* @param vDateFrom Fecha desde
* @param vDateTo Fecha hasta
*/
IF vDateFrom IS NULL THEN
SET vDateFrom = util.VN_CURDATE() - INTERVAL WEEKDAY(util.VN_CURDATE()) DAY;
END IF;

View File

@ -0,0 +1 @@
GRANT EXECUTE ON PROCEDURE bs.waste_addSales TO buyerBoss;