Big Smokes has an existing inventory system that tracks all cigars they have in the warehouse Big Smokes manually calls their manufacturers to check the availability of a cigar. This availability check should be automated. Each manufacturers has an inventory system that uses an industry standard interface based on the Java Message Service (JMS)
System sends a request containing the product ID to the inventory system
Another reason would be if the stock quantity is not enough to fulfill an order.
What is important here is that you can check the availability using JMS in real time
But if you look at some of the leading e-commerce websites, they won't allow a customer to add an item and checkout if the item is "unavailable"
R Roy wrote:You can safely make a favorable assumptions
The clue is that Company has already made a sizable investment there to expand the capacity or inventory. That means possibility of inventory shortage is rare and company is already tracking the inventory system for this type of scenarios.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton