Sunday, January 28, 2018

Database of Business to Customer In Marketing Framework



Introduction

Metropolitan Office (Pvt) Ltd is Metropolitan’s specialist imaging and printing company with a portfolio that includes copiers, printers, multifunction units and production graphic arts machines under the Canon and Oce brands of products. The company also provides a range of service products such as out sourced printing services and customized layout and designing services at its Print Hub center.
Metropolitan has been providing equipment for the imaging and printing sector since its beginnings in 1958. Being the sole authorized distributor for the Canon range of imaging and printing products for the last 3 decades, Metropolitan supports the increase in productivity and efficiency through these products and services that are cost effective, efficient and needless to mention user friendly.
Being the market leader in this sector, the company also offers value added services such as scanning, designing and printing, and compiling large volume reports and manuscripts. The service includes ‘exclusive color' printing at cost effective terms offered to customers who seek instant and short-run print jobs.
The Company is a leading workplace and engineering solutions provider for the public, private, NGO and SME sectors. The company also offers a range of cash management solutions, cheque scanning and network solutions from leading global brands such as Casio, Double A and Canon.
We understand that service support for any equipment purchased is a key to creating delighted customers and to this we are committed to providing customers unparalleled service support. But the sales or technical division may keep the track of records in manually and rest of things will prepare with help of the office application software. The managerial persons so will be analyzing the turnover and gross profit in branches. We have the system to develop the organizing of data in a storage area and get data back for analyzing when required.
Only important role is to enter all the selling and technical related data input to the data store. The system will be executed to manipulate the data processing section to generate the management information as per the requirement of managerial staff. The whole thing of back end part is presented here for implementing above tasks.

Goal of the project


The company basically two type of customers such as government and co-operate and the product range divided into few categories as mentioned below.

 ·       Air Conditioner
·       Business Multi-Function Devices
·       Calculator
·       Cameras
·       Cash Management Solutions
·       Communication Solution
·       Consumables
·       Desktop & Laptops
·       Fax Multifunction
·       Generators
·       Inkjets Printers
·       Large Format Printing
·       Laser Printer
·       Phones & Tabs
·       Photocopy Machine
·       Projectors
·       Production & Graphic Art
·       Scanners



Various product categories have the different models and its specification and unit prices and the data may include the item name, model, capacity, special features, unit price, other assecories, delivery schedule. The sales persons may sell the product to customers and should achieve the target according to company procedure. They can visit the customer’s location and identify the requirements and make the quotation or proposal available for the customers by selecting the products and their models.

When order from the customer received, it should record in order file and sales persons will consider the order as winning bid. Order details may include the quotation no, date of receive, item name, quantity, unit price, remark.

Sales persons should prepare the daily sales reports regularly when visited the customers and collect their requirements. If the sales person sent them the quotation, it also should record with details of quotation no/tender no, item name, unit price, term, delivery date, validity of bid, customer name. The government organization will invite to propose their quotation by calling tender procedure.

If it is a new customer, the sales person should collect the customer details such as name, address, contact, fax, status, Contact person, special contact no, designation. In sales division, different level of sales persons are available for the customers to contact and their rank (Senior Sales EXE, Junior Sales Exe, Junior Sales Rep, Senior Sales Rep), epf no, name, address may record in personal file.

We have to design a database to collect these large volumes of data which is happening in manual system for better decisions and analyze in future to be achieved the goal.



  1. ·       To stock in the fast moving equipments
  2. ·       To quote the best price by compare previous bid
  3. ·       To understand latest strength of equipments
  4. ·       To understand customer desired level on equipments
  5. ·       To understand the competition
  6. ·       To be solved the weakness of process

Implementation

Create Tables


CREATE TABLE 'child'
(
  'name' varchar(80) NOT NULL,
  'epfno' varchar(10) NOT NULL,
  'relationship' varchar(170) NOT NULL,
  PRIMARY KEY ('name')
)

CREATE TABLE 'customer'
(
  'custid' varchar(10) NOT NULL,
  'name' varchar(50) NOT NULL,
  'address' varchar(150) NOT NULL,
  'contact' varchar(10) NOT NULL,
  'designation' varchar(65) NOT NULL,
  PRIMARY KEY ('custid')
)

