wallacepos icon indicating copy to clipboard operation
wallacepos copied to clipboard

Negative stock problem

Open twmr1980 opened this issue 6 years ago • 0 comments

[When the stock level falls too low, it starts drastically falling ]

When the stock level of an item hits a negative number, its number becomes off by a factor of 6. When it hits some unknown, too far, level, it drastically changes. For example: Water: Actual sold = 577, Stock qty = -1603, the difference of 1026 is factor of 6 (1026/6=171) YooHoo: Sold = 61, stock qty = -67, diff of 6 Oatmeal: Sold = 38, stock qty = -50, diff of 12 Pepsi: Sold = 118, stock qty = -136, diff of 18 While typing i realized another pattern. For every 50 it is negative, the factor of 6 increases by that amount. e.g. negative 1 thru 49, it is of by 6, 50-99 it is off by 12, 100-149 off by 18, etc. Process

[ordered list the process to finding and recreating the issue, example below]

  1. User goes to delete a dataset (to save space or whatever)
  2. User gets popup modal warning
  3. User deletes and it's lost forever

Expected result

[describe what you would expect to have resulted from this process]

Current result

[describe what you you currently experience from this process, and thereby explain the bug]

Possible Fix

[not obligatory, but suggest fixes or reasons for the bug]

  • Modal tells the user what dataset is being deleted, like “You are about to delete this dataset: car_crashes_2014.”
  • A temporary "Trashcan" where you can recover a just deleted dataset if you mess up (maybe it's only good for a few hours, and then it cleans the cache assuming you made the right decision).

name of issue screenshot

[if relevant, include a screenshot]

twmr1980 avatar May 25 '18 03:05 twmr1980