Sales Order Processing Project Documentation
Sales Order Processing Project Documentation
ACKNOWLEDGEMENT.3 DEDICATION4 INTRODUCTION..5 USER INSTRUCTION MANUAL...6 HIERARCHY CHART..10 MENU FLOWCHART..11-18 SYSTEM FLOWCHART..19-40 PROGRAM FLOWCHART..41-83 SOURCE CODE..84-199 RECORD LAYOUT....200-208 TEST DATA.....209-210 REPORTS.....211-220 PROJECT REPORT....221 PROJECT SPECIFICATION.....222-225
Sales Order Processing System, a computerized system for the order, sales invoicing and sales payment could not have materialized without Gods direction through the tutelage of Mr.Nyarko (Principal and Data Processing), Mr. Dwamena(Quantitative Methods and Business Communication), Mr. Tetteh(Visual Basic), Mr. Oluwale(Accounting), Philip and Benedict (Laboratory Assistants) all of West Africa Computer Science Institute. I am forever grateful.
This entire work is dedicated to my Mum (Cecilia), Sister (Gertrude) and Girl (Dana) for their encouragement and support.
In the present era of information technology that we find ourselves, it is becoming evidently obvious that computers are used in every venture of man. The office has not been left out of this revolution. This revolution in the office has made it imperative for computerized systems. The Sales Order Processing System is one of such computerized system that seeks to drive the status of the office to the paperless kind. It coordinates the order, sales invoicing and sales payment for clients of a chemical company. When a client makes an order the system checks stock and raises an invoice based on the availability of stock and credit limit of the client. The system creates reports for management perusal. It is hoped that this project would be enjoyed in its usage. Thank you!
To Start Sales Order Processing System after connecting the removable disk with the program, o Double Click the SalesOrder.exe file Or o Click Start on the taskbar and select run
o Type E: SalesOrder.exe if the removable disk is assigned the drive letter E and press enter
o After successfully getting the program started, a login screen follows a splash screen o Type in your authorized Username and Password, ensuring that you do not enter wrong password three (3) times. o After three (3) wrong enteries of password the program would automatically shut down denying access.
A successful login would bring a main form for interactions.The following five (5) menus would be displayed: o File o Maintenance o Enquiry o Reports o Help
The file menu offers only one option of exiting the entire program
Three (3) interactions in the form of Submenus are available: o Addition o Deletion o Update
Records can be added to the following files: o Customer Master o Order/ Invoice Transaction o Payment Transaction o Re-order Transaction o Sales Personnel Master o Stock Master o Supplier Master Data entry can be made on any of the files after selecting it from the addition submenu. When the wrong data type is entered, users would be prompted to enter the appropriate data type. After successful data entry the user clicks on the Add button to save data to database.
Records that can be accessed and edited when the need arises have been limited to: o Customer Master o Sales Personnel Master o Stock Master o Supplier Master Update can be done after selecting the appropriate file.The search button is used to access the right record. After accessing the right file, the update button is clicked to update records in the database.
Deletion of records has been restricted to only the following files: o Customer Master o Sales Personnel Master o Stock Master o Supplier Master The record to be deleted is accessed by using the search button. A Customer account can be deleted only if there is no outstanding balance in the name of the customer just as Stock can only be deleted when there is no stock quantity for it.
Records of Six (6) files can be accessed: o Customer Master o Invoice Transaction o Order Transaction o Payment Transaction o Re-order Transaction o Sales Personnel Master o Stock Master o Supplier Master
To access a record, the appropriate file is selected. After selecting the appropriate file, either the search button is used to get the record directly or the navigation buttons are used to browse through records in sequence.
Nine (9) reports based on transactions can be accessed: o Customer Master List o Debtors List o Invoice Transactions o Order Transactions o Payment Receipts o Payment Transactions o Reminders o Re-order Transactions o Sales Personnel Master List o Stock Master List o Supplier Master List Each report can be accessed by selecting the appropriate option. To print a report, first access the report and then click the print button available.
The two (2) available options are: o About o Contact Information on the program and the programmers contact can be accessed after selecting the appropriate option.
MAIN MENU
FILE
MAINTENANCE
ENQUIRY
REPORT
HELP
EXIT
ADDITION
ABOUT
INVOICE TRANSACTION FILE ORDER TRANSACTION FILE PAYMENT TRANSACTION FILE RE-ORDER TRANSACTION FILE SALES PERSONNEL MASTER FILE
DEBTORS LIST
CONTACT
ORDER / INVOICE TRANSACTION FILE PAYMENT TRANSACTION FILE RE-ORDER TRANSACTION FILE SALES PERSONNEL MASTER FILE
INVOICE TRANSACTION
ORDER TRANSACTION
PAYMENT RCEIPTS
PAYMENT TRANSACTION
REMINDERS
REORDER TRANSACTION
UPDATE
STOCK MASTER
SUPPLIER MASTER
DELETION
Is Option Valid?
Is VbNo
VbYes
Create File Setting Menu Create Maintenance Menu Create Enquiry Menu
Is
VbNo Is VbNo Is VbNo Is VbNo Return
VbYes
VbYes
VbYes
VbYes
Enter
VbNo
Return
VbYes
Addition.Show
Is Option=2? VbNo
VbYes
Delete.Show
Is Option=3? VbNo
VbYes
Update.Show
Return
Is Option VbYes Is Option=1? VbNo Is Option=2? VbNo Is Option=3? VbNo Is Option=4? VbNo Is Option=5? VbNo Is Option=6? VbNo Return
VbYes
Customer Master File.Show Invoice Transaction File.Show Order Transaction File.Show Payment Transaction File.Show Re-order Transaction File.Show Stock Master File.Show
VbYes VbYes
VbYes
VbYes
VbYes
Print Make Option (19) Is Option VbYes Is Option=1? VbNo Is Option=2? VbNo Is Option=2? VbNo Is Option=4? VbNo Is Option=5? VbNo Is Option=6? VbNo Is Option=7? VbNo Is Option=8? VbNo Is Option=9? VbNo Return D VbYes VbYes VbYes Payment Receipts.Show Payment Transaction.Show Reminders.Show VbYes Debtors List.Show VbYes Customer Master.Show VbNo
VbYes VbYes
Invoice Transaction.Show
Order Transaction.Show
VbYes
VbYes
Print Make Options (1-2) VbNo Is Option VbYes VbYes Is Option=1? About.Show
VbNo
VbYes Is Option=2? VbNo BN Return Contact.Sho w
Program
Print Outs
Error Message s
Enter
VbNo
Main Menu.Show
Enter
VbNo
Enter
VbNo
Addition Program
VbNo
Enter
Data Textboxes.Show
VbNo
Enter
Data Textboxes.Show
VbNo
Enter
Data Textboxes.Show
VbNo
Enter
Customer Master Deletion Form.Show Input box Enter Customer Account Number
VbNo
Enter
Is Customer Account Number Valid? VbYes Display Records to be Deleted Deletion Program
VbNo
Enter
Customer Master Update Form.Show Input box Enter Customer Account Number
VbNo
Enter
Customer Master Update Form.Show Input box Enter Customer Account Number
VbNo
Enter
Customer Master Enquiry Form.Show Input box Enter Customer Account Number
VbNo
Enquiry Program
Enter
VbNo
Print Record
Enter
VbNo
Print Record
Enter
VbNo
Print Record
Enter
VbNo
Print Record
Enter
VbNo
Print Record
Invoice Transaction File Elapsed Credit Time Debtors List Order Transaction File Invoice Transaction Payment Transaction File Report Program Re-order Transaction File Reminder
Re-order Transactio n
Enter
Form About.Show
VbNo
System Information.Sho w
Enter
Form Contact.Show
VbNo
Start
VbNo
Return
cnnSalesOrder.Connection String=Provider DataSource=DbSalesOrderProcessingSystem.md b Set RsCustomerMaster= Customer Master Table cnnSalesOrder.open RsCustomerMaster.open Create and Append Fields
Create and Append Index Fields Set RsInvoiceTransaction = Invoice Transaction Table cnnSalesOrder.open RsInvoiceTransaction.open E
Create and Append Index Fields Set RsRe_OrderTransaction= Payment Transaction Table cnnSalesOrder.open RsRe_OrderTransaction.open F
Create and Append Fields Create and Append Index Fields Set RsRe_OrderTransaction= Re-Order Transaction Table cnnSalesOrder.open RsRe_OrderTransaction.open Create and Append Fields Create and Append Index Fields Set RsStockMaster= Stock Master Table cnnSalesOrder.open RsStockMaster.open
Enter
Is Customer Master Addition Screen? VbYes Customer Master Addition Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsCustomerMaster.OpenRecordset (Customer Master Table) Data Textboxes.Show J Input Data Fields I
VbNo
VbNo
VbYes
Enter
VbNo
Return
Set RsInvoiceTransaction = Invoice Transaction Table cnnSalesOrder.open RsInvoiceTransaction.open Set RsInvoiceTransaction.OpenRecordset (Invoice Transaction Table)
Data Textboxes.Show
N
Input Data Fields
VbNo
VbNo
VbYes
Enter
VbNo
Return
Data Textboxes.Show
L M
MM
Input Data Fields
KM
KM
VbNo
MM
VbNo
L M
VbYes
L M
Enter
Is Payment Transaction Addition Screen? VbYes Payment Transaction Addition Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsPaymentTransaction.OpenRecordset (Payment Transaction Table) Data Textboxes.Show T Input Data Fields U
VbNo
VbNo
VbYes
Enter
Is Re-Order Transaction Addition Screen? VbYes Re-Order Transaction Addition Screen.Show Initialise ADO and Utilities
VbNo Return
Set RsRe-OrderTransaction = Re-Order Transaction Table cnnSalesOrder.open Set RsRe-OrderTransaction.open Set RsRe-OrderTransaction.OpenRecordset (Re-Order Transaction Table) Data Textboxes.Show Q Input Data Fields R
VbNo
VbNo
VbYes
Enter
Is Stock Master Addition Screen? VbYes Stock Master Addition Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsStockMaster.OpenRecordset (Stock Master Table) Data Textboxes.Show L Input Data Fields M
VbNo
VbNo
VbYes
Enter
VbNo
Return
Set RsCustomerMaster = Customer Master Table cnnSalesOrder.open Set RsCustomerMaster.open Set RsCustomerMaster.OpenRecordset (Customer Master Table)
A A
AB
AB
Display Details
VbNo
Rs.Delete
A A
Enter
Is Stock Master Deletion Screen? VbYes Stock Master Deletion Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsStockMaster = Stock Master Table cnnSalesOrder.open Set RsStockMaster.open Set RsStockMaster.OpenRecordset (Stock Master Table) A A
AB
Display Details
VbNo
Rs.Edit Rs.Update
VbYes
A A
Enter
Is Customer Master Update Screen? VbYes Customer Master Update Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsCustomerMaster = Customer Master Table cnnSalesOrder.open Set RsCustomerMaster.open Set RsCustomerMaster.OpenRecordset (Customer Master Table) W Input box Enter Customer Account Number.TextCode
VbNo
VbYes
VbNo
VbYes W
Enter
Is Stock Master Update Screen? VbYes Stock Master Update Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsStockMaster = Stock Master Table cnnSalesOrder.open Set RsStockMaster.open Set RsStockMaster.OpenRecordset (Stock Master Table) Y Input box Enter Stock Number.TextCode
VbNo
VbYes
Rs.Edit Rs.Update
VbYes Y
Enter
Is Customer Master Enquiry Screen? VbYes Customer Master Enquiry Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsCustomerMaster = Customer Master Table cnnSalesOrder.open Set RsCustomerMaster.open Set RsCustomerMaster.OpenRecordset (Customer Master Table) A D
VbNo
AE
Is Rs.NoMatch?
VbYes
VbYes
A D
Enter
Is Invoice Transaction Enquiry Screen? VbYes Invoice Transaction Enquiry Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsInvoiceTransaction = Invoice Transaction Table cnnSalesOrder.open Set RsInvoiceTransaction.open Set RsInvoiceTransaction.OpenRecordset (Invoice Transaction Table) AJ Input box Enter Invoice Number.TextCode
Is TextCode Valid?
AK
AK
Is Rs.NoMatch?
VbYes
VbYes
AJ
Enter
VbNo
Return
Set RsOrderTransaction = Order Transaction Table cnnSalesOrder.open Set RsOrderTransaction.open Set RsOrderTransaction.OpenRecordset (Order Transaction Table)
BF
Input box Enter Order Number.TextCode
Is TextCode Valid?
BG
BG
Is Rs.NoMatch?
VbYes
VbYes
AF
Enter
Is Payment Transaction Enquiry Screen? VbYes Payment Transaction Enquiry Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsPaymentTransaction = Payment Transaction Table cnnSalesOrder.open Set RsPaymentTransaction.open Set RsPaymentTransaction.OpenRecordset (Payment Transaction Table)
A H
Is TextCode Valid?
AI
AI
Is Rs.NoMatch?
VbYes
VbYes
A G
Enter
Is Re-Order Transaction Enquiry Screen? VbYes Re-Order Transaction Enquiry Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsRe-OrderTransaction = Re-Order Transaction Table cnnSalesOrder.open Set RsRe-OrderTransaction.open Set RsRe-OrderTransaction.OpenRecordset (Re-Order Transaction Table)
AL
Input box Enter Re-Order Number.TextCode
Is TextCode Valid?
AM
AM
Is Rs.NoMatch?
VbYes
VbYes
AL
Enter
Is Stock Master Enquiry Screen? VbYes Stock Master Enquiry Screen.Show Initialise ADO and Utilities
VbNo
Return
Set RsStockMaster = Stock Master Table cnnSalesOrder.open Set RsStockMaster.open Set RsStockMaster.OpenRecordset (Stock Master Table) AF Input box Enter Stock Number.TextCode
VbNo
AG
Is Rs.NoMatch?
VbYes
VbYes
AF
Enter
Print Customer List Report Program.Screen VbNo Is Customer List Report Program? VbYes Initialise ADO and Utilities Return
Set RsCustomerMaster = Customer Master Table cnnSalesOrder.open Set RsCustomerMaster.open Set RsCustomerMaster.OpenRecordset (Customer Master Table) H D
Rs.MoveLast
Edit Totals
Enter
Print Debtors List Report Program.Screen VbNo Is Debtors List Report Program? VbYes Initialise ADO and Utilities Return
Set RsPaymentTransaction = Payment Transaction Table cnnSalesOrder.open Set RsPaymentTransaction.open Set RsPaymentTransaction.OpenRecordset (Payment Transaction Table) AE
Rs.MoveLast
Edit Totals
Is Elapsed Credit Time Debtors List Report? VbYes Initialise ADO and Utilities
VbNo
Return
Set RsPaymentTransaction = Payment Transaction Table Set RsCustomerMaster = Customer Master Table cnnSalesOrder.open Set RsPaymentTransaction.open Set RsCustomerMaster.open
Set RsPaymentTransaction.OpenRecordset Set RsCustomerMaster.OpenRecordset (Payment Transaction Table) (Customer Master Table)
Rs.MoveLast Edit Totals Printer.Print Totals Anymore VbNo RsPaymentTransaction.close RsCustomerMaster.close VbYes A G A G
Enter
Print Invoice Transaction Report Program.Screen VbNo Is Invoice Transaction Report Program? VbYes Initialise ADO and Utilities Return
Set RsInvoiceTransaction = Invoice Transaction Table cnnSalesOrder.open Set RsInvoiceTransaction.open Set RsInvoiceTransaction.OpenRecordset (Invoice Transaction Table) D D
Rs.MoveLast
Edit Totals
Enter
VbNo Return
Set RsCustomerMaster = Customer Master Table Set RsInvoiceTransaction = Invoice Transaction Table cnnSalesOrder.open Set RsCustomerMaster.open Set RsInvoiceTransaction.open Set RsCustomerMaster.OpenRecordset Set RsInvoiceTransaction.OpenRecordset (Customer Master Table) (Invoice Transaction Table) Rs.MoveLast Edit Totals Printer.Print Totals Anymore VbNo RsCustomerMaster.close RsInvoiceTransaction.close VbYes A H A H
Enter
Print Re-Order Transaction Report Program.Screen VbNo Is Re-Order Transaction Report Program? VbYes Initialise ADO and Utilities Return
Set RsRe_OrderTransaction = Re-Order Transaction Table cnnSalesOrder.open Set RsRe_OrderTransaction.open Set RsRe_OrderTransaction.OpenRecordset (Re-Order Transaction Table) A D
Rs.MoveLast
Edit Totals
Enter
Print Sales Personnel List Report Program.Screen VbNo Is Sales Personnel List Report Program? VbYes Initialise ADO and Utilities Return
Set RsSalesPersonnel = Sales Personnel Master Table cnnSalesOrder.open Set RsSalesPersonnel.open Set RsSalesPersonnel.OpenRecordset (Sales Personnel Master Table) JD
Rs.MoveLast
Edit Totals
Enter
Print Stock List Report Program.Screen VbNo Is Stock List Report Program? VbYes Initialise ADO and Utilities Return
Set RsStockMaster = Stock Master Table cnnSalesOrder.open Set RsStockMaster.open Set RsStockMaster.OpenRecordset (Stock Master Table) LD
Rs.MoveLast
Edit Totals
Enter
Print Supplier Master Report Program.Screen VbNo Is Supplier Master Report Program? VbYes Initialise ADO and Utilities Return
VbYes
KF