0% found this document useful (0 votes)
134 views

Chapter - I: 1.1 Organization Profile

The document discusses Activity Resource Planning software that will help a firm manage production activities. It will track raw materials, stock details, purchase orders, and sales orders. The software will automate processes to reduce human effort and provide quality control. It will maintain employee details and track work processes. The document provides an overview of the organization and their consulting services. It describes the project objectives to monitor procedures and automate activities. It also outlines the system configuration including hardware, software, and descriptions of Windows XP and Visual Basic .NET.

Uploaded by

preeth_t
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
134 views

Chapter - I: 1.1 Organization Profile

The document discusses Activity Resource Planning software that will help a firm manage production activities. It will track raw materials, stock details, purchase orders, and sales orders. The software will automate processes to reduce human effort and provide quality control. It will maintain employee details and track work processes. The document provides an overview of the organization and their consulting services. It describes the project objectives to monitor procedures and automate activities. It also outlines the system configuration including hardware, software, and descriptions of Windows XP and Visual Basic .NET.

Uploaded by

preeth_t
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 60

ACTIVITY RESOURCE PLANNING

CHAPTER - I
INTRODUCTION
Activity Resource Planning will help the firm to manage the complete activities of the production. The raw materials details and the source details for the production of the company are maintained and tracked. The stock details based on the production are stored and updated as per the transaction process. The purchase order from the client will be maintained in a unique place and after the approval of the administrator it will be updated in the stock register. The project mainly will be used to automate the activities of the company. The production activities will be maintained and tracked on time basis

1.1 Organization Profile


Cegonsoft Pvt.Ltd is an emerging IT services and HR consultancy firm, headquartered in the Silicon Valley of India, Bangalore. The Directors on board come with vast and wide experience from software development, Recruitment, HR Management, Sales & support and It Enabled Services. They have over a decade of in- depth knowledge of Software development and Recruitment which aids in developing job specification and in analyzing the technical competencies required for software professional, this is where the core competencies of Cegonsoft comes from. Business Clients includes: Accenture ADDR Technologies America Online Cross-Domain Diya Systems HCL 1

ACTIVITY RESOURCE PLANNING

CEGONSOFT CONSULTANCY SERVICES: Resourcing consultancy specialists - Our Ability to Understand the clients manpower needs and translate it to recruitment solutions has earned Cegonsoft Consultancy services . 1.Recruitment services: We have a dedicated team of qualified professionals who understand clients need, organization structure, culture and the role linkages and they focusing on provide recruitment services across all levels. Our Automated web-enabled database, recruitment software and our unique lead-time reduction strategies make our dedicated team to source and recruit Senior management Middle management Mass recruitment at entry level

The major industry sectors we cater to include: 1.Reference check: We begin the reference checking process within 2hrs of your order and the entire process is usually completed within 2-3 business days (often sooner but dependent upon the availability of the reference contact), the reference checks are rigorously scrutinized and systematically done through personal visits, email, and through telephone which is then promptly followed by a fully documented, written report forwarded to you via email. Fax or mail which ever is convenient. Information Technology IT Enabled Services- BPO and Call centre Industries.

ACTIVITY RESOURCE PLANNING

1.2 Project Objective


The project activities mainly involves in monitoring the process and procedures of the firm production details. The purchase order of the company will be maintained and updated .Based on the stock details the sales order of the company will be updated and maintained. Transaction details of the company will be updated as per the approval of the order. Reporting activities of the production details can be viewed at anytime and the current stock details can be viewed. The reports based on the production purchase, sales can be viewed and maintained. The real order status of the production can be generated at any time. Any order cancellation can be done at any time based on the stock availability. The employee details also will be maintained and the work process of the employee will be saved in a unique place. The project will make the total activities of the production to automate and will reduce the human interaction and human effort and also will provide quality.

1.3 Project Overview


Activity Resource Planning will help the firm to manage the complete activities of the production. The raw materials details and the source details for the production of the company are maintained and tracked. The stock details based on the production are stored and updated as per the transaction process. The purchase order from the client will be maintained in a unique place and after the approval of the administrator it will be updated in the stock register. The project mainly will be used to automate the activities of the company. The production activities will be maintained and tracked on time basis.

ACTIVITY RESOURCE PLANNING

