database altaf general store

31

Upload: ghulam-hasnain

Post on 07-Nov-2014

807 views

Category:

Business


1 download

DESCRIPTION

 

TRANSCRIPT

  • 1. Group MembersSubmitted To:Sir Jahanzaib SultanSubmitted By: Muhammad Naveed Akram 7250 Muhammad Altaf 7239 Sana Noor 7244 Usman Noor 7245 Rehana Parveen 7235
  • 2. Entities & its AttributesEntities AttributesProducts Product ID,Product Name,Price,QtyStaff Staff ID,Name,Designation,Contact No.,Mail Address,Address,CNIC No.Customers Customer ID,Name,Contact No.Suppliers Supplier ID,Name,Contact No. , Mail address
  • 3. StaffStaff ID Name DesignationContactNo.MailAddressCNICNo.TemporaryAddressPermanentAddressAl01 M.Altaf [email protected]_4172822_7RailBazar,streertNo.2,chakJhumra.RailBazar,streertNo.2,chakJhumra.Al02 M.Riaz StoreKeeper- - - - -Al03 Majeed PurchaseDealer- - - - -Al04 Zeeshan AliCustomerDealing- - - - -
  • 4. Customers TableCustomer ID Name Contact No.B0001 Abid Ali 03035773390
  • 5. Supplier TableSupplier ID Name Contact No. Mail addressSp001 Imran Ali 03007655985 [email protected]
  • 6. InventoryProductIDProductNameCostPriceTotalcost/perunitSalePriceProfit Qty CompanynameOrderplacingIf >40thanID ofpurchasedealerul0001 Safeguard36 36.5 38 1.5 80 Unilever 100 Al03
  • 7. PurchasesDate PurchaseOrderIDProduct IDProductNameCostPriceQty Co.nameProduct AmtOrderAmount01-12-11 po1234 ul0001 Safeguard36 30 Unilever1080 -ul0002 Lux 36 30 Unilever1080 2160
  • 8. SaleDate InvoiceNo.Product IDProduct NameQtyinunitsRemainingunitsSalePriceCo.nameProductsaleInvoiceAmount15-12-110012345 ul0001 Safeguard2 60 38 Unilever76ul0002 Lux 1 50 38 Unilever38 114
  • 9. Purchase DealerSend PR topurchasedealerPurchase Process
  • 10. StartCustomerinDesiregoods areavailable?Welcome &ReceptionDesiredepartmentGet desiregoodsyesPayment tobilling counterEndNo
  • 11. ProductsStaff SupplierscustomerERDCustomers
  • 12. Reports Sale Report Purchase Report Profit Report Stock Report Customer Report Supplier Report Staff Report
  • 13. Search Design Product ID: Product Name: Invoice No: FromTo Company Name: Date: FromToYearMonthDayDay Month Year
  • 14. Customer Name: Customer ID: Supplier Name: Supplier ID: Staff Name:
  • 15. Staff ID: Staff CNIC No: - -Search
  • 16. Sale ReportSr.No.Date Invoice No.Product ID ProductNameSalePriceProductsaleInvoiceAmount
  • 17. SQL QuerySelect:Date,Product.ID,Product.Name,Invoice.Number,Sale.Price,Product.Sale,Invoice.AmountFrom:Sale tableWhere:Product ID=? OR Product Name=? OR Invoice No.=?OR Company Name=? OR Date=?
  • 18. Purchase ReportSr.No Date OrderNo.ProductNameCostPriceQty Co.nameProduct AmtOrderAmount
  • 19. SQL QuerySelect:Date,Product.Name,Order.Number,Cost.Price,Qty,Company.Name,Product.Amount,Order.AmountFrom:Purchase tableWhere:Product ID=? OR Product Name=? OR Order No.=?OR Company Name=? OR Date=?
  • 20. Profit ReportSerial.NoProductnameInvoiceNo.Qty Totalcost /perunitSalepriceProfit
  • 21. SQL QuerySelect :Product.Name,Invoice.No,Qty,Total.Cost,Sale.Price,ProfitFrom :Inventory table,Sale tableWhere :Product ID=? OR Product Name=? OR Date=?
  • 22. Stock ReportSerial . No Product ID Product Name Remaining units
  • 23. SQL QuerySelect :Product.ID,Product.Name,Remaining.StockFrom :Sale tableWhere :Product ID=? OR Product Name=?
  • 24. Customer ReportSr.No Customer ID Customer Name Contact No.
  • 25. SQL QuerySelect :Customer.ID,Customer.Name,Contact.NoFrom :Customer tableWhere :Customer Name=? OR Customer ID=?
  • 26. Supplier ReportSr.No Supplier ID Name Contact No. Mail address
  • 27. SQL QuerySelect :Supplier.ID,Supplier.Name,Contact.No,Mail.AddressFrom :Supplier tableWhere :Supplier Name=? OR Supplier ID=?
  • 28. Staff ReportStaff ID Name DesignationContactNo.MailAddressCNICNo.TemporaryAddressPermanentAddress
  • 29. SQL QuerySelect :Staff.ID, Staff. Name, Designation,Contact.No,Mail.Address,Temporary.Address,Permanent.AddressFrom :Staff tableWhere :StaffName=? OR StaffID=? OR CNIC No.=?