This program was designed to let pharmacy owners determine the performance of their staff based on their companion sales. Using sales data, it summarises the sales within a given period, giving the average sales and companion sales quantity as well as the ability to drill down and view the sales for a certain staff member as well as the particular sales. Each of these views can be printed as well. It was designed for the Pharmasol LOTS system, and will not work with other POS systems.
Note that this program is in no way endorsed by or related in any way to Pharmasol apart from the fact that it extends LOTS. I will endeavour to answer any emails regarding this program, but only this program, not LOTS. Also note that although this program connects to the LOTS database, it only retrieves data - no data is changed. That said, use at your own risk and I take no responsibility for any outcomes resulting from this program.
Again, VB.NET and .NET Framework 1.1 was used. Using this project however, I decided to explore two different areas of the .NET Framework. One was the use of the .NET FX 1.1 DataGrid. As in previous projects I needed custom unbounded grids, I had used third-party controls. This time however, the requirements were lower, and the DataGrid suited the purposes perfectly, especially the ease of the drill down code.
DataGrid aside, as being able to print the results was a requirement, yet the program seemed too small to warrant the inclusion of the hefty Crystal Reports runtime, I decided to implement some custom printing code, manipulating the Graphics object. The result were some nice reports without increasing the file size by much, however given more complex reporting requirements, this wouldn't have been feasible.
Just to reiterate, this only works for the LOTS POS system.
If your LOTS installation is not in the default location of (C:\LOTS\lotsdb\lots.mdb), then add the path to the lots.mdb file in quotation marks as an argument when running this program, e.g. C:\Downloads\LOTSCompanionSaleReview.exe "C:\LOTS Master\lotsdb\lots.mdb".
Make sure you have the .NET Framework 1.1 installed.
Download: LOTS Companion Sale Review 1.0.2368.34756