Beerana Chapter
Beerana Chapter
Beerana Chapter
CHAPTER 1
INTRODUCTION
1.1 Database
A database is not generally portable across different DBMS, but different DBMSs can
interoperate by using standards such as SQL and JDBC to allow a single application to work
with more than one DBMS. Computer scientists may classify database management system
according to the data base models that they support; the most popular database systems since
the 1980s have all supported the relational model- generally associated with the SQL
language. HB sometimes a DBMS is loosely referred to as a “database”.
Database system are designed to manage large bodies of information management of data
involves both defining structures for storage of information and providing mechanisms for
the manipulation of information. In addition, the database system must ensure the safety of
the information stored, despite system crashes or attempts at unauthorized access. If data are
to be shared among several users, the system must avoid possible anomalous results.
Dept. Of CSE, BGSIT Page 1
Supply chain management system 2021-22
1.3 Application
1. Banking: For Customer Information, Accounts and Loans and Banking Transactions.
2. Universities: For Student Registration and Grades.
3. Online Shopping: Everyone Wants to Shop from Home. Everyone New Products Are
Added and Sold Only with The Help Of DBMS. Purchase Information, Invoice Bills
and Payment, all of these Are Done with The Help Of DBMS.
4. Airlines: For Reservation and Schedule Information.
5. Credit Card Transactions: For Purchases on Credit Cards and Generation of
Monthly Statements.
6. Library Management System: Maintain All the Information Related to The Book
Issue Dates, Name of The Book, Author and Availability of The Book.
7. Telecommunication: For Keeping Records of Call Made, Generating Monthly Bills,
Maintaining Balances on Prepaid Calling Cards.
8. Sales: For Customer, Products and Purchase Information.
9. Finance: For Storing Information About Holdings, Sales, And Purchases of Financial
Instruments Such as Stocks and Bonds.
1.4 Introduction to MySQL
The most comprehensive set of advanced features, management tools and technical support to
achieve the highest levels of MySQL scalability, security, reliability, and uptime. Over 2000
ISVs, OEMs, and VARs rely on MySQL as their products' embedded database to make their
applications, hardware and appliances more competitive, bring them to market faster, and
lower their cost of goods sold. SQL is used to communicate with the database. According to
ANSI (American National Standard Institute), it is the standard language for relational
database management systems. SQL statements are used to perform tasks such as update data
on a database, or retrieve data from a database. It is also used by business professionals or
program developers for administering, updating, maintaining and manipulating the databases
are tables that used for business decision-maki
1.5 XAMPP
XAMPP is an abbreviation for cross-platform, Apache, MySQL, PHP and Perl, and itallows
you to build WordPress site offline, on a local web server on your computer. This simple and
lightweight solution works on Windows, Linux, and Mac - hence the "cross-platform" part.
Since WordPress isn't a stand-aloneapplication, XAMPP provides twoessential components
for its installation - Apache, which i the local server, and MySQLwhich you can use as a
database for your website. used to create
Customer: The customer starts the chain of events when they decide to purchase a product
that has been offered for sale by a company. The customer contacts the sales department of
the company, which enters the sales order for a specific quantity to be delivered on a specific
date. If the product has to be manufactured, the sales order will include a requirement that
needs to be fulfilled by the production facility.
Planning: The requirement triggered by the customer's sales order will be combined with
other orders. The planning department will create a production plan to produce the products
to fulfill the customer's orders. To manufacture the products the company will then have to
purchase the raw materials needed.
Purchasing: The purchasing department receives a list of raw materials and services required
by the production department to complete the customer's orders. The purchasing department
sends purchase orders to selected suppliers to deliver the necessary raw materials to the
manufacturing site on the required date.
Inventory: The raw materials are received from the suppliers, checked for quality and
accuracy and moved into the warehouse. The supplier will then send an invoice to the
company for the items they delivered. The raw materials are stored until they are required by
the production department.
Production: Based on a production plan, the raw materials are moved inventory to the
production area. The finished products ordered by the customer are manufactured using the
raw materials purchased from suppliers. After the items have been completed and tested, they
are stored back in the warehouse prior to delivery to the customer.
Transportation: When the finished product arrives in the warehouse, the shipping
department determines the most efficient method to ship the products so that they are
delivered on or before the date specified by the customer. When the goods are received by the
customer, the company will send an invoice for the delivered products.
CHAPTER 2
LITERATURE SURVEY
The research was focused on recent articles that present studies related to practices on Supply
Chain Management and Supply Chain Maturity, aiming understand which practices are
helping companies to achieve better performance and maturity, and which areas have been
developed in the process. Supply Chain Management Practices Supply chains integrate
several areas and so several actors with divergent interests. The main challenge is conciliating
all the expectations and provide the appropriated level of service and quality for the
customers. Koh et al (2007) states that SCM’s practices involve a set of activities undertaken
by organization to promote effective management of their supply chain. Tutuncu and
Kucukusta (2008) go beyond that and states that SCM lead to changes in the structure of the
organization by integrating internal functions and linking these with the external operation of
suppliers, customers and others stakeholders of the supply chain. The study presents that
there is an extensive range of practices to be explored. Since the practices about forecasting,
inventory, collaboration, development of warehouses, hub, site factories and besides that
there is not recent research treating all those dimensions of management. Talib et al (2011)
worked on a project to link the TQM – Total Quality Management practices to SCM practices
as showed by Table 1. A set of 12 practices applicable to different organization were identify
above 50 TQM practices and 90 SCM practices. Authors indicate that implementation of
these TQM and SCM practices in the organization will result in many desirable outcomes and
benefits such as customer satisfaction; JIT delivery and reduced cycle time.
CHAPTER 3
PROBLEM STATEMENT
Supply chain is the most crucial part in any business organizations. A hole in the supply
chain networks will affect the whole chain in the supply network. The causes of supply chain
activities to failed are due to the lack of understanding or knowledge on the nature of
demand.
Supply chains have become more multifarious than before thus the ruthlessness and
occurrence of supply chain disruptions seems to be increasing. These scenarios could be
worst to firms which does not achieve responsiveness in relation to its supply chain
strategies. For example, the manufacturers of PC such as Compaq used to fail because they
failed in responding quickly (Qrunfleh &Tarafdar, 2013).
Existing System
In the existing system the exams are done only manually but in proposed system we have to
computerize the exams using this application.
Proposed System
The aim of proposed system is to develop a system of improved facilities. The proposed
system can overcome all the limitations of the existing system. The system provides proper
security and reduces the manual work.
Security of data.
Ensure data accuracy.
Proper control of the higher officials.
Minimize manual data entry.
ADVANTAGES
1. Higher Efficiency: When a company’s supply chain operations which include the resource
procurement, logistics, and delivery are strategically planned and executed, businesses can
predict demand more accurately as well as cater to them. This enhances the efficiency of a
company to adjust to disruptions, ever-evolving markets and fluctuating industry trends.
Supply chain leaders who invest in making real-time data available and have supply chain
processes automated can avoid unnecessary delays in manufacturing and shipping. Since they
have backup plans in case of resource procurement or inventory issues, they can better
respond to challenges, which then helps improve customer experience.
3. Better Risk Assessment and Management: Agile management in the supply chain allows
companies to respond to disruptions efficiently. It is important to deploy predictive analysis
tools for risk assessment. Responsible supply chain management also results in proactive
action with respect to quality control. Businesses that do so are not just able to predict risks
but also have corrective solutions in place to dodge or cover the losses they might incur from
disruptions.
through effective communication and cooperation helps enhance productivity and cut down
costs.
7. Reduces Legal Liabilities: Effective supply chain management helps companies avoid
negative publicity and legal liabilities that result from violations of global CSR standards.
9. Uninterrupted Cash Flow: One of the main benefits of supply chain management is that it
contributes to data-driven decision-making and profitable partnerships. There are also tools
and technologies in place to conduct predictive analysis of potential risks to respond to
changes and disruptions better.
10. Benefits of Technologies: The role of digital technologies in enhancing the functionality
of supply chain management is unmissable. From efficiency, performance and risk
management to quality and customer experience, technology plays an important role in
streamlining every aspect of the supply chain.
BENEFITS
Decreased Costs: One of the main benefits of supply chain management is its ability to
decrease costs by improving inventories, adapt according to customer requirements, stabilizing
relationships with distributors and vendors.
Collaboration: Another underlying benefit of the supply chain is that it adds up to wonderful
coordination of all the business entities in delivering the final product to your end customers.
When there is a lack of communication between your vendors or distributors, you have no idea
what is really going on. However, when you open the doors and embrace supply chain
systems, you can gain access to greater communication with forecasts, reporting, quotation
and statuses in real time.
Increased Output: When your business is able to collaborate better, streamline the whole
production and distribution process, this directly translates to the company’s bottom line and
improves the overall output. As a result, your business can enjoy greater profits and stay ahead
of the competition.
No more Delays: You can meet customer expectations and deliver the product to the customer
in a timely fashion. Since everyone knows what to do at a given time, this will remove the
bottlenecks on production lines, logistical errors in distribution channels and late shipments
from suppliers. Altogether there will be no delay in getting the product to the consumers
without any damage.
Response to Conflicts: Unfortunately, businesses today have to face a lot of challenges in the
market. There are a number of aspects that can lead to production or logistical problems. A
supplier might go out of business or a distributor can give you problems. In either case, supply
chain management systems can help you cope with these problems at either side of the
spectrum.
CHAPTER 4
REQUIRMENTS SPECIFICATION
Hardware Requirements
• Keyboard
• Xampp server
REQUIREMENTS
Front end
Back end
storeroom. This adds speed and flexibility. The SQL is part of MYSQL stand for “structured
query language”.
Case tool
This is a brief overview to get students started in using rational rose to quickly
create object-oriented models and diagrams. it is not by any means a complete
introduction to rational rose, but it should get you started.
Getting started
Use case diagram
CHAPTER 5
IMPLEMENTATION
5.1 MODULES
Admin
Login
Manufacturer
Retailer
Feedback
Admin Side
Manage Products
Manage Retailers
Manage Manufacturer
Manage Distributors
Manage Unit of Measure
Manage Categories
Manage Areas
Change Password
Manage Orders
Create Invoice
Print Invoice
Manage Profile
Manufacturer Side
Manage Products
View Retailers
View Distributors
Manage Unit of Measure
Manage Categories
Manage Orders
Create Invoice
Print Invoice
Manage Profile
Retailer Side
View Products
Manage Orders
View Invoice
Print Invoice
Manage Profile
CODE OF ADMIN
?php
include("../includes/config.php");
session_start();
if(isset($_SESSION['admin_login'])) {
if($_SESSION['admin_login'] == true) {
//select last 5 retialers
$query_selectRetailer = "SELECT * FROM retailer,area WHERE
retailer.area_id=area.area_id ORDER BY retailer_id DESC LIMIT 5";
$result_selectRetailer = mysqli_query($con,$query_selectRetailer);
//select last 5 manufacturers
$query_selectManufacturer = "SELECT * FROM manufacturer
ORDER BY man_id DESC LIMIT 5";
$result_selectManufacturer =
mysqli_query($con,$query_selectManufacturer);
//select last 5 products
$query_selectProducts = "SELECT * FROM products,categories,unit
WHERE products.pro_cat=categories.cat_id AND products.unit=unit.id ORDER BY pro_id
DESC LIMIT 5";
$result_selectProducts = mysqli_query($con,$query_selectProducts);
}
else {
header('Location:../index.php');
}
}
else {
header('Location:../index.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<title> Admin: Home </title>
<article>
<h2>Recently Added Manufacturers</h2>
<table class="table_displayData">
<tr>
<th>Sr. No.</th>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Username</th>
</tr>
<?php $i=1; while($row_selectManufacturer =
mysqli_fetch_array($result_selectManufacturer)) { ?>
<tr>
<td><?php echo $i; ?></td>
<td><?php echo $row_selectManufacturer['man_name'];
?></td>
<td><?php echo $row_selectManufacturer['man_email'];
?></td>
<td><?php echo $row_selectManufacturer['man_phone'];
?></td>
<td><?php echo $row_selectManufacturer['username'];
?></td>
</tr>
<?php $i++; } ?>
</table>
</article>
<article>
<h2>Recently Added Products</h2>
<table class="table_displayData">
<tr>
<th> Code </th>
<th> Name </th>
<th> Price </th>
<th> Unit </th>
<th> Category </th>
<th> Quantity </th>
</tr>
<?php $i=1; while($row_selectProducts =
mysqli_fetch_array($result_selectProducts)) { ?>
<tr>
<td><?php echo $row_selectProducts['pro_id']; ?></td>
<td><?php echo $row_selectProducts['pro_name']; ?></td>
<td><?php echo $row_selectProducts['pro_price']; ?></td>
<td><?php echo $row_selectProducts['unit_name']; ?></td>
<td><?php echo $row_selectProducts['cat_name']; ?></td>
<td><?php if($row_selectProducts['quantity'] == NULL){ echo
"N/A";} else {echo $row_selectProducts['quantity'];} ?></td>
</tr>
<?php $i++; } ?>
</table>
</article>
</section>
<?php
include("../includes/footer.inc.php");
?>
</body>
</html>
CODE OF LOGIN
<DOCTYPE html>
<html>
<head>!
<title> Login </title>
<link rel="stylesheet" href="includes/main_style.css" >
</head>
<body class="login-box">
<h1>LOGIN</h1>
<form action="" method="POST" class="login-form">
<ul class="form-list">
<li>
<div class="label-block"><label
for="login:username">Username</label></div>
<div class="input-box"><input type="text" id="login:username"
name="txtUsername" placeholder="Username" /></div>
</li>
<li>
<div class="label-block"><label
for="login:password">Password</label></div>
<div class="input-box"><input type="password" id="login:password"
name="txtPassword" placeholder="Password" /></div>
</li>
<li>
<div class="label-block"><label for="login:type">Login Type</label></div>
<div class="input-box">
<select name="login_type" id="login:type">
<option value="" disabled selected>-- Select Type --</option>
<option value="retailer">Retailer</option>
<option value="manufacturer">Manufacturer</option>
<option value="admin">Admin</option>
</select>
</div>
</li>
<li>
<input type="submit" value="Login" class="submit_button" /><span
class="error_message"><?php echo $loginErr; echo $reqErr; ?></span>
</li>
</ul>
</form>
</body>
</html>
ER Diagram
CHAPTER 6
SNAPSHOTS
Page
REFRENSES
[1] Database Management System by Prof. Date, A Kannan, S Swaminathan
[2] Database Management System by Prof. S Nanda Gopalan
[3] www.djangodocumentation.com
[4] www.python.org/
[5] www.Bootstrap.com en.wikipedia.org/wiki/Django