Project 7: Northwind Traders Order Entry

Similar documents
Forms. Section 3: Deleting a Category

Queries with Multiple Criteria (OR)

Programming with ADO.NET

ISM 4212/4480 Milestone V Submission Sample

POS Designer Utility

FAU. How do I. Post course content? Folders

Hands-On Lab. Authoring and Running Manual Tests using Microsoft Test Manager 2010

In this tutorial we will discuss different options available in the Options tab in EMCO Network Inventory 4.x.

Exporting a Course. This tutorial will explain how to export a course in Blackboard and the difference between exporting and archiving.

Northwind Database. Sample Output from TechWriter 2007 for Databases

************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE

Create a New Sale. Bank Cards. MasterCard Visa American Express Discover

Module 11: Implementing Triggers

How to Process Accounts Payable Checks Starting with Version

The first step you should take in order to be able to use the system is accessing our web page. Follow these steps to gain access to the system:

Process a Refund. Bank Cards. MasterCard Visa American Express Discover

1. A Web Form created in Visual Basic can only be displayed in Internet Explorer. True False

Solutions to the Problems in SQL Practice Problems by Sylvia Moestl Vasilik. John Weatherwax

Adding Items to the Course Menu

Working with Structured Data in Microsoft Office SharePoint Server 2007 (Part 4): SharePoint Designer

2.1 Read and Write XML Data. 2.2 Distinguish Between DataSet and DataReader Objects. 2.3 Call a Service from a Web Page

Working with Data in ASP.NET 2.0 :: Using Existing Stored Procedures for the Typed DataSet s TableAdapters Introduction

Developer s Tip Print to Scale Feature in Slide

Tutorial. Unit: Interactive Forms Integration into Web Dynpro for Java Topic: Dynamically generated forms

More Skills 11 Draw Tables and Convert Tables to Text. To complete this document, you will need the following file:

Professional Edition Tutorial: Basic Excel

Adding Emphasis to Video Content

COPYRIGHTED MATERIAL. Chapter. Database Logical Modeling MICROSOFT EXAM OBJECTIVES COVERED IN THIS CHAPTER:

Downloading 2010 Census Data

USING MICROSOFT ACCESS 2013 Guided Project 7-1

Invoice QuickStart Guide

Content Collection. How to Access Content Collection. From the homepage: From a course:

Importing Static and Dated Announcements and Assignments

HP Color LaserJet CP2020 Series Printer Print tasks

How to Run Reports in Version 12

More Skills 11 Format and Position Report Controls

KALPA Professional Development Management System

Microsoft PowerPoint Tutorial

1. Open the Paragraph Formatting Data File (attached to Engrade with this worksheet).

Creating a Template in WordPerfect

Doc Server installation

Requirements Document

Introduction to Blackboard. Academic Technology & Distance Learning Department

CLEANING AFTER A COURSE IMPORT TABLE OF CONTENTS

MetaTrader 4 for Android. User Manual

Connecting SQL Data Sources to Excel Using Windward Studios Report Designer

Working with Data in ASP.NET 2.0 :: Creating Stored Procedures and User Defined Functions with Managed Code Introduction

User Guide. Product Design. Version 2.2.2

Create a New Sale. Aviation Cards. AIR Card Multi Service Aviation Avcard

How to use data sources with databases (part 1)

Panopto and Blackboard Course Copy. St. Lawrence College

A. Lab # : BSBA BIS245A-1. B. Lab 1 of 7 : Introduction to MS Visio and MS Access. C. Lab Overview--Scenario/Summary. TCOs:

READSPEAKER BLACKBOARD BUILDING BLOCK

Chrome. BruinMail BruinMail can be accessed at bruinmail.slcc.edu. Login using your MyPage username and password.

Laboratory Assignment #3 Eclipse CDT

This guide explains how to locate the tasks you need to perform in ACT Compass 5.0 and provides detailed steps for each task.

VS2010 C# Programming - DB intro 1

Chapter 4 at a Glance

Building Content elearning Blackboard Learn 9.1 for Faculty

DEALER RESOURCE CENTER TUTORIAL

CST272 Getting Started Page 1

Tips from the experts: How to waste a lot of time on this assignment

If this is the first time you have run SSMS, I recommend setting up the startup options so that the environment is set up the way you want it.

New BoundTree.com User Guide Fall Version 6

Image Data Binding. Save images in database An image needs large amount of storage space. Only binary variable length fields may hold images.

Chapter 3. Windows Database Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Submitting Assignments

Oracle Academy Amazing Books Part 1: Building Tables and Adding Constraints

Programming Standards: You must conform to good programming/documentation standards. Some specifics:

Layout. Usual menu tabs. Top toolbar. Right toolbar. Left toolbar. Work area

Working with Data in ASP.NET 2.0 :: Custom Formatting Based Upon Data Introduction

Course Notes for Students

AURUM Metro Navigation

Chapter 10. Database Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Instructions for Using PEP Enhancements. Create a Template for Multiple Enrollment Applications

Vision Municipal Solutions. How To Manual. Vision W2 s & 1099 s for ASP Budget and Payroll

Educational Technology York College / CUNY

Windows Database Applications

MICROSOFT POWERPOINT BASIC WORKBOOK. Empower and invest in yourself

Microsoft Office. Access Tutorial Part 2

Table of Contents 1. Introduction to SmartScan Label Link Using SmartScan Label Link Using the Labeler Software...

Connecting XML Data Sources to Word Using Windward Studios Report Designer

Formatting Spreadsheets in Microsoft Excel

Step 4 Part F - How to Download a Video on YouTube and Delete a Video

