Internal application error in Physical Inventory after using the Filter option.

Description

Description

 

When a product is added to the physical inventory from “Add Products to Physical Inventory” with selected option “No lot defined” there is an error when submitting draft, but when you try to submit draft again popup says it is already submitted

Steps to reproduce:

  1. Logging into the application and navigating to Stock Management -> Physical Inventory;

  2. Click on the "Start" button next to any program;

  3. Click the "Add Product" button;

  4. Select any product;

  5. Choose "No lot defined" in the "Lot Code" and click the "Add" button;

  6. Fill Current stock field and Click the “Add 1 items to Physical Inventory” button;

  7. Fill all required product’s “Current Stock” fields in table;

  8. Click “Submit” button;

  9. Click “Confirm” button in “Choose occurred date” modal;

  10. Error message appear “Invalid line items” (screenshot in file attached)

  11. Click “Close” button in error modal;

  12. Click “Filter” button;

  13. Check or uncheck “Include inactive items” checkbox in filter modal;

  14. Click “Search” button in filter modal

  15. Error message appear “Internal application error” (screenshot in file attached)

  16. Close error modal

  17. Click “Submit” button

  18. Error message appears “This physical inventory draft has already been submitted.” (screenshot in file attached)

Expected Behavior:

  • Draft should have been sent without any errors.

Environment

None

Attachments

3

Checklists

Activity

Show:

Szymon Rujner March 28, 2022 at 12:46 PM

The issue is no longer reproducing

Dominika Bieńkowska March 24, 2022 at 9:44 AM

Dev note: fix validation on backend side in stock event, probably new product is recognized as inactive

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Original estimate

Time tracking

1h logged3h remaining

Components

Sprint

Fix versions

Priority

Time Assistant

Created March 23, 2022 at 12:40 PM
Updated July 8, 2022 at 9:15 AM
Resolved March 28, 2022 at 12:46 PM