Terry's Turkeys

Authors Avatar

Chris Davies                Computing Coursework

Introduction

I have been asked to design/ create an application, either programmed or using a relational database or using a combination of both, to replace the current manual record-keeping system for a company called Terry’s Turkeys; a small farm which supplies fresh, home-grown turkeys at Christmas. Initially, at least, there will be only one standalone workstation with a printer attached. This is to be kept locked in the farm office.

There are a number of methods of developing the new system.

  1. Manual system. Improve the system that Terry uses at present; however this would be very tedious as invoices have to be word processed, printed and then kept in a folder for future reference.
  2. Spreadsheet system. This would allow Terry to keep details of customers, turkeys and orders on separate sheets. The calculation of invoices would be made easier to some degree. However, it would take a long time to enter data and is less user friendly. Also the format of reports is much harder in Excel.
  3. A purposely designed system. Written using a ‘high’ language such as Pascal. This would obviously have a lot of advantages as the system would cater for every aspect of Terry’s activities; because it’s been specifically designed for the task. However the cost of this kind of package is very high and Terry would spend a lot, if not all of the farms profits. Also it takes a long time to code some areas whereas in Access they are easily done in tables.
  4. Access database. The new system can be developed using Access, making a relational database with different tables storing the customer, turkey and order details.

For this project a relational database (Access) will be used. This package is suitable as it has many features which can be used in developing the system, such as:

  • The ability to link tables via a primary key and foreign key;
  • The ability to set a password to prevent unauthorised access and to protect customer details.
  • Facilities which allow the creation of reports which can be formatted as required (labels), and previewed before printing.
  • The ability to create a menu by using the “switchboard” function.
  • Access can perform advanced queries.
  • Access can make forms to insert data.
  • Access is very user friendly.
  • It has a query language, which means it can perform advanced searches.
  • You can hide certain forms out of view.
  • Access can have relational tables, which are linked together. This avoids repetition in entering in data as more than one department of the system can share one bit of data.

The database could eventually be extended into an office network which will require a network interface card in the original computer. A hub could be used to link several computers together or it could perhaps have a wireless network meaning no problem with wires entering or leaving the office.

DATA REQUIREMENTS

There are many data requirements for the new database system which include the following:

  • Data on the turkeys, this will include unique turkey Number and the turkey’s weight.
  • Data on the customer, this will include customer ID, customer’s surname, customer’s forename, middle initial and telephone number.
  • Data of the order; which will include, order number, date of the order and requested turkey weight(s).
  • Data on the price per kilogram of a turkey, and data on the preparation cost.
  • To complete an order the requested turkey weight(s) data has to be matched to an appropriate turkey weight.

Entity-Relationship diagrams

Entity-relationship diagrams are diagrams which show the relationship between entities in a database. In order to be able to draw an entity-relationship diagram you need to know the degree and the name of the relationship. The degree of the relationship will come under one of three categories:

  1. One-to-one, e.g. relationship between customer and order number which is unique to every person.
  2. One –to-many, e.g. if a customer orders more than 1 turkey the relationship between order number and requested turkey weights
  3. Many-to-many, e.g. if a customer orders more than 1 turkey the relationship between requested turkey weights and turkey weights given.

Below are examples of data entities, which are relevant to the system.

USER INTERFACE

When thinking about the user interface you should think about who the system is for, what tasks the system is performing, what environment the system will be in and whether the technology is feasible.

Menu

There will be one menu that will appear on start up giving the user (Terry) the option to add new customers and orders or view existing data by opening the various forms and reports using simple buttons. They will be arranged in a logical order of what will be used most and the order they will be used in. It will have an image, as without one the menu will look very plain and boring having only a title and buttons. The menu will have a grey and light blue background so as to be easy to look at.

Outputs

Reports

The following reports need to be included in the system: -

Order print:

When a customer places their order an order form is printed. This includes their requested weights, customer ID, forename, surname and most importantly their order number, making it quicker and easier when they come to collect their turkey(s). These details will be added into a report which will have a very simple, plain layout with the order number at the bottom in larger bold, red font, as this is the most important information on the report.

Initial Turkey List labels

Turkey labels containing just the turkey number and turkey weight will need to be printed after Terry has weighed the turkeys and entered their weights into the turkey list. They will be made using the label wizard to make a report and be printed on specific labelled paper. The turkey number will be in red coloured font as this is the primary key. The labels will be sorted in weight order making it easier and faster for Terry to stick the labels on the correct weight turkey. The turkey weight will be at the top of the label with the turkey number underneath.  

Join now!

Customer receipt:

The receipt will be given to the customer when they collect their turkey and will need to include the customer details: Customer ID, forename and surname so that they can be sure they have received the correct order. Also the order details: Turkey weights requested and turkey weights given so that the customer can see they have got the correct turkeys.

The main purpose of the receipt is to reassure the customer that they are receiving everything they are paying for and can see where their money has gone. Therefore the price details must ...

This is a preview of the whole essay