feat: refs #6610 fixDeleteTickets #2154

Merged
robert merged 6 commits from 6610-hotFixDeleteTicketsWeekly into master 2024-03-11 11:15:05 +00:00
1 changed files with 0 additions and 5 deletions
Showing only changes of commit 05b60150a0 - Show all commits

View File

@ -25,11 +25,6 @@ proc: BEGIN
DELETE FROM Movimientos_mark WHERE odbc_date < vDate; DELETE FROM Movimientos_mark WHERE odbc_date < vDate;
DELETE FROM Splits WHERE Fecha < vDate18; DELETE FROM Splits WHERE Fecha < vDate18;
DELETE tobs
FROM movement_label tobs
JOIN Movimientos m ON tobs.Id_Movimiento = m.Id_Movimiento
JOIN Tickets t ON m.Id_Ticket = t.Id_Ticket WHERE t.Fecha < vDate;
DELETE FROM Remesas WHERE `Fecha Remesa` < vDate18; DELETE FROM Remesas WHERE `Fecha Remesa` < vDate18;
DELETE tt.* DELETE tt.*