hotwax / OrderRouting

Order Routing
Apache License 2.0
0 stars 1 forks source link

Broker Only If All Items Are Available #53

Closed dixitdeepak closed 1 month ago

dixitdeepak commented 1 month ago

The system should broker order items only if all ship group items can be brokered, either from a single location or across multiple locations. If any item in the ship group cannot be brokered at the same time (either in one or multiple locations), the entire ship group should not be brokered.

dixitdeepak commented 1 month ago

Design notes: To implement the feature where an order is brokered only if all items are available, here are the design notes:

This approach ensures that only complete ship groups are brokered and that partial fulfillment is avoided unless all items can be allocated.

dixitdeepak commented 1 month ago