Fixed packaging excel header and added packaging properties

This commit is contained in:
Jan 2025-12-14 19:58:55 +01:00
parent 5bcf599e2f
commit 4f24fd88bf
3 changed files with 11 additions and 2 deletions

View file

@ -17,7 +17,7 @@ public enum PackagingHeader implements HeaderProvider {
HU_DIMENSION_UNIT("HU Dimension unit"), HU_DIMENSION_UNIT("HU Dimension unit"),
HU_WEIGHT("HU gross weight"), HU_WEIGHT("HU gross weight"),
HU_WEIGHT_UNIT("HU gross weight unit"), HU_WEIGHT_UNIT("HU gross weight unit"),
HU_UNIT_COUNT("Units/HU [pieces]"); HU_UNIT_COUNT("SHU Units/HU [SHU pieces]");
private final String header; private final String header;

View file

@ -16,4 +16,5 @@ ALTER TABLE premise_destination
ADD COLUMN distance_d2d DECIMAL(15, 2) DEFAULT NULL COMMENT 'travel distance between the two nodes in meters'; ADD COLUMN distance_d2d DECIMAL(15, 2) DEFAULT NULL COMMENT 'travel distance between the two nodes in meters';
ALTER TABLE premise_route_section ALTER TABLE premise_route_section
ADD COLUMN distance DECIMAL(15, 2) DEFAULT NULL COMMENT 'travel distance between the two nodes in meters'; ADD COLUMN distance DECIMAL(15, 2) DEFAULT NULL COMMENT 'travel distance between the two nodes in meters';

View file

@ -0,0 +1,8 @@
INSERT INTO packaging_property_type (name, external_mapping_id, data_type, validation_rule, is_required, description, property_group, sequence_number)
VALUES
('Stackable', 'STACKABLE', 'BOOLEAN', NULL, FALSE, 'desc', 'general', 1),
('Rust Prevention', 'RUST_PREVENTION', 'BOOLEAN', NULL, FALSE, 'desc', 'general', 2),
('Mixable', 'MIXABLE', 'BOOLEAN', NULL, FALSE, 'desc', 'general', 3)
ON DUPLICATE KEY UPDATE
name = VALUES(name),
data_type = VALUES(data_type);