Replace a price schedule and reconcile its periods
What It Does
Schedule replacement reconciles intervals while enforcing adjacency and protection. Purchasing selection and schedule disabling coordinate through the same row lock.
The Flow
When Something Fails
Reject stale versions and referenced schedules with dependency details. The previous schedule remains unchanged. Roll back changes prohibited by period protection, including restrictions on used or elapsed intervals. The schedule keeps its previous period set. Reject gaps, overlaps and internal open boundaries. The failed commit retains no partial schedule replacement.
Open Design Questions
The implemented recovery and concurrency behaviour above defines the current boundary. Any change to transaction scope or product authority requires a recorded decision.