Automate and Integrate Business Flow supports complete order lifecycle management from multichannel sales origination and quoting through automated payment processing, order processing, and fulfillment. Employees, sales people, management, and customers all have visibility the exact real-time status of orders. Real-time Order Status Employees, sales people, management, and customers all have visibility into the exact real-time status of orders. Business Flow enables the delivery of timely, accurate customer services and provides for customer self-service. Taxation Business Flow has full taxation support for up-to-date state and zip code based tax rates. The configuration engine enables different tax treatments at any level in the company and product hierarchy, down to a specific tax treatment for a single item. Partial Receiving and Back Order Tracking Business Flow supports the receipt of partial orders and maintains real-time status on all backorders. When backorders arrive, Business Flow enables the fulfillment of outstanding orders. Order Modification Orders may be modified, added to, amended and voided after they are originally placed. Business Flow provides the workflow to track modifications and make changes real-time to the fulfillment of orders. Orders Notifications Business Flow enables orders notifications to be sent to suppliers via mail, fax, email or electronically. Each customer may have their own preference.

ACTIVITY RESOURCE PLANNING

Order Approval Business Flow supports a full order approval process with workflow that manages each stage and the recording of authorizations.

ACTIVITY RESOURCE PLANNING

CHAPTER-II
2. SYSTEM CONFIGURATION 1.1Hardware Configuration
Processor will continue smaller and cheaper, whereas memory will continue to get faster, larger and cheaper. The recent trend except to have a reasonable memory to accompany a powerful processor.

Processor RAM Virtual Memory Hard Disk Key Board Mouse

: Intel Pentium 4 : 256 MB : 64 Megabytes : 20 GB : : P/S2 105 Keys I Ready P/S2 3Button Mouse

1.2

Software Configuration
When an application project is consider the three basic software requirements

are the platform in which the project developed, the front end tool that provides the interaction with the user and the backend tool that store the data.

Operating System Server side Script Back-End Tool

: Windows xp : VB.NET

: SQL Server

ACTIVITY RESOURCE PLANNING

2.3 Introduction to Operating System Windows Xp


Windows XP is an operating environment. The best way to define an operating environment like windows is to say that they predefine the utilities that are application share. It can be called user interface methodology; where you need not concern yourself with how windows work, because the goal of windows application developers is to use windows environment with continuity that is more visible. With windows XP, we can communicate and the data between programs with out transferring or copying files. Windows can run applications that offer high quality out put.

2.4 Overview of Front End Visual Basic .NET


Visual Basic .NET provides the easiest, most productive language and tool for rapidly building Windows and Web applications. Visual Basic .NET comes with enhanced visual designers, increased application performance, and a powerful integrated development environment (IDE). It also supports creation of applications for wireless, Internet-enabled hand-held devices. The following are the features of Visual Basic .NET with .NET Framework 1.0 and Visual Basic .NET 2003 with .NET Framework 1.1. This also answers why should I use Visual Basic .NET, what can I do with it? OOP with VB Visual Basic was Object-Based, Visual Basic .NET is Object-Oriented, which means that it's a true Object-Oriented Programming Language. Visual Basic .NET supports all the key OOP features like Polymorphism, Inheritance, Abstraction and Encapsulation. It's worth having a brief overview of OOP before starting OOP with VB.

ACTIVITY RESOURCE PLANNING

Active-X Programming: Active-X is the successor to Object Linking and Embedding (OLE), and it is the technology that facilities communication between applications at the object level, allowing the user to embed a Word document in an Excel Spreadsheet. An Active-X control is a Object Model (COM) object. This not has the ability to run by itself. Set of functionally packaged in a Component COM object is self-contained, although it does Database Access: A large number of applications use database. Everything from a personal organizer to a large, corporate personnel system uses database to store and maintain all the records that the applications use and manipulate. Visual C++ four different technologies for using and accessing databases in the applications such as DAO, ODBC, OLE DB, and Active X Data Objects. Data Access Object (DAO): The DAO provides an interface to the jet database engine. This engine is a generalized piece of software that provides in the ability to store data n and retrieve data from a range of a database management system. DAO uses objects for accessing and manipulating a database. These objects insulate the user from the detail of the specific tables, queries and the database itself. DAO talks directly to Microsoft Access. DAO can also communicate with the other database through the jet engine. DAO is easier to use than the ODBC API but doesn't provide the degree of low-level control afforded by the ODBC API. Therefore, DAO could be classified as a high-level database interface. There is a set of MFC classes that further simplify the DAO automation interfaces. The MFC DAO classes are prefixed with the CDAO. Remote Data Object (RDO): RDO was designed to given access to remote databases. Version4 of VB introduced this technology. It is careful when accessing data from relational database such as MS SQL server and ORACLE. ActiveX Data Object (ADO): ADO is an interface to olden introduced in Version6 of VB. This is a Microsoft newest data access technology and provides access to almost any data stored in different format. ADO is a replacement for the older DAO and RDO and gives you as features not found in either. The ADO enables accessing data from relational and non-relational databases. It also allows us to access other data source such as e-mail, file system, project management tools and spreadsheets.

