• Resolved richardferlow

    (@richardferlow)


    We encountered an issue where employees start creating an Inventory Log, add products, change the quantity, and then press Reduce Stock or Increase Stock without first clicking Create. As a result:

    • The product quantity changes, but the Inventory Log is created with the status “Unknown” and does not appear in the general Inventory Log list, making it impossible for them to find it again.

    • The quantity entered for the products is not saved; instead, the default value of 1 remains.

    In the screenshot, the product quantities were changed to 3, but in the product list, they will still show 1.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Salva Machi

    (@salvamb)

    Hi @richardferlow

    I’ve just tried to reproduce it and I couldn’t.
    This is what I did:

    1. I created a new Inventory Log
    2. I added an item
    3. Changed the quantity for the item to 2
    4. Clicked the “Increase Stock” button
    5. Clicked the “Create” button to save the Inventory Log
    6. And the log was created correctly, the stock was increased correctly and the log has the “Pending” status.

    If you are doing something different, please let me know.

    Best Regards,
    Salva.

    Thread Starter richardferlow

    (@richardferlow)

    Thanks for your answer

    The steps are the same, but employees forget to complete step 5: “Clicked the ‘Create’ button to save the Inventory Log” and close this tab in the browser. And I can understand them—it’s really easy to forget since this action doesn’t seem mandatory. After that, the Inventory Log will still be saved, but the situation I described earlier will occur—it won’t be reflected in the general list and will have the status “Unknown”.

    Plugin Author Salva Machi

    (@salvamb)

    I see…

    OK, we can try to show an alert if you try to leave the page without saving.
    The same thing WooCommerce does when you, for example, create a product, do changes, and try to leave the page. Also, ATUM is doing it on some pages, but it is not the case with Inventory Logs, as far as I can see.

    I will note this change for a future version.

    Thread Starter richardferlow

    (@richardferlow)

    The most critical issue is that the Inventory log is saved with the status “Unknown.” Can it be saved with a correct status so that it can be found later? We have already had many such situations, which led to employees thinking they had not created stock reservations and doing it again.

    Thank you

    Plugin Author Salva Machi

    (@salvamb)

    Let me explain what happens here:

    Who is saving the post is WordPress, not ATUM.
    If you do the same thing with a WooCommerce product and do not hit Publish nor save it as draft, and you also discard the alert it shows you saying that you have “unsaved” changes when you try to leave the page, WordPress will create the product anyway but will save it as a “Draft”.

    But the case of Inventory Logs is a little different, mainly because we don’t support the “Draft” status. That’s why I think it is showing you the “Unknown” status instead (a status that is as wrong as the draft status, BTW).
    So if we add the alert saying that you have “unsaved” changes and you can cancel the operation to leave the page and go to save, it should be enough as a reminder. Are you with me?

    Thread Starter richardferlow

    (@richardferlow)

    I understand you. The warning, I think, is also very easy to miss. Maybe just display it in the general Inventory Logs list, including Logs with the Unknown status? As it works in Purchase Orders.

    Plugin Author Salva Machi

    (@salvamb)

    We’ll take a look at that too

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Problem – Using Reduce-Increase in Inventory log without creating Inventory log’ is closed to new replies.