473,379 Members | 1,302 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Logging Record Changes

I am developing an inventory database. The warehouse operator has an
"Edit Inventory" form where he makes changes to incoming quantities.
He can pull up a line item, and enter how many just came in the door,
which will in turn update the total quantity.

I need to be able to log each of those transactions, so that I can run
a report showing all inbound activity. Or for a given line item, I
could run a report showing all the inbound transactions for a given
period of time. What's the best way to capture this info?

Oct 9 '06 #1
2 1880
Have you looked at Allen Browne's Audit Tracking? It's fantastic -
easy to use and clear instructions.

http://allenbrowne.com/AppAudit.html

Sara

igendreau wrote:
I am developing an inventory database. The warehouse operator has an
"Edit Inventory" form where he makes changes to incoming quantities.
He can pull up a line item, and enter how many just came in the door,
which will in turn update the total quantity.

I need to be able to log each of those transactions, so that I can run
a report showing all inbound activity. Or for a given line item, I
could run a report showing all the inbound transactions for a given
period of time. What's the best way to capture this info?
Oct 9 '06 #2
I see Allen recently updated the code for this? (July 2006). I've been
using the old code for a while, does anyone know what functionality is
changed/added up updating to the new code? i didn't want to go through
all of my forms and change it if it wasn't necessary at this point.
The old code seemed to work good.

sara wrote:
Have you looked at Allen Browne's Audit Tracking? It's fantastic -
easy to use and clear instructions.

http://allenbrowne.com/AppAudit.html

Sara

igendreau wrote:
I am developing an inventory database. The warehouse operator has an
"Edit Inventory" form where he makes changes to incoming quantities.
He can pull up a line item, and enter how many just came in the door,
which will in turn update the total quantity.

I need to be able to log each of those transactions, so that I can run
a report showing all inbound activity. Or for a given line item, I
could run a report showing all the inbound transactions for a given
period of time. What's the best way to capture this info?
Nov 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: j vickroy | last post by:
Hello, I'm trying to understand the behavior of the Python 2.3 logging module (MS Windows 2k) with regard to RotatingFileHandler. The following script illustrates a puzzling problem. What is...
0
by: Marek Augustyn | last post by:
Hello, I'm getting strange exception raised using module logging. It's strange because it happens only sometimes, and it happens in different places (but always in a logging method). i.e. this...
15
by: Stefan Behnel | last post by:
Hi! I'm trying to do this in Py2.4b1: ------------------------------- import logging values = {'test':'bla'} logging.log(logging.FATAL, 'Test is %(test)s', values)...
0
by: Neil Benn | last post by:
Hello, I'm running a test and having issues with logging, if I call logging.shutdown() and then want to start the logging going again then I get a problem as if I call shutdown, I can't get the...
3
by: Gram | last post by:
Hello, Can anoyone help me with the following: I have a application online using ASP in which users log in and log out. However, a lot of users simply close the window, bypassing my log-out...
3
by: sj | last post by:
Suppose the following are part of a long file and executed: logging.basicConfig(stream = sys.stderr, level=logging.INFO) logging.info("%d %d", 1, 2, 3) # buggy ...
7
by: flupke | last post by:
Hi, i'm getting errors with the log module concerning RotatingFileHandler. I'm using Python 2.4.3 on Windows XP SP2. This used to work in previous python versions but since i upgraded to 2.4.3...
3
by: james.p.news | last post by:
I'm new to Python, but I've been thrown into coding a pretty complicated regression testing script. I need to email the log of the daily test to the code owners. I thought I could use SMTPHandler...
6
by: Larry Bates | last post by:
Every time I look at the logging module (up until now) I've given up and continue to use my home-grown logger that I've been using for years. I'm not giving up this time ;-) I find that I...
4
by: Alexandru Mosoi | last post by:
why doesn't logging throw any exception when it should? how do I configure logging to throw exceptions? .... logging.fatal('asdf %d', '123') .... except: .... print 'this line is never...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.