Product Order Drafted
A draft Product Order was created from selected BOM lines, one item per line.
Trigger
ProductOrder.draftFromBomLines, called by CreateProductOrderFromBomLinesUseCase (UI Create Order in bom_line_actions.js; POST /construction/projects/:projectId/product-orders).
Payload Shape
productOrderId, projectId, items[] (itemId, bomLineId, quantity), orderDate (YYYY-MM-DD in INVOICE_TIME_ZONE).
Consumers
In-process DomainEventAuditLogger ('*') only. Product Order events are internal domain events (ProductOrder.events.ts); there are no integration events and no outbox. The command’s use case dispatches the collected events once, after every write and after the per-project lock is released; a dispatch failure never fails or rolls back the command.