I can select stock cards as source for SoH column

Description

While test regression I found out that as I admin user I am able to select Stock cards as a source for the Stock on Hand column even if stock flag is not set.

Expected Behavior:

  • If the admin selects Stock Cards, then a red error message should display (some format as other requisition template errors) that says "Cannot select Stock Cards if the 'Enable Stock on Hand to populate from Stock Cards' checkbox is not selected."

  • Admin should not be able to save the requisition template until the error is resolved.

 

Environment

None

Status

Assignee

Jakub Jakubowski

Reporter

Łukasz Lewczyński

Story Points

2

Time tracking

8h

Epic Link

Components

Sprint

None

Fix versions

Affects versions

3.3

Priority

Minor