ACTIVITY RESOURCE PLANNING

2.5 Overview of Back End Microsoft SQL Server 2000


The following is a list of the new features provided in SQL Server 2000:

User-defined functions Indexed views Distributed partitioned views INSTEAD OF and AFTER triggers New datatypes Cascading RI constraints Multiple SQL Server instances XML support Log shipping The rest of this section takes a closer look at each of these new features and

provides a reference to subsequent chapters where more information about the new feature can be found.

ACTIVITY RESOURCE PLANNING

CHAPTER-III
2. SYSTEM STUDY AND ANALYSIS

3.1. Existing System


The existing system is being done manually. Each transaction is entered in a separate voucher (a record of transaction). At closing of each transaction, the data available in the voucher were posted into separate files. This process of creation in a particular report consumes such time, since searching through the voucher book and enters the same data for the second time in the general voucher is time consuming process. The process can be prone to resulting in errors and in duplication of data. Apart from tedious process, there is a chance for missing data and reports.

3.2Drawback of Existing System


Time consuming and tedious process Lots of papers has be maintained Time delay Wastage of human resources Record maintenance is difficult

10

ACTIVITY RESOURCE PLANNING

3.3. Proposed System


This project helps you maintain the details of the customer, products and dealers details in full fledged security. Unauthorized persons cannot access the data. The transactions are kept online, so that there is fast completion of the transaction process available. The difficulties of the existing system and their requirements and the new system are developed with the following Advantages:

3.4. Advantages of proposed system


Easy to maintain and manipulate records Complete online transaction Faster sales and service Easy communication because of chat and email Quick response time

CHAPTER-IV
11

ACTIVITY RESOURCE PLANNING

4 SYSTEM ANALYSIS & DESIGN

4.1 Input Design


Input design is a part of overall system design. The main objective during the input designs the input designs is given bellow: Input Stages The main input stages can be listed bellow: Admin login Resource details Client details Product details Stock details order Employee login To produce a cost-effective method of input. To ensure that the input is acceptable and understood by the user. To achieve the highest possible level of accuracy

Input Types It is necessary to determine the various types of inputs can be categorized as follows: External inputs, which are prime inputs for the system Internal inputs, which are user communication with the system. Interactive, which are inputs entered during a dialogue

12

ACTIVITY RESOURCE PLANNING

Input Media At this stage choice has to be made the input media. To conclusion about the input media consideration has to be given to: Type of output Flexibility of format Speed Accuracy Verification methods Rejection rates Ease of correction Storage and handling requirements Security Easy to use Portability

Keeping in view the above description of the input types and input media, it can be said that most of the inputs are of the form of internal and interactive. As input data is to be the directly keyed in by the user, the keyboard can be considered to be the most suitable input device.

4.2 Output Design


The output should be defined in terms of the following points: Type of the output Content of the output Format of the output Location of the output Frequency of the output Volume of the output Sequence of the output

13

ACTIVITY RESOURCE PLANNING

It is not always desirable to print to display data as it is held on a computer. It should be decided as which form of the output is the most suitable. Output Media In the next stage it is to be decided that which medium is the most appropriate for the output. The main consideration when deciding about the output media are: The suitability or the device to the particular application. The need for hard copy The response time required The location of the users The software and hardware available The cost

Keeping in view the above description the project is to have outputs mainly coming under the category of internal outputs. The main outputs desired according to the requirement specification are: The outputs were needed to be generated as a hot copy and as well as Keeping in view these outputs The format for the output is taken form the outputs Which are currently being obtained after manual processing The standard printer is to be used as output media for hard copies

queries to be viewed on the screen.

14

ACTIVITY RESOURCE PLANNING

4.3 Feasibility study


