[] Documents: Add DeliveryAncmtList

This commit is contained in:
2024-08-10 15:44:40 +02:00
parent b091bd0ec3
commit 025ff08d84
12 changed files with 303 additions and 2 deletions

@ -1,5 +1,6 @@
-- deletes for DocumentTests
DELETE FROM delivery_schedule;
DELETE FROM payment_variant;
DELETE FROM delivery;
DELETE FROM season;

@ -9,6 +9,18 @@ INSERT INTO wine_attribute (attrid, name, active, max_kg_per_ha, strict, fill_lo
INSERT INTO season (year, currency, min_kg_per_bs, max_kg_per_bs, penalty_per_kg, penalty_amount, penalty_none, start_date, end_date) VALUES
(2020, 'EUR', 1000, 2000, NULL, NULL, NULL, NULL, NULL);
INSERT INTO delivery_schedule (year, dsnr, date, zwstid, description, max_weight, ancmt_from, ancmt_to) VALUES
(2020, 1, '2020-10-01', 'X', 'GV Kabinettaktion', 100000, NULL, NULL);
INSERT INTO delivery_schedule_wine_variety (year, dsnr, sortid, priority) VALUES
(2020, 1, 'GV', 1);
INSERT INTO delivery_announcement (year, dsnr, mgnr, sortid, weight, type) VALUES
(2020, 1, 101, 'GV', 5000, 'manual'),
(2020, 1, 102, 'GV', 10000, 'manual'),
(2020, 1, 103, 'GV', 8000, 'manual'),
(2020, 1, 104, 'GV', 2000, 'manual');
INSERT INTO modifier (year, modid, ordering, name, abs, rel, active) VALUES
(2020, 'S', 0, 'Geschädigte Trauben', NULL, -0.1, TRUE),
(2020, 'A', 0, 'Keine Voranmeldung', -1000, NULL, TRUE);