- Ordering System Requirements A Computer Store Wants To Acquire An Automated Tool For Orders The Order Is Made On Behalf 1 (115.21 KiB) Viewed 32 times
Ordering System Requirements A computer store wants to acquire an automated tool for orders. The order is made on behalf
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Ordering System Requirements A computer store wants to acquire an automated tool for orders. The order is made on behalf
Ordering System Requirements A computer store wants to acquire an automated tool for orders. The order is made on behalf of a registered customer. An order consists of a number of items in the stock. The system should keep track of the stock level of each item. The order is either pending or serviced. The first strategy is that an order is serviced only if the stock level meets the request. An invoice is made at the time of servicing the order. The second strategy is that an invoice is based on the current item prices (the time when the order is being serviced). Also consider further the following set of complementary requirements regarding placed and serviced orders: 1. An order may be placed by a single registered customer. 2. A given customer may place a number of orders. 3. An order may be deleted or edited before being serviced. 4. An order must include at least one item (No null order). 5. A given item may not be selected more than once on the same order. 6. A valid order must consist of at least one item. 7. The desired quantity of a placed item must not be null. 8. An order is serviced when the customer is ready to pay the integral part of the amount of a given order. 9. The order can only be serviced if the number of units of each item ordered is in stock. 10. The customer can pay by cash or check. 11. The credit card must be under the name of the customer. 1. Create a use case diagram for the Ordering System capturing all the functional requirements. 2. Draw a class diagram for the description above. Make sure to show attributes, multiplicities and aggregations/compositions, where appropriate. No need to show any methods.