Develop a context diagram and a level-0 diagram based on the following “Buy & Sell” company’s scenario. Make sure that your level-o diagram should be detailed enough. That is, it should have enough number of processes. If you discover while drawing the diagram that the scenario is incomplete, make up reasonable explanations to complete the story. Supply your explanations along with the diagram.
(Scenario)
Customer
Places orders of items
The company
Keeps records of its regular customers
Names and addresses
History of purchases (records of items, date, etc.)
Accounting dept
When an order is received, Accounting dept checks credit-worthiness of the customer from past records
Bad-credit
Order is rejected with rejection message
Good-credit
Item ordered are checked against a list of items that the company deals with
Item
Items not found on the list
Send regret message to the customer
Items found on the list
Ordered items are checked for availability in the inventory held
Items are not available in required quantity
Items along with the customer order details are stored separately pending orders
Items are available in required quantity
Items are sent to the customer along with a packing slip and an invoice
Inventory is updated with the sales amount
Generate sales statistics
Purchase dept
Issue item requests periodically
Check against the pending orders
Determine total quantity required for each item
Check the supplier details
Generate purchase orders for the items to suppliers
Management
Makes queries with regard to statistics of sales and purchases
Receive answer for the queries