Many feasibility studies ate disillusioning for both user and analysis. First, the study often presupposes that when the feasibility document is being prepared, the analyst is in a position to evaluate solutions. Second, most studies tend to overlook the confusion inherent in system development the constraints and the assumed attitudes. If the feasibility study is to serve as decision document, it must answer three key questions: Is there a new and better way to do the job that will benefit the user? What are the cost and saving of the alternatives? What is recommended? The most successful system projects are not necessarily the biggest or most visible in a business but rather those that truly meet user expectation. More project fail because of inflated expectations than for any other reason. Feasibility Consideration Three key considerations are involved in the feasibility: effort. Economic Technical Operational feasibility Data base design

Least briefly reviews each consideration and how it relates to the system

15

ACTIVITY RESOURCE PLANNING

Economic feasibility
Economic analysis is the most frequently used method for evaluating the effectiveness of a candidate system. More commonly know as cost/benefit analysis, the procedure is to determine the benefits and savings that are expected form a candidate system and compare them with costs. If benefit outweighs costs, then the decision is made to design and implement the system. Otherwise further justification or alternation in the proposed system will have to be made if it is to have chance of being approved. This is an ongoing effort that improves in accuracy at each phase of the system life cycle.

4.4 Technical feasibility


Technical feasilibility centers around existing computer system and to what extent it can support the proposed addition. For example, if the current computer is operating at 80 percent capacity an arbitrary ceiling then running another application could overload the system or require addition hardware. This involves financial consideration to accommodate technical enhancements. If the budget is a serious constraint, then the project is judged not feasible. By using the static web page and platform independent language, financial consideration to accommodate technical enhancement is not as issue and the project is then technically feasible.

4.5. Operational feasibility:


People are inherently resistant to change, and computers have been known to facility change. An estimate should be made of how strong a reaction the user staff is likely to have toward the development of a computerized system it is 16

ACTIVITY RESOURCE PLANNING

common knowledge that computer installation have something to do turnover transfer, training and changes in employee job status.

4.6 Database Design


A data flow diagram is graphical tool used to describe and analyze movement of the data through a system. These are the central tool and the basis form which the other components are developed. The transformation of the data from the input to output, through processed, may be described logically and independently of physical components associated with the system. These are known as the logical dataflow diagram. The physical data flow diagram show actual implements and movement of the data between people, departments and workstation, a full description of system actually consists of set of data flow diagrams. Using two familiar notations Yourdon, Gane and Sarson notation develops the data flow diagrams. Each component in DFD is labeled with a descriptive name. Process is further identified with number that will be used for identification purpose. The development of DTDs is done in several levels. Each process in lower level diagram can be broken down into a more detailed DFD in the next level. Top-level diagram is often called context diagram. It consist a single process bit, which plays vital role studying the current system. The process at the first level DFD.

17

ACTIVITY RESOURCE PLANNING

CHAPTER-V
5. SYSTEM TESTING & IMPLEMENTATION
5.1 TESTING METHODOLOGIES: Testing was carried into two phases in the first phase was modules Were testing separately and the second phase was the integrated testing where the modules were integrated and tested. Module testing started after coding of each module were executed. After the completion of every validation of the modules, testing was done to see if the system behaves as accepted and was checked against the requirements. In each module, the validation were checked for both correct and incorrect data. The errors were noted down and corrected. Testing sequence of operations were also done so that any sequence of invoking forms or menu will not lead to inconsistent state modules which were interdependent were checked after integration and the aberrations were fixed. Reports were extracted from multiple tables and consistency was checked. Data used by more than one module was also checked for consistency.

18

ACTIVITY RESOURCE PLANNING

5.2 SYSTEM IMPLEMENTATION Implementation is used here to mean the process of converting a new or revised system design into operational one; conversion is one aspect of implementation. the other aspect is post implementation review and software and maintenance There are three type of implementation: Implementation of a computer system Implementation of new computer system Implementation of a modified application

Implementation of the computer system Its should be replace a manual system the problems encountered are converting files, training users creating accurate files, and verifying printouts for integrity Implementation of new computer system Its should be replace an existing one this is usually a difficult conversion. if not properly planned there can be many problems. Some large computer system have taken even years to convert Implementation of a modified application Its should be replace an existing one using the same computer. This type of conversion is relativity easy to handle, provided there are no major changes to the file Maintenance After the system has successfully implemented maintenance activity may require continuous involvement of the developers. Provision must be made for environmental changes, which may affect either the computer, or other parts of computer based system: such activity is normally called maintenance. It includes both the improvement of system functions and the correction of faults that arise during the operation of a system. 19

ACTIVITY RESOURCE PLANNING

