Omega Owners Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Please play nicely.  No one wants to listen/read a keyboard warriors rants....

Pages: [1] 2 3  All   Go Down

Author Topic: I feel the need...  (Read 3349 times)

0 Members and 1 Guest are viewing this topic.

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 107023
  • I Like Lockdown
    • Whatever Starts
    • View Profile
I feel the need...
« on: 17 June 2014, 20:57:52 »

...to drive over to my bro's and slap some of his staff with Sammy. Spent most of last night and tonight sorting out a cocked-up refund in his database.

Upon quizzing them how they managed to make such a mess (I write the code  :-[ so have a natural interest in closing the hole they fell through), but they don't know what they did. Grrrrrr  >:(
Logged
Grumpy old man

cem_devecioglu

  • Guest
Re: I feel the need...
« Reply #1 on: 17 June 2014, 22:25:23 »

did you log the transactions in seperate tables.. with columns like  time, user, action like insert update delete and other necessary fields..


but with this you can only reverse the action to a specific time point.. may be of some help to what they have done.. :-\


sql logs generally not helpful
« Last Edit: 17 June 2014, 22:28:25 by cem »
Logged

jimbobmccoy

  • Intermediate Member
  • ***
  • Offline Offline
  • Gender: Male
  • outer london
  • Posts: 311
    • View Profile
Re: I feel the need...
« Reply #2 on: 17 June 2014, 22:30:45 »

Can you reprint the receipt, or view the transaction as the till would display it, rather than from the database side-if so, can you then recreate it?

This is normally what I end up doing to figure out the marvellous ways retail staff manage to screw things up, as trying to look at it logically within a database makes little sense as it lacks context.



Logged

chrisgixer

  • Guest
Re: I feel the need...
« Reply #3 on: 17 June 2014, 23:23:08 »

Why would counter staff be expected to repeat a fault they didn't know was about to happen? If the fault occurred again, then they might look out for it, maybe.

That's a system testers job. Not the end users job.

Poor implementation. System fail. Don't blame the staff.
Logged

jimbobmccoy

  • Intermediate Member
  • ***
  • Offline Offline
  • Gender: Male
  • outer london
  • Posts: 311
    • View Profile
Re: I feel the need...
« Reply #4 on: 18 June 2014, 00:50:50 »

It's not an expectation of them to repeat the fault, more for them to tell you what they actually did so you can figure out where the fault is.

From experience, 99% of till issues are down to user error, the till only does what they've told it to, so figuring out what they told it is the first step.

Looking at transactions in a database makes this hard-you may have one table to hold user info, one for stock info, one for tender type and so on, or even one column that holds the summary of the whole sale that gets broken out by specific queries. Piecing all this together is much easier if you can replay the transaction.

I would expect that in most retail environments refunds are signed off by at least a supervisor, and I'd at least expect them to be able to tell me what they put through the till. Sadly this isn't always the case, and seems to be what's added to TB's issue.

It may well be a system issue, but without knowing what the till was told that's hard to determine.
Testing also involves recreating the initial fault if possible.






All this makes the huge assumption it's not a systems fail due to poor implementation as suggested though :D :P
Logged

cem_devecioglu

  • Guest
Re: I feel the need...
« Reply #5 on: 18 June 2014, 16:41:28 »

Why would counter staff be expected to repeat a fault they didn't know was about to happen? If the fault occurred again, then they might look out for it, maybe.

That's a system testers job. Not the end users job.

Poor implementation. System fail. Don't blame the staff.


Chris, even on a small  application database you may have 10 to 50 tables (different entities in computer language)  in which there may be more than 30-40 to hundreds of different transactions that includes mutiple table updates, inserts , deletes.. As applications change as a function of time,  the initial design considerations are mostly altered but the application itself is bound with lots of old data/relational parent or child tables ..  Generally the problems occur after this new implementations are added as there will be minimal time for testing the unknown number of probabilities on a production database.. :-\
Logged

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 107023
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: I feel the need...
« Reply #6 on: 18 June 2014, 19:27:44 »

Poor implementation. System fail. Don't blame the staff.
Absolutely it appears to be a coding error, in that it allowed an operator to do something that caused problems. But some clue as to what was down might be helpful, so we I can fix the loophole.
Logged
Grumpy old man

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 107023
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: I feel the need...
« Reply #7 on: 18 June 2014, 19:30:21 »

I would expect that in most retail environments refunds are signed off by at least a supervisor, and I'd at least expect them to be able to tell me what they put through the till. Sadly this isn't always the case, and seems to be what's added to TB's issue.
That's the idea, but they all have been granted till supervisor permissions, with reporting metrics being used to identify any staff abusing it  :-X
Logged
Grumpy old man

chrisgixer

  • Guest
Re: I feel the need...
« Reply #8 on: 18 June 2014, 19:36:16 »

Why would counter staff be expected to repeat a fault they didn't know was about to happen? If the fault occurred again, then they might look out for it, maybe.

That's a system testers job. Not the end users job.

Poor implementation. System fail. Don't blame the staff.


Chris, even on a small  application database you may have 10 to 50 tables (different entities in computer language)  in which there may be more than 30-40 to hundreds of different transactions that includes mutiple table updates, inserts , deletes.. As applications change as a function of time,  the initial design considerations are mostly altered but the application itself is bound with lots of old data/relational parent or child tables ..  Generally the problems occur after this new implementations are added as there will be minimal time for testing the unknown number of probabilities on a production database.. :-\

I don't recall Bill Gates phoning me up asking what I did, every time his gay operating system crashed. Although clearly they installed logs via a back door later on. If he did, I'd tell him, I just looked at it and it had crashed. I don't know when it decided to crash, or what I did that might have caused it to crash. That's not my job, its yours! ::)

