Database Assignment Solution - Ceylon Textile Suppliers (CTS)
VerifiedAdded on  2022/09/14
|16
|1459
|13
Project
AI Summary
This document presents a comprehensive database assignment solution focusing on stock management for Ceylon Textile Suppliers (CTS). It includes two activity diagrams, an event table with customer login, order placement, and stock checking events, and user stories with acceptance criteria. The assignment further details a context diagram, level 0 and level 1 data flow diagrams, and a data dictionary. Process descriptions and multiple use cases, along with their descriptions, are provided. The solution is designed to meet the requirements of the HS2011 Systems Analysis and Design course, offering a practical example of database design and system analysis techniques. The document concludes with a detailed bibliography of the sources used.

Running head: DATABASE
Database
Name of Student-
Name of University-
Author’s Note-
Database
Name of Student-
Name of University-
Author’s Note-
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

1DATABASE
Table of Contents
1. Two activity Diagrams................................................................................................................1
1.1 Activity Diagram 1................................................................................................................1
1.2 Activity Diagram 2................................................................................................................2
2. Event table...................................................................................................................................3
3. User Stories and acceptance Criteria...........................................................................................4
4. Data flow Diagram......................................................................................................................5
4.1 Context Diagram....................................................................................................................5
4.2 Level 0 DFD Diagram...........................................................................................................6
4.3 Level 1 DFD Diagram...........................................................................................................6
5. Data Dictionary............................................................................................................................7
6. Process Descriptions....................................................................................................................7
7. Use Cases.....................................................................................................................................8
7. 1 Use Case 1............................................................................................................................8
7.2 Use Case 2.............................................................................................................................9
7.3 Use Case 3...........................................................................................................................10
8. Use Case Descriptions...............................................................................................................10
Bibliography..................................................................................................................................13
Table of Contents
1. Two activity Diagrams................................................................................................................1
1.1 Activity Diagram 1................................................................................................................1
1.2 Activity Diagram 2................................................................................................................2
2. Event table...................................................................................................................................3
3. User Stories and acceptance Criteria...........................................................................................4
4. Data flow Diagram......................................................................................................................5
4.1 Context Diagram....................................................................................................................5
4.2 Level 0 DFD Diagram...........................................................................................................6
4.3 Level 1 DFD Diagram...........................................................................................................6
5. Data Dictionary............................................................................................................................7
6. Process Descriptions....................................................................................................................7
7. Use Cases.....................................................................................................................................8
7. 1 Use Case 1............................................................................................................................8
7.2 Use Case 2.............................................................................................................................9
7.3 Use Case 3...........................................................................................................................10
8. Use Case Descriptions...............................................................................................................10
Bibliography..................................................................................................................................13

2DATABASE
Note: The subsystem that is taken for this report is Stock Management
1. Two activity Diagrams
1.1 Activity Diagram 1
Figure 1: Activity Diagram
(Source: Created by Author using Visio)
Note: The subsystem that is taken for this report is Stock Management
1. Two activity Diagrams
1.1 Activity Diagram 1
Figure 1: Activity Diagram
(Source: Created by Author using Visio)
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

3DATABASE
1.2 Activity Diagram 2
Figure 2: Activity Diagram
(Source: Created by Author using Visio)
1.2 Activity Diagram 2
Figure 2: Activity Diagram
(Source: Created by Author using Visio)
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

4DATABASE
2. Event table
Event Use Case Source Action Destination
Customer login Login from
Ceylon Textile
Supplier Use
case
Customer The customer needs to login
in the new system so that
they can view all the
products that are available in
CTS
System
Customer
places order
Place Order Use
case from
Ceylon Textile
Supplier
Customer The customer places the
order over the phone or over
mail so that they can get the
product delivered.
Sales Team
Checking the
stock in the
inventory
Checks
Inventory
Sales
Team
The sales team after
receiving the purchase orders
checks the inventory if the
stock is available or not.
Purchase
Team
Short of stock
results to place
Order
Places Order Sales
Team
If the stock of a particular
item is below the stock level,
the order of the item is given
to supplier so that it could be
restocked as soon as
possible.
Supplier
Gives Delivery
Note
Provides
Delivery Note
Supplier The supplier provides the
delivery note after supplying
Stock Team
2. Event table
Event Use Case Source Action Destination
Customer login Login from
Ceylon Textile
Supplier Use
case
Customer The customer needs to login
in the new system so that
they can view all the
products that are available in
CTS
System
Customer
places order
Place Order Use
case from
Ceylon Textile
Supplier
Customer The customer places the
order over the phone or over
mail so that they can get the
product delivered.
Sales Team
Checking the
stock in the
inventory
Checks
Inventory
Sales
Team
The sales team after
receiving the purchase orders
checks the inventory if the
stock is available or not.
Purchase
Team
Short of stock
results to place
Order
Places Order Sales
Team
If the stock of a particular
item is below the stock level,
the order of the item is given
to supplier so that it could be
restocked as soon as
possible.
Supplier
Gives Delivery
Note
Provides
Delivery Note
Supplier The supplier provides the
delivery note after supplying
Stock Team