CREATE TABLE  'employee'
 (
  'name' varchar(80) NOT NULL,
  'epfno' varchar(10) NOT NULL,
  'address' varchar(170) NOT NULL,
  'rank' varchar(50) NOT NULL,
  PRIMARY KEY ('epfno')
)
CREATE TABLE 'orderdetails'
 (
  'orderno' varchar(10) NOT NULL,
  'quotationno' varchar(10) NOT NULL,
  'dateofreceive' datetime NOT NULL,
  'itemno' varchar(10) NOT NULL,
  'quantity' int(11) NOT NULL,
  'price' int(11) NOT NULL,
  'remark' varchar(200) NOT NULL,
  PRIMARY KEY ('orderno')
)
ALTER TABLE 'quotation'
  ADD CONSTRAINT ' orderdetails _ibfk_1' FOREIGN KEY (' quotationno ') REFERENCES 'quotation' (' quotationno ');
ALTER TABLE 'quotation'
  ADD CONSTRAINT ' orderdetails _ibfk_2' FOREIGN KEY (' itemno ') REFERENCES 'products' (' itemno ');

CREATE TABLE 'products'  (
  'itemname' varchar(50) NOT NULL,
  'model' varchar(50) NOT NULL,
  'capacity' varchar(170) NOT NULL,
  'brand' varchar(30) NOT NULL,
  'features' varchar(170) NOT NULL,
  'price' int(11) NOT NULL,
  'accessories' varchar(2000) NOT NULL,
  'deliveryschesule' varchar(70) NOT NULL,
  PRIMARY KEY ('model')
)
CREATE TABLE 'quotation'
(
  'quotationno' varchar(10) NOT NULL,
  'model' varchar(50) NOT NULL,
  'customerid' varchar(10) NOT NULL,
  'epfno' varchar(10) NOT NULL,
  'quantity' int(10) NOT NULL,
  PRIMARY KEY ('quotationno')
)

ALTER TABLE 'quotation'
  ADD CONSTRAINT 'quotation_ibfk_1' FOREIGN KEY ('customerid') REFERENCES 'customer' ('custid');
ALTER TABLE 'quotation'
  ADD CONSTRAINT 'quotation_ibfk_2' FOREIGN KEY ('epfno') REFERENCES 'employee' ('epfno');




f


INSERT INTO 'child' ('name', 'epfno', 'relationship') VALUES
('aseni', '5042', 'daughter');
INSERT INTO 'child' ('name', 'epfno', 'relationship') VALUES
 ('iduwara', '5066', 'son');
INSERT INTO 'child' ('name', 'epfno', 'relationship') VALUES
 ('iduwari', '5066', 'daughter');

INSERT INTO 'customer' ('custid', 'name', 'address', 'contact', 'designation') VALUES
('pdhs1', 'provincial director of health service', 'apura', '025-223381', 'supply officer'),
INSERT INTO 'customer' ('custid', 'name', 'address', 'contact', 'designation') VALUES
 ('ped1', 'provincial education department', 'apura', '025-226678', 'supply clerk');
INSERT INTO 'customer' ('custid', 'name', 'address', 'contact', 'designation') VALUES
 ('rdhs1', 'regional director of health service', 'apura', '025-222333', 'accountant');
INSERT INTO 'customer' ('custid', 'name', 'address', 'contact', 'designation') VALUES
 ('uc1', 'urban council', 'apura', '025-222234', 'accountant');

INSERT INTO 'employee' ('name', 'epfno', 'address', 'rank') VALUES
('sumith', '5042', 'medawachchiya', 'executive');
INSERT INTO 'employee' ('name', 'epfno', 'address', 'rank') VALUES
 ('indika', '5066', 'medawachchiya', 'technical');
INSERT INTO 'employee' ('name', 'epfno', 'address', 'rank') VALUES
 ('samarasinghe', '5097', 'talawa', 'junior executive');
INSERT INTO 'employee' ('name', 'epfno', 'address', 'rank') VALUES
 ('nimesh', '6066', 'srawastipura', 'technical');


INSERT INTO 'orderdetails' ('orderno', 'quotationno', 'dateofreceive', 'itemno', 'quantity', 'price', 'remark') VALUES ('o1', 'q1', '2016-11-03 12:01:40', 'f788gs', 10, 2100, '');


