Effective kitchen label captured at the product's latest finalization today.
Customer-facing product name captured at the product's latest finalization today.
Stable catalog identity this quantity is grouped by; never a label or a name.
Sum of finalized whole-unit quantities for this product inside the current day.
One product's contribution to the current configured local-day commercial sales.
productId is the stable identity the quantity is grouped by, never a display value: a catalog rename, relabel, or reprice changes the text an operator reads but never the identity behind the counter, so one product cannot split into unrelated counters mid-day (MVP-SALES-001-S08). Grouping is therefore deliberately independent of name and kitchenLabel, which are presentation facts.
name and kitchenLabel are the immutable values finalization captured for this product, read from its most recently finalized snapshot inside the day. A rename therefore relabels the whole day under the newest name the kitchen actually used, while the quantity still covers every earlier sale of the same product.
kitchenLabel is the effective kitchen-facing label — the product's kitchen label when it has one, otherwise its captured product name. Both snapshot facts are carried, exactly as
FinalizedOrderItemcarries them for the kitchen queue, so a caller never has to re-derive the fallback rule to render the breakdown.