Develop An Inventory Management Application Using Visual Basic

ISBN: 81-901331-2-8 Weight: 1.6 Pounds Pages: 362
Objective
The objective of this book is to teach the secrets of developing an inventory management application. The techniques of developing an inventory management application using Microsoft's Visual Basic are taught using Object oriented approach. The inventory domain is the next important domain to the accounting domain.
This book is a natural successor to the title "Develop an Accounting Software". In this book, you will learn how to develop a single class to implement all the transactions which occur in a trading firm.
Contents
Chapter 1: Materials Management
- Introduction
- Working of a Trading firm
- An Introduction to Accounting
- Important Accounts in a Trading firm
- Important Groups in a Trading firm
- Chart of Accounts for a Trading firm
- Double Entry System
- Analysis of Transactions
- Financial and Stock Statements for a Trading firm
Chapter 2: OOPs in Visual Basic
- Introduction
- ADO (ActiveX Data Objects)
- Object Oriented Programming
- Basic Elements of an Object Oriented System
- OOPs features in Visual Basic
- Class
- Creating a Class in Visual Basic
- Class header
- Class attributes
- Creating the services or methods
- Class events
- Creating and Using an Instance of a Class
- Declare the object variable
- Create the object
- Setting or getting objects properties
- Calling object methods
- Release the reference to the object
- Object Browser
Chapter 3: Developing the Application - I, Framework
- Introduction
- Creating a Project
- Menu Design
- Standard Modules
- BasicModule.bas
- GroupDef.bas
- GroupFun.bas
- InvFun.bas
Chapter 4: Developing the Application II, Masters
- Introduction
- Visual Data Manager
- Groups
- Groups Theory
- Developing the Group Class
- Class Header
- Class Atrributes or Properties
- Property Procredures
- Class Initialize event
- Services
- Class Terminate Event
- Programming the Group Form
- Connecting the Group Form to the Menu
- Using the Group Form
- Relationship between Group Form
- Group Class and Group Table
Accounts
- Introduction
- Designing and Programming the Dialog Form
- Declaration Section
- Loading the Dialog Form
- Opeing the Accounts Form from the Dialog
- Designing and Programming the Accounts Form
- Declaration Section
- Form Load Event
- Form Activate
- Initializing the Screen Vriables
- Programming the New Button
- Saving the Account details
- Check for Duplication of Account
- Programming the Delete Button
- Programming the Edit Button
- Programming the List Box
- Checking for Validation of Opening Balance
- Programming the Cancel Button
- Programming the Close Button
- Getting Group reference from the Group table
- Displaying Account Details
- Connecting the Form to the Menu and Using the Option
Units
- Designing the Unit Form
- Programming the Unit Form
- Connecting the Form to the Menu, Using the Unit Form
Items
- Developing the Item Class
- Designing and Programming the Item Form
- Connecting the Form to the Menu
- Using the Item Form
- Relationship between Item Form, Item Class and Item Table
Chapter 5: Developing The Application III, Transactions
- Developing the Trade Class
- Class Header
- Declaration Section
- Class Attributes / Properties
- Property Procedures
- Class Initialize event, Services
Designing and Programming the Master Form.
- Form Header
- Declaration Section
- Form_Load Method
- Setup Method
- Append Mode
- EnableMultiple
- Programming the Buttons
Programming the Transactions
- Purchase Invoice
- Sales Invoice
- Purchase Returns
- Sales Returns
- Cash Purchase Invoice
- Cash Sales Invoice
Chapter 6: Developing The Application - IV, Reports
- Microsoft Data Report
- Daybook
- Registers
- General Ledger
- Trial Balance
- Stock Ledger
- Income Statement
These steps are common to all the reports
- Design the Report
- Write the Code for the reports
- Declaration Section
- Program the Main Function
- Program the Miscellenous Functions for the Report
- Connect the Report to the Menu
Technical Perspective
This book adopts an object oriented approach to developing an inventory management application. The reports and transactions dealt with in this book are unique to an inventory software. You can easily port this application to a Client/Server environment with the help of the title Develop An Accounting Package Using Visual Basic.Questions you will easily answer after reading.
- Explain what is ADO ?
- What are recordsets ? How many types of recordsets are present ?
- Explain how to navigate a recordset ?
- What are the elements of an object oriented system ?
- What are the OOPs features in Visual Basic ?
- What is a class and draw the diagram of a class template ?
- What is an object ?
- What is a service? What are the types of services ?
- How do we create a class in Visual Basic ?
- List the steps to create an instance of a class.
- What is an object browser ? Explain it's features ?
- Which statement is used to create an object based on a class ?
- How do we use a class in the program ?
- How do we create a method for a class ?
- Which property procedure is used to retrieve the value of a property ?
- What are the three property procedures that can be created for a class ?
- If we do not specify the cursor type ADO uses which of the following as a default.
- adUseNone, adUseBatch, adUseServer, adUseClient.
- Which of the following cursor types support database updates ?
- static, dynamic, keyset, forward only.
- Which statement is used to create an object based on Group class ?
- How do we create the method for the Item class ?
- Which property procedure is used to retrieve the value of Group Name ?
- What are the property procedures that are created for the Group class ?
- What is a data file and what are the types of data files ?
- What is a foreign key and what is a primary key ?
- How do we create a table using Visual Data Manager ?
- List all the tables and the fields we need to develop for an Inventory management application ?
- When does the class initialize event occur in a Visual Basic Inventory Software ?
- What are the methods of ADO we use, while saving transactions ?
- Which method of group class checks the duplication of group name ?
- Which method of group class saves group details ?
- How to create a property procedure for attributes ?
- In which event is an object of a group class created ?
- Which method of list box is used to add contents to the list box ?
- Show with an example the statement used to call the service of a group class ?
- How do we connect a dialog form to a account form ?
- Which statement is used to create an object based on the Trade class ?
- How do we create a method for the Trade class Inventory Software?
- Which property procedure is used to retrieve the value of Party Name ?
- What are the property procedures created for the Trade class ?
- The Setup procedure is called before form is shown. Explain why ?
- How do we identify whether a new record is being added or a existing record is being modified ?
- What is a transaction and what are the important transactions in a trading firm ?
- How do we implement a date control in a form using control array ?
- Summarize the credit and debit updations for all transactions ?
- List commonalities of transactions.
- What are the parts of a class ? List all the members and services of the trade class.
- List all the services of the trade class and their purpose.
- How do we build a class using a class builder ?
- Write the diagram which shows the relationship between the master form and trade class.
- How do we display data from the master tables before opening the master form ?
- How do we check for the duplication of items in the grid in the master form ?
- Where do we use the Zap procedure ?
- How do we check for duplication of transaction number in an Inventory Software?