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
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
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)?
Requested quantity - should it be null and required?
This is for all user input columns.
Currently all user inputs columns when I set value as null are blank inputs, also when requested quantity is zero no explanation is required.