hotwax / OrderRouting

Order Routing
Apache License 2.0
0 stars 1 forks source link

Message Update Needed in Brokering History When Order is Marked as Unfillable #44

Closed AmishaAgrawal011 closed 2 months ago

AmishaAgrawal011 commented 4 months ago

Current behavior

When an order is moved to unfillable parking, the brokering history message is showing as

"Unfillalbe items moved to UNFILLABLE_PARKING.Set the auto cancel date to 5 days from now."

example order id = 48982

Expected behavior

The message should contain the information about the brokering job and rule information.

Steps to reproduce the issue

  1. Create an order with one or more items.
  2. Ensure that the inventory for the products is not available in any facility.
  3. Broker the order.
  4. Observe that the order moves to the unfillable parking.
  5. Check the message in the brokering history of the order.

Can you handle fixing this bug by yourself?

Environment details

Additional information

dixitdeepak commented 2 months ago

This has been done at https://github.com/hotwax/OrderRouting/pull/47/files