Purchase Order 1
Purchase Order 1
PROJECT REPORT
ON
AT
Session - 2019-20
1
INDEX
Index Page No.
Certificate
Acknowledgement
Preface
Introduction to organisation
Introduction to Purchase Order System
Existing System
Limitation of Existing System
Proposed System
System Design
Input Design
Output Design
File Design
Coding
Output & reports
Advantages of project
Limitations of project
Further scope
Conclusion
reference
2
CERTIFICATE
3
4
ACKNOWLEDGEMENT
5
ACKNOWLEDGEMENT
There is always a sense of gratitude which one expresses to other for the helpful and
needy services they render during all phase of life. I too would like to do it as I really wish to
express my gratitude towards all those who have been helpful to me in getting this task of project
report to successful end.
First of all I would like to thank the supreme power the almighty GOD who is obviously
the one who always guided me to walk on the right path of life. Without his grace this project
would become difficult to complete. Next to him are my present to whom I am greatly indebted
for having me brought up with love and for their encouragement at every step of my life.
I feel highly obliged in taking the opportunity to sincerely thanks to Dr. Vibha Gupta,
(Principal of DAV College,Yamunanagar) and also thanks to Dr. Rachna Soni (Associate
Professor of Comp. Sci. & App. Department) & Mr. Davender Malhotra (Assistant
Professor Of Comp. App.) without whose able guidance, regular counseling and whole hearted
support this project would not have ended successfully.
Preety
6
PREFACE
7
PREFACE
I was assigned a project dealing with " Purchasing Department" . It was in fact, a
challenging job, which required a lot of information and guidance, so as to place it on the
horizons of success.
The main objective of this project was to minimise the under wastage of time and effort
rendered by the manpower of the company. In other words, to avoid the unnecessary procedure
required for maintaining Purchasing Department for the requestors of different departments.
So, realizing this fact and according to time demand, the need of updating
PURCHASING DEPARTMENT becomes indispensable. It maintains a record of all those items
which are needed by the requestors, time and again, and thus purchasing them either half yearly
or on yearly basis. Thus, it adds as an advantage to the company as it reduces transportation and
other related charges by procuring bulk purchase.
8
INTRODUCTION
TO
ORGANISATION
9
INTRODUCTION TO ORGANIZATION
Organization means structure and Order. It is the Arrangement of Components that helps to
achieve Objectives. In the design of a business system, for example, the hierarchical
relationships starting with the president on top and leading downward to the workers represents
the Organization Structure. Such type of arrangement shows a system-subsystem relationship,
defines the authority structure, specifies the formal flow of communication, and formalizes the
chain of command. Like wise , a computer system is designed around an input device, a central
processing unit, an output device and one or more storage units. When all these units linked
together they work as a whole system for producing information.
Interaction:
Interaction refers to the manner in which each component or unit functions with other
components of the system. In an organization, for example, purchasing must interact with
production, advertising with sales and payroll with personnel. In a computer system , the central
processing unit must interact with the input device to solve a problem.
Interdependence :
Interdependence means that parts of the organization or computer system depend on one another.
They are coordinated and linked together according to a plan. One subsystem depends on the
input of another subsystem for proper functioning; i.e. the output of one system is the required
input for another subsystem
Integration :
Integration refers to the Completeness of the systems. Integration is concerned with how a
system is tied together. This means that sharing physical part or location of the system. For
Better understand, parts of the system work together within the system even though each part
performs a unique function. Without the Proper integration of the system, a system cannot work
properly and cannot achieve the desired objective.
Central Objective:
10
The last characteristic of a system is its central objective. Objectives may be real or stated.
Although a stated objective may be the real objective, it is not good for an organization to state
one objective and operate to achieve another. The Important point is that users must know the
central objective of a system for successful design of a system.
11
INTRODUCTION
TO
PURCHASE ORDER
SYSTEM
12
INTRODUCTION TO PURCHASE ORDER SYSTEM
First of all selecting a project it should be clearly known that what means by the name
implies project. A group of works connected complementary to one another is called
project and will consider as one work. Project selection is as not as easy as it seems, for a
person to choose a topic for project work . The main factor in determining the success of
a computer installation is the right of application along with skills of their development
and implementation .it is of prime importance for the person to acquire a reasonable level
of knowledge, both theoretically and practically and be able to evaluate the application
under consideration. Other factor which should be kept in mind while making the correct
selection are project feasibility, applicability ,future aspect, complexity, benefits. This
does not make the task of selecting area of project work simple but only provides a set of
guideline that may follow for the selection of project work.
13
1) Orders are received daily from customers and via salesman. The order department
personal check the customer. If he is unfamiliar or there is any doubt as to his
credit worthiness the order is passed to control department for authorization.
2) The ordered item is scanned for feasibility and then documents are passed to the
stock control department. These documents are of two types customer’s
documents or internal documents. Customer’s documents are used provided the
contents are clear. The later are made out for phoned orders or if the contents are
not clear .
3) If the stock is available then orders are passed to the pricing section. Here the
appropriate prices discounts percentages are entered.
4) Orders are returned to the order department where invoices etc. are prepared. Also
the net amount of the order is calculated and then order is delivered.
5) At the end of each month the accounts department updates the ledger and then
prepared sales statements. The customer’s accounts are checked and for excessive
debts information is given to authorization department.
Purchase Order:
The transaction of goods in Respect to liquid assets is called sales of goods. An requisition
from customer/client for some goods to the vendor is called order.
1) Orders are received daily from customers and via salesman. The order department
personal check the customer. If he is unfamiliar or there is any doubt as to his
credit worthiness the order is passed to control department for authorization.
2) The ordered item is scanned for feasibility and then documents are passed to the
stock control department. These documents are of two types customer’s
documents or internal documents. Customer’s documents are used provided the
contents are clear. The later are made out for phoned orders or if the contents are
not clear .
14
3) If the stock is available then orders are passed to the pricing section. Here the
appropriate prices discounts percentages are entered.
4) Orders are returned to the order department where invoices etc. are prepared. Also
the net amount of the order is calculated and then order is delivered.
5) At the end of each month the accounts department updates the ledger and then
prepared sales statements. The customer’s accounts are checked and for excessive
debts information is given to authorization department.
Before starting of the computer technology there exists the manual system. In the manual
system the sales of product is maintained a manual sales system comprises of four
components viz.
1. Production stock: raw materials, parts and components brought out which go into the
manufacturing process of the company products.
2. Micro: maintenance, repair and operating supplies which are consumed in the
production products but which do not form a part of the product.
Finished goods stock: completed products ready for shipment. An stock system
comprise for the following four departments.
Material, planning and stock keeping: As the name suggests this department
functions as the heart and the sale of the material planning and stock keeping
system of an organization. Various department make an estimate of their
requirements and present it to the material planning and stock keeping
or(mp&ic),as it is better known.
15
Purchases: After going through the information provided by the computer
department. The mp & ic makes decision about the economic order quantity,
raises indents for the required items and senses .then to purchase department.
Purchase department studies the indents, and then negotiates with various firms
and places the order to the firm, which meets the requirements at the economics
level and also at the same time keeping the quantity to the desired level. Purchase
department sets to it that the ordered quantity reaches the firm in time.
This department co-ordinates with inward inspection , accept she passed materials
prepares rejection notes for rejection material and complete supplies bill
formalities .it stores them respective locations after applying the appropriates
materials and keeps mp&ic informed about the stock level.
16
EXISTING SYSTEM
17
EXISTING SYSTEM
Purchasing is the most important function of the material management as the moment an
order is placed for the purchase of materials, a substantial of the company finance is
committed which affects cash flow position of the company there is a purchase
department and the responsibility for purchasing all type of material should be entrusted
to this department. The head of this department is known as purchase manager or the
supply manager or chief buyer.
1. What to purchase.
2. When to purchase.
3. Where to purchase.
19
LIMITATION
OF
EXISTING SYSTEM
20
LIMITATIONS OF EXISTING SYSTEM
Manual system has many limitations. Following are the limitation of manual system.
1. Risk of issuing the same identity code to two or more employee which creates
problem later on.
2. In manual system it is no query system, so a person has to spend a lot of time and
effort search the ID of employee.
4. The other major problem is repetition of same details in so many papers and
resulting in redundancy.
21
PROPOSED SYSTEM
22
PROPOSED SYSTEM
After studying the manual system of material management and various information
requirement it has been proposed to develop the computerize system for purchase
department. As the computer is capable of processing large amount of data at a very high
speed with high degree accuracy. The data can be stored in small space for years together
without any trouble and can be retrieved whenever required in few seconds. Also it is a
powerful capability of sorting, merging and appending of records. It can work for hours
together without losing efficiency. In the proposed system the data will be entered into
the computer online. A party data is entered by opening that particular party files after
checking a unique code is assigned to it.
The entire particular like item name, code, party name, address etc. will be entered in the
computer. On the basis of information entered into the computer and various transactions
made, various reports can be generated. In this system the user cannot do any effort to
search, or update the records.
23
SYSTEM DESIGN
24
SYSTEM DESIGN
System design is the process which has to be rendered by the System Analyst. He studies
the manual system and the output coming then he designs output on graph chart for the
programmer. System analysis and design refers to the process of examining a business
situation with the intension of improving it through better procedure and methods.
System development can broadly be categorized in two major components- System
Analysis and System Design.
Besides this Analyst has to Document the existing system to design the input and codes,
which a programmer used to programs.
System Analysis is the process of gathering and interpreting facts, diagnose the problem,
and use the information to recommend improvement to the system. More specifically
analysis specifies what the system should do and design specifies how to accomplish the
object.
System Design is the process of planning a new business system or one to replace or
complement an existing system. But before this planning can be done, the old system
must be studied thoroughly and understood and determine how computer can be used to
make its operation more effective.
25
Input design
Once the analysis and design of the system has done, it would be necessary to identify the
data that are required to be processed to produce the outputs. Input is one of the most
important phase of the operation of the computerized system and sometimes creates a
major problem. The input data is lifeblood of a system and have to be analyzed and
designed with utmost care and consideration. Input design features can ensure the
reliability of the system and generate correct reports. Home user can interact efficiently
with the system.
An input is a raw data having movements towards the C.P.U.Input file specifies the
addition of New records for a unique code with detailed information and also permits
Entering input data is a responsible work and requires careful attention . If data going into
system is incorrect then processing and output will magnify these errors.
26
Input of the transactions forms
1. Goods Name: It shows the Goods details.
2. Qty: It tells about the quantity of Goods.
3. Date: the current date will be automatically given to this field.
4. Goods type: the type of Goods is to be specified.
5. Account number: the account number on which the transaction is to be done is to be
specified ere.
6. Amount: the amount involved in the transaction is given this field.
7. Status: status of account is specified i.e. it is clear or not.
27
Output design
Outputs are required primarily to produce the result of the processing to the user. They
are also used to provide permanent copy of their results for the latest consultation.
Outputs are required to produce result of processing to the user. Output will be in the
form of a screen where different options will be displayed. In output designing there is
report menu. It is third option of main menu. It gives the output design of the system. It
has been providing a direct output view of goods sold. It come in following manner.
In this system all the information related to consumer about his name, address, phone no,
balance etc. is stored in a database. Similarly all the information related to the
transactions, about the transaction type, mode, date etc. is stored in another table. All the
information related to the consumer or about the transactions can be seen through reports
in six different ways in this project. Different reports are as follows:
Account report - in this according to the account no. And the pin code, information about
that particular account will be displayed. If pin code is not correctly entered then error
message will be given by the system.
Transaction report – in this according to the given transaction id complete information about
that transaction will be displayed.
Day report – all the transactions done on a given date will be displayed through this report.
28
List of Balance Goods
=========================
As on Date:
==================================================================
=============
==================================================================
=============
==================================================================
=============
29
List of Balance Goods Date:
===================
============
==================================================================
=============
==================================================================
=============
30
Total price of Goods is :
Deposit report – all the deposits advertisement done on a given account and on a given
date will be displayed.
Cancellation report –the cancellation done on a given account and n a given date will
be displayed.
Day report – all the transactions done on a given date will be displayed through this
report.
Receipt Book No – in this all the transactions done on a particular account of transfer,
till date will be displayed. Also the final balance is also displayed of that particular
account.
It is regular activity:
In this project following attributes are used to maintain the record of Goods consumers.
GOODS
PROCESS INFORMATION
PUR
INFORMATION
FILE
DATA ENTRY
PUR
INFORMATION
PROCESS INFORMATION
CHARGES
INFORMATION
FILE
Steps to prepare a bill:
34
Data flow diagram:
(Main menu)
Issue / Return Info.
Product Inward
Purchase
Information
Reports
35
CODING
36
CODING
/* PURCAHSE ORDER SYSTEM */
#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<string.h>
#include<process.h>
#include<graphics.h>
#include<ctype.h>
struct
{ char pcode[5];
char pname[20];
char desc[20];
char type[3];
char unitp[5];
char qty[5];
char max[5];
char min[5];
}product,mproduct;
struct
{
char pcode[5];
char pname[20];
char desc[20];
char min[3];
char qty[5];
char max[5];
char unitp[5];
char type[3];
37
}item;
struct
{ char vcode[5];
char vname[20];
char adde[20];
char city[15];
char contno[10];
char parti[15];
}vender,mvender;
struct
{ char ocode[5];
char qty[8];
char icode[5];
char vcode[5];
char vname[20];
char qtyj[5];
char qtyr[5];
char topaid[5];
char topay[5];
}order,order1,morder;
void main()
{
char ch;
void pmenu(),omenu(),vmenu(),rmenu();
int gd=DETECT,gm=0;
initgraph(&gd,&gm," ");
clrscr();
settextstyle(1,0,4);
outtextxy(170,50,"PROJECT");
outtextxy(250,140,"ON");
outtextxy(40,220,"PURCHSE ORDER SYSTEM");
38
settextstyle(1,0,3);
outtextxy(250,400,"press any key to continue");
getch();
closegraph();
clrscr();
initgraph(&gd,&gm," ");
settextstyle(1,0,4);
outtextxy(100,40,"PURCHASE ORDER SYSTEM");
settextstyle(1,0,3);
getch();
while(1)
{
clrscr();
setcolor(15);
setfillstyle(1,RED);
rectangle(50,30,550,350);
floodfill(30,50,15);
settextstyle(1,0,3);
outtextxy(100,50, "**** PURCHASE ORDER SYSTEM ****");
outtextxy(160,140," P: PURCHASE PRODUCT");
outtextxy(160,170, "O: ORDER PLACING");
outtextxy(160,200," V: VENDOR DATA");
outtextxy(160,230," R: REPORT ");
outtextxy(160,260," E: EXIT");
outtextxy(185,290," ENTER YOUR CHOICE");
ch=getch();
ch=toupper(ch);
switch(ch)
{case 'P' : pmenu();break;
case 'O' : omenu();break;
case 'V' : vmenu();break;
case 'R' : rmenu();break;
39
case 'E' : break;
}
if (ch=='E')
break;}
}
void pmenu()
{char ch1;
clrscr();
while(1)
{
int gd=DETECT,gm=0;
initgraph(&gd,&gm," ");
clrscr();
setcolor(4);
setfillstyle(1,RED);
rectangle(50,30,550,350);
setcolor(WHITE);
floodfill(30,50,4);
settextstyle(1,0,3);
outtextxy(140,50,"PURCHASE PRODUCT");
outtextxy(160,140,"E : DATA ENTERY MODULE");
outtextxy(160,170,"M : DATA MODIFICATION MODULE");
outtextxy(160,200," Q : DATA QUERY MODULE");
outtextxy(160,230,"X: QUIT");
outtextxy(180,260,"enter your choice....." );
ch1=getch();
ch1=toupper(ch1);
switch(ch1)
{case 'E': entry();break;
case 'M': modi();break;
case 'Q': query();break;
40
case 'X' : break;
}
if(ch1=='X')
break;
}
}
void omenu()
{char ch2;
clrscr();
while(1)
{int gd=DETECT,gm=0;
initgraph(&gd,&gm," ");
setcolor(4);
setfillstyle(1,RED);
rectangle(50,30,550,350);
setcolor(WHITE);
floodfill(30,50,4);
settextstyle(1,0,3);
outtextxy(140,50," ORDER PLACE");
outtextxy(80,110,"R : DATA ENTERY MODULE");
outtextxy(80,140,"M : DATA MODIFICATION MODULE");
outtextxy(80,170,"G : GOOD RECEIVE ENTRY MODULE");
outtextxy(80,200,"Q : DATA QUERY MODULE");
outtextxy(80,230,"A : AMOUNT PAYMENT ENTRY MODULE");
outtextxy(80,260,"X : EXIT");
outtextxy(80,290,"enter your choice....." );
ch2=getch();
ch2=toupper(ch2);
switch(ch2)
41
{case 'R': oentry();break;
case 'M': omodi();break;
case 'Q': oquery();
break;
case 'G': ogood();break;
case 'A': oamount();
break;
case 'X': break;
}
if(ch2=='X')
break;
}
}
void vmenu()
{ char ch3;
clrscr();
while(1)
{int gd=DETECT,gm=0;
initgraph(&gd,&gm," ");
setcolor(4);
setfillstyle(1,RED);
rectangle(50,30,550,350);
setcolor(WHITE);
floodfill(30,50,4);
settextstyle(1,0,3);
outtextxy(140,50," VENDOR DATA");
outtextxy(160,110,"E : DATA ENTERY MODULE");
42
outtextxy(160,140,"M : DATA MODIFICATION MODULE");
outtextxy(160,170,"Q: DATA QUERY MODULE");
outtextxy(160,200,"X : EXIT");
outtextxy(180,230,"enter your choice....." );
ch3=getch();
ch3=toupper(ch3);
switch(ch3)
{case 'E': ventry();break;
case 'M': vmodi();break;
case 'Q': vquery();break;
case 'X': break;
}
if(ch3=='X')
break;
}
}
void rmenu()
{char ch4;
clrscr();
while(1)
{
int gd=DETECT,gm=0;
initgraph(&gd,&gm," ");
setcolor(4);
setfillstyle(1,RED);
rectangle(50,30,550,350);
setcolor(WHITE);
floodfill(30,50,4);
setcolor(WHITE);
43
settextstyle(1,0,3);
outtextxy(140,50," REPORT");
switch(ch4)
{case 'I':irep();break;
case 'V':vrep();break;
case 'O':orep();break;
case 'G':grep();break;
case 'A':prep();break;
case 'X':break;
}
if(ch4=='X')
break;
}
}
fp=fopen("item.dat","a+");
while(toupper(ch)=='Y')
{closegraph();
clrscr();
gotoxy(10,5);printf(" **** DATA ENTRY MODULE ****");
gotoxy(10,7);printf(" CODE OF PRODUCT ");
gotoxy(10,8);printf(" NAME OF PRODUCT ");
gotoxy(10,9);printf(" DESCRIPTION ");
gotoxy(10,10);printf(" TYPE ");
gotoxy(10,11);printf(" PRINCE PER UNIT ");
gotoxy(10,12);printf(" QUANTITY ");
gotoxy(10,13);printf(" MAX. QTY. ");
gotoxy(10,14);printf(" MIN. QTY. ");
gotoxy(38,7);gets(product.pcode);
gotoxy(38,8);gets(product.pname);
gotoxy(38,9);gets(product.desc);
gotoxy(38,10);gets(product.type);
gotoxy(38,11);gets(product.unitp);
gotoxy(38,12);gets(product.qty);
gotoxy(38,13);gets(product.max);
gotoxy(38,14);gets(product.min);
gotoxy(20,15);printf("Entries Correct Y/N");
res=getch();
if(toupper(res)=='Y')
{ for(i=0;i<=4;++i)
product.pcode[i]=toupper(product.pcode[i]);
45
for(i=0;i<=19;++i)
product.pname[i]=toupper(product.pname[i]);
for(i=0;i<=19;++i)
product.desc[i]=toupper(product.desc[i]);
for(i=0;i<=2;++i)
product.type[i]=toupper(product.type[i]);
for(i=0;i<=4;++i)
product.unitp[i]=toupper(product.unitp[i]);
for(i=0;i<=4;++i)
product.qty[i]=toupper(product.qty[i]);
for(i=0;i<=4;++i)
product.max[i]=toupper(product.max[i]);
for(i=0;i<=4;++i)
product.min[i]=toupper(product.min[i]);
n=strlen(product.pcode);
con(product.pcode,n,5);
n=strlen(product.pname);
con(product.pname,n,20);
n=strlen(product.desc);
con(product.desc,n,20);
n=strlen(product.type);
con(product.type,n,3);
n=strlen(product.unitp);
con(product.unitp,n,5);
n=strlen(product.qty);
con(product.qty,n,5);
n=strlen(product.max);
con(product.max,n,5);
n=strlen(product.min);
con(product.min,n,5);
fwrite(&product,sizeof(product),1,fp);
}
46
gotoxy(1,23);printf("Press Y to continue");
ch=getch();
}
fclose(fp);
return;
}
con(char sa[],int n,int tlen)
{int i;
for(i=0;i<n;++i)
sa[i]=toupper(sa[i]);
for(i=n;i<tlen;++i)
sa[i]=' ';
return;
}
//******************************************************
modi()
{
int temp;
char ch='Y',res;
char mpcode[5];
char mpname[20];
char mdesc[20];
char mtype[3];
char munitp[5];
char mqty[5];
char mmax[5];
char mmin[5];
int i,count=0,recsize=sizeof(product),n,l1;
FILE *fp;
47
fp=fopen("item.dat","r+");
while(toupper(ch)=='Y')
{ closegraph();
clrscr();
rewind(fp);
gotoxy(10,5);printf(" *** DATA MODIFICATION MODULE ***");
gotoxy(10,7);printf(" Poduct code ");
gotoxy(10,8);printf(" Product name ");
gotoxy(10,9);printf(" Description ");
gotoxy(10,10);printf(" Type(wt./no.) : ");
gotoxy(10,11);printf(" Quantity ");
gotoxy(10,12);printf(" Unit price ");
gotoxy(38,7);gets(mpcode);
for(i=0;i<=4;++i)
mpcode[i]=toupper(mpcode[i]);
while(fread(&product,sizeof(product),1,fp)==1)
{n=strlen(mpcode);
if(scom(product.pcode,mpcode,n)==1)
{++count;
gotoxy(38,8);for(i=0;i<20;++i)
printf("%c",product.pname[i]);
gotoxy(38,9);for(i=0;i<20;++i)
printf("%c",product.desc[i]);
gotoxy(38,10);for(i=0;i<3;++i)
printf("%c",product.type[i]);
gotoxy(38,11);for(i=0;i<5;++i)
printf("%c",product.qty[i]);
gotoxy(38,12);for(i=0;i<5;++i)
printf("%c",product.unitp[i]);
gotoxy(38,8);gets(mpname);
gotoxy(38,9);gets(mdesc);
gotoxy(38,10);gets(mtype);
gotoxy(38,11);gets(mqty);
gotoxy(38,12);gets(munitp);
gotoxy(20,15);printf("Entries Correct Y/N : ");
res=getche();
if(toupper(res)=='Y')
{
fseek(fp,-recsize,SEEK_CUR);
for(i=0;i<=4;++i) product.pcode[i]=toupper(mpcode[i]);
for(i=0;i<=19;++i) product.pname[i]=toupper(mpname[i]);
for(i=0;i<=19;++i) product.desc[i]=toupper(mdesc[i]);
for(i=0;i<=2;++i) product.type[i]=toupper(mtype[i]);
for(i=0;i<=4;++i) product.unitp[i]=toupper(munitp[i]);
for(i=0;i<=4;++i) product.qty[i]=toupper(mqty[i]);
for(i=0;i<=4;++i) product.max[i]=toupper(product.max[i]);
for(i=0;i<=4;++i) product.min[i]=toupper(product.min[i]);
// strcpy(product.pcode, mpcode);
n=strlen(product.pcode); con(product.pcode,n,5);
n=strlen(product.pname); con(product.pname,n,20);
n=strlen(product.desc); con(product.desc,n,20);
n=strlen(product.type); con(product.type,n,3);
n=strlen(product.unitp); con(product.unitp,n,5);
49
n=strlen(product.qty); con(product.qty,n,5);
n=strlen(product.max); con(product.max,n,5);
n=strlen(product.min); con(product.min,n,5);
fwrite(&product,sizeof(product),1,fp);
}
}
}
if(count==0)
{
gotoxy(35,20);printf("record not found");
}
gotoxy(1,23);printf("Press Y to Continue ");
ch=getch();
}
fclose(fp);
return;
}
/*
modi()
{
char ch='Y',res;
char mpcode[5];
char mpname[20];
char mdesc[20];
char mtype[3];
char munitp[5];
char mqty[5];
char mmax[5];
char mmin[5];
50
} ++r;
gotoxy(1,r);printf("-------------------------------------------------------------");
getche();
}
prep()
{
FILE *fp;
int r,i;
fp=fopen("order1.dat","r");
closegraph();
clrscr();
gotoxy(20,3);printf("**** PAYMENT REPORT ****");
gotoxy(1,4);printf("--------------------------------------------------------------------");
gotoxy(1,5);printf("icode vcode qty qtyr qtyj topay topaid ");
gotoxy(1,6);printf("---------------------------------------------------------------------");
r=8;
while(fread(&order1,sizeof(order1),1,fp) !=0)
{
gotoxy(1,r);for(i=0;i<5;++i)
printf("%c",order1.icode[i]);
gotoxy(10,r);for(i=0;i<5;++i)
printf("%c",order1.vcode[i]);
gotoxy(19,r);for(i=0;i<8;++i)
printf("%c",order1.qty[i]);
gotoxy(26,r);for(i=0;i<5;++i)
printf("%c",order1.qtyr[i]);
gotoxy(33,r);for(i=0;i<5;++i)
printf("%c",order1.qtyj[i]);
gotoxy(41,r);for(i=0;i<5;++i)
printf("%c",order1.topay[i]);
51
gotoxy(51,r);for(i=0;i<5;++i)
printf("%c",order1.topaid[i]);
if(r<=22)
r++;
else
{
gotoxy(2,22);printf("press any key to continue");
getch();
clrscr();
gotoxy(30,3);printf("**** PAYMENT REPORT****");
gotoxy(1,4);printf("---------------------------------------------------------");
gotoxy(1,5);printf("icode vcode qty qtyr qtyj topay topaid");
gotoxy(1,6);printf("--------------------------------------------------------");
r=10;
}
} ++r;
gotoxy(1,r);printf("-------------------------------------------------------");
getche();
}
52
OUTPUTS & REPORTS
53
Press Enter to Continue
54
55
**** DATA ENTRY MODULE ****
CODE OF PRODUCT 01
NAME OF PRODUCT SWING MACHINE
DESCRIPTION DD
TYPE CRD
PRINCE PER UNIT 2510
QUANTITY 200
MAX. QTY. 20
MIN. QTY. 10
56
*** DATA QUERY MODULE ***
CODE OF PRODUCT 01
DESCRIPTION DD
TYPE CRD
QUANTITY 200
57
Press Y to Continue
*** DATA ENTRY MODULE ***
ORDER CODE 01
ITEM CODE 01
VENDOR CODE 44
VENDOR NAME RAJESH AND SONS
QUANTITY 200
press Y to continue....
*** GOOD RECEVING ENTRY ***
ORDER CODE 01
ITEM CODE 01
VENDOR CODE 44
QUANTITY 200
QUANTITY REJECTED 100
QUANTITY RECEIVED 100
AMOUNT TO BE PAID 20000
Press Y to continue.......
*** DATA QUERY MODULE ***
ORDER CODE 01
ITEM CODE 200
VENDOR CODE 01
VENDOR NAME 44
QUANTITY RAJESH AND SONS
Press Y to Continue
*** AMOUNT PAYMENT ENTRY ***
ORDER CODE 01
ITEM CODE 01
VENDOR CODE 44
QUANTITY 200
AMOUNT TO BE PAY 4000
QUANTITY REJECTED 25
QUANTITY RECEIVED 175
AMOUNT TO BE PAID 3800
Press Y to continue.......
PURCHASING OF ITEM
MAIN MENU
63
PURCHASING OF ITEM
MAIN MENU
1 Item / ENTRY
2 Party ENTRY
3 Exit
64
ITEM ADDITION
---------------------
Enter Item code
Item NameCABLE
Item Unit150
Item Rate 205
Item Quantity 05
65
ADDITION MODULE
---------------------
Enter Party code1
party Name M/s GODREJ
party address MUMBAI
party sale tax no. MAH1250
party city MUMBAI
party phone 232323
66
PURCHASING OF ITEM
MAIN MENU
1 Item / MODIFICATION
2 Party MODIFICATION
3 Exit
67
MODIFICATION FORM
--------------
Item Code
Item Name CABLE
Item unit 150
Item Rate 205
Item Qty 05
68
MODIFICATION FORM
/n party code1
69
PURCHASING OF ITEM
MAIN MENU
1 Item / VIEW
2 Party VIEW
3 Exit
70
DISPLAY ITEMS
71
LIST OF PARTIES
----------------
72
PURCHASING OF ITEM
MAIN MENU
1 Item / DELETION
2 Party DELETION
3 Exit
73
ADVANTAGES
OF
THE PROJECT
74
ADVANTAGES OF THE PROJECT
The following are the merits of using this software application in every kind of purchase
department.
2. Record maintenance is easy because all records are stored in a separate file.
3. Easy to make data more secure. We can apply many security restrictions.
4. Standards can be fixed and computer will automatically check these standards.
75
LIMITATIONS
OF
PROJECT
76
LIMITATIONS OF PROJECT
1. Once the entries of different parties are deleted from the master file data can’t be
recovered.
2. There is large number of entries of different parties, so it is difficult ton maintain all
the records of parties.
3. Same entries can be repeated if there is not a proper check on party codes.
4. This software is not password protected. We can not apply any security restrictions.
5. There is no check on the department portfolio. There is problem while making the
employee record unique.
77
FURTHER SCOPE
78
FURTHER SCOPE
This project can be used in small companies of our city. This project is used on those
companies in which purchase department is established as a separate department. And
because my project is based on purchase department therefore it can be helpful in
recording each and transactions which have been carried out I this department. The
further scope of the project can be follows:-
2. The computer with the advanced technology software can be built which should be
used in company.
4. With the use of general information financial accounting of the company can be done
which will give the information of the profits &losses of the company.
79
CONCLUSION
80
CONCLUSION
I developed this project in such a way that it will be user friendly software to handle the
calculations. This project used the number option to operate the other commands. I hope
user will find no difficulty while operating this software, as there will be no
complications user just has to press the appropriate number to perform the operation.
Hope user will learn from this project as much I have. This project is a learning
experience for me. By working on this project I will able to develop many skills and
knowledge about playing with graphics functions and many other functions used in C.
81
REF
ERENCES
82
REFERENCES
During making this project, I learnt C in my college and for programming I took help
from various books and a project, which are as follows:
83