object TCoPrAc:TComponent is attached that does a plain asci print of a purchase/accounting book. Data to process is read from lists lstPN and lstVat, both of type TObjectlist. The lists are filled by the calling application, so you won't have to query a database. When testing, these lists are filled with sample data by the test function of the component (the code is already there). The attached code is the simplified version of some very old foxplus code (also attached). The coder will 1. test what has been done (data should be printed along the logics found in [login to view URL] and following ) 2. accumulate summary VAT data into LstVat 3. print the VAT summary at the end of the book (see [login to view URL] lines 210 and following) 4. accumulate summary customers/suppliers data into LstCst (see [login to view URL]) 5. create a pure ascii output file and store it into field FinalText:string (so that the calling application can use it) (hint: the provided code can print to a file device...) 6. if possible, make the print a bit better-looking The final code should compile with Delphi 5 and run in both window xp and vista. The attached foxplus code handles other prints that are of no interest now (but could become an extension of the current project if you are interested).
## Deliverables
the attachment contains: 1. [login to view URL] there is the PRG/foxplus code to use as reference. The code cannot be run (it is a very small part of a very big application). It should only be read 2. [login to view URL] there is a very small application that prints the purchase book. This application must be tested and completed