DOEACC O LEVEL PROJECT COMPUTERUIZD CONSGNEE ACCOUNTING SYSTEM KAUTILYA COMPUTER COURSES

PROJECT COMPLET BY PRAMOD KUMAR ‘O’ LEVEL (DOEACC) REG NO-615953 I.S.C(BIO) B.COM(I.G.N.O.U)

TO MY PRASAD FATHER NARESH

PREFRANCE

First section of project document consignee accounts system concepts are discussed. Second section of project three major concepts are discussed : Table designer, Flolw chart of consignee accounts ,mnu programming source code of consignee Account visual foxpro mnu programming. Project concept consignee Account discuss in this project is totally based on theory of consignment account system .consignee account taken from the consignment account this project discuss on account sales invoice that is prepare by consignee . Not discuss on performance invoice that is part of consignar . Project concept consignee account discussed in project taken from Eco-02 IGNOU Book . Discuss concept are not based on practical concept . Discuss concept are taken in computer programming source code . Project is designed for large scale retail shop for Honda generators.

Overview project
*enquiry of price hierarchy *print customer sales invoice *print accounts sales invioce *input product code and edit product code *edit tax and vat % *edit discount Promod kumar Reg. no-615953 Mobile no -8797314930 Facebook network DOEACC Promod kumar New Etwarpur ram janaki path Near ram janaki mandir PIN-804455

HOW TO RUN CONSGEE MPR?

1 OPETION 1>Click on start button, start menu appears 2>Now click on the program sub program sub program choose Microsoft visual foxpro and then choose Microsoft visual forxpro 5..0 3>move the mouse pointer to the program option in the menu bar, then press and hold down the left mouse button. 4>without releasing the button,drag the mouse pointer down to highlight the do command. 5>Release the mouse button to display the do dialog box. 6>That display open file dialog bpx. Open consgee .mpr 2 OPTION 1>Click on start button, start menu appears 2>Now click on the run 3>run dialig box appear 4>Type c:\consgee\consgee.mpr 3 OPTION Type do “c:\consgee\consgee.mpr” on visual foxpro command prompt

CONTENT
1. SCTION

1. Understand the concept of consignment account 2. Main features of a consignment 3. Distinction between sale and congsignment 4. Channel of distribution in trade

2. SECTION

1.Table designer 2. Flolw chart of consignee accounts 3.mnu programming source code of consignee Account visual foxpro mnu programming.

1

SCTION

4. Understand the concept of consignment account 5. Main features of a consignment 6. Distinction between sale and congsignment 4. Channel of distribution in trade

1
SECTION

CONSIGNMENT ACCOUNTS
The increasing size of the market make is more difficult for the manufacturer or wholesller to come in direct contact eith customers at for of distance. This has made him imprerative to enter in to an agreenment with a reliable local trader who can sell good on this behalf and at his (principal) risk for an agreed amount of commission.Such a despatch of good from one personto another person at different places for the purpose of warehousing and ultimate sale is termed as ‘consigment’.Good so sent are termed as ‘Good sent on consignment’ the sender is called ‘consignor’ and receipient ‘consignee’.  What is consignment ?

He prepares 2 accounts : 1. consignment to XYZ account 2. consignee account What accounts are prepared by consignee ?  1. consignor account 2. conignment inward book  How to handle loss ?

• There are two types of loss : 1 normal 2 abnormal loss • we have separate accounting for these

Main feaures of consignment transaction A. Consigment of a consinment transaction mere transfer of possession of goods. The consignee sell goods at the risk of the consignor . He is not responsible for any loss or destruction of goods held by him. The sale proceds belong to the consignor and the consignee merely get commission and expense that he might have incured. The relationship between the consignor and the consignee is that a principal and a agent.

When a business person sends his goods to someone else so that the other person can sell it out. It is consignment. The first person remains the owner, but the second person takes the possession and sells out the goods on behalf of the first person.

B.

Who is consignor / consignee?

C.

Cosignor = the person who sends the goods. He is the owner of the goods. He bears the risks related to goods Consignee = who receives the goods. He tries to sell the goods on behalf of consignor  What is the benefit to consignee ?

D.

Distinction between sale and consignment parties Ownership and Title of good sale Seller and buyer Ownership and title of good is transferred to the buyer of the good. consignment Consignor and consignee The legal ownrsship an title of gooo is not trnsfre to the consignee. It reains ith the are sold. The relationship between the consignor and the consignee iis that