INSERT INTO 'products' ('itemname', 'model', 'capacity', 'brand', 'features', 'price', 'accessories', 'deliveryschesule') VALUES
('calculator', 'f788gs', '16 x 2 line lcd 497 function', 'canon', 'solar recharge', 2100, 'safety case', '1 week');
INSERT INTO 'products' ('itemname', 'model', 'capacity', 'brand', 'features', 'price', 'accessories', 'deliveryschesule') VALUES
 ('generator', 'gsa1200', '1.2kw', 'pramac', 'recoil', 55000, 'lift handle', '1 weeks');
INSERT INTO 'products' ('itemname', 'model', 'capacity', 'brand', 'features', 'price', 'accessories', 'deliveryschesule') VALUES
 ('copier', 'ir2520', '20 cpm', 'canon', 'duplex', 155000, 'full drum/toner kit', '3 weeks');
INSERT INTO 'products' ('itemname', 'model', 'capacity', 'brand', 'features', 'price', 'accessories', 'deliveryschesule') VALUES
 ('air conditioner', 'ys9fz09', '9000 btu', 'york', 'auto shut when gas low', 51000, 'remote', '2 weeks');
INSERT INTO 'products' ('itemname', 'model', 'capacity', 'brand', 'features', 'price', 'accessories', 'deliveryschesule') VALUES
 ('air conditioner', 'ys9fz12', '12000 btu r22 gas', 'york', 'auto shut if gas low', 65000, 'wireless lcd remote', '2 weeks');


INSERT INTO 'quotation' ('quotationno', 'model', 'customerid', 'epfno', 'quantity') VALUES
('qp1', 'f788gs', 'pdhs1', '5842', 20);
INSERT INTO 'quotation' ('quotationno', 'model', 'customerid', 'epfno', 'quantity') VALUES
 ('qp2', 'ys9fz12', 'rdhs1', '5842', 2);
INSERT INTO 'quotation' ('quotationno', 'model', 'customerid', 'epfno', 'quantity') VALUES
 ('qp3', 'ys9fz09', 'ped1', '5097', 1);
INSERT INTO 'quotation' ('quotationno', 'model', 'customerid', 'epfno', 'quantity') VALUES
 ('qp4', 'ir2520', 'uc1', '5842', 1);

Tools and methodologies used


Here I used data manipulation language (DML) and DML modifies the database instance by inserting, updating and deleting its data. DML is responsible for all forms data modification in a database. MYSQL is equipped with data manipulation language (DML).
The tools of the SQL Transaction language is used here for building the database structure and can connect to external program using ADO.net Adapter of OLEDB Data Base system.  As The SQL editors, we used MySQL editor and various database Software such as Microsoft Access 2010, Microsoft SQL Express 2008. But we have more flexibility to handle the web based  and portable android application with help of MySql.
The relational database management system is heavily used in this project and with proper realtions between entities is normalized to extract correct data flows by external applications. To maintain the correct data in entities or tables, we used constraints and data type properties in attributes which was described the entity for accuracy of data.

Conclusion

 The fast moving marketing company in Sri Lanka had a huge volume of data to store and need the management information accordingly with short time for better analyzing of future sales or to forecast the turnover with heavy range of products. Therefore the database system is an essential requirement in such situation. So the design of database system is helpful to any front end software to communicate with the end user for the any purpose of data analyzing part.


Saturday, August 12, 2017

Home made Solar Controller using Arduino

Basic Arduino Controller

Arduino Uno 3 Configuration


Boot-loading the AT mega 328 chip


Main feature of the system

1.Charge controller as well energy meter
2. Automatic Battery Voltage Selection (6V/12V)
3.PWM charging algorithm with auto charge set point according to the battery voltage
4.LED indication for the state of charge and load status
5. 20x4 character LCD display for displaying voltages,current,power,energy and temperature.
6.Lightning protection
7.Reverse current flow protection
8.Short Circuit and Over load protection
9. Temperature Compensation for Charging

Future Developmenr

  1. Making Hybrid Inverter
  2. Remote Data Logger
  3. Connect NodeMCU ESP8266 Iot Function

Final Project of the Solar system











source
http://www.instructables.com/id/ARDUINO-SOLAR-CHARGE-CONTROLLER-Version-20/