Maintenance activity may require the continuing involvement of a large proportion of computer department resources. Maintenance works may arise due to two reasons. Error that creep up during normal running. Request for changes by the service providers. As part of the normal running of the system when errors are found. This maintenance work will help to ensure that the system works smoothly as predicted in the open environment. Whenever a maintenance work arises, the work has to be properly carried out with proper documentation. This is to avoid any form of changes in the structure of the system. For every maintenance work an amendment notification is to be issued. This notification will have the required changes and also authenticated. On receipt of the amendment notification the amendment log is prepared which records these courses of action that has been planned to be taken. It also records the estimated and the actual completion of each of the activities.

5.3 System Testing


Testing is the most important phases in the software development activity. In software development life cycle (SDLC), the main aim of the testing process in the quality, the developed software is tested against attaining the required functionality and performance. During the testing process the software is worked with some particular test case and the output of the test cases are analyzed whether the software is working according to the expectations or not.

Level of Testing
Since the error in the software can be injured at any stage. so, we have carry out the testing process at different levels during the development. The basic levels of testing are Unit Testing Integration Testing 20

ACTIVITY RESOURCE PLANNING

Validation Checks Black Box Testing White Box Texting Unit Testing The Unit Testing is carried out on coding here different modules are tested against the specification produced during design for the modules. In case of integration testing different tested are combined into sub system and tested in case of the System testing the full software is tested and in the next level of testing the system is tested with user requirement document prepared. Unit testing mainly focused first in the smallest and low level modules, proceeding one at a time. Bottom-up testing was performed on each module. As developing a driver program, the test modules by developed or used. But for the purpose of testing modules themselves were used as stubs, to print verification of the actions performed. After the lower level modules were tested, the modules that the next higher level those make use of the lower modules were tested The unit testing has been tested with sample data and adequate corrections were made as per the user requirement, such that login module was tested with user id and code and appropriate error messages are provided for errors like data entry error, id error,etc. Integration Testing Integration testing is a systematic technique for constructing the program structure, while at the same time conducting tests to uncover error associated with interfacing. As the system consists of the number the edges of the two modules. The software tested under this incremental bottom-up approach. Bottom-up approach integration strategy was implemented with the following steps. Low modules were combined into clusters that perform specific The clusters were tested software sub function

21

ACTIVITY RESOURCE PLANNING

Validation It checks the quality of the software in both simulated and live environments. In the Simulated approach the developers test the product on their workplace to make the products meet its requirements. In the Live Environment phase the product is given to the customer to evaluate the products functionality. Validation refers to the different set of activities that ensure that software correctly implements a specific function and the software that been built is traceable to customer requirements. Verification and validation can be defined in a way like: Verification Validation

Software validation is achieved through a series of black-box test that demonstrate conformity with requirement. After each validation check a test has been conducted, one of the two possible condition exists are expected A deviation from specification is uncovered and a deficiency list is created The function or performance characteristics conform to specification and

5.4 Black Box Testing Black box testing methods focus on the functional requirements of the software. That is, black box testing enables us to derive sets of input conditions that will fully exercise all functional requirements of the program. Black box testing attempts to find errors in following categories: Incorrect or missing functions Interface errors Errors in data structures or external database access Performance errors Initialization and termination errors

22

ACTIVITY RESOURCE PLANNING

4.5 White Box Testing White box testing is a test case design method that uses the control structure of the procedural design to derive test cases. Using white box testing methods, we can derive test cases that

Guarantee that all independent paths within a module have been exercised at least once. Exercise all logical decisions on their true and false sides Execute all loops at their boundaries and within their operational bounds Exercise internal data structures to ensure their validity.

23

ACTIVITY RESOURCE PLANNING

CHAPTER-VI
6. FINDINGS
This system is very flexible so that the maintenance and further amendments based on the changing environment and requirements can be made easily. Any change that leads to the system failures is prevented with security measures. This project is mainly supported for multi user environment. That is more than one user can use simultaneously. The system developed should be secured and protected against all possible hazards. The same Intranet project could be upgraded to Internet based application with ASP.NET and SQL as a web server. By implementing the concept, in future all the branches of the company could share the data across the web.

24

ACTIVITY RESOURCE PLANNING

CHAPTER-VII
7. SCOPE FOR FURTHER ENHANCEMENT
The application is extended to be implemented in multiple branches of the same organizations. It also enhances its facility for automated mail communication with vendors and provides future forecast report towards the growth of the organization.