Consignee gets commission on goods sold. Suppose rate of commission is 10%, and consignee sells out goods of Rs. 4 lakhs. The commission of consignee is Rs. 40000. Consignor is bound to pay this commission What accounts are prepared by consignor ? 

Rrelationship

The relationship between the seller and the buyer of the good is that as

a creditor and debtor.

Risk

Retun of good

Risk attached to the good sold is transferrd to the buyer of good as soon as good are sold..in cas the good are destroyed after sale the loss is suffered by the buyeer. Return of good is not possible as goods once sold are not returnable. No account sale required to e submitted by the buyer to the seller. T he seller has nothing to do with the good which the goodwhich could not be resold.

Account sales

Unsol goods

IMPORTANT TERMS 1. Proforma invoice It is statement prepare by the consignor stating the quantity ,quality and price of good .It is sent with good despatched to consignee. A proforma invoice is different from that of an invoice. Invoice implies that a sale has taken place. It is statement deseribing the goods despatched to the buyer and showing the total amount due by him to the seller. A proformat invoice is simply a statement of information in the form of an inoice to apprise the party who ha not bought the good but shall be having their possession or dealling with them, of certain essantial particular of the goods such an invoice is sent b y the intending seller to his agent or the intending buyer before the sale actually taken place. It does not show that the pero to whom it is sent in indebtedt to the sender. BABBAR TRADERS

of a principal and Proform invoice an agent. The For good sent on 222,mount road consignee is to Consignment asis to : madra sell good on m/s hari kishan oct 10,1986 behalf of the enterprises hauz consignor. khas, new delhi Risk attached to the good Particulars Amount consigned lies Serial no with the good 500 bush radio 3,00,000 consigned are set at Rs 600 each sold .incase the Charges: good are destroyed the loss Packing and in borne by the crtage 4000 consignor. Freight 3000 Insurance 6000 God can br 13,000 13,000 returned if they Total 313,000 are not sold by the Good despatched consignee. vide R.R.NO srmt.G834866 A ccount ale be dated 10/10/86 submitted by the Freight to pay consigee to the consignor from time t time. E&O.E For babbar trader (D.BABBAR) Unsold good with Partner the consignee will be treaed a stock of the consignor. Attention: E&OE stands for errors and omissions Excepted. Which mean that Invoice is subject to the errors of omission and commission. In the above invoice babbar Tradr are the consigne. Goods worth RS 300,000have bn consigned on which a sum of RS 13000 has been incurred on varius expenset. 2. Account sales

It is periodical statement rendered by The consignee to the consign or contaiing details of good received sale made ,epenses incurre,comission charged, rmittances made and balance due by him to the consignor . The following is a specimem of an account sales.

M/S CHIMAN LAL DESAI & CO MUMBAI S.NO Particulars Amount

Sale proceeds: 500 bush radio set sold at RS 8.50 eah Less: Freigh 1500 Octroi 2,000 Godown rent & Selling expenss 2500 Dock dues 700 Customs duty 2,000 Less: Commission at 10%on sale proceeds (i.e. RS 4,25,000*10%100) Less: Advance(Bank draft) Balance due to Babbar traders remitt as per draft enclosed

4,25,000

get oer and above the ordiary commission . It can be sub-divided into two catgories viz(1) over-riding commission and (11)del eredre commission.

8,700 CHANNEL OF DISTRIBUTION IN 416300 TRADE PROUCER -> WHOLESALER-> RETAILER -> CONSUMER 42500 this case the manfacturer may In 373800 supply this case the manufacturer may supply this product in bulk to wholesalers . The rtailer may buy periodically from the whole saler and sell the same to the consumers. 25,000 Consignment account made him imprative to manufacturer or 348800 wholeseller to enter in to an agreement with a reliable trade and rtailr can sell good on thi behalf and at his risk for an agreed amount of commission.

E&O.E Mumbai, Dated 01/03/87

For Messers,chiman lal desai & co (sd) ashok kumar, Manager

3.

Commission:

It is the remuneration paid to the onignee y the onignar in considration of the services rendered by the formr in selling th good conigned.This commission can be divided in to two typs (a) ordinary comission (b) special commission. a) Ordinary comissioin : It is a commission usually paid as a fixed pepcentage on gross sale proceed. The ters commision normally denote ordinary commission unless specifi othrwie. The consignee is not responsible for any bad debts and he does not guarantee the payent from all those who by on creit so long as he is getting ordinry commission only. Special commision: This I the commission which the consignee

b)

2

SECTION

COMPUTERUIZD CONSGNEE ACCOUNTING SYSTEM

2