5DATABASE
the product to the company.
Generates
Return Note
Provides Return
Note
Customer The customer provides
return notes with which the
stock manager updates the
stock master file
Stock Team
3. User Stories and acceptance Criteria
User Story 1:
1. The system is to store the details of all the items that are present in the inventory.
2. The system need to get the details of Good In staffs and the Goods Out staffs so that they
can update the sales and the stock in the system.
Acceptance Criteria 1:
1. The customer needs to place an order so that check can be done for present inventory and
items packing can be done so that delivery of product to the customer sis done without any
difficulty.
2. The sales team need to provide the delivery note and the dispatch note to the stock team so
that further processes are carried out.
User Story 2:
1. The stock manager is to call the supplier can do purchase order if the stock level is low for a
the product to the company.
Generates
Return Note
Provides Return
Note
Customer The customer provides
return notes with which the
stock manager updates the
stock master file
Stock Team
3. User Stories and acceptance Criteria
User Story 1:
1. The system is to store the details of all the items that are present in the inventory.
2. The system need to get the details of Good In staffs and the Goods Out staffs so that they
can update the sales and the stock in the system.
Acceptance Criteria 1:
1. The customer needs to place an order so that check can be done for present inventory and
items packing can be done so that delivery of product to the customer sis done without any
difficulty.
2. The sales team need to provide the delivery note and the dispatch note to the stock team so
that further processes are carried out.
User Story 2:
1. The stock manager is to call the supplier can do purchase order if the stock level is low for a
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

6DATABASE
particular item in the inventory.
2. The stock manager has to check the products available with the supplier before placing the
order.
Acceptance Criteria 2:
1. Before placing the order, the stock manager has to make a list of all the products that are npt
available in the inventory.
4. Data flow Diagram
particular item in the inventory.
2. The stock manager has to check the products available with the supplier before placing the
order.
Acceptance Criteria 2:
1. Before placing the order, the stock manager has to make a list of all the products that are npt
available in the inventory.
4. Data flow Diagram
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

7DATABASE
4.1 Context Diagram
Figure 3: Context Diagram
(Source: Created by Author using Visio)
4.1 Context Diagram
Figure 3: Context Diagram
(Source: Created by Author using Visio)

8DATABASE
4.2 Level 0 DFD Diagram
Figure 4: Level 0 Data Flow Diagram
(Source: Created by Author using Visio)
4.3 Level 1 DFD Diagram
Figure 5: Level 1 Data Flow Diagram
(Source: Created by Author using Visio)
4.2 Level 0 DFD Diagram
Figure 4: Level 0 Data Flow Diagram
(Source: Created by Author using Visio)
4.3 Level 1 DFD Diagram
Figure 5: Level 1 Data Flow Diagram
(Source: Created by Author using Visio)
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide

9DATABASE
5. Data Dictionary
Table Column Data type Size
Orders Customer Account
Number
INT 10
Sales order Number INT 50
Delivery address VARCHAR 100
Special Instructions VARCHAR 100
Packer VARCHAR 50
Date Dispatched DATE
Product Name VARCHAR 50
ProductID INT 10
Size INT 10
Colour VARCHAR 20
6. Process Descriptions
1.0 Checks Stock: The stock manager checks the inventory stock so that he can update
on the product to get the details of the product. If the inventory is out of stock, the products are
restocked by providing purchase orders from the suppliers.
3.0 Update Stock File: This process is held by the stock manager so that the stock
present in the inventory is known to the stock master and the sales department. The stock file is
updated with the number of purchase order. This indicates that particular order number is in
5. Data Dictionary
Table Column Data type Size
Orders Customer Account
Number
INT 10
Sales order Number INT 50
Delivery address VARCHAR 100
Special Instructions VARCHAR 100
Packer VARCHAR 50
Date Dispatched DATE
Product Name VARCHAR 50
ProductID INT 10
Size INT 10
Colour VARCHAR 20
6. Process Descriptions
1.0 Checks Stock: The stock manager checks the inventory stock so that he can update
on the product to get the details of the product. If the inventory is out of stock, the products are
restocked by providing purchase orders from the suppliers.
3.0 Update Stock File: This process is held by the stock manager so that the stock
present in the inventory is known to the stock master and the sales department. The stock file is
updated with the number of purchase order. This indicates that particular order number is in
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

10DATABASE
order. In this process, if supplier restocks a particular product, the delivery date for the product is
filled in.
7. Use Cases
7. 1 Use Case 1
Figure 6: Use Case Diagram of CTS
(Source: Created by Author using Visio)
order. In this process, if supplier restocks a particular product, the delivery date for the product is
filled in.
7. Use Cases
7. 1 Use Case 1
Figure 6: Use Case Diagram of CTS
(Source: Created by Author using Visio)

11DATABASE
7.2 Use Case 2
Figure 7: Use Case Diagram of Stock Control
(Source: Created by Author using Visio)
7.2 Use Case 2
Figure 7: Use Case Diagram of Stock Control
(Source: Created by Author using Visio)
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide
1 out of 16
Related Documents

Your All-in-One AI-Powered Toolkit for Academic Success.
 +13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
Copyright © 2020–2025 A2Z Services. All Rights Reserved. Developed and managed by ZUCOL.