The application developed is designed in such a way that any further enhancements can be done with ease. The system has the capability for easy integration with other systems. New modules can be added to the existing system with less effort. The features that would be incorporated may be: Generation of custom reports in accordance with specific needs of the users. Tracking the workload of team members. A more sophisticated document management system. To make the activities of the project in a web-based application.

25

ACTIVITY RESOURCE PLANNING

CHAPTER-VIII
8. CONCLUSION
The project works on windows technology. The goal of the project ACTIVITY RESOURCE PLANNING has been successfully achieved. The system can be uploaded into company to make it available globally & secured. The software (VB.Net) used to develop the system makes it more flexible, portable more secret. It also supports dynamic content forms. ARP relations are smothered with. satisfaction. The organization through customer

Customers satisfaction has been gained because of increased shorter

delivery cycle administrator can manage the system more efficiently. The project is full-fledged & user friendly. The system has greatly reduced the clerical overhead & drastically reduced the time taken in the products. The system satisfies all requirements needed by the user. I conclude the software as best it my knowledge

26

ACTIVITY RESOURCE PLANNING

CHAPTER-IX
9.APPENDIX Data Flow Diagram
A data flow diagram is graphical tool used to describe and analyze movement of the data through a system. A DFD is also known as a Bubble Chart has the purpose of clarifying system requirements and identifying major transformation the will become program in system design. So it is the starting point of the design to lowest level of details. A DFD consists of series of bubbles joined by data flows in the system. DFD Symbols In the DFD, there are four Symbols A square define a source or destination system data An arrow identified data flow. It is the pipeline through which the information flow A circle or a bubble represents a process that transforms Incoming data flow into outgoing data flows An open rectangle is a data store, data at rest or a temporary of data

Process that transformation data flow Source or Destination of data

Flow of data Store the data

27

ACTIVITY RESOURCE PLANNING

DATA FLOW DIAGRAM


Emp Id, Password Valid EMP Id

D1 Product
Company Details

Order Details

Customer Details

Fetch

Approval

Display

Report

28

ACTIVITY RESOURCE PLANNING

ADMINISTRATOR

D1

Admin Detail

Admin Login

Authen d ication

Order Detail

D1

Order

Fetch

Compare And Send

Process

Display

Reports

29

ACTIVITY RESOURCE PLANNING

RESOURCE

Login

Authend ication

D1

Login

Resource Detail

D1

Resource Details

Company Detail

Order

Verifiers & Modifiers

Reports

30

ACTIVITY RESOURCE PLANNING

Entity Relationship Diagram:

Ename Dob Email

Addres s

Emp_id

phone

Employe details

Departm ent

mai nta in Min_stoc kckl Min_stoc kckl

Prod_i d Pro_name

Stock

31

ACTIVITY RESOURCE PLANNING

FIELD NAME Username Password

DESCRIPTION User name password

DATA TYPE Varchar(50) Varchar(50)

TABLES
ADMIN_LOGIN TABLE:

CLIENT_DETAIL TABLE: Primary Key: Cli_cd FIELD NAME Cli_name Cli_com Cli_cd Cli_add Cli_loc State Cnt Pin Ph_no Email_id DESCRIPTION Client name Client company Client code Client address Client location State Country Pin code Phone number Email id 32 DATA TYPE Varchar(50) Varchar(50) Number(15) Varchar(50) Varchar(50) Varchar(50) Varchar(50) Number(15) Number(15) Varchar(50)

ACTIVITY RESOURCE PLANNING

EMPLOYEE TABLE: Primary key: Emp_id

FIELD NAME Empid Empname Password Gender Dob Qualification Nationality Address Phoneno Email_id

DESCRIPTION Employee identification number Employee name Password Gender Date of birth Qualification Nationality Address Telephone number Email id

DATA TYPE Number(15) Varchar(50) Varchar(50) Varchar(10) date Varchar(50) Varchar(20) Varchar(100) Number(15) Varchar(50)

33

ACTIVITY RESOURCE PLANNING

PRODUCT TABLE: Primary key : Prdt_id

FIELD NAME Prdt_name Prdt_id Prdt_desc Prdt_type Prdt_manuf_place Prdt_bar_code

DESCRIPTION Product name Product identification number Product description Product type Product manufacturing place Product bar code

DATA TYPE Varchar(50) Varchar(50) Varchar(50) Varchar(50) Varchar(50) Number(15)

34

ACTIVITY RESOURCE PLANNING

