feat: refs #8071 travel_weeklyClone #3058
|
@ -62,7 +62,7 @@ BEGIN
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
CALL entry_cloneHeader(vAuxEntryFk, vNewEntryFk, vNewTravelFk);
|
CALL entry_cloneHeader(vAuxEntryFk, vNewEntryFk, vNewTravelFk);
|
||||||
CALL entry_copyBuys(vAuxEntryFk, vNewEntryFk);
|
CALL entry_copyBuys(vAuxEntryFk, vNewEntryFk);
|
||||||
|
|
||||||
SELECT evaNotes INTO vEvaNotes
|
SELECT evaNotes INTO vEvaNotes
|
||||||
FROM entry
|
FROM entry
|
||||||
|
@ -71,6 +71,8 @@ BEGIN
|
||||||
UPDATE entry
|
UPDATE entry
|
||||||
SET evaNotes = vEvaNotes
|
SET evaNotes = vEvaNotes
|
||||||
WHERE id = vNewEntryFk;
|
WHERE id = vNewEntryFk;
|
||||||
|
|
||||||
|
CALL vn.buy_recalcPricesByEntry(vNewEntryFk);
|
||||||
END LOOP;
|
END LOOP;
|
||||||
|
|
||||||
SET @isModeInventory = FALSE;
|
SET @isModeInventory = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue