Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating Reorder Level and Audit Trail
01-16-2012, 03:16 PM,
#1
Updating Reorder Level and Audit Trail
Hi all:

If a user updates the reorder level of an stockid at ONE location via StockReorderLevel.php script, then ALL reorder level fro this item appear as updated on the Audit Trail.

It's not a bug but not the right thing to do as, user just wanted to update one, but the supervisor can't rely on the results of Audit Trail in case of conflict. This was a real life scenario this morning :-(

So, I think StockReorderLevel.php needs to be updated to only update the really user updated data.
Regards,
Pak Ricard
Reply
01-16-2012, 07:22 PM,
#2
RE: Updating Reorder Level and Audit Trail
I see the issue but it is a bit of a marginal one... yes we should only be updating the changed reorder levels... I guess we could store the existing reorder level in a hidden form variable and compare it to the new one to see if there is a change before running the SQL.
I've coded this up and committed...
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
01-17-2012, 10:21 AM,
#3
RE: Updating Reorder Level and Audit Trail
Thanks!
Regards,
Pak Ricard
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)