DealerCONNECT > Sales > Sales Reporting > Service Contract Sales. Sales. Sales Reporting. Service Contract Sales

Once file and folders are added to your Module Content area you will need to link to them using the Item tool.

Aitoc. Smart Reports User Manual for Magento

Server Manager User and Permissions Setup

Camtasia Studio: Windows

Microsoft Excel 2013: Part 3 More on Formatting Cells And Worksheet Basics. To apply number formatting:

Please note, if you have not already received your log-on details, please contact the WEEE Blackbox Helpdesk directly on

COOKBOOK Creating an Order Form

Access Objects. Tables Queries Forms Reports Relationships

USING PANOPTO ON A WINDOWS MACHINE

Forms Builder Module v Create, administer, and complete electronic forms in the Passageways portal.

Out-of-State Tobacco Products Wholesale Dealer s Report

8. Printing and exporting portfolio information

Note: This is a miniassignment and the grading is automated. If you do not submit it correctly, you will receive at most half credit.

Tutorial 2: Queries and Reports

Café Soylent Green Chapter 12

Transcription:

Project 7: Northwind Traders Order Entry 1

Northwinds Order Entry Extend the Select Customer program from Project 6 to permit the user to enter orders. Add orders to the database. Print invoices. Refer the Concept Document for background material: http://www.cse.usf.edu/~turnerr/software_systems_development/ Downloads/Northwind_Call_Center/ Note: This project is just a start. It does not fully implement the system described in the Concept Document. 2

Database Tables Use copies of the Northwind Traders Database tables in your own database on scorpius. Do not use the real Northwind database, which is read only. You should have already added these tables to your scorpius database. If not, see slides 4-6 of http://www.cse.usf.edu/~turnerr/software_systems_development/ 080_Databound_Controls.pdf 3

Orders Table For this project, use only OrderID, CustomerID, and OrderDate. Note that OrderID is an Identity field. 4

Order Details Table For this project, set Discount to 0.00. Other columns will have real values. 5

Products Table For this project, ignore SupplierID, QuantityPerUnit, UnitsInStock, UnitsOnOrder, ReorderLevel, and Discontinued. 6

Entity Classes Define an Entity class corresponding to each database table used by the project. Customers Order Details Orders Products This can be done manually or with the Visual Studio ORM tool. 7

Database Classes Objects of Entity classes encapsulate information corresponding to one row of a database table. Use LINQ with these classes to perform database operations where appropriate. Some databound controls will not need to use LINQ. 8

Home Form Add a button to the Home Form labeled Enter Order. Enabled only when a customer is selected. This button brings up a new form that permits the user to enter an order for the selected customer. 9

Home Form 10

Order Entry Form 11

Order Entry Form The Category dropdown list is bound to the Categories table. Display Member: Category Name Value Member: CategoryID List never changes. When a category is selected, the Product list is set up with products having the selected category. 12

Order Entry Form The Product dropdown list is bound to the Products table, but only lists products in the selected category. We will look at how to do this in class. When a product is selected, its Unit Cost should appear in the Unit Cost textbox, a default value of 1 should appear in the Quantity textbox, and the Add to Order button should be enabled. 13

Adding an Item to the Order After selecting a product, the user can enter a different value into the Quantity textbox if desired. Must be a positive integer. Less than 1000. 14

Order Item Information Set Up 15

Adding an Item to the Order When the user clicks Add to Order, a line item is added to the order as shown in the DataGridView below the dropdown lists. At this time the Submit Order button should be enabled. It should be disabled until the first line item is added to the order. In this project, we will not implement reservations for products in pending orders as described in the concept document. 16

Order with One Line Item 17

Entering an Order The user can continue adding line items indefinitely. The user can click Cancel to delete the current order and return to the Home form. When all items have been entered, the user clicks Submit Order to add this order to the database. One row is added to the Orders table. One row is added to the Order Details table for each line item of the order. 18

Entering an Order When the user clicks Submit Order the Print Invoice button is enabled. The Submit Order button is now disabled. The text on the Cancel button becomes Return. User can no longer cancel the order. 19

Ready to Submit Order 20

After Order Entered 21

Print Invoice The Print Invoice button outputs order information to a printer. Use a Print Dialog to let the user select a printer. Always print all pages. OK to assume that the invoice fits on one page. Use a fixed width font for line items so that columns of numbers can be aligned. The Print Invoice requirement has been deleted. 22

Invoice The Print Invoice requirement has been deleted. 23

Implementation Specifications Use a DataGridView to show the line items of the order on the Order Entry form. Use a DataTable to hold the order information as the order is being entered. Do not put anything into the database until the user clicks Submit Order. 24

Implementation Specifications Declare the DataTable as a member of the Order Entry Form class. Add columns programatically in the form class constructor. Add rows to the DataTable as line items are added to the order. 25

Implementation Specifications Bind the DataGridView to the DataTable in the form class constructor. Set DataGridView column widths and style programatically 26

Ground Rules You may work with one other person. OK to work alone if you prefer. If you do work as a pair Both members are expected to contribute. Submit a single program. Both members should understand the program in detail. It is OK to discuss the project, but... Do not share your work with other students. Before or after submitting the project. Do not copy any other student s work. Don t look at anyone else s program. 27

Due Date Project is due before midnight, Wed. night, April 28. Sunday night, May 2 Deliverables: Entire project folder, zipped Please use Windows Send to command to zip the folder. Submit your project using the Blackboard Assignment for this class. If done as a pair, only one member should submit the project. Include both names in the assignment comments and in source file comments. Other student submit just a comment with both names. End of Presentation 28