Requisition Product Grid can't detect if a user filled out fields

Description

The requisition product grid is filled with zeros, so when a district manager goes to approve a requisition, and there is a line item on the second page they need to approve (which they don't see), they can successfully approve the requisition with out ever seeing the line item — which has a approved quantity of zero

This could be caused by:

  • The API returning 0 for a line items approved quantity instead of null

  • The UI interpreting the null value to be zero (somewhere along the rendering process) <-- most likely

Acceptance Criteria

  • User entered data points that are null and don't have a value are blank inputs, not inputs with a zero

  • All user entered data points are null and not zero.

  • Requested quantity should still be required

  • If requested quantity is zero, no explanation is required (this is new and do let me know if this increases the level effort by too much)

Looking forward, we do plan to update the validation between calculated order quantity, requested quantity and explanation. We will address this post 3.0 in

Environment

None

Activity

Show:
Sebastian Brudziński
February 16, 2017, 12:57 PM

Is this only about the approved quantity column? Should all the other columns with user input that are not pre-populated work the same way (blank instead of placing 0)?

Paweł Gesek
February 16, 2017, 12:58 PM

Requested quantity - should it be null and required?

Sebastian Brudziński
February 16, 2017, 4:15 PM

This is for all user input columns.

Paulina Borowa
February 20, 2017, 12:24 PM

All works.
Currently all user inputs columns when I set value as null are blank inputs, also when requested quantity is zero no explanation is required.

Assignee

Sebastian Brudziński

Reporter

Nick Reid

Labels

None

Story Points

3

Time tracking

0m

Time remaining

1h 30m

Epic Link

Components

Sprint

None

Fix versions

Priority

Blocker
Configure