PURCHASE_ORDER TABLE: Primary key: Res_id FIELD NAME Res_id Res_name Qty Unit_price Total_cost Order_date Exp_date Order_no DESCRIPTION Resource identification number Resource name Quantity Unit price Total cost Order date Expected date Order number DATA TYPE Number(15) Varchar(50) Number(20) Number(10) Number(20) Date Date Number(30)

35

ACTIVITY RESOURCE PLANNING

RESOURCE TABLE: Primary key : Cli_id Foreign key: Res_id

FIELD NAME Cli_id Cli_name Res_name Res_id Res_description Res_type Res_manuf_place

DESCRIPTION Client identification number Client name Resource name Resource id Resource description Resource type Resource manufacturing place

DATA TYPE Number(15) Varchar(50) Varchar(50) Number(15) Varchar(50) Varchar(50) Varchar(50)

36

ACTIVITY RESOURCE PLANNING

STOCK DETAILS Primary key: Prdt_id FIELD NAME Prdt_id Prdt_name Cur_sto Min_sto DESCRIPTION Product identification number Product name Current stock Minimum stock DATA TYPE Number(15) Varchar(50) Number(50) Number(50)

PRODUCT SELLING APPROVAL Primary key : ord_no Foreign key: prdt_id FIELD NAME Ord_no Prdt_id Prdt_name Qty Unit_price T_cost Ord_date Exp_del_date DESCRIPTION Order number Product identification number Product name quantity Unit price Total cost Order date Expected delivery date DATA TYPE Number(15) Number(15) Varchar(20) Number(50) Number(50) Number(50) Date Date

37

ACTIVITY RESOURCE PLANNING

FORMS
Main

38

ACTIVITY RESOURCE PLANNING

ADMIN LOGIN

39

ACTIVITY RESOURCE PLANNING

ADMINISTRATOR OPERATION

40

ACTIVITY RESOURCE PLANNING

CLIENT PROFILE

41

ACTIVITY RESOURCE PLANNING

EMPLOYEE PERSONAL DETAIL ENTRY

42

ACTIVITY RESOURCE PLANNING

RESOURCE DETAILS

43

ACTIVITY RESOURCE PLANNING

STOCK DETAILS

44

ACTIVITY RESOURCE PLANNING

PRODUCT DETAILS

45

ACTIVITY RESOURCE PLANNING

ORDER APPROVAL

46

ACTIVITY RESOURCE PLANNING

PRODUCT RESOURCE PURCHASE BILLING APPROVAL

47

ACTIVITY RESOURCE PLANNING

PRODUCT SELLING APPROVAL

48

ACTIVITY RESOURCE PLANNING

REPORTS

49

ACTIVITY RESOURCE PLANNING

EMPLOYEE DETAILS

50

ACTIVITY RESOURCE PLANNING

CLIENT REPORT

51

ACTIVITY RESOURCE PLANNING

RESOURCE REPORT

52

ACTIVITY RESOURCE PLANNING

STOCK REPORT

53

ACTIVITY RESOURCE PLANNING

CHAPTER X
10.BIBLIOGRAPHY

1. Alex Homer, professional VB.NET 1.1.,2004 Edition, wrox publications. 2. C.J Date,An Introduction to Database systems, Addison Wesley publications. 3. Denim, VB.NET for Begineers, wrox press Ltd, 2000 4. Roger S pressman, Software Engineering, 2000 Edition, Dreamtech Publications 5. Steven Holzner,Visual Basic.NET Black Book , 2003 edition, Dreamtech publications.

54

ACTIVITY RESOURCE PLANNING

SAMPLE CODING Imports System.Data.SqlClient Public Class admin_entry Dim db As New SqlConnection("server=.;database=activity;uid=sa") Dim cmd As New SqlCommand Dim dr As SqlDataReader Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click db.Open() cmd.Connection = db cmd.CommandText = "select * from admin_login where username='" & TextBox1.Text & "' and password='" & TextBox2.Text & "'" dr = cmd.ExecuteReader If (dr.Read) Then admin_operation.Show() TextBox1.Text = "" TextBox2.Text = "" Me.Hide() Else MsgBox("Enter valid user name and Password") End If db.Close()

End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click HOME.Show() Me.Close() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click TextBox1.Text = "" TextBox2.Text = "" 55

ACTIVITY RESOURCE PLANNING

