Amicus Point of Sale and Business Management System Logo
Neotechnology Business Systems contact number - 1300880048 and NBS logo

Fuel Audit Log Printing

As part of the enhancements for the fuel module, to make it work faster, we decided to put the fuel audit printing and auto-stacking into a separate thread. This sounds relatively simple, but there were a few issues to deal with. The main one was that talking to the enabler (the fuel system interface we use) does not work when called from another thread.

To get around this, we decided to make the new thread print deliveries that have been added into the database. The problem with this is that the database record does not get entered until someone does something with the delivery. So the process is as follows:

• On the master fuel till, a delivery is placed into the database as soon as it is created. This is done in the main thread via an event from enabler.
• In the new thread, we look in the database for any deliveries in the database that have not yet been printed and print them. This is flagged in the database.
• We then perform the auto-stacking in the same place as before, in the main thread. The main difference is that now the main thread is not held up by the printing, making the system more responsive.



Blog Archive

February 2012
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123

Latest news

  • Neotechnology will be closed from 12pm on the 23rd of December until 9am on the 2nd of January 2012.

    Have a merry Christmas.

  • Just a quick post to display our new supermarket POS database template. As you can see, lots of thought has gone into the layout of the buttons and images, each cascading down as required.