While an order_id field exists within inventory_units, we should be able to retrieve these using an association

Fixes #3744
Add regression test for #3744