(It does also continually insist on blocking me using the machine, whilst updating, though. How many bloody updates per day is acceptable? )

Anyway, it's not a pc so I'll shut up now. ;D
Logged

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 107023
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: I feel the need...
« Reply #9 on: 18 June 2014, 19:42:17 »

(It does also continually insist on blocking me using the machine, whilst updating, though. How many bloody updates per day is acceptable? )
Your little netbook? A bit underpowered, so the updates (2nd Tues of the month) will hammer the poor thing a bit I'm afraid.

Anyway, it's not a pc so I'll shut up now. ;D
/Panto mode
Oh yes it is
Logged
Grumpy old man

chrisgixer

  • Guest
Re: I feel the need...
« Reply #10 on: 18 June 2014, 19:44:23 »

(It does also continually insist on blocking me using the machine, whilst updating, though. How many bloody updates per day is acceptable? )
Your little netbook? A bit underpowered, so the updates (2nd Tues of the month) will hammer the poor thing a bit I'm afraid.

Anyway, it's not a pc so I'll shut up now. ;D
/Panto mode
Oh yes it is

No not just the netbook. Maybe I dont use pc's enough.

I love my little netbook though. :)
Logged

TheBoy

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Brackley, Northants
  • Posts: 107023
  • I Like Lockdown
    • Whatever Starts
    • View Profile
Re: I feel the need...
« Reply #11 on: 18 June 2014, 19:59:09 »

(It does also continually insist on blocking me using the machine, whilst updating, though. How many bloody updates per day is acceptable? )
Your little netbook? A bit underpowered, so the updates (2nd Tues of the month) will hammer the poor thing a bit I'm afraid.

Anyway, it's not a pc so I'll shut up now. ;D
/Panto mode
Oh yes it is

No not just the netbook. Maybe I dont use pc's enough.

I love my little netbook though. :)
MrsGixers PC should be more than man enough to install updates in the background  :-\
Logged
Grumpy old man

Rods2

  • Omega Lord
  • *****
  • Offline Offline
  • Gender: Male
  • Sandhurst Berkshire
  • Posts: 7604
    • 1999 3.0 Elite Estate
    • View Profile
Re: I feel the need...
« Reply #12 on: 18 June 2014, 20:05:40 »

As hard as we try to make things foolproof, unfortunately, the fools are winning. :-[ :o :o :o
Logged
US Fracking and Saudi Arabia defending its market share = The good news of an oil glut, lower and lower prices for us and squeaky bum time for Putin!

cem_devecioglu

  • Guest
Re: I feel the need...
« Reply #13 on: 18 June 2014, 20:34:02 »

Poor implementation. System fail. Don't blame the staff.
Absolutely it appears to be a coding error, in that it allowed an operator to do something that caused problems. But some clue as to what was down might be helpful, so we I can fix the loophole.


programmers dont make error , they use "different" logic ;D


other kind of problems are unexpected data field entries (values) which effect the conditional branching and order of ops.
Logged

Marks DTM Calib

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • West Bridgford
  • Posts: 34012
  • Git!
    • View Profile
Re: I feel the need...
« Reply #14 on: 18 June 2014, 20:54:03 »

As hard as we try to make things foolproof, unfortunately, the fools are winning. :-[ :o :o :o

As I have said many times, the pace of development is only beaten by the human races ability to produce a better idiot
Logged
Pages: [1] 2 3  All   Go Up
 

Page created in 0.017 seconds with 17 queries.