Me.Close() End Sub Private Sub GroupBox1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GroupBox1.Enter End Sub Private Sub admin_entry_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.Refresh() End Sub End Class Client: Imports System.Data.SqlClient Public Class client_detail Dim db As New SqlConnection("server=.;database=activity;uid=sa") Dim cmd As New SqlCommand Private Sub Label3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label3.Click End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click db.Open() cmd.Connection = db cmd.CommandText = "insert into client_detail values('" & TextBox1.Text & "','" & TextBox2.Text & "','" & TextBox3.Text & "','" & TextBox4.Text & "','" & TextBox5.Text & "','" & TextBox6.Text & "','" & TextBox7.Text & "','" & TextBox8.Text & "','" & TextBox9.Text & "','" & TextBox10.Text & "' )" cmd.ExecuteNonQuery() MsgBox("inserted") db.Close() End Sub Private Sub client_detail_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub

56

ACTIVITY RESOURCE PLANNING

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click admin_operation.Show() Me.Close() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click TextBox1.Text = "" TextBox2.Text = "" TextBox3.Text = "" TextBox4.Text = "" TextBox5.Text = "" TextBox6.Text = "" TextBox7.Text = "" TextBox8.Text = "" TextBox9.Text = "" TextBox10.Text = "" End Sub End Class Employee: Imports System.Data.SqlClient Public Class TESTT Dim con As New SqlConnection("server=.;database=activity;uid=sa") Dim cmd As New SqlCommand Dim dr As SqlDataReader Dim DS As New DataSet Dim da As New SqlDataAdapter Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load DataGridView1.Visible = False con.Open() cmd.Connection = con Dim dr As SqlDataReader cmd.CommandText = "select * from employee_office" dr = cmd.ExecuteReader While (dr.Read) ComboBox1.Items.Add(dr.GetValue(0)) End While con.Close() End Sub

57

ACTIVITY RESOURCE PLANNING

Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click DataGridView1.Visible = True con.Open() DS.Clear() Dim s As String s = "select* from employee_office where empid='" & ComboBox1.SelectedItem & "'" da = New SqlDataAdapter(s, con) da.Fill(DS, "temp") DataGridView1.DataSource = DS.Tables("temp") con.Close() End Sub Private Sub GroupBox1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles GroupBox1.Enter End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click admin_operation.Show() Me.Close() End Sub End Class Order: Public Class order_approval Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click resource_purchase_order_approval.Show() Me.Close() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click product_order_approval.Show() Me.Close()

58

ACTIVITY RESOURCE PLANNING

End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click admin_operation.Show() Me.Close() End Sub End Class Stock: Imports System.Data.SqlClient Public Class resource_purchase_order_approval Dim db As New SqlConnection("server=.;database=activity;uid=sa") Dim cmd As New SqlCommand Dim dr As SqlDataReader Function dis() db.Open() cmd.Connection = db cmd.CommandText = "select order_no from purchase_order where status='" & 0 & "'" dr = cmd.ExecuteReader While (dr.Read()) ComboBox1.Items.Add(dr.GetValue(0)) End While db.Close() End Function Private Sub resource_purchase_order_approval_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load dis() TextBox1.Enabled = False TextBox2.Enabled = False TextBox3.Enabled = False TextBox4.Enabled = False TextBox5.Enabled = False TextBox6.Enabled = False TextBox7.Enabled = False End Sub Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged db.Open() cmd.Connection = db

59

ACTIVITY RESOURCE PLANNING

cmd.CommandText = "select * from purchase_order where order_no='" & ComboBox1.SelectedItem & "'" dr = cmd.ExecuteReader While (dr.Read()) TextBox1.Text = dr.GetValue(0) TextBox2.Text = dr.GetValue(1) TextBox3.Text = dr.GetValue(2) TextBox4.Text = dr.GetValue(3) TextBox5.Text = dr.GetValue(4) TextBox6.Text = dr.GetValue(5) TextBox7.Text = dr.GetValue(6) End While db.Close() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click db.Open() cmd.Connection = db cmd.CommandText = "update purchase_order set status='approved' where order_no='" & ComboBox1.SelectedItem & "'" cmd.ExecuteNonQuery() MsgBox("order approved for purchase billing") db.Close() End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click admin_operation.Show() Me.Close() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click db.Open() cmd.Connection = db cmd.CommandText = "update purchase_order set status='rejected' where order_no='" & ComboBox1.SelectedItem & "'" cmd.ExecuteNonQuery() MsgBox("order rejected for purchase billing") db.Close() End Sub End Class

60

You might also like