feat: refs #8000 refs #8000 catalog_calculate itemMaxLength #2992

Merged
robert merged 10 commits from 8000-catalog_calculate into master 2024-09-23 09:11:11 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit b34e8a7b7e - Show all commits

View File

@ -25,8 +25,9 @@ UPDATE shelving sh
AND (
sh.parked IS NULL
OR
sh.parked < TIMESTAMPADD(MONTH,-1,util.VN_CURDATE())
)
sh.parked < util.VN_CURDATE() - INTERVAL 2 WEEK
)
AND IF(code REGEXP '^[A-Za-z]{2}[0-9]', LEFT (code, 2) NOT IN (
SELECT DISTINCT LEFT(its.shelvingFk, 2)
FROM itemShelving its