Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Entities Products Staff Attributes Product ID,Product Name,Price,Qty Staff ID,Name,Designation,Contact No.,Mail Address, Address,CNIC No.
Customers Suppliers
Staff
Staff ID Name Designat ion Contact No. Mail CNIC Address No. Tempor Perman ary ent Address Address Rail Bazar,str eert No.2, chak Jhumra. Al01 M.Altaf Counter Control 0306797 6920 altaf_tafi 33101_417 Rail 16@yaho 2822_7 Bazar,str o.com eert No.2, chak Jhumra. -
Al02
M.Riaz
Store Keeper
Al03
Al04
Majeed
Zeesha n Ali
Purchase Dealer
Customer Dealing
Customers Table
Customer ID Name Contact No. B0001 Abid Ali 03035773390
Supplier Table
Supplier ID Sp001 Name Imran Ali Contact No. 03007655985 Mail address Imran_ali@hotmail. com
Inventory
Product ID
Product Name Cost Price Total cost/ per unit 36.5 Sale Price Profit Qty Company name Order placing If >40 than 100 ID of purchase dealer Al03 ul0001 Safeguar d 36 38 1.5 80 Unilever
Purchases
Date Purchas eOrder ID po1234 Produc t ID ul0001 Product Name Safeguar d Lux Cost Price 36 Qty Co. name 30 Unilev er Unilev er Produ Order ct Amt Amount 1080 01-12-11
ul0002
36
30
1080
2160
Sale
Date Invoice Produc Produc Qty No. t ID t Name in units
15-12- 0012345 ul0001 11 ul0002 Safegua 2 rd Lux 1
Co. name
Purchase Process
Purchase Dealer
No
End
ERD
customer
Products
Customers
Staff
Suppliers
Reports
Sale Report
Purchase Report Profit Report
Stock Report
Customer Report Supplier Report Staff Report
Search Design
Product ID:
Product Name:
Invoice No:
From To
From To
Day
Month
Year
Day
Month
Year
Supplier Name:
Supplier ID: Staff Name:
Search
Sale Report
Sr. No. Date Invoic Product ID e No. Product Name Sale Price Produ Invoic ct e sale Amou nt
SQL Query
Select:
Date,Product.ID, Product.Name,Invoice.Number,Sale.Price, Product.Sale,Invoice.Amount From: Sale table Where: Product ID=? OR Product Name=? OR Invoice No.=? OR Company Name=? OR Date=?
Purchase Report
Sr.No Date Order No. Product Name Cost Price Qty Co. Produ name ct Amt Order Amount
SQL Query
Select:
Date,Product.Name,Order.Number, Cost.Price,Qty,Company.Name,Product.Amount, Order.Amount From: Purchase table Where: Product ID=? OR Product Name=? OR Order No.=? OR Company Name=? OR Date=?
Profit Report
Serial. No Product name Invoice No. Qty Total cost /per unit Sale price Profit
SQL Query
Select :
Product.Name,Invoice.No, Qty,Total.Cost,Sale.Price,Profit From : Inventory table,Sale table Where : Product ID=? OR Product Name=? OR Date=?
Stock Report
Serial . No Product ID Product Name Remaining units
SQL Query
Select :
Product.ID,Product.Name, Remaining.Stock From : Sale table Where : Product ID=? OR Product Name=?
Customer Report
Sr.No Customer ID Customer Name Contact No.
SQL Query
Select :
Customer.ID,Customer.Name, Contact.No From : Customer table Where : Customer Name=? OR Customer ID=?
Supplier Report
Sr.No Supplier ID Name Contact No. Mail address
SQL Query
Select :
Supplier.ID,Supplier.Name, Contact.No,Mail.Address From : Supplier table Where : Supplier Name=? OR Supplier ID=?
Staff Report
Staff ID Name Designat ion Contact No. Mail CNIC Address No. Tempor Perman ary ent Address Address
SQL Query
Select :
Staff.ID, Staff. Name, Designation, Contact.No,Mail.Address,Temporary.Address, Permanent.Address From : Staff table Where : StaffName=? OR StaffID=? OR CNIC No.=?