Monday, January 5, 2015

Multiple Feedback Bandpass Filter in practical way (Spectrum Analyzer Circuit)

Spectrum Analyzer Circuit Diagram and PCB Layout


click to open for original size.



Multiple bandpass filters used for above PCB and LM324 Quad Op Amp is recommended for circuit. 7 gates used for 7 channels to separate the audio signal.


Display bar graph are for 7 channels to illustrate. 
original PCB and Circuit Design is made by PCB House in Sri Lanka and now manufactured by Crown PCB.



Tuesday, December 30, 2014

VU LED DISPLAY COMPARISON

LB1407 WITH 7 LED BAR GRAPH DISPLAY

  1. less component
  2. simple and accurate
  3. limited decibel view




LB1408 WITH 7 LED BAR GRAPH DISPLAY

LB1410 WITH 10 LED BAR GRAPH DISPLAY




LB1409 WITH 9 LED BAR GRAPH DISPLAY



SOURCE SITE 
http://mydatasheets.narod.ru/leddrivers/indikatoryurovnya.htm


Wednesday, February 27, 2013

Bookkeeping MCQ Questions



1.            In a manual bookkeeping system, transactions are first recorded in a __________.
Cash book
Journal
Ledger
None of them
 2.           A journal _________ includes the date, accounts, and amounts.
Entry
Number
Voucher
Book
 3.           In a manual bookkeeping system, each amount in a journal is posted to an _____________.
Ledger
Account
Report
Loss and profit
 4.           A company's ___________ ledger contains all of the accounts such as Rent Expense, Supplies, and Interest Payable.
Sales
Purchase
General
None of them
 5.           An internal document that is prepared to prove that the total of all the debit balances is equal to the total of all the credit balances is a _________ ___________.
Trial balance
Balance sheet
Income statement
None of them
 6.           Historically, the final step of the _______________'s responsibilities was to prepare a trial balance.
Accountant
Auditor
Bookkeeper
Cashier
 7.           Accounting _____________ has made the recording of transactions much more efficient.
Books
Software
Notes
Theory
 8.           Accounting software has eliminated many of the math and recording ________ that were common with a manual system.
Errors
Questions
Answers
All of them
 9.           Because at least two accounts are involved in every transaction, the bookkeeping system is referred to as _________ entry bookkeeping.
Single
Double
Triple
Quad
10.          A _________ entry is entered on the left side of an account.    
Debit    
Credit
Double
Journal
11.          A _________ entry is entered on the right side of an account.  
Debit    
Credit
Double
Journal
12.          A typical entry in the account Wages Expense will be a  
Debit    
Credit
Double
Journal
13.          A typical entry in the account Sales will be a        
Debit    
Credit
Double
Journal
14.          A debit will cause the balance in a liability account to      
Decrease            
Increase
Write off
Accumulated
15.          When a check is written, the company's Cash account should be              
Debit    
Credit
Double
Journal
16.          When cash is received, the company's Cash account should be
Debit    
Credit
Double
Journal
 17.         Invoices from vendors (suppliers) which are due in 30 days should be credited to Accounts ___________
Payable
Receivable
Transferable
Purchase
 18.         The __________ of accounts is a listing of the general ledger accounts in which amounts can be posted.
Reports
Journal
Ledger
Chart
 19.         The chart of accounts has two broad types of accounts: balance sheet accounts and __________  ______________ accounts.
Income statement
Balance sheet
Trial balance
Loss and profit
20.   Historically, the financial statements have been prepared by an ______________
Accountant
Auditor
Bookkeeper
Cashier

21.   Cost of Goods = Beginning Inventory + Purchases =
Ending inventory
Gross profit
Cash flow chart
All of above
22.   Income – Expenses=
Gross profit
Net profit
Both of above
Net income or loss
23.   Assets =_________________ + Equity
Liabilities
Capital
Long term debentures
Bank over-Draft
24.   Common Stock is type of
Assets
Liabilities/Equity
Income
Expenses
25.   Note Payable is type of
Assets
Liabilities/Equity
Income
Expenses
26.   Gain on Sale of Asset is type of
Assets
Liabilities/Equity
Income
Expenses  
27.   Sales is type of
Assets
Liabilities/Equity
Income
Expenses
28.   Retained Earnings  is type of
Assets
Liabilities/Equity
Income
Expenses
29.   Salaries is type of
Assets
Liabilities/Equity
Income
Expenses
30.   Cash in Checking  is type of
Assets
Liabilities/Equity
Income
Expenses
31.   Sales Tax Payable is type of
Assets
Liabilities/Equity
Income
Expenses
32.   Computer Equipment is type of
Assets
Liabilities/Equity
Income
Expenses
33.   Chevy pickup is type of
Assets
Liabilities/Equity
Income
Expenses
34.   Gas / Oil  is type of
Assets
Liabilities/Equity
Income
Expenses
35.   Dividends is type of
Assets
Liabilities/Equity
Income
Expenses
36.   Asset , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book
37.   Liability , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book
38.   Equity  , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book

39.   Income , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book

40.   Expense , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book

41.   Net Income , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book

42.   Net Loss , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book

43.   Bank Overdraft , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book

44.   Beginning Inventory , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book

45.   Ending Inventory , the normal status would be ,
Debit
Credit
Double entry in General journal
Not in Ledger book

46.   Debit – Accounts Receivable or Returned Checks Receivable - $ 37.0
Credit – Checking - $ 37.00
A $37.00 cash from a customer is returned non-sufficient funds.
A $37.00 check from a customer is not returned non-sufficient funds.
                A $37.00 check from a customer is returned non-sufficient funds.
None of them
47.   Debit – Fixed Assets - $450.00
Credit – Checking - $450.00
                A purchase of a desk and office chair for $450.00.
                A purchase of a desk and office chair for accrual of $450.00.
                A purchase of a desk and office chair for expense of  $450.00.
                None of the above

48.   Debit – Accounts Receivable - $202.69
Credit - Sales Tax Payable - $7.69
Credit - Income - $195.00
                A taxable charge sale of $ 195.00 plus $ 7.00 sales tax.
                A taxable charge sale of $ 195.00 plus $ 7.69 sales tax.
                A taxable charge sale of $ 195.00 plus $ 7.69 purchase tax.
                None of the above
49.   Debit – Checking - $250.00
Credit – Accounts Receivable - $250.00
                A customer makes a payment on their account for $250.00
                A customer makes new cash on their account for $250.00
                A customer makes cash from personal income on their account for $250.00
                None of the above



50.   Debit – Depreciation Building - $2500.00
Credit – provision for Depreciation Building - $2500.00
Write –off the assets value for maintenance.
Write –off the assets value for sales.
Write –off the assets value for transfer between others within group.
Write –off the assets value for future purchase.
51.   Debit – rent prepaid - $500.00
Credit – rent - $500.00
Paid rent for the building for the past month.
Paid rent for the building for the next month.
Paid rent for the building for the next month and set expenses balance in current month.
None of the above

52.   Debit – Bad Debts - $5000.00
Credit – Mr.Sarawanan - $5000.00
Error in recording transaction. So need to fix with Public Journal.
Mr.Sarawanan couldn’t pay balance.
Temporary transfer balance to expense account.
No reason.
53.   Provision for doubtful debts is a ,
Fixed assets
Current assets
Current liability
Both A and B
54.   Customer sent the goods back to the company. So where the proper account to debit them…?
Sales Return account
Sales account
Debtor account
Inventory account
55.   When purchase return to supplier, (not accrual basis) the,
Cash account –debit
Creditor account –debit
Inventory account –debit
None of the above
56.   Example for long term liability is,
Bank Overdraft
Lease for one year
Mortgage
None of the above
57.   The donations paid are ,
Financial provisions
It can be reduced by the pretty cash account.
Debit to marketing expense account
None of the above
58.   Select false statement.
Rent received
Discount received
Interest
Wages
59.   Select administrative expenses
Advertising
Carriage out
Insurance
Discount given
60.   Transaction is completely left out from the account.
Error of principle
Error of omission
Error of commission
Error of reversal

Note:
60 questioned and answers are created.
Answer was highlighted by gray color.
Some  questions are copied by other web sites and especial thanks to them.
designed for Diploma in Accounting (IDM Nations Campus )

Thursday, February 7, 2013

Promotion

The detailed modules and their compulsory subtopics will be announce on future.