HARDWARE REQUIREMENT FOR PROJECT

1. 2. 3. 4.

PROCESSOR SPEED P D RAM MONITOR MOUSE COMPATIBLE 5. KEYBOARD STANDARD 6. CDROM HIGHER

: : : ; : :

3.2GHZ 1GB SVGA WINDOWS

48 * OR

7. HARD DISK 8. PRINTER (STANDAED) 9. SCANNER STANDARD

: : :

160 GB INKJET

SOFTWARE REQUIREMENT FOR PROJECT
1. 2. OPERATING SYSTEM SW PACKAGE : XP : VISUAL FOX 6.0

TABLE DESIGNER
1>
SALE_VOUCHER
Field Name width 16 Type N Description Name of consumer

Add Add1 Add 2 Add3 Pin Qunty Sale_ide Amount 2>

10 10 10 10 8 2 3 10

CH CH CH CH N N N N

Address of the consumer Address of the consumer Address of the consumer Address of the consumer pin code Product quantity Sale ide Amount

PRODUCT
Field Product-co Price 3> 12 Width 8 Type CH N Description Product code Price

DISCOUNT
Field Product_co D1 4> Width 8 2 Type CH N Description Product code Discount

QUNTY
Field Produc_co Di Q 5> CONSGEE BOOK Field Namece Field Adv Commi Frei Octr Doc Cust Width 10 Width 10 2 10 10 10 10 Type CH Type N N N N N N Description Consgee name Description Advance Commissions Freight Octroi Dock dues Custom duty Width 8 2 2 Type CH N N Description Product code Discount Qunty

Sale_pro Nameco Rat 6>

10 10 10

N N N

sale proceeds consiron name rate

SEREALNO
Field Sale_ide Sn 7> Width 3 10 Type N N Description Sale ide Serial

INVOICE
Field Sale_ide Invoice_no Date1 Byyer_or Date2 Despat_th Destin Term_o_p Dd_no Ch_no 8> Width 10 10 8 10 8 10 10 10 10 10 Type N N DATE N DATE CH CH CH N N Description Sale ide Invoice number Date Buyyer order number Date Despatch through Destination Term of payment Demand draft Check Number

RETAIL
Field Name Add Add1 Add 2 Add3 Pin 9> Width 10 10 10 10 10 8 Type CH CH CH CH CH N Description Namee Address of the consgee Address of the consgee Address of the consgee Address of the consgee pin code

TAX_INVOICE
Field Vat_tin Width 10 Type N Description Vat tax account number

Vat

2

N

Vat persents

START

PRODUCER

CONSIGNMENT

YES

SEND CONSIGNMENT ON CREDIT

NO

COMMISSION

YES

SED COMMISSION

NO

WHOLESELER

SALE

YES

SALE

NO

CONSUMER CASE

YES

CASE

NO

PROFIT

PROFIT

YES

END

1 LOGIC FOR CONSIGNEMENT ACCOUNTS
START

INPUT PRODUCT CODE &QUNTY NO DISCOUNT ? NO IS Q=1 ?

Database

PRODUCT

QUNTY

Database

Y

? NO

YES

NO

Y YES

?

IS Q=2 ?

NO IS Q=N ?

Y

?

TOTAL DISCOUNT

STOP

2 LOGIC DISCOUNT TABLE

* ************************************************* ******** * * * * 19/3/2011 consgee.MPR 05:31:11 * * * ************************************************* ******** * * * * Author's Name PRAMOD KUMAR * * * * Copyright (C) 2011 Company Name HOND CO * * Address NEW ATTWAR PUR * * City PATNA, Zip 804453 * * * * Description: * *. * * * ************************************************* ******** * ************************************************* ******** * * * * Setup Code * * * ************************************************* ******** * * This file is a generated, framework-enabling component * created by APPBUILDER * (c) Microsoft Corporation

