Relate invoices to orders via a persistent object reference
Relate invoices to orders via a persistent object reference: a task in bird-critic-1.5-full-300 (Harbor dataset). Replace the denormalized orderNumber string stored on each invoice with a direct OrderInterface association. Every layer — entity, factory, repository, and any service that looks up…
The task
Replace the denormalized `orderNumber` string stored on each invoice with a direct `OrderInterface` association. Every layer — entity, factory, repository, and any service that looks up invoices by order — must be updated to use the live relation instead of a copied scalar.
Part of kochsnow/bird-critic-1.5-full-300.