Beginning balance column shouldn't be empty

Description

While verifying the requisition initialization, I noticed that when I try submit requisition without a given beginning balance, the information that appears is not detailed.

Reproduction steps:

  1. Log into the application as a divo2.

  2. Go to Stock Management > Physical Inventory and start the physical inventory for the EPI program.

  3. Add any products to the inventory.

  4. Set any current stock over 0 for both.

  5. Submit the physical inventory with a date e.g. 20/01/2017 if reporting period is 01/01/2017 - 31/03/2017.

  6. Initiate a regular requisition and fill in the required fields.

  7. Try submit requisition.

  8. An error occurs that does not inform the user what the cause is. The cause of the error can be seen in the console.

Expected results:

  • An error message should inform the user that beginning balance should be entered.

  • The Beginning Balance column shouldn’t be empty.

  • If we don’t have the value of the Beginning Balance from stock management, it should be set as 0

Environment

None

Assignee

Paulina Buzderewicz

Reporter

Joanna Szymańska

Labels

Story Points

3

Time tracking

16h

Epic Link

Components

Sprint

None

Fix versions

Priority

Major
Configure