* ************************************************* ******** * * * * Menu Definition * * * ************************************************* ******** * _include ="config.fpw" _FOXGRAPH="" _ASSIST ="" && Specifies the program that is && automatically loaded during startup. _BUILDER="" && Contains the name of the Visual FoxPro && builder application. _GENHTML="" && Specifies an HTMLgeneration program. _GENMENU="" && Specifies a menugeneration program _STARTUP="" && Specifies the name of the application that && runs when you start Visual FoxPro. _RUNACTIVEDOC="" && Specifies an application that launches an && Active Document. _SPELLCHK ="" && Specifies a spell-check program for the && Visual FoxPro text editor. activate screen &&Sends output to the main VFP window &&(instead of to the active window WMAXIMUM() && Determines whether the active or && specified window is maximized.

WMINIMUM() && Determines whether the active or && specified window is minimized

SET CLOCK on bar && Determines whether Visual FoxPro && displays the system clock and specifies && the clock location on the main Visual && FoxPro window. SET SYSMENU TO &&Enables or disables the system menu bar &&during program execution and allows you && to reconfigure it.

*ON SELECTION BAR Specifies a command that is executed *when a specific menu option is chosen. *ON SELECTION MENU Specifies a command that is executed * when any menu pad is chosen. *ON SELECTION PAD Specifies a command that is executed *when a specific menu pad is chosen. *ON SELECTION POPUP Specifies a command that is executed *when any menu option is chosen. *DEFINE BAR Creates a menu item.

*DEFINE MENU Creates a menu bar. *DEFINE PAD Creates a menu pad. *DEFINE POPUP Creates a menu popup. *DEFINE WINDOW Creates a window. SET SYSMENU AUTOMATIC

DEFINE PAD _msm_file OF _MSYSMENU PROMPT "\<File" COLOR SCHEME 2 ; NEGOTIATE LEFT, NONE ; KEY ALT+F, "" ; DEFINE PAD _msm_edit OF _MSYSMENU PROMPT "\<Edit" COLOR SCHEME 2 ; KEY ALT+E, "" ; MESSAGE "Edits text or current selection" DEFINE PAD _msm_input OF _MSYSMENU PROMPT "\<input" COLOR SCHEME 2 ; KEY ALT+s, "" ; MESSAGE "Edits text or current selection" DEFINE PAD _msm_sales OF _MSYSMENU PROMPT "\<sales" COLOR SCHEME 2 ; KEY ALT+s, "" ; MESSAGE "Edits text or current selection" DEFINE PAD _msm_update OF _MSYSMENU PROMPT "\<update" COLOR SCHEME 2 ; KEY ALT+v, "" ; MESSAGE "Edits text or current selection" ON PAD _msm_file OF _MSYSMENU ACTIVATE POPUP _mfile ON PAD _msm_edit OF _MSYSMENU ACTIVATE POPUP _medit ON PAD _msm_input OF _MSYSMENU ACTIVATE POPUP _minput ON PAD _msm_sales OF _MSYSMENU ACTIVATE POPUP _msales ON PAD _msm_update of _MSYSMENU ACTIVATE POPUP _mupdate DEFINE POPUP _mfile MARGIN RELATIVE SHADOW COLOR SCHEME 4 DEFINE BAR 1 OF _mfile PROMPT "\<open..." ; MESSAGE "Creates a document" DEFINE BAR 2 OF _mfile PROMPT "\<saveto..." ; MESSAGE "Save a document" DEFINE BAR 3 OF _mfile PROMPT "\<save..." ; MESSAGE "Save a document" DEFINE BAR 4 OF _mfile PROMPT "\<print..." ; MESSAGE "Save a document" DEFINE BAR 5 OF _mfile PROMPT "\<printstup..." ; MESSAGE "print a document" DEFINE BAR 6 OF _mfile PROMPT "\<quit..." ; MESSAGE "quit a document" ON SELECTION BAR 1 OF _mfile do open

ON SELECTION BAR 2 OF _mfile do saveto ON SELECTION BAR 3 OF _mfile do save ON SELECTION BAR 4 OF _mfile do print ON SELECTION BAR 5 OF _mfile do printstup ON SELECTION BAR 6 OF _mfile do quit DEFINE POPUP _medit MARGIN RELATIVE SHADOW COLOR SCHEME 4 DEFINE BAR 1 OF _medit PROMPT "\<price..." ; MESSAGE "price a document" DEFINE BAR 2 OF _medit PROMPT "\<tax..." ; MESSAGE "tax a document" DEFINE BAR 3 OF _medit PROMPT "\<discount..." ; MESSAGE "discount a document" DEFINE BAR 4 OF _medit PROMPT "\<qunty dicount..." ; MESSAGE "qunty dicount a document" ON SELECTION BAR 1 OF _medit do price2 ON SELECTION BAR 2 OF _medit do tax ON SELECTION BAR 3 OF _medit do ediscount ON SELECTION BAR 4 OF _medit do eqdiscount DEFINE POPUP _minput MARGIN RELATIVE SHADOW COLOR SCHEME 4 DEFINE BAR 1 OF _minput PROMPT "\<consigronbook..." ; MESSAGE "consigronbook a document" DEFINE BAR 2 OF _minput PROMPT "\<discount..." ; MESSAGE "discount a document" DEFINE BAR 3 OF _minput PROMPT "\<qunty discount..." ; MESSAGE "qunty discount a document" DEFINE BAR 4 OF _minput PROMPT "\<account sales..." ; MESSAGE "account sales a document" DEFINE BAR 5 OF _minput PROMPT "\<invoice..." ; MESSAGE "invoice a document" DEFINE BAR 6 OF _minput PROMPT "\<sales..." ; MESSAGE "sales a document" DEFINE BAR 7 OF _minput PROMPT "\<price..." ; MESSAGE "price a document" DEFINE BAR 8 OF _minput PROMPT "\<serial..." ; MESSAGE "serial a document" ON SELECTION BAR 1 OF _minput do consigron ON SELECTION BAR 2 OF _minput do discount ON SELECTION BAR 3 OF _minput do qdiscount ON SELECTION BAR 4 OF _minput do acountsaless ON SELECTION BAR 5 OF _minput do invoice ON SELECTION BAR 6 OF _minput do sale ON SELECTION BAR 7 OF _minput do price1 ON SELECTION BAR 8 OF _minput do sn

DEFINE POPUP _msales MARGIN RELATIVE SHADOW COLOR SCHEME 4 DEFINE BAR 1 OF _msales PROMPT "\<retail invoice..." ; MESSAGE "retail invoice a document" DEFINE BAR 2 OF _msales PROMPT "\<equiry..." ; MESSAGE " equiry a document" DEFINE BAR 3 OF _msales PROMPT "\<qunty discount..." ; MESSAGE "qunty discount a document" ON SELECTION BAR 1 OF _msales do retail ON SELECTION BAR 2 OF _msales do equiry ON SELECTION BAR 3 OF _minput do qdiscount DEFINE POPUP _mupdate MARGIN RELATIVE SHADOW COLOR SCHEME 4 DEFINE BAR 1 OF _mupdate PROMPT "\<consgeebook..." ; MESSAGE "consgeebook a document" ON SELECTION BAR 1 OF _mupdate do congeeupd

*acount saless
function acountsaless clear @1,14say "ACCOUNT SALES" font 'time new roman', 25 style 'bi' color 1 use " C:\consgee\database\account\consgeebook.DBF " n=space(10) a=0 c=0 f=0 o=0 dc=0 cdd=0 sp=0 ra=0 accept "name" to n input "Advance" to a input "Commissions" to c input "Freight" to f input "Octroi" to o input "Dock dues" to dc input "Custom duty" to cdd replace nameco with n replace adv with a

replace commi with c replace frei with f replace octr with o replace doc with dc replace cust with cdd clear @2,10 to 40,70 double color 2 @4,14say "ACCOUNT SALES" font 'time new roman', 25 style 'bi' color 1 @9,13 say "name" @9,25 say n @10,13say "Advance" @10,25 say a @11,13 say "Commissions" @11,25 say c @12,13 say "Freight" @12,25 say f @13,13 say "Octroi" @13,25 say o @14,13 say "Dock dues" @14,25 say dc @15,13say "Custom duty" @15,25 say cdd return end function

*update consgeebook
function congeeupd a=0 b=0 select a @1,10 to 35,100 double color 2 @3,14 say "UPDATE CONSGEEBOOK" font 'time new roman', 25 style 'bi' color 6 use "C:\consgee\database\sale_voucher.DBF" index on amount tag amount set order to amount @6,8 say "qunty" @7,8 say qunty store qunty to a seek amount if not eof() @8,8 say "amount" @9,8 say amount skip

endif store amount to b select b use " C:\consgee\database\account\consgeebook.DBF " append blank replace sale_pro with a replace rat with b @12,8 say "sale product" @13,8 say sale_pro @14,8 say "rate" @15,8 say rat return end function

*input discount
function discount p=space(10) d=0 use "C:\consgee\database\discount\discount.DBF" append blank accept "product co" to p input "discount" to d replace product_co with p replace d1 with d clear @2,10 to 20,70 double color 2 @5,14say "DISCOUNT" font 'time new roman', 25 style 'bi' color 1 @9,15 @10,15 say "product code" get product_co @12,15 say "discount" get d1 return end function

*edit discount
function ediscount p=space(10) d=0 accept "product code" to p input "discount" to d use "C:\consgee\database\discount\discount.DBF" index on product_co tag product_co set order to product_co seek p if not eof()

clear @2,10 to 20,70 double color 2 @5,14say "EDIT DISCOUNT" font 'time new roman', 25 style 'bi' color 1 @7,15 @10,15 say "product code" get product_co @12,15 say "discount" get d1 @13,10 say repl("-",88) replace d1 with d @14,15 say "NEW RECORD" @16,15 say "product code" get product_co @17,15 say "discount" get d1 skip endif close database return end function

*edit discount
function ediscount p=space(10) d=0 accept "product code" to p input "discount" to d use "C:\consgee\database\discount\discount.DBF" index on product_co tag product_co set order to product_co seek p if not eof() clear @2,10 to 20,70 double color 2 @5,14say "EDIT DISCOUNT" font 'time new roman', 25 style 'bi' color 1 @7,15 @10,15 say "product code" get product_co @12,15 say "discount" get d1 @13,10 say repl("-",88) replace d1 with d @14,15 say "NEW RECORD" @16,15 say "product code" get product_co @17,15 say "discount" get d1 skip endif close database return end function

*edit Qunty discount

function eqdiscount p=space(10) d=0 qd=0 accept "product code" to p input "discount" to d input "Qunty" to qd use "C:\consgee\database\discount\qunty.DBF" index on product_co tag product_co set order to product_co replace di with d replace q with qd seek p if not eof() clear @2,10 to 20,70 double color 2 @5,14say "EDIT DISCOUNT" font 'time new roman', 25 style 'bi' color 1 @7,15 @9,15 say "product code" get product_co @10,15 say "qunty" get q @12,15 say "discount" get di @13,10 say repl("-",88) @14,15 say "NEW RECORD" @15,15 say "product code" get product_co @16,15 say "qunty" get q @17,15 say "discount" get di skip endif close database return end function

*priing hierachy equiry
function equiry clear a=space(10) b=0 c=0 d=0 e=0 f=0 g=0 accept "product code" to a

use "C:\consgee\database\product\product" index on product_co tag product_co set order to product_co seek a if not eof() @1,14say "PRICING HIERACHY" font 'time new roman', 25 style 'bi' color 1 @8,13say "product code" get product_co @9,13 say "price" get price store price to b endif select a use "C:\consgee\database\discount\qunty.DBF" index on product_co tag product_co set order to product_co seek a if not eof() @11,13 say "QUNTY DISCOUNT" @12,13 say "Product code" get product_co @13,13say "qunty" get q @14,13 say "discount" get di store di to c endif select b use "C:\consgee\database\discount\discount.DBF" index on product_co tag product_co set order to product_co seek a if not eof() @15,13 say "DISCOUNT" @16,13 say "Product code" get product_co @17,13 say "discount" get d1 store d1 to d e=b*c/100 f=b*d/100 g=b-e-f @20,20 say "TOTAL " @20,30 say g endif return end function

*invoice entery
function invoice

clear use "C:\consgee\database\invoice.DBF" append blan index on sale_ide tag sale_ide m=0 n=0 i=0 dat=date() bo=0 dates=date() dt=space(11) de=space(11) tp=space(11) input "BUYER ORDER NUMBER" to bo input "inoice" to i accept "despatch through" to dt accept "destinsation" to de accept "term of pament" to tp do case case tp="check" input "CHECK NO" to n case tp="draft" input "DRAFT NO" TO n otherwise case tp="case" endcase replace invoice_no with i replace date1 with dates replace despat_thr with dt replace byyer_or with bo replace date2 with dat replace destin with de replace term_o_p with tp do case case tp="check" replace ch_no with n replace dd_no with m case tp="draft" replace dd_no with n replace ch_no with m endcase clear @2,10 to 40,70 double color 2 @5,14 say "INVOICE ENTRY" font 'time new roman', 25 style 'bi' color 1 @8,15 say "SALE_IDE" get sale_ide @9,15 say "INVOICE NUMBR " get invoice_no @10,15 say "DATE" get date1 @11,15 say "BUYYER_ORDER" get byyer_or @12,15 say "DATE" get date2 @13,15 say "DESPATCH THROGH" get despat_thr

@14,15 say "DESTINATION" get destin @15,15 say "TERM OF PAYMENT" get term_o_p @16,15 say "DEMAND DRAFT NO" get dd_no @17,15 say "CHECK NO" get ch_no return end function

*product price input
function price1 ch="y" p=space(10) pp=0 g=0 use "C:\consgee\database\product\product" do while ch="y" append blank clear accept "product code" to p input "price" to pp @2,10 to 20,70 double color 2 @5,14say "PRODUCT CODE" font 'time new roman', 25 style 'bi' color 1 @9,15 @10,15 say "product code" get p @12,15 say "price" get pp replace product_co with p replace price with pp @16,15 say "ENTER YOUR CHOICE[Y/N]" get ch read loop enddo close database return end function

*product price edit
p=space(10) pp=0 clear accept "product code" to p input "price" to pp use "C:\consgee\database\product\product" index on product_co tag product_co set order to product_co

seek p if not eof() clear @2,10 to 20,70 double color 2 @5,14say "PRODUCT CODE" font 'time new roman', 25 style 'bi' color 1 @7,15 @10,15 say "product code" get product_co @12,15 say "price" get price @13,10 say repl("-",88) replace price with pp @14,15 say "NEW RECORD" @16,15 say "product code" get product_co @17,15 say "price" get price skip endif close database

*Input qunty discount
function qdiscount p=space(10) qd=0 d=0 use "C:\consgee\database\discount\qunty.DBF" append blank accept "product co" to p input "qunty" to qd input "discount" to d replace product_co with p replace di with d replace q with qd clear @2,10 to 20,70 double color 2 @5,14say "QUNTY DISCOUNT" font 'time new roman', 25 style 'bi' color 1 @9,15 @10,15 say "product code" get product_co @12,15 say "qunty" get q @14,15 say "discount" get di close all database return end function

*retail invoice
function retail close all database s=0 input "sale_ide" to s select a use "C:\consgee\database\retail.DBF" clear @3,14 say "RETAIL INVOICE" font 'time new roman', 25 style 'bi' color 6 @1,10 to 35,100 double color 2 @6,10 to 15,40 double color 2 @7,13 say "CONSIGNOR" @8,13 say name @9,13 say add @10,13say add1 @11,13say add2 @12,13 say add3 @13,14 say pin select b @15,10 to 24,40 double color 2 use "C:\consgee\database\sale_voucher.DBF" set order to sale_ide seek s @16,13 say "CONSIGNEE" @17,13 say"SALE IDE-" @17,24 say sale_ide @18,13say "NAME-" @18,21 say names @19,13say "ADD-" @19,19 say add @20,13say add1 @21,13say add2 @22,13 say add3 @22,28 say pin select c use "C:\consgee\database\invoice.DBF" @6,40 to 24,100 double color 2 @6,74 to 24,100 double color 2 @7,50 say "INVOICE NO" @8,50 say invoice_no @7,75 say "INVOICE DATE" @8,75 say date1 @9,40 to 24,100 double color 2 @10,50 say "BUYER ORDER NO" @11,50 say byyer_or

@10,75 say "ORDER DATE" @11,75 say date2 @12,40 to 24,100 double color 2 @13,50 say "DESPATCH THROUGH" @14,50 say despat_thr @13,75 say "DESTINATION" @14,75 say destin @15,40 to 24,100 double color 2 @16,50 say "TERM OF PAYMENT" @17,50 say term_o_p @18,40 to 24,100 double color 2 @19,50 say "DEMAND DRAFT" @19,75 say dd_no @20,40 to 24,100 double color 2 @21,50 say "CHECK NO" @21,75 say ch_no select d use "C:\consgee\database\tax_invoice" @16,75 say "CONSIGNOR VAT TIN" @17,75 say vat_tin @26,10 to 40,100 double color 2 @24,40 to 35,100 double color 2 @24,49 to 35,100 double color 2 @24,61 to 35,100 double color 2 @24,68 to 35,100 double color 2 @24,81 to 37,100 double color 2 @24,12 say "DESCRIPTIO OF GOOD" @24,42 say "VAT%" @24,50 say "QUANTITY" @24,62 say "RATE" @24,69 say"DISCOUNT" @24,82 say "AMOUNT" @35,69 say "TOTAL" @37,12 say "VAT" @28,42 say vat @37,12 say "AUTHORITED SIGNATORY" close database b=0 c=0 e=0 f=0 g=0 m=0 l=0 select b r=0 use "C:\consgee\database\product\product.DBF" set order to product_co seek product_co @27,14 say product_co

@27,59 say price store price to b select c use "C:\consgee\database\sale_voucher.DBF" @27,50 say qunty store qunty to l select b index on product_co tag product_co set order to product_co k=space(10) store product_co to k select e use "C:\consgee\database\discount\discount.DBF" index on product_co tag product_co set order to product_co seek k @27,69 say "PRODUCT" @28,69 say d1 store d1 to c select f use "C:\consgee\database\discount\qunty.DBF" index on product_co tag product_co set order to product_co seek k @30,69 say "QUNTY" select h close database use "C:\consgee\database\sale_voucher.DBF" index on qunty tag qunty set order to qunty z=0 dd=0 store qunty to z use "C:\consgee\database\discount\qunty.DBF" store di to dd if z==di @31,69 say di else @31,69 say 0 endif select g k=0 use"C:\consgee\database\serealno.DBF" index on sale_ide tag sale_ide set order to sale_ide store sale_ide to k line=40 seek k if not eof() @30,14 say "sn:"

@31,14 say sn line=32 @line,14 say sn line= line+1 skip endif m=l*b e=m*c/100 f=m*dd/100 g=m-e-f use "C:\consgee\database\sale_voucher.DBF" append blank replace amount with g @35,78 say amount

close all database return end function

*input sles
function sale clear select a use "C:\consgee\database\sale_voucher.DBF" append blank index on sale_ide tag sale_ide set order to sale_ide select b use"C:\consgee\database\serealno.DBF" append blank n=space(11) ad=space(25) ad1=space(25) ad2=space(25) ad3=space(25) ad4=space(25) q=0 a=0 v=0 accept "name" to names accept "address" to ad accept "address" to ad1 accept "address" to ad2 accept "address" to ad3

input "pin no" to ad4 input "qunty" to q input "sale ide" to v select a replace names with n replace add with ad replace add1 with ad1 replace add2 with ad2 replace add3 with ad3 replace pin with ad4 replace qunty with q replace sale_ide with v select b replace sale_ide with v clear @2,10 to 40,70 double color 2 @5,14say "SALE ENTRY" font 'time new roman', 25 style 'bi' color 1 @9,15 @10,15 say "SALE IDE" get sale_ide select a @12,15 say "NAME " get names @14,15 say "ADDRESS" get add @15,15 say "ADDRESS" get add1 @16,15 say "ADDRESS" get add2 @17,15 say "ADDRESS" get add3 @18,15 say "pin" get pin @19,15 say "QUNTY" get qunty close all database return end function

*serealno input
function sn clear USE "c:\consgee\database\serealno.dbf" append blank ch="y" do while ch="y" accept "sn:-" to s replace sn with s @6,15 say "ENTER YOUR CHOICE[Y/N]" get ch read clear

enddo return end function *tax edit function tax use "C:\consgee\database\tax_invoice" v=0 va=0 input "vat tin no" to v input "vat%" to va do while not eof() clear @2,10 to 20,70 double color 2 @5,14say "VAT" font 'time new roman', 25 style 'bi' color 1 @9,15 @10,15 say "vat tin no" get vat_tin @12,15 say "vat%" get vat @13,10 say repl("-",88) replace vat_tin with v replace vat with va @14,15 say "NEW RECORD" @15,15 say "vat tin no" get vat_tin @16,15 say "vat%" get vat skip loop enddo close database close all database return end function

*Opens a databas
OPEN DATABASE

*Sends a conditional page advance to the printer.
EJECT PAGE

*Displays the Print dialog
GETPRINTER()

*close application
quit

*Saves table and index data to disk
FLUSH

O LEVEL COURSE PROJECT
PROJECT DOEACC curricula has a Project as an important component of o level course. The student under the guidance and support other faculty and the management of the respective institute/organization carries out the project. It is felt that such a project provides an opportunity to the student to apply her knowledge and skills to real life problems (including oral and written communication skills) and a such the project should be given utmost importance and priority both by the students as well as institute faculty /management in respect of its identification planning and implementation. OBJECTIVE OF THE PROJECT THE aim of the project is to give the students an additional hands-on experience in solving a real life problem by applying knowledge and skills gained on completion of theory papers in a course at a given level .It provides an opportunity for students to develop written and

communication skills. Project also helps the students to realize the importance of resource and time management, ownership of task toward deliverables innovation and efficiency in task management apart from presentation skills . It also provides a good opportunity for student to build enhance and sustain high levels of professional conduct and performance and evolves a problem solver frame of mind in the students . It is also felt that tasking up the project by a students prepares him for a job in industry and elsewhere.

DOEACC SOCIETY
(An Autonomous scientific society of Department of information Technology, Ministry of communication and information Technology, Govt of India) Electonics Niketan,6,CGO complex, New delhi-110003 Website:http://www.doeacc.ed u.in

Sign up to vote on this title
UsefulNot useful

Master Your Semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master Your Semester with a Special Offer from Scribd & The New York Times

Cancel anytime.