#7116 agencyIncoming #2178

Merged
robert merged 11 commits from 7116-agencyIncoming into dev 2024-07-09 06:29:34 +00:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit bb86c27202 - Show all commits

View File

@ -27,7 +27,7 @@ BEGIN
JOIN vn.ticket t ON t.id = s.ticketFk
WHERE ic.merchandise
AND t.shipped BETWEEN vDateStart AND util.dayEnd(vDateEnd)
GROUP BY it.id, bs.dated;
GROUP BY i.id, bs.dated;
INSERT INTO salesByItemTypeDay (itemTypeFk, dated, trash, faults)
SELECT it.id itemTypeFk,

View File

@ -0,0 +1,11 @@
-- Place your SQL code here
CREATE TABLE IF NOT EXISTS `vn`.`agencyIncoming` (
robert marked this conversation as resolved
Review

Añadir comentario a la tabla

Añadir comentario a la tabla
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(50) DEFAULT NULL,
`description` varchar(50) DEFAULT NULL,
`isOrigin` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`id`)
)
ENGINE=InnoDB
DEFAULT CHARSET=utf8mb3
COLLATE=utf8mb3_unicode_ci;