Implement async manual CSV ingest, unified UI pagination/filters, and serial placeholder strategy
This commit is contained in:
@@ -46,6 +46,16 @@ Persistence rule:
|
||||
- Keep the minimum value over time.
|
||||
- If incoming is earlier than stored value, overwrite with incoming value.
|
||||
|
||||
## Duplicate Component Serial Rules (CSV + JSON Ingest)
|
||||
|
||||
If serial numbers are not unique within the same `p/n` (`model`) inside one ingest payload:
|
||||
|
||||
- First occurrence keeps original `vendor_serial`.
|
||||
- Each next duplicate occurrence is assigned a service serial placeholder:
|
||||
- Format: `NO_SN-XXXXXXXX` (8-digit zero-padded global counter).
|
||||
- If `vendor_serial` is empty, a service serial placeholder is assigned as well.
|
||||
- Counter is global for the whole application and stored in `id_sequences` under `entity_type = 'no_sn_placeholder'`.
|
||||
|
||||
## Component Health Computation In UI
|
||||
|
||||
Component health is derived only from the latest status event among:
|
||||
|
||||
Reference in New Issue
Block a user