Physical Inventory validation for unaccounted quantity - mobile
Description
Currently the system enables user to submit physical inventory even if any of unaccounted quantity field is not equal to zero. It causes the improper calculations on stock cards. We should add validation which prevents user from submitting/switching pages (follow the rule when the current SOH is validated) when the unaccounted quantity is not 0.
Acceptance criteria:
user cannot submit/switch page when any of items has unaccounted quantity different than 0
solution is implemented for mobile app
Additional info:
This kind of validation was added to desktop version following this gif
Checked on mobile device with Android 10, 11 and 12;
user cannot submit/switch page when any of items has unaccounted quantity different than 0;
solution is implemented for mobile app;
There is possibility to go to the next page, when unaccounted quantity is different than 0 by adding new product to the Physical Inventory. This is related to the sorting products and it will be resolved in the other Task.
Seweryn Niedzielski June 22, 2022 at 9:37 AM
I updated validation in mobile app form to add this logic with 'unaccountedQuantity'. Here below there is presentation of my change:
I created also review for that change - please check, thx!
Done
Pinned fields
Click on the next to a field label to start pinning.
Currently the system enables user to submit physical inventory even if any of unaccounted quantity field is not equal to zero. It causes the improper calculations on stock cards. We should add validation which prevents user from submitting/switching pages (follow the rule when the current SOH is validated) when the unaccounted quantity is not 0.
Acceptance criteria:
user cannot submit/switch page when any of items has unaccounted quantity different than 0
solution is implemented for mobile app
Additional info:
This kind of validation was added to desktop version following this gif