Inventory allocation with backorders
Orders arrive for products whose stock is limited. Allocate stock to orders as they come in; when a product runs out, record the unfilled part as a backorder and fill backorders in order when new stock arrives. Report each order's status.
No answer yet. Write the first one; the best answer gets endorsed.
