Payment On Demand System with Electronic Billing

2012

1

INTRODU TION

Page 1

Payment On Demand System with Electronic Billing

2012

a!Pro"ect O#er#iew$
The client uses MS Excel, and maintains their product list, customer list, and prints the Payment On Demand System (Invoice), however it is not possi le them to share the data !rom multiple system in multi user environment, there is lot o! duplicate wor", and chance o! mista"e# $hen the product price are chan%ed they need to update each and every excel !ile# There is no option to !ind and print previous saved Payment On Demand System(Invoice)# There is no security& any ody can access any report and sensitive data, also no reports to !ind out the sales volume, stoc" list, and summary report# This Electronic 'illin% and invoicin% system is used to overcome the entire pro lem which they are !acin% currently, and ma"in% complete atomi(ation o! manual system# illin% and invoicin%

%! Pro"ect Sco&e
)rom an end*user perspective, the Electronic 'illin% and Invoicin% Pro+ect consists o! two !unctional elements, an enhanced searcha le data ase !or customer, products, illin% %eneration system and a report %eneration system# 'stomer( Prod'cts( Billing )eneration -n enhanced atomi(ed system is developed to maintain .ustomer, Product, order, order details data and produce 'ill and Payment On Demand System with !ollowin% !eatures# /The system operator will e a le to -dd, Edit and search the product# -lso the operator can delete the product& update the cost o! the product as per the ri%hts %iven to the operator y the administrator# /'y usin% their own account, sales sta!! will e a le to place orders throu%h the system# In addition, sales sta!! will e a le to apply discounts in accord with the current sales policy# Page 2

Payment On Demand System with Electronic Billing

2012

/Improved search capa ilities o! product in!ormation will e availa le& It will display all the details o! the particular product with current stoc" 0uantity# /Prices and order in!ormation will e expressi le in international currency and date1time !ormats# /-!ter placin% the order system automatically print the Payment On Demand System with pre printed stationary with all the details# /Searchin% o! previously %enerated Payment On Demand System is also availa le& Operator can search the previously saved Payment On Demand System %enerated uni0ue Payment On Demand System no# /Importin% the old stoc" into the system, it imports the old stoc" !rom prede!ined MS Excel !ile# /Maintain the user master and security !eatures# y system

Re&ort )eneration System
- 2eport 3eneration system will e developed !or the user and mana%ement o! and Payment on Demand System with Electronic 'illin% (Invoicin% System) with # This MIS system will have oth details and summary type reports !or analysis the sales volume, sales trend, availa le stoc", The $indows* ased MIS application will include the !ollowin% !eatures, /'illin% summary report, it has the selection criteria !or the date ran%e# /Stoc" Details and stoc" summary reports, It shows every details o! the stoc" and can e used to monitor the sales pattern# /-ll reports can e exported in di!!erent !ormat includes Text )ile, .S4 )ile, MS Excel, MS $ord )ile# /-ll report can e printed !rom any type o! printer# /'ill and Payment On Demand System can e printed in pre printed stationary# Page *

Payment On Demand System with Electronic Billing

2012

2 System +nalysis

Page ,

Payment On Demand System with Electronic Billing

2012

2 System +nalysis
a! Need -or the system The !irst step in system development li!e cycle is the study o! need o! chan%e to improve or enhance an existin% system# -n initial investi%ation on existin% system was carried out# The present system o! illin% is completely manual# Many pro lems were identi!ied durin% the initial study o! the existin% system# E.ISTIN) S/STE0 Durin% analysis, data collection on the various !iles, decision points and transaction handled y the present system# The commonly used tools in system are Data )low Dia%ram, interviews, etc# trainin%, experience and common sense are re0uired !or collection o! relevant in!ormation needed to develop the system# The success o! system depends lar%ely on how clearly the pro lem is de!ined, thorou%hly investi%ated and properly carried out throu%h the choice o! solution# - %ood model should provide not only the mechanisms o! pro lem understandin% accordance with the needs# System analysis can e cate%ori(ed into !our parts# 5# System plannin% and initial investi%ation 6# In!ormation %atherin%# 7# -pplyin% analysis tools !or structured analysis# 8# )easi ility study 9# .ost1 ene!it analysis %!Pro&osed system The draw ac" o! the existin% system is that it is very di!!icult to retrieve data !rom !iles# It is di!!icult to handle the whole system manually and it is less accurate and to "eep the Page 1 ut also the !ramewor" o! the solution# Then the proposed system should e analy(ed thorou%hly in

Payment On Demand System with Electronic Billing

2012

data in case !iles !or !uture re!erence ecause i! may %et destroyed# Moreover it is very di!!icult to retrieve data# 2edundancy o! data may occur and this may lead to the inconsistency# The manual system is so time* consumin%# The proposed system is very easy to operate# Speed and accuracy are the main advanta%es o! proposed system# There is no redundancy o! data# The data are stored in the computer:s secondary memories li"e hard dis", etc# It can e easily received and used at any time# The proposed system will easily handle all the data and the wor" done y the existin% systems# The proposed systems eliminate the draw ac"s o! the existin% system to a %reat extent and it provides ti%ht security to data# O%"ecti#e This section presents a conceptual overview o! the solution, and then provides an introduction to its re0uirements# Solution Concept The e'illin% and Invoice System consists o!,

• •

'stomer( Prod'cts( Billing )eneration, -utomate the current manual ill %eneration system and maintain the searcha le customer, products data ase and product invoice, maintain the data security, user ri%hts# Re&ort )eneration, - 2eport 3eneration system will e developed !or the user and mana%ement o! e'illin% and Invoicin% System# This MIS system will have oth details and summary type reports !or analysis the sales volume, sales trend, availa le stoc"

Part o! the solution will involve convertin% data !rom Microso!t Excel to the Data ase, system can import existin% customer, product data !rom prede!ined MS Excel, .S4 !ormat# It reduces the data entry wor" and 0uic" implementation o! the system#

Page 2

Payment On Demand System with Electronic Billing 2012 The !ollowin% dia%ram descri es the proposed solution architecture at a hi%h level# . convert some or all o! the in!ormation into a sales order without re*enterin% in!ormation# Page 4 .i%h <evel Solution -rchitecture i! System Re3'irement S&eci-ication B'siness Re3'irements Sales representatives need a method to store and access sales opportunity data. and when a sale is %enerated.

with all necessary product in!ormation ein% received y sales sta!!# • • • Mana%er must receive his or her customer and appointment data plus detailed and rollup in!ormation !or each sales representative on his or her team# The application should support the capa ility to use multi user environment# The MIS Executive should a le to %enerate all type o! reports as and when re0uired y the mana%ement# User Inter-ace design Sales Sta-.Payment On Demand System with Electronic Billing • • 2012 Each sales representative should receive customer and sales data pertinent only to them# The accountant should e a le to enter or update product in!ormation in one inter!ace only. o . or up to 6? percent with authori(ation# Page 6 . o Sales representatives can o!!er discounts up to 59 percent.ustomers who are the top uyers o! speci!ic items o 'est customers ased on criteria to e determined o 'est customers ased on %eo%raphical analysis o Drops in a customer=s sales • • • • • • Store multilin%ual and multire%ional in!ormation in the data ase rather than relyin% on the sales sta!! to translate the in!ormation Identi!y which product prices have een modi!ied.5Re&resentati#es and 0anagers! 4iew the data in various ways. !or example. which are statements that help the sales representative convert an opportunity into a sale -dd third*party data sources and !inancial evaluation tools Identi!y where promotions and pro%rams would e the most ene!icial -pply discounts to customer orders. especially on current orders in pro%ress >se opportunity rules.

analysis. and update product speci!ications 3enerate stoc" reports and chec" the availa ility.!ull wee"ly ac"up is re0uired to $O2M drives# Ensure that in!ormation is easy to access either. delete. trac" promotions.S4# ii! O&erational Re3'irements The !ollowin% re0uirements provide a hi%h*level view o! how the system will run. and description -dd. and sharin% o! data a out a customer across the company >se !orecasts to esta lish sales %oals -llow all sta!! to view all contacts. • • • • • Processor usa%e should not exceed @? percent durin% concurrent uses# 'ac"ups will occur incrementally throu%hout the day# . and meanin%!ul !or the sales representative and the company# Minimi(e the technical "nowled%e that sales and mar"etin% sta!! need to access the data. . ut allow each contact to e assi%ned to a sales representative Accountant • • • >pdate product details.Payment On Demand System with Electronic Billing o Sales mana%ers can o!!er discounts up to 6? percent • • • 2012 Ena le capture. photo. and convert reports to di!!erent !ormat li"e Text. %enerate ad hoc 0ueries. includin% price. and view customer se%mentation in!ormation# Page 7 . order the item as and when needed# MIS Executive • • 3enerate 2eports as per re0uirement# Share the data.

manual or otherwise# System Re3'irements These are additional constraints !rom a system perspective. product details must e imported in the new system# The administrator must e a le to monitor everythin% !rom the IT department# e accessi le y everyone in the company as per the ri%hts The in!ormation must speci!y O&erating system details $indows AP Pro!essional with all device drivers installed 8ardware re3'irement The !ollowin% is the con!i%uration o! the system used to develop the so!tware. P8 69B M' 2-M 7# )re0uency . 6#53.( 8# .Payment On Demand System with Electronic Billing • 2012 -ny chan%e to in!ormation must e re!lected immediately. 9# Cey oard . and the chan%es must e propa%ated to the search en%ine so that employees that per!orm searches see this new in!ormation# • • The application should wor" with the existin% communications and networ"in% in!rastructure# The application should deploy with a minimum o! additional operational processes. 5# Processor . B# Mouse . 6# Memory . • • Previous data o! customer.ard Dis" . 8? 3' -ny Type -ny Type Page 10 .

Payment On Demand System with Electronic Billing 2012 Page 11 .

Simpli!ied Data -ccess Improved .odin% Direct -ccess to the OS Plat!orm O +ect*Oriented .OM Interopera ility . a ility to print and select printer. deployin%.Payment On Demand System with Electronic Billing So-tware Re3'irements /)ront End. mana%in% and maintainin% $indows 'ased solutions# The $indows Server System is desi%ned with per!ormance as priority and it provides scala ility. easy to deployment and maintain# /'ac" End. )lexi le. MS -ccess 6??7 /2eport. can export report in di!!erent !ormat includin% MS Excel.onstructs . relia ility# The advanta%e o! 4' includes • • • • • • • • 2apid -pplication Development (2-D) Support# Power!ul $indows* ased -pplications Simpli!ied Deployment Power!ul. easily inte%rate with 4isual 'asic B# 9ront End :hy . .ISU+= B+SI Page 12 . 4isual 'asic B )or !ast development.rystal 2eport @#9 2012 Easy to create.B2< 4'B is uilt on the $indows Server System to ta"e ma+or advanta%e o! the OS and which comes with a host o! di!!erent servers which allows !or uildin%.

is'al Basic can do< The 4isual 'asic pro%rammin% lan%ua%e is not uni0ue to 4isual 'asic# The 4isual 'asic pro%rammin% system. Microso!t -ccess.Payment On Demand System with Electronic Billing Microso!t visual 2012 asic B#? is a !ront*end %raphical user inter!ace tool used to desi%n user*!riendly pac"a%es. -pplications Edition included in Microso!t Excel. and many other $indows applications uses the same lan%ua%e# The 4isual 'asic Scriptin% Edition (4'Script) is a widely used scriptin% lan%ua%e and a su set o! the 4isual 'asic lan%ua%e# The investment you ma"e in learnin% 4isual 'asic will carry over to these other areas# $hether your %oal is to create a small utility !or yoursel! or your wor" %roup. !ront*end applications. includin% Microso!t SD< Server and other enterprise*level data ases# -ctiveAE technolo%ies allow you to use the !unctionality provided y other applications. a lar%e enterprise*wide system. and scala le server*side components !or most popular data ase !ormats. and other $indows applications# Fou can even automate applications and o +ects created usin% the Pro!essional or Enterprise editions o! 4isual 'asic# Internet capa ilities ma"e it easy to provide access to documents and applications across the Internet or intranet !rom within your application. run on Microso!t $indows 6??? and AP# 4isual asic is very easy to use# Many o! the !eatures that is di!!icult to pro%ram in other lan%ua%es practically easy in 4isual 'asic# :hat . Microso!t Excel spreadsheet. or even distri uted applications spannin% the %lo e via the Internet. 4isual 'asic has the tools you need# Data access !eatures allow you to create data ases. or to create Internet server applications# Four !inished application is a true #exe !ile that uses a 4isual 'asic 4irtual Machine that you can !reely distri ute# Page 1* . such as Microso!t $ord word processor.

hi%h speed. menus. scroll ars. 2DS has een com ined with the -DO pro%rammin% model to simpli!y client*side data remotin%# -DO supports "ey !eatures !or uildin% client1server and $e * ased applications# Its primary ene!its are ease o! use. and return updates to the server in a sin%le round trip# Previously released as Microso!t 2emote Data Service 5#9. and a small dis" !ootprint H Incorporate standard windows user*inter!ace elements such as windows. and so on# H . low memory overhead. di!!erent data types. y which you can move data !rom a server to a client application or $e pa%e. hi%h speed. data ase and inary !iles# H 2ead $indows 'itmaps. low memory overhead. Meta!iles and P. Microso!t access and others# Bac> End :hy 0S +ccess< MS -ccess is des"top 2DMS support small application with all !eatures li"e relational 0uery.entrali(ed Mana%ement • 2elia ility • -utomatin% Tas"s Page 1. and 0uery# Includes • Easy to use and easy to deployment# • Inte%ration with $indows OS • Scala ility • Import and Export o! data in all ma+or data ase system# • . read and write to text. +oins. Paint 'rush documents# H -ddress data ase in !ormats such as SD<.reate. ene!its are ease o! use. uttons.Payment On Demand System with Electronic Billing 2012 Microso!tG -ctiveAG Data O +ects (-DO) ena le your client applications to access and manipulate data in a data ase server throu%h any O<E D' provider# -DO ena les you to write an application to access and manipulate data in a data ase server throu%h an O<E D' provider# -DO=s primary uildin% client1server and $e * ased applications# -DO also !eatures 2emote Data Service (2DS). and a small dis" !ootprint# -DO supports "ey !eatures !or . manipulate the data on the client.

. you may e trac"in% in!ormation !rom a variety o! sources that you have to coordinate and or%ani(e yoursel!# . SF'-SE# . data source such as Microso!t SD< Server# -. in an external data source such as d'ase or Microso!t Excel.D'MS stores.data ase is a collection o! in!ormation that=s related to a particular su +ect or purpose. 0ueries.Payment On Demand System with Electronic Billing 2012 0icroso-t +ccess 200* . such as products or suppliers# >sin% a separate ta le !or each topic means that you store that data only once. which ma"es your data ase more e!!icient. processes and retrieves data# .ta le is a collection o! data a out a speci!ic topic. with the tradition methods o! storin% data and in!ormation in !iles the chan%es that the data uses its inte%rity and validity are very hi%h# It is a relational data ase mana%ement systems (2D'MS)# It o!!ers the capa ilities o! relational systems# The data ase server or ac"end is used to mana%ed data ase ta les optimally amon% multiple clients use concurrently re0uest the server Page 11 .<E. macros. such as trac"in% customer orders or maintainin% a music collection# I! your data ase isn=t stored on a computer. or only parts o! it are. modules.collection o! data and o +ects related to a particular topic or purpose# . reports. or in an OD'.ESS is the acronym !or relational Data ase Mana%ement System# $e "now the concept o! 2elational Data ase only since 5J@?=s# 'ut the idea o! the data ase Mana%ement System is de!initely 0uite old# The most prominent 2D'MS pac"a%es are O2-. and reduces data*entry errors# .2elational Data ase is a collection o! related data# Data stora%e in a computeri(ed system in every usiness enterprise maintains lar%e volumes o! data !or its operations# $ith more and more people accessin% this data !or their wor" the need to maintain its inte%rity and relevance increase# Kormally. !orms.Microso!t -ccess data ase may contain ta les. and shortcuts to data access pa%es# The Microso!t Iet data ase en%ine mana%es data in ta les that reside in the data ase# Data in lin"ed ta les may reside in another -ccess data ase.

and enterprise*into interactive. can interact with other controls on the -SP#KET $e !orm 8# . ut are necessary to understand in order to complete the wor"# . the avera%e user can wor" with data ases without ein% hi%hly s"illed in the !ield# # Microso!t -ccess is a data ase so!tware pro%ram that ma"es manipulatin% data mana%ea le !or users o! many s"ill levels c# )lexi ility is the "ey with -ccess# Cnowin% that not everyone is s"illed at ma"in% data ases. and SD< commands across multiple reports# B) Trans!orm data !rom almost any data source*includin% AM<.an pro%rammatically export the reports into widely used !ormats li"e #pd!. #html and #rt! # 9) Maximi(e IT e!!iciency y reusin% report components includin% itmaps. #xls. OD'.Ldata aseL is a way to or%ani(e and store in!ormation a out people.Payment On Demand System with Electronic Billing 2012 !or the same data it also en!orces data inte%rity across all client applications and controls data ase access the other security re0uirements# -dvanta%es o! Microso!t -ccess a# $ith Microso!t -ccess. places and thin%s# rystal Re&ort 6?1 5# 2apid report development since the desi%ner inter!ace would ease the codin% wor" !or the pro%rammer# 6# .an extend it to complicated reports with interactive charts and enhance the understandin% o! the usiness model 7# Exposes a report o +ect model. power!ul content# Page 12 . #doc. relational. custom !unctions. Microso!t created asic templates that a user can %o and use immediately# d# -ccess uses many terms that may e new to you.

wireless devices and Microso!t O!!ice documents*without extra IT overhead# @) 2apidly inte%rate rich.ontrol end user report interaction. and modi!ication at runtime Page 14 .Payment On Demand System with Electronic Billing 2012 M) <et end users access and interact with reports via portals. power!ul multi*threaded 2eport Server# )lexi le SDCs !or inte%ration into Iava. #KET or .OM applications# . dynamic content into $indows and we applications# J) Ta"e advanta%e o! a new. creation.

Payment On Demand System with Electronic Billing 2012 * S/STE0 DESI)N Page 16 .

Use Case Model: Retrieve Customer Data Page 17 . throu%h processed. as represented in the !ollowin% dia%ram. may e descri ed lo%ically and independently o! physical components associated with the system# These are "nown as the lo%ical data !low dia%rams# The physical data !low dia%rams show the actual implements and movements o! data etween people.data !low dia%ram is %raphical tool used to descri e movement o! data throu%h a system# These are the central tool and the asis !rom which the other components are developed# The trans!ormation o! data !rom input to output.Payment On Demand System with Electronic Billing System design 2012 Data )low Dia%rams . departments and wor"stations# Electronic 'illin% and Payment On Demand System 4ersion 5#? will address the !ollowin% use cases# The complete usa%e scenarios will e completed durin% the in!ormation*%atherin% process# >se cases will e created and prioriti(ed# Selected use cases will e expanded into usa%e scenarios and !eatures that are derived !rom oth use cases and the usa%e scenarios.

Payment On Demand System with Electronic Billing Use Case Model: Manage Orders 2012 Page 20 .

Payment On Demand System with Electronic Billing )Data ase desi%n 2012 Payment On Demand System With Electronic Billing System Physical O !ect Model Page 21 .

Payment On Demand System with Electronic Billing Add ne" product to product master se#uence diagram 2012 Page 22 .

Payment On Demand System with Electronic Billing 2012 Payment On Demand with Electronic Billing – Data Schema ER Diagram Page 2* .

.Payment On Demand System with Electronic Billing Payment On Demand System with Electronic Billing D9D 2012 Page 2.

-oreign >eys$ EAtended attri%'tes$ On9ile)ro'& l'stered PB 9ield Name Sno ProdTy&e ProdS'%Ty&e Rate isacti#e P2IM-2F Fes Data Ty&e Int nvarchar(B?) nvarchar(B?) Int nvarchar(7?) onstraints K><< Kot allowed K><< Kot allowed K><< Kot allowed K><< Kot allowed K><< Kot allowed d o e ill 9 6 ? Page 21 .col'mns$ N'm%er o.indeAes$ N'm%er o.Payment On Demand System with Electronic Billing TABLE DESIGN 2012 Payment On Demand System with Electronic Billing Ta%le$ &rod'ct@master Owner$ Destination DB name$ N'm%er o.

Payment On Demand System with Electronic Billing 2012 Ta%le$ %ill Owner$ Destination DB name$ N'm%er o.indeAes$ N'm%er o.col'mns$ N'm%er o.-oreign >eys$ EAtended attri%'tes$ On9ile)ro'& l'stered PB 9ield Name sno Payment On Demand Systemno canme Payment On Demand P2IM-2F Fes Data Ty&e Int nvarchar(B?) onstraints K><< Kot allowed K><< Kot allowed K><< Kot allowed K><< Kot Page 22 d o e ill 59 7 ? nvarchar(B?) Datetime .

indeAes$ d o e ill B 7 Page 24 .Payment On Demand System with Electronic Billing System@date location chalan@no c'stomer@name 'stomer@addre ss1 'stomer@addre ss2 Total@amt disco'nt +mt@words Paid@ty&e he3'e@no Entry@date nvarchar(B?) Int nvarchar(5??) nvarchar(5??) nvarchar(5??) Int Int nvarchar(5??) nvarchar(B?) nvarchar(B?) Datetime allowed K><< Kot allowed K><< Kot allowed K><< Kot allowed K><< Kot Kull allowed Kull -llowed K><< Kot allowed K><< Kot allowed K><< Kot allowed K><< Kot allowed K><< -llowed K><< Kot allowed 2012 Ta%le $ %ill@details Owner$ Destination DB name$ N'm%er o.col'mns$ N'm%er o.

col'mns$ N'm%er o.-oreign >eys$ EAtended attri%'tes$ On9ile)ro'& l'stered PB P2IM-2F Fes 6 2012 9ield Name sno Bill@sno Prod@sno 3ty rate amt Int Int Data Ty&e onstraints Kot allowed Kot allowed Kot allowed Kot allowed Kot allowed Kot allowed nvarchar(B?) Datetime nvarchar(B?) Int $a le% Company&master Owner$ Destination DB name$ N'm%er o.indeAes$ N'm%er o.Payment On Demand System with Electronic Billing N'm%er o.-oreign >eys$ EAtended attri%'tes$ On9ile)ro'& l'stered PB P2IM-2F Fes d o e ill M 6 ? Page 26 .

indeAes$ N'm%er o.-oreign >eys$ EAtended attri%'tes$ On9ile)ro'& l'stered PB P2IM-2F Fes d o e ill 7 6 ? Data Ty&e 'ser@name User@&assword 9ield Name nvarchar(B?) nvarchar(B?) onstraints Kull Kot allowed Kull Kot allowed Page 27 .Payment On Demand System with Electronic Billing 9ield Name om&any@name +ddress1 +ddress2 city &in tele&hone #atno Data Ty&e nvarchar(B?) nvarchar(5??) nvarchar(5??) nvarchar(B?) Int nvarchar(B?) nvarchar(B?) onstraint Kot allowed Kot allowed -llowed Kot allowed Kot allowed Kot allowed Kot allowed 2012 Ta%le $ 'ser@master Owner$ Destination DB name$ N'm%er o.col'mns$ N'm%er o.

-oreign >eys$ EAtended attri%'tes$ On9ile)ro'& l'stered PB P2IM-2F Fes d o e ill 9 6 ? 9ield Name Sno ProdTy&e ProdS'%Ty&e Rate isacti#e Data Ty&e Int nvarchar(B?) nvarchar(B?) Int nvarchar(7?) onstraints Kull Kot allowed Kull Kot allowed Kull Kot allowed Kull Kot allowed Kull Kot allowed Page *0 .Payment On Demand System with Electronic Billing User@ty&e nvarchar(B?) K><< -llowed 2012 Ta%le descri&tion $a le % product&master Owner$ Destination DB name$ N'm%er o.indeAes$ N'm%er o.col'mns$ N'm%er o.

Payment On Demand System with Electronic Billing 2012 Ta%le $ %ill Owner$ Destination DB name$ N'm%er o.-oreign >eys$ EAtended attri%'tes$ On9ile)ro'& l'stered PB P2IM-2F Fes d o e ill 59 7 ? Page *1 .indeAes$ N'm%er o.col'mns$ N'm%er o.

9ield Data Ty&e onstraints Name Payment On Demand System with Electronic Billing sno Payment On Demand Systemn o canme Payment On Demand System@ date location chalan@n o c'stome r@name 'stome r@addres s1 'stome r@addres s2 Total@am t disco'nt +mt@wor ds Paid@ty& e he3'e@ no Entry@da te Int nvarchar(B?) Kull Kot allowed Kull Kot allowed 2012 nvarchar(B?) Datetime Kull Kot allowed Kull Kot allowed nvarchar(B?) Int nvarchar(5??) nvarchar(5??) Kull Kot allowed Kull Kot allowed Kull Kot allowed Kull Kot allowed Kull -llowed nvarchar(5??) Int Int nvarchar(5??) nvarchar(B?) nvarchar(B?) Datetime Kull Kot allowed Kull Kot allowed Kull Kot allowed Kull Kot allowed Kull -llowed Page *2 Kull Kot allowed .

Payment On Demand System with Electronic Billing 2012 Page ** .

Payment On Demand System with Electronic Billing 2012 . . INPUT +ND OUTPUT S REENS Page *.

Payment On Demand System with Electronic Billing 2012 In&'t and o't&'t Screens 9rm=ogin (Module to -uthenticate >ser) Page *1 .

Payment On Demand System with Electronic Billing 9rmBill (.reate and modi!y ill and print the saved ill) 2012 Page *2 .

Payment On Demand System with Electronic Billing 2012 9rmRe&orts (Show Di!!erent 2eport Options) 9rmPrintBill (Print already saved ill) Page *4 .

Payment On Demand System with Electronic Billing 2012 Prod'ctS'mmary Re&ort (Show Product Summary report in crystal report) Page *6 .

Payment On Demand System with Electronic Billing 2012 9rmBillS'mmary (Show ill summary !or particular date ran%e) Page *7 .

0 .Payment On Demand System with Electronic Billing 'ill Summary 2eport 2012 9rmEA&ortData (Export product Data in )lex3rid and MS*Excel with !ormattin%) Page .

chan%e password etc#) Page .Payment On Demand System with Electronic Billing 2012 Export product Data MS*Excel with !ormattin% 9rmUtlity (To -ccess di!!erent utility pro%ram li"e compact.1 . ac"up.

ompact -nd 2epair Data ase (To shrin" and compact main data ase data#md #) Page .Payment On Demand System with Electronic Billing 2012 )rm.2 .

* .ompany In!o) Page .Payment On Demand System with Electronic Billing 2012 9rmBac>'&Data%ase (To ta"e ac"up o! main data ase data#md #) 9rm om&anyIn-o (-dd1Modi!y .

han%e password !or currently lo%%ed user) Page .. .lientIn!o (-dd1Modi!y .Payment On Demand System with Electronic Billing )rm.lient In!o) 2012 9rm hangePassword (.

Payment On Demand System with Electronic Billing Sam&le Payment On Demand with Electronic Billing So'rce 2012 ode FrmLogin (Module to Authenticate User) Option Explicit Dim Rs As New ADODB.Recordset Private Sub Command1 Clic!"# $%%% c&ec! w&eat&er user name and password are blan! $%%% i' its is blan warn user to enter (' )xt*serName.State + adStateOpen )&en Rs.Close"# Rs..$..Set0ocus"# Exit Sub End (' $%%% c&ec! 'or entered compan1 $%%% 2uer1 to database and i' no record 'ound warn user to select compan1 'rom t&e list./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' Rs.. (' Rs..)ext + .select 3 'rom compan1 master w&ere compan1 name+$.)ext 4 ./ vbExclamation# CmbCompan1Name.Open". 4 CmbCompan1Name. Or )xtPassword.Enter user name and password .Box".)ext + .Set0ocus"# Exit Sub End (' Page .Select compan1 name 'rom t&e list..)ext Else -s. )&en -s.Box".RecordCount % 6 )&en Compan1Name + CmbCompan1Name./ vbExclamation# )xt*serName.1 .

RecordCount % 6 )&en C&ec!5o.(nvalid *ser Name and Password .#. )xt*serName.7alue# *ser)1pe + (('"(sNull"Rs"..#.7alue# + )rue/ .Close"# Rs..#.lobal variable 'or 'uture use.in Error .)ext 4 .NA.$ and user password +$.7alue# + )rue/ .Payment On Demand System with Electronic Billing $%%% c&ec! 'or username and password $%%% 2uer1 to user master wit& user name and password 2012 $%%% i' no record 'ound c&ec! warn user 'or enter valid user namne and password $%%% i' record 'ound store user nmae/ user t1pe in .user t1pe.user t1pe.*SER name.Open". ./ vbExclamation/ . 4 )xt*serName.in + )rue *serName + (('"(sNull"Rs". 4 )xtPassword 4 .#.*SER name.5o.Set0ocus"# Exit Sub End (' End Sub Private Sub Command8 Clic!"# Page .NA.Box"..# )xtPassword.)ext + .State + adStateOpen )&en Rs.2 .select 3 'rom user master w&ere *SER name +$.$./ Rs"./ Rs".7alue# *nload"-e# Else -s./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' Rs. (' Rs.

8/ "Screen. End Sub 2012 Private Sub 0orm 5oad"# $%%% open t&e .<ei.State + 1 )&en Cn.select 3 'rom compan1 master .-ove "Screen.er# Page .Close"# OpenCon"# $%%% center t&e 'orm -e.RecordCount % 6 )&en 9&ile Rs.Open".-oveNext"# End 9&ile End (' (' Rs.&t# .EO0 + 0alse CmbCompan1Name.compan1 name.## Rs.Payment On Demand System with Electronic Billing $%%% close t&e application End 0rm5o. 8 $%%% 'ill t&e combo box wit& all compan1 name 'rom compan1 master (' Rs.9idt& : 9idt&# .State + adStateOpen )&en Rs.&t : <ei.Clear"# (' Rs.lobal connection (' Cn./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# CmbCompan1Name.4 .Close"# Rs.Add(tem"Rs".State + adStateOpen )&en Rs.er/ B17al *nload-ode As (nte.in + Not&in.Close"# End Sub Private Sub 0orm =uer1*nload"B17al Cancel As (nte.

exit.5e't + -e. )&en Page . End Sub 2012 Frm ain (Give user access to different module) Option Explicit Private Sub -D(0orm Activate"# $%%% s&ow t&e lo.9idt& : Picture1.Payment On Demand System with Electronic Billing $%%% release all t&e ob>ect variable used b1 'orm 0rm5o.S&ow"1# End (' 5blCompan1Name + Compan1Name End Sub Private Sub -D(0orm Resi?e"# $%%% reposition t&e picturebox as per 'orm si?e $%%% to displa1 t&e selected compan1 name Picture1. )&en End Else(' Button.Button# $%%% load appropriate 'orm as per user clic! on toolbar buttons $%%% in desi.in.product master.in + 0alse )&en 0rm5o.in 'orm as modulas 'or 'irst time $%%% w&en main 'orm activate 'irst time (' C&ec!5o.Ae1 + .6 .Ae1 + .n time we set !e1 value 'or eac& toolbar button (' Button.in + Not&in.9idt& : @66 End Sub Private Sub )oolbar1 ButtonClic!"B17al Button As -SComctl5ib.

utilit1.select prod sub t1pe 'rom product master order b1 prod sub t1pe.A55.Ae1 + .Ae1 + .Payment On Demand System with Electronic Billing 0rmProducts.7 .compan1.$ order b1 prod sub t1pe.reports. (' CmbProduct)1pe.Ae1 + .S&ow"1# Else(' Button. )&en 0rmC&an.)ext 4 .bill. )&en 0rmBill. 4 CmbProduct)1pe.e"# $%%% as per product t1pe 'ill t&e product list Dim =rStr As Strin.Recordset Dim AddEdit As Strin. )&en =rStr + .S&ow"1# Else(' Button. )&en 0rmReports.eCompan1. )&en 0rm*tilit1. Else =rStr + .S&ow"1# Else(' Button.Ae1 + . Private Sub CmbProduct)1pe C&an.)ext + .S&ow"1# Else(' Button.select prod sub t1pe 'rom product master w&ere prod t1pe+$.S&ow"1# End (' 2012 End Sub FrmProd!ct" (Maintain Product master) Option Explicit $%% decalre 'orm level valriable Dim Rs As New ADODB. Page .

5ist(ndex + 6 Displa1Record"# End (' End Sub 2012 Private Sub CmbProduct)1pe Clic!"# $%%% call c&an.Close"# Rs.-oveNext"# End 9&ile $%%% select t&e 'irst product (' 5stProductSub)1pe.5istCount % 6 )&en 5stProductSub)1pe.prod sub t1pe.Clear"# (' Rs.Add(tem"Rs".e"# End Sub Private Sub CmdCancel Clic!"# $%%% cancel update ED"0alse/ )rue# Displa1Record"# End Sub Page 10 .e event CmbProduct)1pe C&an.Open"=rStr/ Cn/ adOpenStatic/ ad5oc!ReadOnl1# 9&ile Rs.EO0 + 0alse 5stProductSub)1pe.## Rs.Payment On Demand System with Electronic Billing End (' 5stProductSub)1pe.State + adStateOpen )&en Rs.

End Sub Private Sub CmdSave Clic!"# $%%% validate t&e entr1 (' )rim"Cmb)1pe..7alue + 1 ED")rue/ 0alse# AddEdit + .. )xtName. End Sub Private Sub CmdNew Clic!"# $%%% set t&e 'la.)ext + . to add $%%% claer text box 5blSr.)ext + .Caption + 6 Cmb)1pe.. )xtRate.ADD. to edit ED")rue/ 0alse# AddEdit + .)ext + 6 C&!Active.Payment On Demand System with Electronic Billing Private Sub CmdClose Clic!"# $%%% close t&e 'ron *nload"-e# End Sub 2012 Private Sub CmdEdit Clic!"# $%%% set 'la. )&en Page 11 .)ext# + .ED().

Open".Close"# Rs.Set0ocus"# Exit Sub End (' (' )rim")xtName..Close"# Rs./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# Dim sno As (nte../ vbExclamation# )xtName.Don$t use double 2oute in product name.Box".Set0ocus"# Exit Sub End (' (' (sNumeric")xtRate.State + adStateOpen )&en Rs./ vbExclamation# )xtName. )&en -s.Set0ocus"# Exit Sub End (' $%%% c&ec! t&e 'la.Enter product name./ vbExclamation# Cmb)1pe.select max"sno# C1 'rom product master . 'rom add.edit (' AddEdit + .select 3 'rom product master w&ere 1+8. )&en (' Rs.Box".)ext# + 0alse )&en -s.)ext# + .Box".State + adStateOpen )&en Rs.Set0ocus"# Exit Sub End (' (' (nStr"1/ )xtName.Box".Open".ADD./ Cn/ adOpenD1namic/ ad5oc!Optimistic# Page 12 .)ext/ C&r"B@## % 6 )&en 2012 -s.Select or Enter product t1pe./ vbExclamation# )xtRate.Payment On Demand System with Electronic Billing -s...er sno + Rs"6# (' Rs.Enter rate/ numeric onl1.

# + 7al")xtRate.7alue# Rs.rate.Caption#/ Cn/ adOpenD1namic/ ad5oc!Optimistic# Rs".)ext Cmb)1pe.# + 7al"C&!Active.is active. OldPName + )xtName. OldP)1pe + Cmb)1pe.*pdate"# Rs.# + 7al")xtRate.# + )xtName.prod sub t1pe.is active.)ext Rs".rate.prod t1pe.select 3 'rom product master w&ere sno+.# + sno Rs".*pdate"# Rs.)ext Rs".prod t1pe.)ext Rs".)ext Dim OldPName As Strin.# + Cmb)1pe.# + Cmb)1pe.prod sub t1pe.)ext# Rs".Close"# Else (' Rs.7alue# Rs.# + 7al"C&!Active.Clear"# Page 1* .sno.)ext Rs".Close"# Rs.)ext# Rs".Payment On Demand System with Electronic Billing Rs.AddNew"# Rs".Open".# + )xtName.Close"# End (' 2012 $%%% dispal1 and update lists Dim OldP)1pe As Strin. 4 7al"5blSr.State + adStateOpen )&en Rs.

## Cmb)1pe.prod t1pe.Clear"# CmbProduct)1pe.-oveNext"# End 9&ile $%%% s&ow t&e 'irst record (' 5stProductSub)1pe.## Rs. (' CmbProduct)1pe./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# 9&ile Rs. End (' 5stProductSub)1pe.Payment On Demand System with Electronic Billing CmbProduct)1pe.prod t1pe.inserted records Dim =rStr As Strin.Add(tem"Rs".Close"# 2012 Rs.A55.A55.Open".Add(tem"Rs".$ order b1 prod sub t1pe.EO0 + 0alse 5stProductSub)1pe.Add(tem".select distinct prod t1pe 'rom product master order b1 prod t1pe.Close"# Rs.## Rs.EO0 + 0alse CmbProduct)1pe.)ext + OldP)1pe (' Rs.Open"=rStr/ Cn/ adOpenStatic/ ad5oc!ReadOnl1# 9&ile Rs.)ext + . 4 CmbProduct)1pe. Else =rStr + .ain wit& updated. .Clear"# (' Rs.select prod sub t1pe 'rom product master w&ere prod t1pe+$.State + adStateOpen )&en Rs.prod sub t1pe.Add(tem"Rs". )&en =rStr + .select prod sub t1pe 'rom product master order b1 prod sub t1pe.# CmbProduct)1pe.-oveNext"# End 9&ile $%%% 'ill t&e product list a.5istCount % 6 )&en Page 1.)ext 4 .State + adStateOpen )&en Rs.

prod t1pe.# CmbProduct)1pe.Add(tem"Rs".A55.Payment On Demand System with Electronic Billing 5stProductSub)1pe.)ext + OldPName Displa1Record"# End (' 2012 $%%% enable. 8 $%%% reset connection OpenCon"# ED"0alse/ )rue# Cmb)1pe.EO0 + 0alse CmbProduct)1pe.Clear"# CmbProduct)1pe.## Page 11 ./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# 9&ile Rs.<ei.A55.9idt& : 9idt&# .select distinct prod t1pe 'rom product master order b1 prod t1pe.Add(tem".Close"# Rs.Clear"# $%%% 'ill t&e product t1pe CmbProduct)1pe.Add(tem"Rs".prod t1pe.)ext + . 8/ "Screen.diable button ED"0alse/ )rue# End Sub Private Sub 0orm 5oad"# $%%% center t&e 'orm -e.&t# . (' Rs.Open".State + adStateOpen )&en Rs.## Cmb)1pe.&t : <ei.-ove "Screen.

)ext + .Close"# Page 12 .5istCount % 6 )&en 5stProductSub)1pe.Open"=rStr/ Cn/ adOpenStatic/ ad5oc!ReadOnl1# 9&ile Rs.5ist(ndex + 6 Displa1Record"# End (' End Sub Private Sub Displa1Record"# $%%% displa1 record as per selected product name (' Rs.Clear"# (' Rs. End (' 5stProductSub)1pe.State + adStateOpen )&en Rs. )&en =rStr + .select prod sub t1pe 'rom product master order b1 prod sub t1pe.EO0 + 0alse 5stProductSub)1pe.Close"# Rs.## Rs.-oveNext"# End 9&ile $%%% select t&e 'irst record (' 5stProductSub)1pe.-oveNext"# End 9&ile 2012 $%%% 'ill t&e product sub t1pe Dim =rStr As Strin. Else =rStr + .State + adStateOpen )&en Rs.Add(tem"Rs".prod sub t1pe.$ order b1 prod sub t1pe.A55.select prod sub t1pe 'rom product master w&ere prod t1pe+$.)ext 4 . (' CmbProduct)1pe.Payment On Demand System with Electronic Billing Rs. 4 CmbProduct)1pe.

7alue + 1 End (' End Sub Private Sub ED"B17al )1 As Boolean/ B17al )8 As Boolean# $%%% enable.RecordCount % 6 )&en 5blSr.Open".rate.Caption + .Caption + Rs".)ext + .prod t1pe.7isible + )1 Cmd0ind.)ext + Rs".7alue + Rs".prod sub t1pe. )xtRate.)ext + .is active.)ext + Rs".5oc!ed + )8 Page 14 . 4 C&r"B@# 4 5stProductSub)1pe.Payment On Demand System with Electronic Billing 2012 Rs. Cmb)1pe.7isible + )1 CmdCancel..select 3 'rom product master w&ere prod sub t1pe+.# )xtName.7isible + )8 CmdEdit. )xtName.)ext + Rs"...# Else 5blSr.7isible + )8 CmdClose..# Cmb)1pe.7isible + )8 Cmb)1pe.# )xtRate.disable button CmdSave.sno.)ext 4 C&r"B@#/ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' Rs. C&!Active.)ext + .# C&!Active.7isible + )8 CmdNew.

5ist(ndex + 5stProductSub)1pe. )&en CmbProduct)1pe.5ist(ndex : 1 End (' End (' End Sub Page 16 .Payment On Demand System with Electronic Billing )xtName.A55.5ist(ndex D 5stProductSub)1pe.)ext + .er# $%%% SE5EC) 0RO.)ext D% .5oc!ed + )8 )xtRate.5ist(ndex + 5stProductSub)1pe.5ist(ndex % 6 )&en 5stProductSub)1pe.Enabled + )1 End Sub 2012 Private Sub 5stProductSub)1pe Clic!"# Displa1Record"# End Sub Private Sub )xtName Ae1Down"B17al Ae1Code As (nte.5oc!ed + )8 C&!Active.5(S) (' CmbProduct)1pe.er/ B17al S&i't As (nte. End (' (' Ae1Code + vbAe1Down )&en (' 5stProductSub)1pe.5ist(ndex C 1 End (' End (' (' Ae1Code + vbAe1*p )&en (' 5stProductSub)1pe.5istCount : 1 )&en 5stProductSub)1pe.A55.

lobal variable Dim AddEdit As Strin.Payment On Demand System with Electronic Billing FrmBill (Create and modify bill and print the saved bill) 2012 Option Explicit $%%% declare 'orm .4Close. Private Sub CmdClose Clic!"# $%%% c&ec! t&e caption o' t&e button $%%% close t&e 'orm or cancel t&e save (' CmdClose. Dim Rs As New ADODB.er Dim SavePrint As Strin.Caption + .Recordset Dim sno As (nte. )&en *nload"-e# Else DE")rue/ 0alse# End (' End Sub Private Sub CmdDelete Clic!"# $%%% con'irm 'or deletion o' bill $%%% i' user select EES delete t&e record 'rom bill and bill details $%%% clear t&e seleted data 'rom t&e screen 'or deleted bill Page 17 .

)&en )xt(nvoiceNo.Enabled + )rue )&en )xt(nvoiceNo..Box". CmdDelete.Record will delete permantle1 F. 4 sno# Cn./ vbEesNo C vbCritical# + vbEes )&en Cn.Execute".Caption + .Payment On Demand System with Electronic Billing 2012 (' -s.Set0ocus"# Page 20 . CmdGetBill..Set0ocus"# End (' End (' End Sub Private Sub CmdGetBill Clic!"# $%%% 'ind t&e bill details $%%% 'ind t&e bill b1 invoice no AddEdit + .Caption + . 4 sno# AddEdit + .Execute".Enabled + )rue Call Clear0ield"# )xt(nvoiceNo.delete 'rom bill details w&ere bill sno +. (' CmdGetBill.delete 'rom bill w&ere sno +.40ind.Enabled + 0alse Call Clear0ield"# (' )xt(nvoiceNo.Bac!Color + vbEellow )xt(nvoiceNo.4Get Bill.

serial. and cname+$.c&alan no.-ove0irst"# 0or i + 6 )o Rs8.# )xtAddress1.customer address8.)ext + RS1".customer address1./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' Rs8.Payment On Demand System with Electronic Billing CmdGetBill.customer name.# )xt5ocation.RecordCount % 6 )&en $%%% s&ow details 'rom bill table DtDate.40ind.)ext + RS1".invoice date.)ext + RS1".)ext + RS1".# 5blRs9ord. 2012 Else Dim RS1 As New ADODB.)ext# 4 . 4 7al")xt(nvoiceNo.er Rs8.total amt./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' RS1.RecordCount % 6 )&en Dim i As (nte.Caption + RS1". 4 RS1".# 5bl)otalAmount + RS1".sno.Close"# Dim RsB As New ADODB.amt word.# )xtCompan1. 4 Compan1Name 4 .# )xtSerial.Open".Recordset Rs8.# )xtC&alanNo.# 4 .Open".Caption + .# $%%% s&ow data 'rom bill details Dim Rs8 As New ADODB.)ext + RS1".RecordCount : 1 Page 21 .State + adStateOpen )&en Rs8.7alue + RS1".Recordset RS1.select 3 'rom bill w&ere invoice no +.Recordset (' Rs8.$.select 3 'rom bill details w&ere bill sno+.)ext + RS1".location.# )xtAddress8. order b1 sno .

)ext-atrix"i C 1/ @# + Rs8".State + adStateOpen )&en RsB.RecordCount % 6 )&en -'1.prod sub t1pe.)ext-atrix"i C 1/ 1# + RsB".Close"# 2012 RsB. CmdDelete.# Rs8.2t1.amt.#/ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' RsB.State + adStateOpen )&en Rs8.Enabled + )rue )H)7A5.rate.Close"# CmdGetBill.4Get Bill.Payment On Demand System with Electronic Billing (' RsB.)ext-atrix"i C 1/ 8# + Rs8".Enabled + )rue CmdSave.State + adStateOpen )&en RsB.Enabled + )rue cmbval.)ext-atrix"i C 1/ B# + Rs8".7isible + 0alse CmdPrint.Enabled + )rue $%%% loca! t&e buttons -'1.# -'1.-oveNext"# Next End (' (' Rs8.Enabled + )rue )xtCompan1.# -'1.Open".# End (' (' RsB.Close"# -'1.Enabled + )rue cmbval.5oc!ed + 0alse Page 22 .prod sno.select 3 'rom product master w&ere sno +.Caption + . 4 Rs8".5oc!ed + 0alse )xtAddress1.

Caption + .5oc!ed + )rue End (' (' RS1.5oc!ed + 0alse DtDate.5oc!ed + 0alse Else -s.Enabled + 0alse cmbval.40ind.Set0ocus"# CmdDelete.5oc!ed + )rue )xtAddress1. 4 )xt(nvoiceNo.Payment On Demand System with Electronic Billing )xtAddress8.Enabled + 0alse 2012 -'1.5oc!ed + 0alse )xtC&alanNo.Enabled + 0alse )xtCompan1.5oc!ed + )rue )xtC&alanNo.Enabled + 0alse CmdSave.Box". )xt(nvoiceNo.Enabled + )rue )xt5ocation.State + adStateOpen )&en RS1..5oc!ed + )rue DtDate.5oc!ed + )rue )xtAddress8..)ext/ vbExclamation# CmdGetBill..Enabled + )rue )xt(nvoiceNo.Enabled + 0alse CmdPrint.Enabled + 0alse )xt5ocation.Close"# End (' End Sub Page 2* .No Previous Details 'ound 'or invoice.Enabled + 0alse )H)7A5.

&t solution to call cr1stal report b1 temp usin. temp table $some time it is a .State + adStateOpen )&en Rs.RecordCount % 6 )&en sno + (('"(sNull"Rs"6## + )rue/ 6/ Rs"6## C 1 End (' (' Rs.Set0ocus"# End Sub 'rom bill .Close"# Rs.Open". value b1 Selection0ormula in cr1stal report $but an1wa1 it is a wor!in.Payment On Demand System with Electronic Billing 2012 Private Sub CmdNew Clic!"# $%%% claer t&e screen 'or enterin./ Cn/ adOpenStatic/ Private Sub CmdPrint Clic!"# $NO)E I it is not t&e ri. solution Page 2.State + adStateOpen )&en Rs.et t&e new s1stem id 'rom bill (' Rs.Close"# )xtCompan1. . Call Clear0ield"# $%%% .ADD.select max"sno# ad5oc!ReadOnl1# (' Rs.disable buttons DE"0alse/ )rue# AddEdit + . data 'or new bill $%%% enable.ood practice 'or complecated databse relation table $)&is ma1 not run properl1 in multi user environment $Better approc& is passin.

Execute".$.enter invoice no 'or print.9indowState + crpt-aximi?ed Cr1.rpt.Report0ileName + App.Data0iles"6# + App.## Cn.Payment On Demand System with Electronic Billing $%%% 'ind t&e bill sno 'rom seleted invoice no $%%% i' record 'ound $%%% delete temp bill na dbill details 2012 $%%% insert 'rom bill/bill details to temp bill/ teemp bill details Dim RS1 As New ADODB.Action + 1 Else -s.# Cn.select sno 'rom bill w&ere invoice no+. Cr1.insert into temp bill details select 3 'rom bill details w&ere bill sno+.Execute"./ vbExclamation# Exit Sub End (' Page 21 .Close"# RS1.sno. 4 7al")xt(nvoiceNo.Recordset (' RS1. 4 Compan1Name 4 .JreportsJbill. and cname +$.Pat& 4 .Box".delete 'rom temp bill details.State + 1 )&en RS1.## Call OpenCon"# $%%% call cr1stal report Cr1.insert into temp bill select 3 'rom bill w&ere sno+.# Cn.No Bill 'ound select.Open".Execute".)ext# 4 . 4 RS1"./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' RS1.mdb.RecordCount % 6 )&en Cn.sno.delete 'rom temp bill. 4 RS1". Cr1.Pat& 4 .Jdata.Execute".

. )&en -s.Enter onl1 Numeric (nvoice No..Set0ocus"# Exit Sub End (' (' (sNumeric")xt(nvoiceNo...Enter Compan1 Name.Set0ocus"# Page 22 .Box".Set0ocus"# Exit Sub End (' (' )rim")xtC&alanNo.Box".Payment On Demand System with Electronic Billing 2012 End Sub Private Sub CmdSave Clic!"# $%%% validation $%%% c&ec! t&e re2uired 'ield (' )rim")xtCompan1../ vbExclamation# )xt(nvoiceNo...Enter C&alan No.)ext# + .)ext# + 0alse )&en -s....Box".Set0ocus"# Exit Sub End (' (' )rim")xt5ocation.)ext# + ..Enter 5ocation. )&en -s./ vbExclamation# )xt5ocation./ vbExclamation# )xtC&alanNo..)ext# + ./ vbExclamation# )xtCompan1..Box".. )&en -s..

4 Compan1Name 4 .Enter onl1 Numeric C&alan No.. 4 sno# Cn.delete 'rom bill details w&ere bill sno +..Close"# Cn.# End (' (' RS1. 4 7al")xt(nvoiceNo. )&en (' RS1.select 3 'rom bill w&ere invoice no +. 4 sno# AddEdit + .)ext# 4 .Execute". Page 24 .delete 'rom bill w&ere sno +.Close"# RS1.State + adStateOpen )&en RS1.Be.Open".ADD.Payment On Demand System with Electronic Billing Exit Sub End (' (' (sNumeric")xtC&alanNo.Recordset $%%% c&ec! w&eat&er we need to insert or edit t&e record $%%% i' it is edit/ t&en delete t&e old bill and insert new record (' AddEdit D% .State + adStateOpen )&en RS1. and cname+$.Set0ocus"# Exit Sub End (' 2012 $%%% reset t&e transaction Call OpenCon"# $%%% create transaction 'or insert bill and bil details Cn.Box"./ vbExclamation# )xtC&alanNo.Execute"..sno.$.in)rans"# Dim RS1 As New ADODB..)ext# + 0alse )&en -s.RecordCount % 6 )&en sno + RS1"./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' RS1.

er 0or i + 1 )o -'1. 4 C&r"B@# 4 -'1.)ext-atrix"i/ B## + 6 )&en Page 26 .e Dim cc As (nte.Open".State + adStateOpen )&en RS1.rid $%%% w&eat&er t&ere is a product or not $%%% w&eater t&e1 enter an1 2uantit1 or not $%%% w&eate&r t&ere is an1 price or not $%%% i' an1 t&in.RecordCount D+ 6 )&en C& + )rue End (' (' RS1..)ext-atrix"i/ 1# 4 C&r"B@#/ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' RS1.State + adStateOpen )&en RS1.oes wron.Payment On Demand System with Electronic Billing End (' 2012 $%%% c&ec! 'or product master $%%% c&ec! t&e .Close"# RS1.Rows : 1 Dim C& As Boolean C& + 0alse (' )rim"-'1. )&en C& + )rue End (' (' RS1.)ext-atrix"i/ 1## + . .Close"# (' 7al"-'1.select sno 'rom product master w&ere prod sub t1pe +. s&ow messa.er Dim i As (nte.)ext-atrix"i/ 8## + 6 )&en C& + )rue End (' (' 7al"-'1.

Open".State + adStateOpen )&en Rs../ vbExclamation# )xt(nvoiceNo.Box"./ Cn/ adOpenD1namic/ ad5oc!Optimistic# RS1.Payment On Demand System with Electronic Billing C& + )rue End (' (' 7al"-'1.Open".State + adStateOpen )&en Rs.select 3 'rom bill w&ere invoice no+.Box".(nvalid (nvoice No cannot save.Close"# Rs.RecordCount % 6 )&en -s. 4 7al")xt(nvoiceNo.Set0ocus"# Exit Sub End (' (' Rs.Close"# $%%% save record in bill table RS1..)ext-atrix"i/ @## + 6 )&en C& + )rue End (' (' C& + 0alse )&en cc + cc C 1 End (' Next (' cc + 6 )&en -s.No Bill details 'ound 'or save./ vbExclamation# Exit Sub End (' 2012 $%%% c&ec! 'or duplicate invoice no (' Rs.select 3 'rom bill w&ere 1+8.AddNew"# Page 27 .)ext#/ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' Rs.

er Dim Rs8 As New ADODB.# + )rim")xtAddress8.invoice date.# + )rim")xtCompan1.)ext RS1.# + )xtSerial.invoice no.# + 7al")xtC&alanNo.Close"# 2012 $%%% vaildate eac& row be'ore save in details Dim 5astSno As (nte.State + 1 )&en RS1.select max"sno# 'rom bill details.sno.)ext# RS1".serial.dd:mmm:11.)ext# RS1".# + Now RS1".entr1 date.location.# + 0ormat"DtDate.c&e2ue no.er Dim ProdSno As (nte.*pdate"# (' RS1.7alue/ .amt word.c&alan no.RecordCount % 6 )&en Page 40 .Open".discount.# + 7al")xt(nvoiceNo. RS1".NA./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' Rs8.# + )rim")xt5ocation.NA.cname.# + Compan1Name RS1".# + )rim")xtAddress1.# + 5blRs9ord RS1".# + 7al"5bl)otalAmount.customer name.# + sno RS1".State + 1 )&en Rs8.Payment On Demand System with Electronic Billing RS1".customer address1.paid t1pe.)ext# RS1".)ext# RS1".)ext# RS1".Recordset (' Rs8.)ext# RS1".# + .# + 6 RS1".# + .customer address8.Close"# Rs8. RS1".Caption# RS1".total amt.# RS1".

)ext-atrix"i/ @## + 6 )&en C& + )rue End (' (' C& + 0alse )&en Page 41 .Open".State + adStateOpen )&en RS1.Rows : 1 2012 C& + 0alse (' )rim"-'1. 4 C&r"B@# 4 -'1.)ext-atrix"i/ 8## + 6 )&en C& + )rue End (' (' 7al"-'1.. )&en C& + )rue End (' (' RS1.Close"# RS1.Payment On Demand System with Electronic Billing 5astSno + (('"(sNull"Rs8"6## + )rue/ 6/ Rs8"6## C 1 End (' 0or i + 1 )o -'1.)ext-atrix"i/ 1## + .State + adStateOpen )&en RS1.RecordCount % 6 )&en ProdSno + RS1"6# Else C& + )rue End (' (' RS1.select sno 'rom product master w&ere prod sub t1pe +.)ext-atrix"i/ B## + 6 )&en C& + )rue End (' (' 7al"-'1.Close"# (' 7al"-'1.)ext-atrix"i/ 1# 4 C&r"B@#/ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' RS1.

AddNew"# Rs8".select 3 'rom bill details w&ere 1+8.# + 5astSno Rs8".# + 7al"-'1. Call Clear0ield"# Page 42 .# + ProdSno Rs8".Commit)rans"# -s.)ext-atrix"i/ 8## Rs8"./ Cn/ adOpenD1namic/ ad5oc!Optimistic# Rs8.sno.Open".# + 7al"-'1.)ext-atrix"i/ B## Rs8".rate.Close"# Rs8.prod sno.Close"# 5astSno + 5astSno C 1 End (' Next $%%% commit t&e transaction Cn.Box".amt.)ext-atrix"i/ @## Rs8.2t1.7alue + 1 )&en $%%% call t&e report 'or print o' t&e saved bill CmdPrint Clic!"# End (' $%%% prepare 'or new bill entr1 AddEdit + ./ vb(n'ormation# (' C&!Print..bill sno.Bill Saved.# + 7al"-'1.State + 1 )&en Rs8.Payment On Demand System with Electronic Billing 2012 $%%% insert in bill details 'or eac& validated .*pdate"# (' Rs8.# + sno Rs8".State + 1 )&en Rs8.rid row (' Rs8.

)op + "Screen.5e't + "Screen. 8 $%%% reset connection Call OpenCon"# 5blCompan1Name.Payment On Demand System with Electronic Billing Call CmdNew Clic!"# 2012 End Sub Private Sub DtDate Ae1Down"B17al Ae1Code As (nte.9idt&# .&t# .<ei.9idt& : -e.er# $%%% move t&e cursor to new 'ield (' Ae1Ascii + 1B )&en SendAe1s".er# $%%% move t&e cursor to new 'ield (' Ae1Code + 1B )&en SendAe1s". 8 -e.# End (' End Sub Private Sub DtDate Ae1Press"B17al Ae1Ascii As (nte.<ei.KtabL.# End (' End Sub Private Sub 0orm 5oad"# $%%% cnter t&e 'orm -e.7alue + Now Page 4* .&t : -e.Caption + Compan1Name DtDate.er/ B17al S&i't As (nte.KtabL.

print./ .EO0 )xtCompan1.c&ec!print.diable buttons DE")rue/ 0alse# $%%% load last status 'or bill print a'ter saved Dim C&!7 As (nte.Add(tem"Rs"6## Rs.Enabled + )1 Page 4./ .1.er C&!7 + 7al"GetSettin./ .-oveNext"# End 9&ile Picture1.select client name 'rom client master w&ere client name is not null order b1 client name.bills1stem. .disable buttons CmdGetBill.## C&!Print.Payment On Demand System with Electronic Billing 2012 $%%% clear t&e 'orm 'or new bill entr1 Call Clear0ield"# $%%% enable.7alue + C&!7 $%%% load clent name 'rom t&e table Rs.".Enabled + )1 CmdNew.7isible + )rue End Sub Private Sub DE"B17al )1 As Boolean/ B17al )8 As Boolean# $%%% enable./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# 9&ile Not Rs.Open".

)ext + ..4Cancel..Enabled + )8 cmbval.Payment On Demand System with Electronic Billing CmdSave.5oc!ed + )1 )xtC&alanNo. End (' )xtCompan1.Enabled + )8 -'1. )xt(nvoiceNo.Bac!Color + vb9&ite CmdDelete. Else CmdClose.Enabled + )8 2012 )H)7A5.Caption + .. )xtAddress1.Caption + .4Close.5oc!ed + )1 )xtAddress1.Enabled + )8 CmdPrint.5oc!ed + )1 )xtAddress8. Page 41 .5oc!ed + )1 )xt(nvoiceNo.)ext + .Enabled + 0alse End Sub Private Sub Clear0ield"# $%%% clear t&e 'ields )xtCompan1.Enabled + )8 )xt5ocation.5oc!ed + )1 DtDate.)ext + . )xtAddress8..)ext + .Enabled + )8 (' )1 + )rue )&en CmdClose.

1./ .Caption + . 5bl)otalAmount.)ext + . 5blRs9ord.# End (' End Sub Private Sub )xtAddress1 Ae1Press"B17al Ae1Ascii As (nte.print.6.rid edit Call set &eadin.bills1stem.er# $%%% move t&e 'ocus to next control (' Ae1Ascii + 1B )&en SendAe1s".# Else SaveSettin.Payment On Demand System with Electronic Billing )xt5ocation.istr1 (' C&!Print."# Call move textbox"# End Sub Private Sub 0orm =uer1*nload"B17al Cancel As (nte.Caption + .)ext + ."../ . 2012 $%%% 'or ./ .".KtabL../ ..er/ B17al *nload-ode As (nte.)ext + .c&ec!print...print.er# $%%% save last status 'or bill print a'ter saved in t&e re./ .c&ec!print.# Page 42 .7alue + 1 )&en SaveSettin.bills1stem. )xtC&alanNo./ . )xtSerial.

er# $%%% move t&e 'ocus to next control (' Ae1Ascii + 1B )&en SendAe1s".Payment On Demand System with Electronic Billing End (' End Sub 2012 Private Sub )xtAddress8 Ae1Press"B17al Ae1Ascii As (nte.er# $%%% move t&e 'ocus to next control (' Ae1Ascii + 1B )&en cmbval.Recordset Page 44 .&t + 1686 Picture1.7isible + 0alse End Sub Private Sub )xtCompan1 Ae1Down"B17al Ae1Code As (nte.# End (' End Sub Private Sub )xtC&alanNo Ae1Press"B17al Ae1Ascii As (nte.er/ B17al S&i't As (nte.er# $%%% s&ow t&e address o' t&e seleted compan1 Dim RS1 As New ADODB.KtabL.Set0ocus"# End (' End Sub Private Sub )xtCompan1 Got0ocus"# $%%% ma!e listbox as editable textbox )xtCompan1.<ei.

/ Cn# (' RS1.)ext + (('"(sNull"RS1"./ RS1".Close"# End Sub Private Sub )xtCompan1 Ae1Press"B17al Ae1Ascii As (nte.$.address1.)ext + .. End (' (' RS1.er# $%%% move t&e 'ocus to next control (' Ae1Ascii + 1B )&en SendAe1s".select 3 'rom client master w&ere client name+$.address8.State + adStateOpen )&en RS1.address1.## + )rue/ .address8..## + )rue/ ..## )xtAddress8.7isible + )rue End Sub Page 46 .State + adStateOpen )&en RS1.)ext + ./ RS1".)ext + (('"(sNull"RS1".KtabL.# End (' End Sub Private Sub )xtCompan1 5ost0ocus"# $%%% move t&e 'ocus to next control )xtCompan1.## Else )xtAddress1.&t + BB6 Picture1.RecordCount % 6 )&en 2012 )xtAddress1.Payment On Demand System with Electronic Billing (' RS1.Open". )xtAddress8.Close"# RS1..)ext 4 . 4 )xtCompan1.<ei.

er# $%%% ma!e 'lex .KtabL.id cell 'or enterin. )&en CmdGetBill Clic!"# End (' End Sub Private Sub )xt5ocation Ae1Press"B17al Ae1Ascii As (nte.er/ B17al S&i't As (nte.Payment On Demand System with Electronic Billing 2012 Private Sub )xt(nvoiceNo Ae1Down"B17al Ae1Code As (nte. value $%%% c&ec! w&eat&e we press enter !e1 $%%% i' 1es.40ind.er# $%%% move t&e 'ocus to next control (' Ae1Ascii + 1B )&en SendAe1s".er# $%%% call .KtabL.rod Page 47 .er# $%%% move t&e 'ocus to next control (' Ae1Ascii + 1B )&en SendAe1s".ird editable move t& textbox in ..move t&e control to next .Caption + .etbill b1 enter !e1 in invoice no text box (' Ae1Code + 1B And CmdGetBill.# End (' End Sub Private Sub )xtSerial Ae1Press"B17al Ae1Ascii As (nte.# End (' End Sub Private Sub )H)7A5 Ae1Press"B17al Ae1Ascii As (nte.

)ext-atrix"-'1.Rows : 8 )&en $%%% .er Dim )1 As Double 0or x + 1 )o -'1.)ext $%%% s&ow total -'1.Col C 1 Else (' -'1.Col + 8 )&en (' (sNumeric")H)7A5.Col D% -'1.Col C 8# + 7al"-'1.Row D% -'1.Col C 1## 3 )H)7A5.)ext Dim x As (nte.Caption# (' -'1.)ext# + 0alse )&en Ae1Ascii + 6 Exit Sub End (' -'1.)ext + )H)7A5.Rows : 1 )1 + )1 C 7al"-'1.Payment On Demand System with Electronic Billing Dim t As (nte.)ext-atrix"x/ @## Next 5bl)otalAmount.Col + -'1.Cols : B )&en -'1.o to next row Page 60 .Row/ -'1.Row/ -'1.)ext-atrix"-'1.Caption + )1 5blRs9ord + Rs9ord"5bl)otalAmount.er 2012 (' Ae1Ascii + 1B And -'1.

move t&e control to next .SelStart + 6 )H)7A5.t& + 5en")H)7A5.ird editable move t& combobox in .Row + -'1.)ext-atrix"-'1.Col + 1 End (' move textbox"# $%%% select t&e text in text box )H)7A5.Row C 1 $%%% set sr no -'1.Payment On Demand System with Electronic Billing -'1.Row C 1 Else $%%% add new rows -'1.)ext-atrix"-'1.)ext# End (' End Sub Private Sub cmbval Ae1Press"B17al Ae1Ascii As (nte. value $%%% c&ec! w&eat&e we press enter !e1 $%%% i' 1es.er# $%%% ma!e 'lex ..Sel5en.Row/ 6# + 7al"-'1.id cell 'or seletin.rod Dim t As (nte.Row : 1/ 6## C 1 End (' -'1.Rows C 1 2012 $%%% set t&e current row -'1.Rows + -'1.Row + -'1.er Page 61 .

Payment On Demand System with Electronic Billing
(' Ae1Ascii + 1B )&en $%%% 'ind prod rate Dim RS1 As New ADODB.Recordset (' RS1.State + adStateOpen )&en RS1.Close"#

2012

RS1.Open",select 3 'rom product master w&ere prod sub t1pe+, 4 C&r"B@# 4 cmbval.)ext 4 C&r"B@#/ Cn/ adOpenStatic/ ad5oc!ReadOnl1# (' RS1.RecordCount % 6 )&en -'1.)ext-atrix"-'1.Row/ -'1.Col C 8# + RS1",rate,# Else Ae1Ascii + 6 Exit Sub End ('

-'1.)ext + cmbval.)ext

$%%% s&ow total -'1.)ext-atrix"-'1.Row/ @# + 7al"-'1.)ext-atrix"-'1.Row/ 8## 3 7al"-'1.)ext-atrix"-'1.Row/ B## Dim x As (nte.er Dim )1 As Double 0or x + 1 )o -'1.Rows : 1 )1 + )1 C 7al"-'1.)ext-atrix"x/ @## Next 5bl)otalAmount.Caption + )1 5blRs9ord + Rs9ord"5bl)otalAmount.Caption#

(' -'1.Col D% -'1.Cols : 8 )&en

Page 62

Payment On Demand System with Electronic Billing
-'1.Col + -'1.Col C 1 Else (' -'1.Row D% -'1.Rows : 1 )&en -'1.Row + -'1.Row C 1

2012

Else $%%% add new rows -'1.Rows + -'1.Rows C 1

$%%% set t&e current row -'1.Row + -'1.Row C 1

$%%% set sr no -'1.)ext-atrix"-'1.Row/ 6# + 7al"-'1.)ext-atrix"-'1.Row : 1/ 6## C 1 End (' -'1.Col + 1 End (' move textbox"# cmbval.SelStart + 6 cmbval.Sel5en.t& + 5en"cmbval.)ext# End (' End Sub

Public Sub set &eadin."#

Page 6*

Payment On Demand System with Electronic Billing
$%%% creatin. 'or t&e .rid

2012

Dim A As (nte.er Dim t As (nte.er -'1.Clear"# -'1.Re'res&"# -'1.Rows + B6 -'1.Cols + M

-'1.Row + 6 -'1.Row<ei.&t"6# + N66

-'1.Col + 6 -'1.Col9idt&"6# + 1666 -'1.Cell0oreColor + vbBlue -'1.Cell0ontBold + )rue -'1.CellAli.nment + @ -'1.)ext + ,Sr.,

-'1.Col + 1 -'1.Col9idt&"1# + @866 -'1.Cell0oreColor + vbBlue -'1.Cell0ontBold + )rue -'1.CellAli.nment + @ -'1.)ext + ,Particulars,

-'1.Col + 8 -'1.Col9idt&"8# + 1866

Page 6,

Col + A -'1.CellAli.Cell0oreColor + vbBlue -'1.1.Cell0ontBold + )rue -'1. -'1.)ext + .nment + @ -'1. -'1. -'1.Cell0ontBold + )rue -'1.Cols : 1 -'1.Col9idt&"B# + 1866 -'1.)ext + .)ext-atrix"1/ 6# + .Cell0oreColor + vbBlue -'1.Amount.Col + @ -'1.Col + B -'1.Cell0ontBold + )rue -'1.nment + @ -'1.Row + 6 0or A + 6 )o -'1.Cell0oreColor + vbBlue -'1.Payment On Demand System with Electronic Billing -'1. 2012 -'1.nment + @ -'1.CellAli.=uantit1.Cell0ontBold + )rue Next Page 61 .CellAli.Rate.)ext + .Col9idt&"@# + 1866 -'1.

.Enabled + )rue )&en cmbval.7isible + )rue )&en (' cmbval.Col + 1 )&en Page 62 .Payment On Demand System with Electronic Billing -'1.Col + 1 2012 $%%% set serial 'rom 1.Rows : 1 -'1.7isible + 0alse (' cmbval.Clear"# Dim Rs As New ADODB.State + 1 )&en Rs. 0or A + 1 )o -'1.)ext-atrix"A/ 6# + A Next -'1.8.Col + 1 )&en $%%% visble combo box 'or select product cmbval..7isible + )rue )H)7A5.rid (' -'1.Close"# $%%%0ill item (' -'1.Row + 1 End Sub Private Sub -01 EnterCell"# $%%% call appropriate control 'or edit t&e .Set0ocus"# End (' End (' cmbval.Row + 1 -'1.Recordset (' Rs.

.Open". 2uantit1 cmbval.Payment On Demand System with Electronic Billing 2012 Rs./ Cn/ adOpenStatic/ ad5oc!ReadOnl1# 9&ile Not Rs.Set0ocus"# End (' End (' End (' Call move textbox"# End Sub Page 64 .-oveNext"# End 9&ile Else(' -'1.Enabled + )rue )&en )H)7A5.Add(tem"Rs"6## Rs.# End (' Else $%%% visble text box 'or entrin.7isible + )rue )&en (' )H)7A5.EO0 cmbval.Add(tem".select prod sub t1pe 'rom product master order b1 prod sub t1pe.7isible + )rue (' )H)7A5.Col + B )&en cmbval.7isible + 0alse )H)7A5.

5e't + -'1.n combo box as per .)ext 2012 $%%ali.)op + -'1.)ext End Sub Page 66 .9idt& + -'1.)op )H)7A5.Cell5e't C -'1.)ext + -'1.5e't cmbval.rid cell and set text cmbval.5e't + -'1.<ei.&t + -'1.Cell9idt& cmbval.&t )H)7A5.Cell)op C -'1.Cell5e't C -'1.rid cell and set text )H)7A5.9idt& + -'1.Cell9idt& )H)7A5.)ext + -'1.n textbox as per .5e't )H)7A5.)op cmbval.Cell)op C -'1.)op + -'1.Cell<ei.Payment On Demand System with Electronic Billing Public Sub move textbox"# $%%ali.

Payment On Demand System with Electronic Billing 2012 Page 67 .

Payment On Demand System with Electronic Billing 2012 1 Testing Page 70 .

in se0uence. to ensure the correct interwor"in% o! its components 7# . to ensure that it wor"s correctly in a pseudo*live environment 8# User acce&tance testing o! the Electronic 'illin% and Payment On Demand System System. to ensure that its !unction is accepta le to its users -cceptance testin% is the last set o! tests to e per!ormed e!ore the application %oes o!!icially live# $est Scope The scope o! the user acceptance testin% covers.alidation testing o! the Electronic 'illin% and Payment On Demand System System. to test !or non*re%ression o! the so!tware in later releases or a!ter the application is in maintenance# Page 71 . 5# om&onent testing o! each component that ma"es up the Electronic 'illin% and Payment On Demand System System 6# Integration testing o! the Electronic 'illin% and Payment On Demand System System. the testin% serves to compile a set o! test data and results that can e used durin% su se0uent test cycles. • • • 4ersion 5 o! the Electronic 'illin% and Payment On Demand System System >ser*!acin% !unctionality de!ined y a set o! use cases -dministrator*!acin% !unctionality de!ined y a set o! use cases The aim o! the testin% is to determine how well the application meets its !unctional re0uirements !rom the perspective o! the user. and to identi!y any issues so they can e resolved# -lso.Payment On Demand System with Electronic Billing 2012 Testing Electronic Billing and Payment On Demand System System Test Plan Introduction This document descri es the user acceptance test plan !or the Electronic 'illin% and Payment On Demand System System# The complete test strate%y !or the Electronic 'illin% and Payment On Demand System System is to per!orm the !ollowin% "inds o! tests.

amount of code impacted by proposed change. criteria may include impact to desired functionality. to%ether with any issues that are discovered and their planned resolutions# Si%n*o!! o! the tests. that is.complete and coherent !unctional speci!ication o! the Electronic 'illin% and Payment On Demand System System expressed as use cases and usa%e scenarios . delivered accordin% to the delivery plan -n a%reed*upon procedure !or dealin% with any anomalies that are discovered durin% the testin% process .han%e re0uests will e sent to the development team as the actiona le documentation# .complete and validation*tested release o! Electronic 'illin% and Payment On Demand System System. the u% report will e translated into a . • • • • • • • . and there!ore the acceptance o! the application. how the application is used and whether it meets the necessary 0uality criteria# . so the application and its re0uired in!rastructure are considered to e sta le and relia le# -cceptance testin% concentrates on the application !rom the user:s perspective.han%e 2e0uired.han%e 2e0uest and passed on to development# The customer o! the acceptance testin% is the System >sers.Payment On Demand System with Electronic Billing 2012 $or"in% practices mi%ht vary !rom user to user and are considered outside the scope o! the testin%# $est Strategy The asis o! user acceptance testin% is that other tests were completed success!ully. will e per!ormed y the customer or a selected representative# Preconditions The !ollowin% items are re0uired e!ore testin% can ta"e place.han%e criteria will e determined y the Test team and the Development team prior to the e%innin% o! testin%# )or instance.set o! test speci!ications descri in% how each !unctional area o! the Electronic 'illin% and Payment On Demand System System is to e acceptance tested -n implemented test environment !or the testin% Su!!icient. suita le resources to carry out the testin% -vaila le standards !or the acceptance testin% Page 72 . Supervisor and -dministrator !or Electronic 'illin% and Payment On Demand System System# The pro%ress o! the acceptance testin% will e reported to the customer.han%e 2e0uired or not# Once a u% has een determined as . and design required by proposed change# The tester will evaluate the criteria# The test lead will determine .

and then reports the results Product mana%erNensures that the tests are carried out success!ully !rom a user perspective Pro+ect sponsor1clientNacts as main sta"eholder. unpredicted ways $est $echni#ues The !ollowin% techni0ues will e applied.ustomi(ationNhow strai%ht!orward it is to use the application in new.Payment On Demand System with Electronic Billing 2012 $est Priorities Durin% testin% o! the Electronic 'illin% and Payment On Demand System System. • • • • • )unctionalityNwhether the re0uired !unctions are availa le and wor"in% as expected >sa ilityNhow user*!riendly and intuitive the Electronic 'illin% and Payment On Demand System System is SecurityNhow well*protected and %uaranteed corporate and user data is Per!ormanceNwhether the response times are within accepta le limits . the !ollowin% 0ualities will e tested in order o! priority. such as methodolo%ical support Page 7* . such as test environment con!i%uration.lead1test mana%erNresponsi le !or plannin% and ensurin% the smooth runnin% o! the test process TesterNcarries out the tests accordin% to the test plan. • • • • • D. and ensures that the needs o! the customer community as a whole are considered Test supportNprovides technical assistance. and non*technical assistance. the tester tries to modi!y the scenarios to explore what*i! possi ilities Penetration testsNscripted tests to attempt unauthori(ed entry into the system >sa ility chec"listsNtests to determine the complexity o! interactions Per!ormance statisticsN%eneration o! per!ormance in!ormation to chec" a%ainst desired per!ormance criteria $est Organi'ation Roles and Res&onsi%ilities The !ollowin% roles are de!ined. • • • • • Scripted testsNse0uences o! user interactions ( ased on the use case and usa%e scenarios) usin% prede!ined data sets a%ainst predicted results >nscripted testsN ased on scripted tests.

Payment On Demand System with Electronic Billing 2012 $ee"ly team meetin%s will e held involvin% the test mana%er. automatic !ailover will e re0uired# In addition.ility to identi!y top 5? developin% pro lem customers y sales representative# • Identi-ication o.&rod'cts# Products can e sorted y the 0uantity and dates sold# 4aria le sorts and ran"in%s can e chosen y the user# Design )oals and onstraints Per(ormance Ko more than a 9*percent de%radation in avera%e 0uery response is allowed while all concurrent user are usin% the system# Processor utili(ation should not exceed @? percent durin% all concurrent users are usin% the system# Availa ility 'ecause the system is accessed y sales representative to oo" the order and print the Payment On Demand System. and product mana%ers# -t these meetin%s. testers. any issues will e discussed. and expects that to %row y 9 percent each year !or the next !ive years# Page 7. the pro%ress o! the testin% process will e reported. and their should not e any sin%le point o! !ailure# )elia ility 'ecause o! the need no sin%le point !ailure. and actions will e a%reed upon# Sales +'tomation • Pro%lem c'stomer identi-ication# . existin% disaster recovery and ac"up plans and procedures must e revised to incorporate the Electronic 'illin% and Invoicin% System# Scala ility Electronic 'illin% and Payment On Demand System System an avera%e load o! 9? concurrent users a!ter the system is !ully operational.3'antities and rates o. .%est c'stomers across &rod'ct lines and regions # -ll customers can e sorted y the !actors (to e determined) that ran" them 0ualitatively# 4aria le sorts and ran"in%s can e chosen y the sales representative# • Identi-ication o.iss'es across gro'&s# -ll customers can e sorted y the issues (to e determined) within %roup cate%ories that can e updated# 4aria le sorts and ran"in%s can e chosen y the sales representative or other user# • +nalysis o.

all users will need to lo% on the system with their user id and password# Every resource in the system are de!ined y the role and privile%ed# System administrator assi%ned user role and privile%ed !or their access ri%hts# Interopera ility In 4ersion 5#? o! the Electronic 'illin% and Payment On Demand System System. there are no re0uirements !or interopera ility with other systems# *ocation The Electronic 'illin% and Payment On Demand System System are used in the company o!!ice only# Setup+Installation Setup and installation must not interrupt the sales sta!!:s daily tas"s and wor" !low# Use ase S'mmary Manage Orders Descri&tion This !unction will ena le sales representative to place orders !or Electronic 'illin% and Payment On Demand System System products. and view completed orders and print the Payment On Demand System# B'siness Need This !unction will ena le sales representative to interact with Electronic 'illin% and Payment On Demand System System catalo% directly without the intervention o! any other employees# Manage Products Descri&tion This !unction allows user o! Electronic 'illin% and Payment On Demand System System to create. maintain. and delete in!ormation a out products in the product data ase that can then e viewed and ordered y customers. and will also support the Mana%e Orders !unction y ensurin% up*to*date product in!ormation# Page 71 .Payment On Demand System with Electronic Billing 2012 Security )or the sensitive customer and order data. and accessed and updated y the sales sta!!# B'siness Need This !unction will support the sales sta!! with accurate and relevant in!ormation. trac" su mitted orders.

Payment On Demand System with Electronic Billing Priority . trac" sales results. such as the identities o! the est customers.orecast Sales Descri&tion This !unction allows mana%ement to plan and trac" production costs. and the most popular products# B'siness Need This !unction will allow mana%ement to determine the most (and least) pro!ita le customers and product lines. the top uyers. ena lin% etter decision ma"in% in the runnin% o! the usiness# Priority Medium . and plan sales sta!!in% needs# B'siness Need This !unction will allow mana%ement to mana%e the revenue streams o! the or%ani(ations and control costs# Page 72 .i%h Manage Contacts 2012 Descri&tion This !unction ena les the sales sta!! to create and mana%e contacts as well as share contact in!ormation with the rest o! the company# B'siness Need This !unction ena les user o! Electronic 'illin% and Payment On Demand System System to have accurate and up*to*date contact in!ormation when wor"in% with customers# Priority Medium Analy'e Customers Descri&tion This !unction allows mana%ement to analy(e the customer data ase and !ind out in!ormation.

Payment On Demand System with Electronic Billing Priority Medium Esta lish Sales -oals 2012 Descri&tion This !unction allows mana%ement to view current sales trends and employee per!ormance and to determine sales %oals !or the sales sta!! within the or%ani(ation# B'siness Need This !unction will allow mana%ement to set %oals !or sta!!. See !ollowin% usa%e scenarios# Assumptions+Preconditions 5# Sales representative has access ri%hts to view customer data# Actors 5# Sales 2epresentative Basic Course 5# >se case e%ins when the sales representative decides to retrieve customer in!ormation# 6# System prompts !or the type o! customer in!ormation that is re0uired# 7# Sales representative selects the type o! customer in!ormation to e retrieved# 8# System presents the appropriate customer in!ormation to the sales representative# 9# >se case ends when the selected in!ormation is passed to a method o! delivery# Alternate Course 5# I! no appropriate customer in!ormation can e !ound.sage Scenarios >sa%e scenarios that descri e how users will use the solution within the context o! the usiness. review the per!ormance o! sta!! mem ers. system reports this !act# 6# >se case restarts to ena le sales representative to update the type o! customer in!ormation# . and trac" employee per!ormance# Priority Medium .ser Implementation )e#uests 5# Kone Page 74 .ses+Extends 5# Kone .

the sales representative may want to list the names o! customers in chronolo%ical order ased on the sale date# Page 76 .re#uency Duite !re0uent Authority 5# Kot applica le Issues 5# Kone identi!ied Decision Points 5# Kone 2012 .Payment On Demand System with Electronic Billing .uture )e#uirements 5# The sales representative may want to apply !ilters to the retrieved data# 6# The sales representative may want to sort the data# )or example.

Payment On Demand System with Electronic Billing 2012 # oncl'sion and -'t're enhancement Page 77 .

Payment On Demand System with Electronic Billing 2012 oncl'sion and -'t're enhancement This pro+ect was developed to !ul!ill user and usiness re0uirement& however there are lots o! scope to improve the per!ormance o! the Electronic 'illin% and Payment On Demand System System in the area o! user inter!ace. other credit veri!ication a%ency and their vendors In the area o! data security and system security# Provide more online tips and help# To optimi(e the 0uery which is em edded in the system # Page 100 . data ase per!ormance.onnection to third*party O<-P applications Electronic Data Interchan%e (EDI) system etween an"s. and 0uery processin% time# Etc# So there are many thin%s !or !uture enhancement o! this pro+ect# The !uture enhancements that are possi le in the pro+ect are as !ollows# • • • • • • • <in"in% and inte%ration o! any le%acy system !or accountin%# Inte%ration with travel a%ent throu%h $e Services .

Payment On Demand System with Electronic Billing 2012 4 )e(erences And Boo/s Page 101 .

6nd Edition (Paper ac") • Data ase Development in 4isual 'asic Page 102 .11www#v code#com • http.11www#pro%rammer6pro%rammer#net • http.11www#%oo%le#com • http.11www#msdn#com# • http.11www#codepro+ect#com • http.11www#s0ltuner#com Boo/s • Masterin% 4isual 'asic B (Paper ac") • Masterin% 4isual 'asic #KET (Paper ac") • 4isual 'asic 'lac" 'oo" (Paper ac") • SD< 'i le.Payment On Demand System with Electronic Billing 2012 Re-erences We sites • http.11www#microso!t#com • http.11www#v 567#com • http.