Margin Master
Fixed duplicate rounding scheme headers causing regeneration failures
Shipped in Margin Master 2026.904.23918 · September 4, 2026
Resolved an issue where duplicate RoundingScheme header rows with identical names (differing only by trailing spaces or case) caused freshly regenerated pricing bands to be incorrectly deleted, leaving schemes empty. The system now consolidates duplicate headers before validation and regeneration.
What changed
Consolidated duplicate RoundingScheme headers before validation
If you had rounding schemes that appeared empty after updates, this fix ensures all pricing bands are preserved when duplicate scheme names are consolidated.
Added comprehensive test coverage for header consolidation
Forced regeneration after header consolidation
Ordered header queries by ID for consistency