ddmrp_warning
Provides configurable warnings on DDMRP stock buffers to highlight configuration issues.
Key Features
- stock.buffer: Displays a Warnings tab with severity-colored entries and a Refresh Warnings button for each buffer.
- stock.buffer: Evaluates warning definitions on demand to create or remove warning items tied to each buffer.
- stock.buffer: Automatically clears related warning items when a buffer is archived to avoid stale alerts.
- stock.buffer: Offers a With Warnings search filter so planners can focus on buffers needing attention.
- scheduler: Runs a daily job that recomputes buffer warnings in batches with logging and error handling.
- ddmrp.warning.definition: Lets users configure Python expressions, applicability domains, and severity levels for buffer warnings.
- ddmrp.warning.definition: Removes associated warning items when a definition is archived to maintain data consistency.
- ddmrp.warning.item: Records warning occurrences per buffer, linking products, locations, and severities for review.
- ddmrp.warning.item: Orders warning items by severity to surface the most critical alerts first.
- configuration: Provides initial warning rules for common DDMRP configuration issues like spike horizon, quantity multiples, procure batches, and zero ADU.
- security: Grants buffer maintainers and managers the access needed for warning definitions and items while enforcing multi-company visibility limits.