Sei sulla pagina 1di 61

CHAPTER - 1

INTRODUCTION
1.1 ABOUT THE ORGANIZATION
EASWARA PROCESS, KARAI PUDUR was started in 1990 at Tirupur. This Organization is noted for its guaranteed high quality products and super value for money. Here they use Winch machine. The Winch machine is used to dyeing a cloth. The company is not using any human to dye the cloth. The proprietor of this concern is r.!aswara oorthi.

"ts a#ility is to set and maintain standard of e$cellence that sets apart from their competitors. Their coverage of world is too e$tensive% their range of dyeing is 1. &rocaine 'yeing (. )old 'yeing *. Hot 'yeing Procaine Dyein ! "t is prepared with wetting the cloth with ordinary water. Co"# Dyein ! "t is prepared with wetting the cloth with cold water. Ho$ Dyein ! "t is prepared with wetting the cloth with hot water.

CHAPTER - %

S&STE' SPECI(ICATION
%.1 HARDWARE SPECI(ICATION
Hardware is a general term that refers to the physical artifacts of a technology. "t may also mean the physical components of a computer system% in the form of computer hardware. + personal computer is made up of computer hardware% multiple physical components onto which can #e loaded into a multitude of software that performs the functions of the computer. &rocessor &rimary 1econdary emory emory onitor H:&!0;"<= , , , &entium ".1( / 0am 7o 6+lgorithm68procedures9 7o and 20 3/ Hard 'is4

i4i5+lgorithm6

6http>55en.wi4ipedia.or )*i+i)So,$*are-#oc./entation6 that perform some

61oftware on a

documentation68documentation9

tas4s

computen.wi4ipedia.org5wi4i5procedures and documentation that perform some tas4s on a computer system.

The term includes> +pplication software such as word processors which perform productive tas4s for users.

?irmware which is software programmed resident to electrically programma#le memory devices on #oard main #oards or other types of integrated hardware carriers. iddleware which controls and co,ordinates distri#uted systems.

1ystem software such as operating systems% which interface with hardware to provide the necessary services for application software.

Operating 1ystem ?ront !nd Tool /ac4 !nd Tool ,

, ,

Windows @& -isual /asic A.0 1,+ccess B.0

%.%.1 SO(TWARE (EATURES 0ISUA1 BASIC 2.3


The C-isualD part refers to the method used to create the 3raphical Eser "nterface F3E"G. 0ather than writing numerous lines of code to descri#e the appearance and location of interface elements% simply add pre #uilt o#Hect into place on screen. The C/asicD part refers to the /+1") language% a language used #y more programmers than any other language in the history of computing. The -isual /asic programming language is not unique to visual #asic.The -isual /asic programming system% application% edition included in icrosoft !$cel% icrosoft +ccess and many other windows application uses the same language. 'ata access features allow creating data#ase% ?ront,!nd applications and scala#le 1erver,side components for most popular data#ase formats. +ctive @ technologies allow the functionality provide the other applications. 1uch as icrosoft Word. icrosoft !$cel and other window applications. The finished application is a true. !$e file that uses the -isual /asic a visual machine that can freely distri#ute. The components involved in -isual /asic A.0.

(EATURES O( 0ISUA1 BASIC


-isual /asic has many advantages over other development languages. HereJs a list of some of those advantages>, 1. +llows for rapid application development. (. !$cellent for #usiness applications. *. +llows us to create +ctive @ )ontrols. I. +llows us to reuse third,party controls and components as well as we are 4nown. .. 1upplies wizards to help us to learn the languages as well as to enhance your productivity with the more difficult features of the language. A. O#Hect oriented in nature% #ut itJs not a complete OO& language% #ut itJs getting closer. B. )an integrate with "nternet on #oth the server side and the client side. 2. )an create +ctive @ automation servers. 9. "ntegrates with icrosoft transaction server. 10. )an run 1ervers either on the same machine or remotely on another machine. This allows for true distri#uted processing. 11. -isual /asic as large community of developers Fmore than * million worlds wide according to icrosoftG. This means continued support for new 'evelopers.

"nternet capa#ilities ma4e it easy to provide access to documents and applications across the "nternet of "ntranet from with in application or to create "nternet server applications.

'S-ACCESS 4.3
s,+ccess is a powerful data#ase management system and user can create entire application that requires little or no programming. "t supports 3E" features and an entire programming language% -/+ F-isual /asic A.0 for +pplicationG that can #e used to develop richer application. (EATURES O( 'S-ACCESS +ccess easy enough to use that% in short timeK #eginners can to manage their own data. "n s,+ccess% the data#ase names the collection of ta#les that hold data.

"t collectively stores all the other related o#Hects such as queries% forms% reports that are used to implement the data#ase management function effectively. s,+ccess data#ase can act as a #ac4,end data#ase for -isual /asic A.0 while using -isual /asic A.0 as front,end tool. s,+ccess supports the user with its powerful management functions. + #eginner can create his 5 her own data#ase very simply using some mouse clic4s. s,+ccess data#ase supports so many data types where a user can incorporate data from other applications. + data#ase create in through -isual /asic A.0 using a data control. s,+ccess can #e access

+ single ta#le can have any num#er of inde$ed files that can #e used to locate records using an e$pression. This helps in filtering out information according to specific criteria.

+ user can move inside a ta#le very easily using the navigator tool supported.

CHAPTER - 5

S&STE' STUD& AND ANA1&SIS


5.1 E6ISTING S&STE'
The main draw#ac4 of the e$isting system is the natural slowness of human% which include time lag in every activity underta4en. "n the e$isting system% all the wor4s are done #y manual% even though it is human record it may cause lot of time to finish each record. ;ac4 of proper security measures may result in the mishandling of valid data #y unauthorized users. isplacing of files and records #y staff concerned can cause lot of inconvenience and wastage of time in data retrieval. 0etrieval of particular information is #oth tedious and time consuming. 1ince data is distri#uted across various registers and files. +ll the calculations and verifications are carried out manually. 1ome time with the aid of calculators this involves high ris4 of errors. 1o " introduce this proHect to solve the pro#lems.

5.% PROPOSED S&STE'


The system is user friendly with improved efficiency for carrying out various processes. "t reduces the wor4load of the staff and encourages them to wor4 on time #ound #asis. The system performs compilation% comparison and verification in an easier way to reduce error ris4s. "t ena#les quic4 retrieve information a#out a particular unwearied eliminating overhead involved. The system maintains all the necessary records for future reference without loss of availa#ility% consistency and accuracy. "t ensures good security there #y eliminating chances of data corruption #y unauthorized users. AD0ANTAGES O( PROPOSED S&STE' +void 'uplication of data and effort. To satisfy all user requirements. To replace manual operation in the e$isting system #y computerized system. The system is fle$i#le.

5.5 PRO7ECT DESCRIPTION


The -isual part refers to the method used to create the 3raphical Eser "nterface. 0ather than writing numerous lines of code to descri#e the appearance and location of interface elements% simply add pre #uilt o#Hect into place on screen. The /asic part refers to the /+1") language% a language used #y more programmers than any other language in the history of computing. The -isual /asic programming language is not unique to visual #asic. The -isual /asic programming system% application% edition included in icrosoft !$cel% icrosoft +ccess and many other windows application uses the same language. 'ata access features allow creating data#ase% ?ront,!nd applications and scala#le 1erver,side components for most popular data#ase formats. s,+ccess is a powerful data#ase management system and user can create entire application that requires little or no programming. "t supports 3E" features and an entire programming language% -/+ F-isual /asic A.0 for +pplicationG that can #e used to develop richer application.

CHAPTER 8 9

S&STE' DESIGN
9.1 DATABASE DESIGN Ta#le <ame> C.:$o/er (ie"# Na/e "' )ode <ame +ddress &in code &hone ?a$ )ontact !mail Da$a Ty;e +uto<um#er Te$t Te$t emo Te$t Te$t Te$t Te$t Te$t De:cri;$ion )ustomer 1equence <um#er )ustomer )ode )ustomer <ame +ddress &in code &hone <o ?a$ <o )ontact &erson !, ail "' +ddress

10

Ta#le <ame> S.;;"ier (ie"# Na/e "' )ode <ame +ddress &in code &hone ?a$ )ontact !mail Da$a Ty;e +uto<um#er Te$t Te$t emo Te$t Te$t Te$t Te$t Te$t De:cri;$ion 1upplier 1equence <um#er 1upplier )ode 1upplier <ame +ddress &in code &hone <o ?a$ <o )ontact &erson !, ail "' +ddress

Ta#le <ame> Co"o.r (ie"# Na/e "' )ode <ame 'esc Da$a Ty;e +uto<um#er Te$t Te$t emo De:cri;$ion )olor 1equence <um#er )olor )ode )olor <ame )olor 'escription

Ta#le <ame> Winc< (ie"# Na/e "' Da$a Ty;e +uto<um#er De:cri;$ion Winch 1equence <um#er

11

)ode <ame 'esc

Te$t Te$t emo

Winch )ode Winch <ame Winch 'escription

Ta#le <ame> P.rc<a:e (ie"# Na/e &O <o &O 'ate Type 1upplier /ill <o /ill 't 0m <ame 0m Lty 0m Enit 0m LpE 0m Tot Lty 0m 0ate 0m +mount Da$a Ty;e +uto<um#er 'ate Te$t Te$t <um#er 'ate Te$t <um#er <um#er <um#er <um#er <um#er <um#er De:cri;$ion &urchase Order 1equence <um#er 'ate of the &urchase Type of the &urchase 1upplier <ame )ustomer /ill <o )ustomer /ill 'ate <ame of the 0aw aterial Luantity of the 0aw aterial easure of the 0aw aterial Lty per 0aw aterial Enit Total Luantity of the 0aw aterial 0ate of the 0aw aterial +mount of the 0aw aterial

1(

Ta#le <ame> P.rc<a:e Re$.rn (ie"# Na/e "' 0eturn <o 0eturn 'ate Type 1upplier /ill <o /ill 't 0m <ame 0m Lty 0m Enit 0m LpE 0m Tot Lty 0m 0ate 0m +mount Da$a Ty;e +uto<um#er <um#er 'ate Te$t Te$t <um#er 'ate Te$t <um#er <um#er <um#er <um#er <um#er <um#er De:cri;$ion &urchase 0eturn 1equence <um#er <o of the &urchase 0eturn 'ate of the &urchase 0eturn Type of the &urchase 0eturn 1upplier <ame )ustomer /ill <o )ustomer /ill 'ate <ame of the 0aw aterial Luantity of the 0aw aterial easure of the 0aw aterial Lty per 0aw aterial Enit Total Luantity of the 0aw aterial 0ate of the 0aw aterial +mount of the 0aw aterial

1*

Ta#le <ame> 1o$ Sec$ion (ie"# Na/e "nward <o "nward 'ate )ustomer 'c <o 'c 'ate )olor <ame ar4 <o <oof0olls Weight 'ia 0emar4s Da$a Ty;e +uto<um#er 'ate Te$t <um#er 'ate Te$t <um#er <um#er <um#er <um#er Te$t De:cri;$ion ;ot 1ection 1equence <um#er 'ate of the inward )ustomer <ame )ustomer ') <o )ustomer ') 'ate )olour <ame ar4 no of the roll <o of 0olls Weight of the 0olls 'ia of the rolls <otes

1I

Ta#le <ame> Winc< Proce:: (ie"# Na/e &rocess <o &rocess 'ate )ustomer "nward <o "nward 'ate Winch <ame 'ye ethod ?a#ric Luality 0e dye 'ye <ame 'ye Lty )hem. <ame )hem. Lty 0emar4s Da$a Ty;e +uto<um#er 'ate Te$t <um#er 'ate Te$t Te$t Te$t Te$t Te$t <um#er Te$t <um#er Te$t De:cri;$ion Winch &rocess 1equence <um#er 'ate of the Winch &rocess )ustomer <ame "nward <o "nward 'ate Winch <ame ethod of the 'ye Luality of the ?a#ric 0epeat 'yeing 'etails <ame of the 'ye Luantity of the 'ye <ame of the )hemical Luantity of the )hemical <otes

1.

Ta#le <ame> In=oice (ie"# Na/e "nvoice <o "nvoice 'ate )ustomer "nward <o "nward 'ate ar4 <o )olor <oof0olls 0e 'ye Weight 0ate +mount 'iscount <et +mount Da$a Ty;e +uto<um#er 'ate Te$t <um#er 'ate Te$t Te$t Te$t Te$t Te$t <um#er Te$t <um#er Te$t De:cri;$ion "nvoice 1equence <um#er 'ate of the "nvoice )ustomer <ame "nward <o "nward 'ate ar4 <o )olor of the 'ye <o of the 0olls 0epeat 'yeing 'etails Weight of the 0olls 0ate of the 'yeing +mount of the 'yeing 'iscount of the +mount <et -alue

1A

Ta#le <ame> Ra* 'a$eria" (ie"# Na/e "' )ode Type <ame Enit Lty 0ate 1toc4 Lty Da$a Ty;e +uto<um#er Te$t Te$t Te$t Te$t <um#er <um#er <um#er De:cri;$ion 0aw aterial 1equence <um#er )ode of the 0aw aterial Type of the 0aw aterial <ame of the 0aw aterial Enit of the 0aw aterial Lty of the 0aw aterial 0ate of the 0aw aterial 1toc4 quantity of the 0aw aterial

1B

9.% DATA (1OW DIAGRA'


&urchase 0eturn Order

1E&&;"!0

&E0)H+1! 0!TE0<

&E0)H+1!

&urchas e Order

&E0)H+1!

0+W

+T!0"+;

12

)E1TO !0

Winch &rocessing

W"<)H

;OT '!T+";1

;ots "nward

;OT

)O;OE0

'elivery /ill

'!;"-!0:

19

9.5 (OR' DESIGN


CO1OUR The colour form consists of colour code% colour name and colour description fields. To identify colours% colour code is used. The colour name field is used to indicate colours. The description field is used to descri#e the colour. RAW 'ATERIA1 "t consists of the code which is used to identify the details of raw materials. There are two types of raw materials. They are chemical and dye. WINCH The winch form is used to register their winches. Here we used code% name and description fields. )ode field is used to identify the winches uniquely and name field is used to enter the winch name. The description field is used to enter the winch description if any. CUSTO'ER The customer details form is used to enter the collected the customer details. )ode uniquely identifies the customer. This form consists of customer address% customer code% phone num#ers and other contact details. SUPP1IER The supplier form is used to enter the details of the supplier. This form consists of supplier address% supplier code% phone num#ers and other contact details.

(0

PURCHASE ENTR& &urchase entry is used to enter the raw materials. Two types of purchases are availa#le% chemical and dye. The supplier name can #e selected and we entering the #ill details li4e #ill no% #ill date and material details. PURCHASE RETURN The purchase returns form is used to return the materials% which are damaged and unused materials. 1OT SECTION The lot section collects the information a#out cloth that customer give for dyeing. WINCH PROCESSING The winch processing involves the process of dyeing and their details. Here three types of dyeing methods are availa#le. They are Hot dyeing% )old dyeing and &rocaine dyeing. The fa#ric Luality field is used to specify the fa#ric used.

(1

CHAPTER 8 >

S&STE' TESTING AND I'P1E'ENTATION


S&STE' TESTING
+fter the source code has #een completed% documented as related data structures. )ompleted the proHect has to undergo testing and validation where there is su#,title and definite attempt to get errors. The proHect developer treads lightly% designing and e$ecution test that will demonstrates that the program wor4s rather than uncovering errors% unfortunately errors will #e present and if the proHect developer doesnJt find them% the user will find out. The proHect developer is always responsi#le for testing the individual units i.e. modules of the program. "n many cases developer also conducts integration testing i.e. the testing step that leads to the construction of the complete program structure. This proHect has undergone the following testing procedures to ensure its correctness. 1. Enit testing (. "ntegration testing *. -alidation testing Uni$ $e:$in ! Enit test focuses verification effort on the smallest unit of software design Fi.e.G the module. The unit testing is always white #o$ oriented and the step can #e conducted in parallel for modules. The proHect has first under gone test cases should uncover errors in the modules lot section and winch processing such as )omparison of different data types in lot section and winch processing. "ncorrect logical operators or precedence% "ncorrect comparison of varia#les% "mproper or none$istent loop termination in coding.

((

White #o$ testing under unit testing. <ow the proHect guarantees that all independent paths within a module have #een e$ercised at least once. +ll the loops e$ecute at their #oundaries and with in their operational #ounds. "nternal data structures are tested to ensure their validity. "n the unit testing module interface is tested to ensure that information properly flows into and out of this proHect under test. +ll the local data structures are e$amined to ensure that data stored temporarily maintains its integrity during all steps in an algorithms e$ecution. ?inally all error,handling paths are tested. In$e ra$ion Te:$in "ntegration testing is a systematic technique for constructing the program structure while at the same time conducting tests to uncover errors associated with interfacing. The o#Hective is to ta4e unit,tested modules and #uild a program structure that has #een dictated #y design. "n this integration testing is done using a ;ot section module and #ased on the type of integration testing the su#ordinate stu#s are replaced one at a time with actual purchase and winch processing modules. +s each module is integrated and tests were conducted in #oth top,down and #ottom, up approach. +fter the completion of each set of tests another stu# is replaced for the real module. <e$t regression test was conducted to ensure that new errors have not #een introduced.

(*

0a"i#a$ion Te:$in +fter the end of integration testing% the proHect is completely assem#led as a pac4age% interfacing errors have #een uncovered and correction testing #egins. <e$t validation testing is done through a series of #lac4 #o$ that demonstrate conformity with the requirements. /oth the plan and the procedure are designed to ensure that all functional requirements are achieved% documentation is correct and other requirements are met. +fter the validation test has #een conducted all the functions and performance characteristics conform to specifications and they are accepted. + deviation from specification is uncovered and a deficiency list is created. + customer recording errors and usage pro#lems conduct the alpha test in a controlled environment. The #eta test is conducted at customer site #y the !nd,Eser of the software. "t is a CliveD applicationK the customer records all pro#lems are en countered during #eta testing and report us at regular intervals. The deficiencies are corrected and resolved.

(I

S&STE' I'P1E'ENTATION "mplementation is the process of converting a new or revised system design into an operational one when the initial design was done for the system% a demonstration was given to the end user a#out the wor4ing system. This process is used to verify and identify any logical misusing of the system #y feeding various com#inations of test data. +fter the approval of the system #y #oth end user and management the system was implemented. "mplementation of ?D&EING 'ANAGE'ENT S&STE'@ was very successful. The company planned a#out the implementation from earlier stage it self.

(.

CHAPTER 2

CONC1USION AND (UTURE ENHANCE'ENT


CONC1USION "t is #elieved that almost all the system o#Hectives that have #een planned at the commencement of the software development have #een met with and the implementation process of the procedures for processing is simple and regular order. The process of preparing plans had #een a new e$perience which was found useful in later phases of the proHect is completed. !fforts have #een ta4en to ma4e the system user friendly and as simple as possi#le. However at some points some features may have #een missed out which might #e considered for further modification of the application. (UTURE ENHANCE'ENT The D&EING 'ANAGE'ENT S&STE' provides solutions for the e$act needs of the customer now. "f any modification or changes in the future% the system can #e modified easily for the updating% the possi#le way in which the modifications are as follows. ?ew more security control can #e added to the system if needed in the future. ore analysis report can #e added to the system.

(A

BIB1IOGRAPH&
1.0i:.a" Ba:ic 2.3 %.0i:.a" Ba:ic 2.3 9. Acce:: %333 >. (.n#a/en$a": o, 'icro:o,$ Acce:: 2. So,$*are En ineerin 4.Sy:$e/ Ana"y:i: an# De:i n ,ro/ ro.n# .; 5.0i:.a" Ba:ic ;ro ra//in :ecre$: S$e=e Bro*n Gary Core" Haro"# Da=i: Pe$er Nor$onA: .i#e To Acce:: %333 'icro:o,$ Pre:: 'icro:o,$ Cor;ora$ion Ro er S. Pre::/an E"ia: '. A*e#

(B

APPENDI6
APPENDI6 1. CODING CUSTO'ER
Option !$plicit 'im rs)ustomer +s +'O'/.0ecordset &rivate 1u# cmd'eleteM)lic4 FG "f rs)ustomer.!O? N True and rs)ustomer./O? N True Then !$it 1u# "f sg/o$ F6+re you sure to delete the record6% v#:es<o)ancel O v#)ritical% +pp.TitleG N v# :es Then rs)ustomer.'elete rs)ustomer.Epdate/atch rs)ustomer.0equery "f rs)ustomer./O? N True +nd rs)ustomer.!O? N True Then )lear !lse rs)ustomer. ove;ast ;ist !nd "f !lse !$it 1u# !nd "f !nd 1u# &rivate 1u# cmd!$itM)lic4FG Enload !nd 1u# &rivate 1u# cmd?irstM)lic4FG "f rs)ustomer.!O? N True +nd rs)ustomer./O? N True Then !$it 1u# e e

(2

rs)ustomer. ove?irst ;ist !nd 1u# &rivate 1u# cmd;astM)lic4FG "f rs)ustomer.!O? N True +nd rs)ustomer./O? N True Then !$it 1u# rs)ustomer. ove;ast ;ist !nd 1u# &rivate 1u# cmd<ewM)lic4FG )lear e t$t)ode.1et?ocus cmd1ave.!na#led N True !nd 1u# &rivate 1u# cmd<e$tM)lic4FG "f rs)ustomer.!O? N True +nd rs)ustomer./O? N True Then !$it 1u# rs)ustomer. ove<e$t "f rs)ustomer.!O? N True Then rs)ustomer. ove?irst )all ;ist !nd 1u# &rivate 1u# cmd&reviousM)lic4FG "f rs)ustomer.!O? N True +nd rs)ustomer./O? N True Then !$it 1u# rs)ustomer. ove&revious "f rs)ustomer./O? N True Then rs)ustomer. ove;ast )all ;ist !nd 1u# &rivate 1u# cmd1aveM)lic4FG rs)ustomer.+dd<ew

(9

rs)ustomerP)ode N t$t)ode.Te$t rs)ustomerP<ame N t$t<ame.Te$t rs)ustomerP+ddress N t$t+ddress.Te$t rs)ustomerP&incode N t$t&incode.Te$t rs)ustomerP&hone N t$t&hone<o.Te$t rs)ustomerP?a$ N t$t?a$<o.Te$t rs)ustomerP)ontact N t$t)ontact&erson.Te$t rs)ustomerP!mail N t$t! ail.Te$t rs)ustomer.Epdate cmd1ave.!na#led N ?alse !nd 1u# &rivate 1u# ?ormM;oadFG )enter e

1et rs)ustomer N <ew +'O'/.0ecordset rs)ustomer.Open 6select Q from )ustomer6% )on% adOpen'ynamic% ad;oc4Optimistic "f rs)ustomer.!O? N True +nd rs)ustomer./O? N True Then !$it 1u# rs)ustomer. ove;ast ;ist !nd 1u# &rivate 1u# ;istFG t$t)ode.Te$t N rs)ustomerP)ode t$t<ame.Te$t N rs)ustomerP<ame t$t+ddress.Te$t N rs)ustomerP+ddress t$t&incode.Te$t N rs)ustomerP&incode t$t&hone<o.Te$t N rs)ustomerP&hone t$t?a$<o.Te$t N rs)ustomerP?a$ t$t)ontact&erson.Te$t N rs)ustomerP)ontact t$t! ail.Te$t N rs)ustomerP!mail

*0

!nd 1u# &rivate 1u# t$t! ailM;ost?ocusFG "f cmd1ave.!na#led N True Then cmd1ave.1et?ocus !nd "f !nd 1u#

*1

RAW 'ATERIA1 Option !$plicit 'im rs0aw aterial +s +'O'/.0ecordset &rivate 1u# cmd'eleteM)lic4FG "f rs0aw aterial.!O? N True +nd rs0aw aterial./O? N True Then !$it 1u# "f sg/o$F6+re you sure to delete the record6% v#:es<o)ancel O v#)ritical% +pp.TitleG N v#:es Then rs0aw aterial.'elete rs0aw aterial.Epdate/atch rs0aw aterial.0equery "f rs0aw aterial./O? N True +nd rs0aw aterial.!O? N True Then )lear !lse rs0aw aterial. ove;ast ;ist !nd "f !lse !$it 1u# !nd "f !nd 1u# &rivate 1u# cmd!$itM)lic4FG Enload !nd 1u# &rivate 1u# cmd?irstM)lic4FG "f rs0aw aterial.!O? N True +nd rs0aw aterial./O? N True Then !$it 1u# rs0aw aterial. ove?irst ;ist !nd 1u# e e

*(

&rivate 1u# cmd;astM)lic4FG "f rs0aw aterial.!O? N True +nd rs0aw aterial./O? N True Then !$it 1u# rs0aw aterial. ove;ast ;ist !nd 1u# &rivate 1u# cmd<ewM)lic4FG )lear e t$t eterial)ode.1et?ocus cmd1ave.!na#led N True !nd 1u# &rivate 1u# cmd<e$tM)lic4FG "f rs0aw aterial.!O? N True +nd rs0aw aterial./O? N True Then !$it 1u# rs0aw aterial. ove<e$t "f rs0aw aterial.!O? N True Then rs0aw aterial. ove?irst )all ;ist !nd 1u# &rivate 1u# cmd&reviousM)lic4FG "f rs0aw aterial.!O? N True +nd rs0aw aterial./O? N True Then !$it 1u# rs0aw aterial. ove&revious "f rs0aw aterial./O? N True Then rs0aw aterial. ove;ast )all ;ist !nd 1u# &rivate 1u# cmd1aveM)lic4FG rs0aw aterial.+dd<ew rs0aw aterialP)ode N t$t eterial)ode.Te$t "f Option1.-alue N True Then rs0aw aterialPType N Option1.)aption

**

!lse"f Option(.-alue N True Then rs0aw aterialPType N Option(.)aption !nd "f rs0aw aterialP<ame N t$t<ame.Te$t rs0aw aterialPEnit N cm#Enit.Te$t rs0aw aterialPLty N t$tLty.Te$t rs0aw aterialP0ate N t$t0ate.Te$t rs0aw aterialP1toc4Lty N t$t1toc4Lty.Te$t rs0aw aterial.Epdate cmd1ave.!na#led N ?alse !nd 1u# &rivate 1u# ?ormM;oadFG )enter e

1et rs0aw aterial N <ew +'O'/.0ecordset rs0aw aterial.Open ad;oc4Optimistic "f rs0aw aterial.!O? N True +nd rs0aw aterial./O? N True Then !$it 1u# rs0aw aterial. ove;ast ;ist !nd 1u# &rivate 1u# ;istFG t$t eterial)ode.Te$t N rs0aw aterialP)ode "f rs0aw aterialPType N Option1.)aption Then Option1.-alue N True !lse"f rs0aw aterialPType N Option(.)aption Then Option(.-alue N True !nd "f t$t<ame.Te$t N rs0aw aterialP<ame 6select Q from 0aw aterial6% )on% adOpen'ynamic%

*I

cm#Enit.Te$t N rs0aw aterialPEnit t$tLty.Te$t N rs0aw aterialPLty t$t0ate.Te$t N rs0aw aterialP0ate t$t1toc4Lty.Te$t N rs0aw aterialP1toc4Lty !nd 1u# &rivate 1u# t$t eterial)odeM;ost?ocusFG Option1.1et?ocus !nd 1u# &rivate 1u# t$t1toc4LtyM;ost?ocusFG "f cmd1ave.!na#led N True Then cmd1ave.1et?ocus !nd "f !nd 1u#

*.

CO1OUR Option !$plicit 'im rs)olour +s +'O'/.0ecordset &rivate 1u# cmd'eleteM)lic4FG "f rs)olour.!O? N True +nd rs)olour./O? N True Then !$it 1u# "f sg/o$F6+re you sure to delete the record6% v#:es<o)ancel O v#)ritical% +pp.TitleG N rs)olour.'elete rs)olour.Epdate/atch rs)olour.0equery "f rs)olour./O? N True +nd rs)olour.!O? N True Then )lear !lse rs)olour. ove;ast ;ist !nd "f !lse !$it 1u# !nd "f !nd 1u# &rivate 1u# cmd!$itM)lic4FG Enload !nd 1u# &rivate 1u# cmd?irstM)lic4FG "f rs)olour.!O? N True +nd rs)olour./O? N True Then !$it 1u# rs)olour. ove?irst ;ist !nd 1u# e e v#:es Then

*A

&rivate 1u# cmd;astM)lic4FG "f rs)olour.!O? N True +nd rs)olour./O? N True Then !$it 1u# rs)olour. ove;ast ;ist !nd 1u# &rivate 1u# cmd<ewM)lic4FG )lear e t$t)olour)ode.1et?ocus cmd1ave.!na#led N True !nd 1u# &rivate 1u# cmd<e$tM)lic4FG "f rs)olour.!O? N True +nd rs)olour./O? N True Then !$it 1u# rs)olour. ove<e$t "f rs)olour.!O? N True Then rs)olour. ove?irst )all ;ist !nd 1u# &rivate 1u# cmd&reviousM)lic4FG "f rs)olour.!O? N True +nd rs)olour./O? N True Then !$it 1u# rs)olour. ove&revious "f rs)olour./O? N True Then rs)olour. ove;ast )all ;ist !nd 1u# &rivate 1u# cmd1aveM)lic4FG rs)olour.+dd<ew rs)olourP)ode N t$t)olour)ode.Te$t rs)olourP<ame N t$t<ame.Te$t rs)olourP'esc N t$t'escription.Te$t rs)olour.Epdate

*B

cmd1ave.!na#led N ?alse !nd 1u# &rivate 1u# ?ormM;oadFG )enter e

1et rs)olour N <ew +'O'/.0ecordset rs)olour.Open 6select Q from )olour6% )on% adOpen'ynamic% ad;oc4Optimistic "f rs)olour.!O? N True +nd rs)olour./O? N True Then !$it 1u# rs)olour. ove;ast ;ist !nd 1u# &rivate 1u# ;istFG t$t)olour)ode.Te$t N rs)olourP)ode t$t<ame.Te$t N rs)olourP<ame t$t'escription.Te$t N rs)olourP'esc !nd 1u# &rivate 1u# t$t'escriptionM;ost?ocusFG "f cmd1ave.!na#led N True Then cmd1ave.1et?ocus !nd "f !nd1u#

*2

APPENDI6 %. TAB1ES CO1OUR

WINCH

*9

CUSTO'ER

SUPP1IER

I0

PURCHASE

PURCHASE RETURN

I1

1OT SECTION

WINCH PROCESS

I(

IN0OICE

RAW 'ATERIA1

I*

APPENDI6 5. (OR'S CUSTO'ER

II

SUPP1IER

I.

CO1OUR

IA

0+W

+T!0"+;

IB

WINCH

I2

PURCHASE

I9

PURCHASE RETURN

.0

1OT SECTION

.1

W"<)H &0O)!11"<3

.(

DE1I0ER& CU' IN0OICE

.*

APPENDI6 9. REPORTS )E1TO !0

.I

0+W

+T!0"+;1

..

SUPP1IER

.A

1OT SECTION

.B

WINCH PROCESSING

.2

DE1I0ER& ) IN0OICE

.9

PURCHASE

A0

PURCHASE RETURN

A1

Potrebbero piacerti anche